Class 12 Maths, Worked in Full Past papersGet updates
CBSE Sample Paper 2022-23 · Section C · 3 marks

Q28: ∫π/6π/3dx1+tan⁡x\int_{\pi/6}^{\pi/3}\frac{dx}{1 + \sqrt{\tan x}}⁠, or ∫04∣x−1∣ dx\int_0^4|x - 1|\,dx

Sample 2022-23Ch 7 · Integrals
The question

(a) Evaluate: ∫π/6π/3dx1+tan⁡x\displaystyle\int_{\pi/6}^{\pi/3}\frac{dx}{1 + \sqrt{\tan x}}

OR

(b) Evaluate: ∫04∣x−1∣ dx\displaystyle\int_0^4|x - 1|\,dx

Exam answer

(a)

I=∫π6π3dx1+tan⁡x=∫π6π3cos⁡xsin⁡x+cos⁡x dx…(i)\begin{aligned} I &= \int_{\frac{\pi}{6}}^{\frac{\pi}{3}}\frac{dx}{1 + \sqrt{\tan x}} \\ &= \int_{\frac{\pi}{6}}^{\frac{\pi}{3}}\frac{\sqrt{\cos x}}{\sqrt{\sin x} + \sqrt{\cos x}}\,dx \\ &\qquad\ldots(\text{i}) \end{aligned}
Why?

Write the tangent in terms of sine and cosine:

tan⁡x=sin⁡xcos⁡x\sqrt{\tan x} = \frac{\sqrt{\sin x}}{\sqrt{\cos x}}

then multiply the numerator and the denominator by cos⁡x\sqrt{\cos x}⁠. Both are positive on [π6,π3]\left[\frac{\pi}{6}, \frac{\pi}{3}\right]⁠.

11+sin⁡xcos⁡x=1×cos⁡x(1+sin⁡xcos⁡x)cos⁡x=cos⁡xcos⁡x+sin⁡x\begin{aligned} &\frac{1}{1 + \frac{\sqrt{\sin x}}{\sqrt{\cos x}}} \\ &= \frac{1 \times \sqrt{\cos x}}{\left(1 + \frac{\sqrt{\sin x}}{\sqrt{\cos x}}\right)\sqrt{\cos x}} \\ &= \frac{\sqrt{\cos x}}{\sqrt{\cos x} + \sqrt{\sin x}} \end{aligned}

The order in the bottom does not matter: cos⁡x+sin⁡x=sin⁡x+cos⁡x\sqrt{\cos x} + \sqrt{\sin x} = \sqrt{\sin x} + \sqrt{\cos x}⁠.

The label (i) is needed because this form is added to another form of II later.

Using ∫abf(x) dx=∫abf(a+b−x) dx\int_a^b f(x)\,dx = \int_a^b f(a + b - x)\,dx⁠, with a+b=π2a + b = \frac{\pi}{2}⁠, cos⁡(π2−x)=sin⁡x\cos\left(\frac{\pi}{2} - x\right) = \sin x and sin⁡(π2−x)=cos⁡x\sin\left(\frac{\pi}{2} - x\right) = \cos x⁠,

I=∫π6π3sin⁡xcos⁡x+sin⁡x dx…(ii)\begin{aligned} I &= \int_{\frac{\pi}{6}}^{\frac{\pi}{3}}\frac{\sqrt{\sin x}}{\sqrt{\cos x} + \sqrt{\sin x}}\,dx \\ &\qquad\ldots(\text{ii}) \end{aligned}
Why?

The property replaces xx by a+b−xa + b - x and keeps the same limits. Here

a+b=π6+π3=π6+2π6=3π6=π2\begin{aligned} a + b &= \frac{\pi}{6} + \frac{\pi}{3} \\ &= \frac{\pi}{6} + \frac{2\pi}{6} \\ &= \frac{3\pi}{6} = \frac{\pi}{2} \end{aligned}

so every xx becomes π2−x\frac{\pi}{2} - x⁠. This turns cosine into sine and sine into cosine, so cos⁡x\sqrt{\cos x} and sin⁡x\sqrt{\sin x} swap places.

Adding (i) and (ii), we get

2I=∫π6π3(cos⁡xsin⁡x+cos⁡x+sin⁡xcos⁡x+sin⁡x)dx=∫π6π3dx=[x]π6π3=π3−π6=π6\begin{aligned} 2I &= \int_{\frac{\pi}{6}}^{\frac{\pi}{3}}\bigg(\frac{\sqrt{\cos x}}{\sqrt{\sin x} + \sqrt{\cos x}} \\ &\qquad +\frac{\sqrt{\sin x}}{\sqrt{\cos x} + \sqrt{\sin x}}\bigg)dx \\ &= \int_{\frac{\pi}{6}}^{\frac{\pi}{3}}dx = [x]_{\frac{\pi}{6}}^{\frac{\pi}{3}} \\ &= \frac{\pi}{3} - \frac{\pi}{6} = \frac{\pi}{6} \end{aligned}
Why?

The two integrals have the same limits, so their integrands can be added. The two fractions have the same denominator, and the numerators add up to that denominator, so the sum is 1.

