Class 12 Maths, Worked in Full Past papersGet updates
CBSE Sample Paper 2020-21 · Part A: Section I · 1 mark

Q7: ∫ex(1−cot⁡x+cosec2x) dx\int e^x(1 - \cot x + \text{cosec}^2x)\,dx⁠. Or: ∫−π/2π/2x2sin⁡x dx\int_{-\pi/2}^{\pi/2} x^2\sin x\,dx

Sample 2020-21Ch 7 · Integrals
The question

(a) Find ∫ex(1−cot⁡x+cosec2x) dx\displaystyle\int e^x(1 - \cot x + \text{cosec}^2x)\,dx

OR

(b) Evaluate ∫−π2π2x2sin⁡x dx\displaystyle\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} x^2\sin x\,dx

Exam answer

(a)

Let I=∫ex(1−cot⁡x+cosec2x) dxI = \int e^x(1 - \cot x + \text{cosec}^2x)\,dx⁠.

Here f(x)=1−cot⁡xf(x) = 1 - \cot x and f′(x)=cosec2xf'(x) = \text{cosec}^2x⁠.

Why?

An integrand of the form exe^x times (a function plus its derivative) has a ready-made answer, so we look for that pattern.

Since ddx(cot⁡x)=−cosec2x\frac{d}{dx}(\cot x) = -\text{cosec}^2x⁠, the derivative of 1−cot⁡x1 - \cot x is 0−(−cosec2x)=cosec2x0 - (-\text{cosec}^2x) = \text{cosec}^2x⁠. So the bracket is f(x)+f′(x)f(x) + f'(x)⁠.

I=∫ex{f(x)+f′(x)} dx=exf(x)+C\begin{aligned} I &= \int e^x\{f(x) + f'(x)\}\,dx \\ &= e^x f(x) + C \end{aligned}
Why?

This standard result is the product rule read backwards:

ddx[exf(x)]=exf(x)+exf′(x)\begin{aligned} &\frac{d}{dx}\left[e^x f(x)\right] \\ &= e^x f(x) + e^x f'(x) \end{aligned}

∴ I=ex(1−cot⁡x)+C\therefore\ I = e^x(1 - \cot x) + C

(b)

Let f(x)=x2sin⁡xf(x) = x^2\sin x⁠.

f(−x)=(−x)2sin⁡(−x)=−x2sin⁡x=−f(x)\begin{aligned} f(-x) &= (-x)^2\sin(-x) \\ &= -x^2\sin x = -f(x) \end{aligned}
Why?

The limits −π2-\frac{\pi}{2} and π2\frac{\pi}{2} are symmetric about 0, so we test whether ff is even or odd.

(−x)2=x2(-x)^2 = x^2⁠, and sine is odd: sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x⁠. So f(−x)=−f(x)f(-x) = -f(x)⁠, and ff is odd.

(−x)2=(−x)(−x)=x2f(−x)=(x2)(−sin⁡x)=−x2sin⁡x\begin{aligned} (-x)^2 &= (-x)(-x) = x^2 \\ f(-x) &= (x^2)(-\sin x) \\ &= -x^2\sin x \end{aligned}

∵f(x)\because f(x) is an odd function, ∫−aaf(x) dx=0\int_{-a}^{a} f(x)\,dx = 0⁠.

Why?

For an odd function, the area below the axis on one side of 0 cancels the area above it on the other side. Here a=π2a = \frac{\pi}{2}⁠.

Watch out: the property needs limits of the form −a-a to aa⁠. For an even function it gives 2∫0af(x) dx2\int_0^a f(x)\,dx instead.

∴∫−π/2π/2x2sin⁡x dx=0\therefore \displaystyle\int_{-\pi/2}^{\pi/2} x^2\sin x\,dx = 0

Where this comes from

Chapter 7, Integrals: ∫eˣ(f(x) + f′(x))dx; integral of an odd function.

Question type: (a) The exe^x shortcut; (b) Limits from −a-a to aa

How to spot it: click to see

(a) Type 9. The exe^x shortcut: a function and its derivative in a bracket

Spot it: exe^x times a bracket of two parts, where one part is the derivative of the other.

Here: The bracket holds 1−cot⁡x1 - \cot x and cosec2x\text{cosec}^2x⁠, and cosec2x\text{cosec}^2x is the derivative of 1−cot⁡x1 - \cot x⁠. So take f(x)=1−cot⁡xf(x) = 1 - \cot x and write ex(1−cot⁡x)+Ce^x(1 - \cot x) + C at once.

(b) Type 11. Limits from −a-a to aa⁠: check odd or even

Spot it: the two limits are the same number with opposite signs.

Here: The limits are −π2-\frac{\pi}{2} and π2\frac{\pi}{2}⁠. Putting −x-x leaves x2x^2 alone but flips the sign of sin⁡x\sin x⁠, so x2sin⁡xx^2\sin x is odd and the integral is 0.

Found an error?

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