← Back to all lessons
Class 12Calculus11:09Published 3 Mar 2025

Integration: Miscellaneous Exercise 7 Questions 20, 24, 25, 27

Worked solutions to four integration problems from CBSE Class 12 Miscellaneous Exercise 7, using half-angle identities, substitution, and the integral of e to the x times a function plus its derivative.

This lesson works through Questions 20, 24, 25, and 27 of Miscellaneous Exercise 7 on integration. Two problems use the standard result for the integral of e raised to x times a function plus its derivative, after rewriting the integrand with double-angle and half-angle identities. The other two use substitution: one reducing a definite integral to an inverse tangent form by completing the square, and one to an inverse sine form. Each result is computed and evaluated between its limits.

What you'll learn

  • How to rewrite a fraction of trig terms using double-angle and half-angle identities so it fits a known integration result
  • How to apply the rule for the integral of e to the x times a function plus its derivative
  • How to evaluate a definite integral by substitution, changing the limits, and completing the square to reach an inverse tangent or inverse sine form

Lesson chapters

0:00Question 20: indefinite integral with e to the x
1:25Question 24: definite integral over pi/2 to pi
3:35Question 25: substitution and completing the square
8:36Question 27: substitution to an inverse sine form

Lesson notes

This lesson works through four integration problems from Miscellaneous Exercise 7: Questions 20, 24, 25, and 27. Two of them rely on the result that ∫ex(f(x)+f′(x)) dx=exf(x)+C\int e^x\big(f(x)+f'(x)\big)\,dx = e^x f(x) + C, and the other two use substitution.

Question 20

Find

I=∫2+sin⁡2x1+cos⁡2x ex dx.I = \int \frac{2 + \sin 2x}{1 + \cos 2x}\, e^x\, dx.

Use sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x and 1+cos⁡2x=2cos⁡2x1 + \cos 2x = 2\cos^2 x:

2+2sin⁡xcos⁡x2cos⁡2x=1cos⁡2x+sin⁡xcos⁡xcos⁡2x=sec⁡2x+tan⁡x.\frac{2 + 2\sin x\cos x}{2\cos^2 x} = \frac{1}{\cos^2 x} + \frac{\sin x\cos x}{\cos^2 x} = \sec^2 x + \tan x.

So the integral becomes

I=∫ex(tan⁡x+sec⁡2x) dx.I = \int e^x\big(\tan x + \sec^2 x\big)\, dx.

This is of the form ∫ex(f(x)+f′(x)) dx\int e^x\big(f(x) + f'(x)\big)\,dx with f(x)=tan⁡xf(x) = \tan x and f′(x)=sec⁡2xf'(x) = \sec^2 x. Therefore

I=extan⁡x+C.I = e^x \tan x + C.

Question 24

Evaluate

I=∫π/2πex 1−sin⁡x1−cos⁡x dx.I = \int_{\pi/2}^{\pi} e^x\, \frac{1 - \sin x}{1 - \cos x}\, dx.

Write the trig parts with half angles: 1−sin⁡x=1−2sin⁡x2cos⁡x21 - \sin x = 1 - 2\sin\tfrac{x}{2}\cos\tfrac{x}{2} and 1−cos⁡x=2sin⁡2x21 - \cos x = 2\sin^2\tfrac{x}{2}. Then

1−sin⁡x1−cos⁡x=12csc⁡2x2−cot⁡x2.\frac{1 - \sin x}{1 - \cos x} = \frac{1}{2}\csc^2\tfrac{x}{2} - \cot\tfrac{x}{2}.

Take f(x)=−cot⁡x2f(x) = -\cot\tfrac{x}{2}, so f′(x)=12csc⁡2x2f'(x) = \tfrac{1}{2}\csc^2\tfrac{x}{2}, and the integrand is ex(f(x)+f′(x))e^x\big(f(x) + f'(x)\big). Hence

I=[−excot⁡x2]π/2π.I = \Big[-e^x \cot\tfrac{x}{2}\Big]_{\pi/2}^{\pi}.

At x=πx = \pi, cot⁡π2=0\cot\tfrac{\pi}{2} = 0; at x=π2x = \tfrac{\pi}{2}, cot⁡π4=1\cot\tfrac{\pi}{4} = 1. So

I=−(0)+eπ/2⋅1=eπ/2.I = -\big(0\big) + e^{\pi/2}\cdot 1 = e^{\pi/2}.

Question 25

Evaluate

I=∫0π/4sin⁡xcos⁡xsin⁡4x+cos⁡4x dx.I = \int_{0}^{\pi/4} \frac{\sin x\cos x}{\sin^4 x + \cos^4 x}\, dx.

Put t=sin⁡2xt = \sin^2 x, so dt=2sin⁡xcos⁡x dxdt = 2\sin x\cos x\, dx, giving sin⁡xcos⁡x dx=12 dt\sin x\cos x\, dx = \tfrac{1}{2}\, dt. The limits change: x=0⇒t=0x = 0 \Rightarrow t = 0, and x=π4⇒t=12x = \tfrac{\pi}{4} \Rightarrow t = \tfrac{1}{2}. Also cos⁡4x=(1−sin⁡2x)2=(1−t)2\cos^4 x = (1 - \sin^2 x)^2 = (1 - t)^2, so the denominator is t2+(1−t)2=2t2−2t+1t^2 + (1 - t)^2 = 2t^2 - 2t + 1. Then

I=12∫01/2dt2t2−2t+1.I = \frac{1}{2}\int_{0}^{1/2} \frac{dt}{2t^2 - 2t + 1}.

Completing the square

Factor out the 22 and complete the square:

2t2−2t+1=2(t2−t+12)=2[(t−12)2+14].2t^2 - 2t + 1 = 2\left(t^2 - t + \tfrac{1}{2}\right) = 2\left[\left(t - \tfrac{1}{2}\right)^2 + \tfrac{1}{4}\right].

So

I=14∫01/2dt(t−12)2+(12)2.I = \frac{1}{4}\int_{0}^{1/2} \frac{dt}{\left(t - \tfrac{1}{2}\right)^2 + \left(\tfrac{1}{2}\right)^2}.

Using ∫dtt2+a2=1atan⁡−1ta\int \frac{dt}{t^2 + a^2} = \tfrac{1}{a}\tan^{-1}\tfrac{t}{a} with a=12a = \tfrac{1}{2}:

I=14⋅2 [tan⁡−1(2t−1)]01/2=12[tan⁡−1(2t−1)]01/2.I = \frac{1}{4}\cdot 2\,\Big[\tan^{-1}(2t - 1)\Big]_{0}^{1/2} = \frac{1}{2}\Big[\tan^{-1}(2t - 1)\Big]_{0}^{1/2}.

Evaluating: at t=12t = \tfrac{1}{2} we get tan⁡−1(0)=0\tan^{-1}(0)=0; at t=0t = 0 we get tan⁡−1(−1)=−π4\tan^{-1}(-1) = -\tfrac{\pi}{4}. So

I=12(0+π4)=π8.I = \frac{1}{2}\left(0 + \frac{\pi}{4}\right) = \frac{\pi}{8}.

Question 27

Evaluate

I=∫π/6π/3sin⁡x+cos⁡xsin⁡2x dx.I = \int_{\pi/6}^{\pi/3} \frac{\sin x + \cos x}{\sqrt{\sin 2x}}\, dx.

Put t=sin⁡x−cos⁡xt = \sin x - \cos x, so dt=(cos⁡x+sin⁡x) dxdt = (\cos x + \sin x)\, dx, which matches the numerator. Squaring, t2=sin⁡2x+cos⁡2x−2sin⁡xcos⁡x=1−sin⁡2xt^2 = \sin^2 x + \cos^2 x - 2\sin x\cos x = 1 - \sin 2x, so sin⁡2x=1−t2\sin 2x = 1 - t^2. Change the limits:

x=π6⇒t=sin⁡π6−cos⁡π6=1−32,x = \tfrac{\pi}{6} \Rightarrow t = \sin\tfrac{\pi}{6} - \cos\tfrac{\pi}{6} = \frac{1 - \sqrt{3}}{2},

x=π3⇒t=sin⁡π3−cos⁡π3=3−12.x = \tfrac{\pi}{3} \Rightarrow t = \sin\tfrac{\pi}{3} - \cos\tfrac{\pi}{3} = \frac{\sqrt{3} - 1}{2}.

The integral becomes

I=∫(1−3)/2(3−1)/2dt1−t2=[sin⁡−1t](1−3)/2(3−1)/2.I = \int_{(1-\sqrt{3})/2}^{(\sqrt{3}-1)/2} \frac{dt}{\sqrt{1 - t^2}} = \Big[\sin^{-1} t\Big]_{(1-\sqrt{3})/2}^{(\sqrt{3}-1)/2}.

Using sin⁡−1(−x)=−sin⁡−1x\sin^{-1}(-x) = -\sin^{-1} x, the two endpoints are negatives of each other, so

I=sin⁡−13−12−sin⁡−11−32=2sin⁡−13−12.I = \sin^{-1}\frac{\sqrt{3} - 1}{2} - \sin^{-1}\frac{1 - \sqrt{3}}{2} = 2\sin^{-1}\frac{\sqrt{3} - 1}{2}.

Key takeaways

  • If an integrand can be written as ex(f(x)+f′(x))e^x\big(f(x) + f'(x)\big), the integral is simply exf(x)+Ce^x f(x) + C.
  • Double-angle and half-angle identities are the usual way to reshape trig fractions into that form.
  • For definite integrals, substitute, change the limits to the new variable, and complete the square when you need an inverse tangent or inverse sine standard form.