Question
Question: Let the expression \(\left[ x \right]\) denote the greatest integer \(\le x\) . If \(f\left( x \righ...
Let the expression [x] denote the greatest integer ≤x . If f(x)=[x] and g(x)=∣x∣ , then the value of f(g(58))−g(f(−58)) is,
A. 2
B. −2
C. 1
D. 0
E. −1
Solution
We evaluate the expression term by term. We know that f(g(x)) can be evaluate by evaluating g(x) first and then the function f. f(g(58)) gives f(58)=[58]=1 . Similarly, g(f(−58)) gives g([−58])=g(−2)=∣−2∣=2 . Subtracting 2 from 1 , we get the answer.
Complete step by step solution:
The given expression that we are given to evaluate is,
f(g(58))−g(f(−58))
The above expression contains a function of function expression. Now, we know that in order to evaluate such complex function types, we first evaluate the innermost function and then proceed to the outermost function.
Let us first evaluate the first term which is f(g(58)) . This term can be rewritten as,
⇒f(58)
Now the absolute value of 58 is 58 itself. So, the term becomes,
⇒f(58)=[58]
Now, 58 can be written as 1.6 . So, the term becomes,
⇒[1.6]=1
Let us now evaluate the second term which is g(f(−58)) . This term can be rewritten as,
⇒g([−58])
Now, 58 can be written as 1.6 . So, the term becomes,
⇒g([−1.6])
The least integer which is less than or equal to −1.6 is −2 . So, the term becomes,
⇒g(−2)=∣−2∣
Now the absolute value of −2 is 2 itself. So, the term becomes,
⇒2
The entire expression becomes,
⇒f(g(58))−g(f(−58))=1−2=−1
Thus, we can conclude that the value of f(g(58))−g(f(−58)) is −1 which is option E.
Note: Function of function problems are very easy once we get to know how to solve them. The real confusion comes from the box [] function for negative numbers. We should remember to take the integer which just lies on the left of the number on the number line for negative numbers.