RankRizz
JEE MAIN 2020 · 04 SEP S1+4 / −1MEDIUMTRANSCRIBED

JEE Main 2020 Mathematics question — Definite integrals: properties and King's rule

Let f(x)=∣x−2∣f(x) = |x - 2| and g(x)=f(f(x))g(x) = f(f(x)), x∈[0,4]x \in [0, 4]. Then ∫03(g(x)−f(x))dx\int_0^3 (g(x) - f(x)) dx is equal to

SOLUTION

We have f(x)=∣x−2∣f(x)=|x-2|. The definition of absolute value is ∣t∣={t,t≥0−t,t<0|t|=\begin{cases}t,& t\ge 0\\-t,& t<0\end{cases}, so we first write f(x)f(x) in simple algebraic form for each part of the domain [0,4][0,4].

When 0≤x≤20\le x\le 2, the expression x−2≤0x-2\le 0. Hence f(x)=−(x−2)=2−xf(x)=-(x-2)=2-x.

When 2≤x≤42\le x\le 4, the expression x−2≥0x-2\ge 0. Hence f(x)=x−2f(x)=x-2.

Next we define g(x)=f(f(x))g(x)=f(f(x)), that is g(x)=∣ f(x)−2 ∣g(x)=\left|\,f(x)-2\,\right|. We substitute the two pieces of f(x)f(x) found above.

For 0≤x≤20\le x\le 2 we already have f(x)=2−xf(x)=2-x, so

f(x)−2=(2−x)−2=−x≤0,g(x)=∣−x∣=x.f(x)-2=(2-x)-2=-x\le 0,\qquad g(x)=|-x|=x.

For 2≤x≤42\le x\le 4 we have f(x)=x−2f(x)=x-2, so

f(x)−2=(x−2)−2=x−4≤0,g(x)=∣x−4∣=4−x.f(x)-2=(x-2)-2=x-4\le 0,\qquad g(x)=|x-4|=4-x.

Thus, on the interval we need, [0,3][0,3], the two functions are

0≤x≤2:f(x)=2−x,  g(x)=x,2≤x≤3:f(x)=x−2,  g(x)=4−x.\begin{aligned} 0\le x\le 2:&\qquad f(x)=2-x,\; g(x)=x,\\[4pt] 2\le x\le 3:&\qquad f(x)=x-2,\; g(x)=4-x. \end{aligned}

We have to evaluate the definite integral

∫03(g(x)−f(x)) dx.\int_{0}^{3}\bigl(g(x)-f(x)\bigr)\,dx.

Because the formulas change at x=2x=2, we split the integral:

∫03(g−f) dx=∫02(g−f) dx+∫23(g−f) dx.\int_{0}^{3}(g-f)\,dx=\int_{0}^{2}(g-f)\,dx+\int_{2}^{3}(g-f)\,dx.

First sub-integral: 0≤x≤20\le x\le 2.

Here g(x)=xg(x)=x and f(x)=2−xf(x)=2-x, so

g(x)−f(x)=x−(2−x)=2x−2=2(x−1).g(x)-f(x)=x-(2-x)=2x-2=2(x-1).

Integrate term-by-term:

∫022(x−1) dx=2∫02(x−1) dx=2[x22−x]02=2((42−2)−0)=2(2−2)=0.\int_{0}^{2}2(x-1)\,dx =2\int_{0}^{2}(x-1)\,dx =2\left[\frac{x^{2}}{2}-x\right]_{0}^{2} =2\left(\left(\frac{4}{2}-2\right)-0\right) =2(2-2)=0.

Second sub-integral: 2≤x≤32\le x\le 3.

Here g(x)=4−xg(x)=4-x and f(x)=x−2f(x)=x-2, so

g(x)−f(x)=(4−x)−(x−2)=4−x−x+2=6−2x.g(x)-f(x)=(4-x)-(x-2)=4-x-x+2=6-2x.

Integrate:

∫23(6−2x) dx=[6x−x2]23=(6⋅3−9)−(6⋅2−4)=(18−9)−(12−4)=9−8=1.\int_{2}^{3}(6-2x)\,dx =\left[6x- x^{2}\right]_{2}^{3} =\bigl(6\cdot3-9\bigr)-\bigl(6\cdot2-4\bigr) =(18-9)-(12-4)=9-8=1.

Adding the two results,

∫03(g−f) dx=0+1=1.\int_{0}^{3}(g-f)\,dx=0+1=1.

Hence, the correct answer is Option A.

Tagged Definite integrals: properties and King's rule. Machine-assigned, so read it as a strong shortlist rather than a verdict.

TopicDefinite integrals: properties and King's rule
TypeMultiple choice