JEE Main 2020 Mathematics question — Definite integrals: properties and King's rule
The integral ∫02∣∣x−1∣−x∣dx is equal to ___________.
SOLUTION
We want to evaluate the definite integral
I=∫02∣x−1∣−xdx.
First we simplify the integrand step by step. We begin with the inner absolute value. For any real x we have the basic property ∣a−b∣={a−b,b−a,a≥ba<b and we will apply this repeatedly.
For ∣x−1∣ we examine the sign of (x−1) on the interval [0,2].
• When 0≤x≤1, (x−1)≤0, so ∣x−1∣=1−x.
• When 1≤x≤2, (x−1)≥0, so ∣x−1∣=x−1.
Substituting this into the integrand we introduce the function
f(x)=∣x−1∣−x.
Now we analyse f(x) piece-wise.
Case 1 : 0≤x≤1
Here ∣x−1∣=1−x, so
∣x−1∣−x=(1−x)−x=1−2x.
We must now take the absolute value of (1−2x), i.e. evaluate ∣1−2x∣. The sign of (1−2x) changes at the point where 1−2x=0⟹x=21. Hence we split the subinterval [0,1] a second time.
• When 0≤x≤21, we have 1−2x≥0, so ∣1−2x∣=1−2x.
• When 21≤x≤1, we have 1−2x≤0, so ∣1−2x∣=−(1−2x)=2x−1.
Case 2 : 1≤x≤2
Here ∣x−1∣=x−1, so
∣x−1∣−x=(x−1)−x=−1.
The absolute value of a constant −1 is simply ∣−1∣=1. Thus on the entire interval [1,2] the function f(x) equals 1.
Gathering all this information, we have the piece-wise definition
f(x)=⎩⎨⎧1−2x,2x−1,1,0≤x≤21,21≤x≤1,1≤x≤2.
With the integrand now expressed explicitly, we split the original integral into three simpler integrals:
I=∫021(1−2x)dx+∫211(2x−1)dx+∫121dx.
We evaluate each integral individually.
First integral
Using the power rule ∫xndx=n+1xn+1+C (where n=−1), we integrate:
∫021(1−2x)dx=[x−22x2]021=[x−x2]021.
Substituting the limits:
(21−(21)2)−(0−02)=(21−41)−0=41.
Second integral
Again applying the power rule,
∫211(2x−1)dx=[x2−x]211.
Substituting the limits:
(12−1)−((21)2−21)=(1−1)−(41−21)=0−(−41)=41.
Third integral
This one is immediate because the integrand is the constant 1:
∫121dx=[x]12=2−1=1.
Finally we add the three results:
I=41+41+1=21+1=23=1.5.
So, the answer is 1.5.
Tagged Definite integrals: properties and King's rule. Machine-assigned, so read it as a strong shortlist rather than a verdict.