Question
Mathematics Question on Integration
Let f(x)={−2, x−2,−2≤x≤00<x≤2 and h(x)=f(∣x∣)+∣f(x)∣. Then ∫−22h(x)dx is equal to:
A
2
B
4
C
1
D
6
Answer
2
Explanation
Solution
Define h(x) in Terms of f(x):
Since h(x)=f(x)+∣f(x)∣, we can evaluate h(x) separately on the intervals where f(x) takes different forms:
For −2≤x<0, f(x)=−x, so ∣f(x)∣=x. Therefore:
h(x)=f(x)+∣f(x)∣=−x+x=0
For 0<x≤2, f(x)=x−2, so ∣f(x)∣=2−x (since x−2<0). Thus:
h(x)=f(x)+∣f(x)∣=(x−2)+(2−x)=0
This implies h(x)=0 on both intervals.
Calculate ∫−22h(x)dx: Since h(x)=0 on the entire interval −2≤x≤2, we have: ∫−22h(x)dx=∫−220dx=0
Conclusion: ∫−20h(x)dx=0 and ∫02h(x)dx=2.
Therefore, the answer is 2.