Given,
∫−aa(∣x∣+∣x−2∣)dx=22,a>2
We first simplify the integrand.
Since
a>2,
split according to the critical points
x=0 and x=2.
For
−a≤x<0,
∣x∣=−x,∣x−2∣=2−x
Hence,
∣x∣+∣x−2∣=2−2x
For
0≤x<2,
∣x∣=x,∣x−2∣=2−x
Hence,
∣x∣+∣x−2∣=2
For
2≤x≤a,
∣x∣=x,∣x−2∣=x−2
Hence,
∣x∣+∣x−2∣=2x−2
Therefore,
∫−aa(∣x∣+∣x−2∣)dx
=∫−a0(2−2x)dx+∫022dx+∫2a(2x−2)dx
Now,
∫−a0(2−2x)dx=[2x−x2]−a0
=2a+a2
Also,
∫022dx=4 and∫2a(2x−2)dx=[x2−2x]2a
=a2−2a
Hence,
2a+a2+4+a2−2a=22
2a2+4=22
2a2=18
a2=9
Since
a>2,
a=3
Now evaluate
∫−aa(x+∣x∣)dx
For
x<0,
x+∣x∣=x−x=0
For
x≥0,
x+∣x∣=x+x=2x
Thus,
∫−33(x+∣x∣)dx=∫−300dx+∫032xdx
=[x2]03
=9
Hence, the required value is
9