Question:

Let \( [x] \) denote the greatest integer \( \leq x \). If \( f(x) = [x] \) and \( g(x) = |x| \), then the value of:
\[ f \left( g \left( \frac{8}{5} \right) \right) - g \left( f \left( \frac{-8}{5} \right) \right) \] is:

Show Hint

The greatest integer function \( [x] \) returns the largest integer less than or equal to \( x \). The absolute function \( |x| \) removes the sign.
Updated On: Mar 26, 2025
  • \( 2 \)
  • \( -2 \)
  • \( 1 \)
  • \( -1 \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: {Compute \( f(-8/5) \)}
\[ f \left( \frac{-8}{5} \right) = \left\lfloor \frac{-8}{5} \right\rfloor = -2. \] Step 2: {Compute \( g(8/5) \) and \( g(-8/5) \)}
\[ g \left( \frac{8}{5} \right) = \left| \frac{8}{5} \right| = \frac{8}{5}. \] \[ g \left( \frac{-8}{5} \right) = \left| \frac{-8}{5} \right| = \frac{8}{5}. \] Step 3: {Compute \( f(g(8/5)) \) and \( g(f(-8/5)) \)}
\[ f \left( g \left( \frac{8}{5} \right) \right) = f \left( \frac{8}{5} \right) = \left\lfloor \frac{8}{5} \right\rfloor = 1. \] \[ g \left( f \left( \frac{-8}{5} \right) \right) = g(-2) = | -2 | = 2. \] Step 4: {Final computation}
\[ f \left( g \left( \frac{8}{5} \right) \right) - g \left( f \left( \frac{-8}{5} \right) \right) = 1 - 2 = -1. \] Step 5: {Conclusion}
Thus, the correct answer is \( -1 \).
Was this answer helpful?
0
0