Explanation
Evaluation of the Integral
The integral to be evaluated is ∫ab(∣x−a∣+∣x−b∣)dx.
1. The absolute value function ∣x−a∣ is considered. Since x is in the interval [a,b], it is known that x≥a, which implies x−a≥0. Therefore, ∣x−a∣ can be replaced by x−a.
2. The absolute value function ∣x−b∣ is considered. Since x is in the interval [a,b], it is known that x≤b, which implies x−b≤0. Therefore, ∣x−b∣ can be replaced by −(x−b), which simplifies to b−x.
3. The integrand is simplified by substituting these expressions: (x−a)+(b−x)=b−a.
4. The integral is then rewritten as ∫ab(b−a)dx.
5. The constant (b−a) is taken out of the integral: (b−a)∫ab1dx.
6. The integral of 1 with respect to x is x. The definite integral is evaluated from a to b: (b−a)[x]ab.
7. The limits of integration are applied: (b−a)(b−a).
8. The final expression is simplified to (b−a)2.
Final Answer
The correct option is (d) (b−a)2.