NDA · Question 92
Consider the following for the next two (02) items that follow: Let f(x) = |x - 1|, g(x) = [x] and h(x) = f(x)g(x), where [·] is the greatest integer function. What is ∫[-1 → 0] h(x) dx equal to?
Show answer & explanationShow explanation
Answer: (A) -3/2
For x ∈ (-1, 0), |x - 1| = -(x - 1) = 1 - x and [x] = -1. Thus, h(x) = (1 - x)(-1) = x - 1. Integrating over [-1, 0]: ∫[-1 → 0] (x - 1) dx = [x²/2 - x]₋₁⁰ = 0 - (1/2 + 1) = -3/2.