cos⁡x+sin⁡xsin⁡x+cos⁡x=1π3−π6=2π6−π6=π6\begin{aligned} &\frac{\sqrt{\cos x} + \sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}} = 1 \\[4pt] &\frac{\pi}{3} - \frac{\pi}{6} = \frac{2\pi}{6} - \frac{\pi}{6} = \frac{\pi}{6} \end{aligned}

Watch out: this gives 2I2I⁠. Divide by 2 to get II⁠.

2I=π6I=π6÷2=π12\begin{aligned} 2I &= \frac{\pi}{6} \\ I &= \frac{\pi}{6} \div 2 = \frac{\pi}{12} \end{aligned}

∴ I=π12\therefore\ I = \frac{\pi}{12}

(b) ∣x−1∣=1−x|x - 1| = 1 - x for 0≤x≤10 \le x \le 1⁠, and ∣x−1∣=x−1|x - 1| = x - 1 for 1≤x≤41 \le x \le 4⁠.

Why?

The modulus changes form where the inside is zero: x−1=0x - 1 = 0 at x=1x = 1⁠. By definition

∣u∣={u,u≥0−u,u<0|u| = \begin{cases} u, & u \ge 0 \\ -u, & u < 0 \end{cases}

For x<1x < 1⁠, x−1x - 1 is negative, so ∣x−1∣=−(x−1)=1−x|x - 1| = -(x - 1) = 1 - x⁠. So split the integral at x=1x = 1⁠.

∫04∣x−1∣ dx=∫01(1−x) dx+∫14(x−1) dx=[x−x22]01+[x22−x]14=(1−12)+(8−4)−(12−1)=12+4+12\begin{aligned} &\int_0^4|x - 1|\,dx \\ &= \int_0^1(1 - x)\,dx + \int_1^4(x - 1)\,dx \\ &= \left[x - \frac{x^2}{2}\right]_0^1 + \left[\frac{x^2}{2} - x\right]_1^4 \\ &= \left(1 - \frac12\right) + (8 - 4) - \left(\frac12 - 1\right) \\ &= \frac12 + 4 + \frac12 \end{aligned}
Why?

Integrate term by term with ∫x dx=x22\int x\,dx = \frac{x^2}{2}⁠:

∫(1−x) dx=x−x22∫(x−1) dx=x22−x\begin{aligned} \int(1 - x)\,dx &= x - \frac{x^2}{2} \\ \int(x - 1)\,dx &= \frac{x^2}{2} - x \end{aligned}

Upper limit minus lower limit in each bracket:

[x−x22]01=(1−12)−0[x22−x]14=(8−4)−(12−1)\begin{aligned} &\left[x - \frac{x^2}{2}\right]_0^1 = \left(1 - \frac12\right) - 0 \\ &\left[\frac{x^2}{2} - x\right]_1^4 = (8 - 4) \\ &\qquad - \left(\frac12 - 1\right) \end{aligned}

At x=4x = 4⁠, x22=162=8\frac{x^2}{2} = \frac{16}{2} = 8⁠. Watch the sign: −(12−1)=+12-\left(\frac12 - 1\right) = +\frac12⁠.

1−12=128−4=412−1=−1212+4+12=12+12+4=1+4=5\begin{aligned} 1 - \frac12 &= \frac12 \\ 8 - 4 &= 4 \\ \frac12 - 1 &= -\frac12 \\[4pt] \frac12 + 4 + \frac12 &= \frac12 + \frac12 + 4 \\ &= 1 + 4 = 5 \end{aligned}

∴ ∫04∣x−1∣ dx=5\therefore\ \int_0^4|x - 1|\,dx = 5

Where this comes from

Chapter 7, Integrals: Definite integrals: properties; modulus integrand.

Question type: (a) Limits from 0 to aa; (b) A modulus inside the integral

How to spot it: click to see

(a) Ch 7, type 12. Limits from 0 to aa⁠: the f(a−x)f(a - x) trick

Spot it: replacing xx by a−xa - x swaps the parts of the question, like sin and cos when aa is π2\frac{\pi}{2}⁠.

Here: First write the integrand as cos⁡xsin⁡x+cos⁡x\frac{\sqrt{\cos x}}{\sqrt{\sin x} + \sqrt{\cos x}}⁠. The limits add to π2\frac{\pi}{2}⁠, so replacing xx by π2−x\frac{\pi}{2} - x swaps sin⁡x\sqrt{\sin x} and cos⁡x\sqrt{\cos x}⁠; adding the two forms gives 2I=π3−π62I = \frac{\pi}{3} - \frac{\pi}{6}⁠.

(b) Ch 8, type 6. A modulus inside the integral: split at the corner

Spot it: bars inside the integral, like ∣x+3∣|x + 3| or x∣x∣x|x|⁠.

Here: The inside x−1x - 1 is 0 at x=1x = 1⁠, which lies between 0 and 4. Split there: ∣x−1∣=1−x|x - 1| = 1 - x on [0,1][0, 1] and x−1x - 1 on [1,4][1, 4]⁠.

Found an error?

Tell us if something on this page is wrong or unclear. Send feedback on this question →