Class 12 Maths, Worked in Full Past papersGet updates
Chapter 7 · Integrals

Example 35: ∫cos⁡6x1+sin⁡6x dx\int\cos 6x\sqrt{1+\sin 6x}\,dx

ExamplesIntegration by substitution · Miscellaneous Examples
The question

Find

∫cos⁡6x 1+sin⁡6x  dx\int \cos 6x\,\sqrt{1+\sin 6x}\;dx
Exam answer

Let I=∫cos⁡6x1+sin⁡6x dxI = \displaystyle\int\cos 6x\sqrt{1 + \sin 6x}\,dx⁠.

Put 1+sin⁡6x=t1 + \sin 6x = t⁠. Then 6cos⁡6x dx=dt6\cos 6x\,dx = dt⁠.

I=16∫t1/2 dt=16⋅t3/23/2+C=19 t3/2+C\begin{aligned} I &= \frac16\int t^{1/2}\,dt \\ &= \frac16\cdot\frac{t^{3/2}}{3/2} + C \\ &= \frac19\,t^{3/2} + C \end{aligned}

∴ I=19(1+sin⁡6x)3/2+C\therefore\ I = \dfrac19(1 + \sin 6x)^{3/2} + C⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

The factor cos⁡6x\cos 6x outside the root is, apart from the constant 6, the derivative of the expression 1+sin⁡6x1 + \sin 6x inside the root. That is the signal for substitution: call the inside tt⁠, and the whole integrand collapses to 16t\frac{1}{6}\sqrt{t}⁠, a plain power of tt⁠.

Given, to find, and the plan
Given
The integrand cos⁡6x1+sin⁡6x\cos 6x\sqrt{1 + \sin 6x}⁠, defined for every real xx because 1+sin⁡6x≥01 + \sin 6x \ge 0 always.
To find
∫cos⁡6x1+sin⁡6x dx\int \cos 6x\sqrt{1+\sin 6x}\,dx⁠.
Plan
Substitute t=1+sin⁡6xt = 1 + \sin 6x⁠; integrate t1/2t^{1/2} by the power rule; substitute back; check by differentiating.

Basics you need

1Integration by substitution (Section 7.3.1)

If t=g(x)t = g(x)⁠, then dt=g′(x) dxdt = g'(x)\,dx⁠, and ∫f(g(x)) g′(x) dx=∫f(t) dt\int f(g(x))\,g'(x)\,dx = \int f(t)\,dt⁠. It is the chain rule read backwards. Basics: substitution

2Chain rule for sin⁡6x\sin 6x

ddxsin⁡6x=6cos⁡6x\frac{d}{dx}\sin 6x = 6\cos 6x⁠: the derivative of the outer sin⁡\sin is cos⁡\cos⁠, times the derivative 6 of the inner 6x6x⁠. Basics: integration undoes differentiation

3Power rule for integrals

∫tn dt=tn+1n+1+C\int t^n\,dt = \frac{t^{n+1}}{n+1} + C for n≠−1n \ne -1⁠. With n=12n = \frac12⁠: ∫t1/2 dt=23t3/2+C\int t^{1/2}\,dt = \frac{2}{3}t^{3/2} + C⁠. Basics: powers and the power rule

Solution

  1. Choose the substitution t=1+sin⁡6xt = 1 + \sin 6x

    Put t=1+sin⁡6xt = 1 + \sin 6x⁠. Differentiating with the chain rule,

    dtdx=6cos⁡6x,sodt=6cos⁡6x dx\frac{dt}{dx} = 6\cos 6x, \qquad\text{so}\qquad dt = 6\cos 6x\,dx

    and therefore cos⁡6x dx=16 dt\cos 6x\,dx = \frac{1}{6}\,dt⁠.

    We substitute for the expression whose derivative is sitting in the integrand. The cos⁡6x dx\cos 6x\,dx is then completely absorbed into dtdt⁠, and the only thing left is the root, which becomes t\sqrt t⁠. Choosing t=sin⁡6xt = \sin 6x would also work (then 1+t\sqrt{1 + t} remains); taking the whole inside of the root is one step shorter.
    The derivative of the constant 1 is 0, so t=1+sin⁡6xt = 1 + \sin 6x and t=sin⁡6xt = \sin 6x have the same differential. Lesson: integration by substitution
  2. Rewrite the integral in tt

    ∫cos⁡6x1+sin⁡6x dx=∫t⋅16 dt=16∫t1/2 dt.\int \cos 6x\sqrt{1+\sin 6x}\,dx = \int \sqrt{t}\cdot\frac{1}{6}\,dt = \frac{1}{6}\int t^{1/2}\,dt .
    Every xx has disappeared: 1+sin⁡6x\sqrt{1 + \sin 6x} became t\sqrt t and cos⁡6x dx\cos 6x\,dx became 16 dt\frac16\,dt⁠. A substitution is successful exactly when no xx is left over. The constant 16\frac16 comes out of the integral (Property IV, Section 7.2.1). Since t=1+sin⁡6xt = 1 + \sin 6x lies in [0,2][0, 2]⁠, t\sqrt t is always defined.
    t=t1/2\sqrt t = t^{1/2} for t≥0t \ge 0⁠. Basics: powers
  3. Integrate with the power rule

    16∫t1/2 dt=16⋅t3/23/2+C=16⋅23 t3/2+C=19 t3/2+C.\begin{aligned}\frac{1}{6}\int t^{1/2}\,dt &= \frac{1}{6}\cdot\frac{t^{3/2}}{3/2} + C\\ &= \frac{1}{6}\cdot\frac{2}{3}\,t^{3/2} + C = \frac{1}{9}\,t^{3/2} + C .\end{aligned}
    The power rule raises the exponent by 1 (12+1=32\frac12 + 1 = \frac32⁠) and divides by the new exponent; dividing by 32\frac32 is multiplying by 23\frac23⁠. Then 16⋅23=218=19\frac16 \cdot \frac23 = \frac{2}{18} = \frac19⁠.
    Standard formula (i) of Section 7.2: ∫xn dx=xn+1n+1+C\int x^n\,dx = \frac{x^{n+1}}{n+1} + C⁠, n≠−1n \ne -1⁠.
  4. Substitute back

    ∫cos⁡6x1+sin⁡6x dx=19 (1+sin⁡6x)3/2+C.\begin{aligned}&\int \cos 6x\sqrt{1+\sin 6x}\,dx\\ &= \frac{1}{9}\,(1 + \sin 6x)^{3/2} + C .\end{aligned}
    The question is in xx⁠, so the answer must be in xx⁠. Replace tt by 1+sin⁡6x1 + \sin 6x⁠.
  5. Check: ddx\frac{d}{dx} of our answer

    Let F(x)=19(1+sin⁡6x)3/2F(x) = \frac19(1 + \sin 6x)^{3/2}⁠. By the chain rule (outer: u3/2u^{3/2}⁠; inner: u=1+sin⁡6xu = 1 + \sin 6x⁠, with u′=6cos⁡6xu' = 6\cos 6x⁠):

    F′(x)=19⋅32(1+sin⁡6x)1/2⋅6cos⁡6x=1818cos⁡6x1+sin⁡6x=cos⁡6x1+sin⁡6x.\begin{aligned}F'(x) &= \frac19\cdot\frac32(1+\sin 6x)^{1/2}\cdot 6\cos 6x\\ &= \frac{18}{18}\cos 6x\sqrt{1+\sin 6x}\\ &= \cos 6x\sqrt{1+\sin 6x} .\end{aligned}

    This is the integrand, so the answer is right.

    Differentiation undoes integration, so differentiating the answer must return the integrand exactly. The constants 19⋅32⋅6=1\frac19 \cdot \frac32 \cdot 6 = 1 cancel perfectly. The check holds for every real xx⁠; at the points where sin⁡6x=−1\sin 6x = -1 both sides are 0 (u3/2u^{3/2} is flat where u=0u = 0⁠, and uu never goes negative), so the answer is valid on the whole real line.
Result

∫cos⁡6x1+sin⁡6x dx=19(1+sin⁡6x)3/2+C\begin{aligned}&\int \cos 6x\sqrt{1+\sin 6x}\,dx\\ &= \frac{1}{9}(1+\sin 6x)^{3/2} + C\end{aligned} valid for every real xx⁠. This is the textbook's answer.

Check it with numbers

At x=0.5x = 0.5⁠: the integrand is cos⁡31+sin⁡3≈−1.057542\cos 3\sqrt{1 + \sin 3} \approx -1.057542⁠, and a numerical derivative of FF at 0.50.5 (central difference with step 10−1010^{-10}⁠) gives −1.057542-1.057542⁠. At x=0.1x = 0.1⁠: integrand ≈1.032377\approx 1.032377⁠, numerical F′(0.1)≈1.032377F'(0.1) \approx 1.032377⁠.

Definite-integral check: by our answer,

∫0π/12cos⁡6x1+sin⁡6x dx=F(π12)−F(0)=23/2−19≈0.203159,\begin{aligned}&\int_0^{\pi/12}\cos 6x\sqrt{1+\sin 6x}\,dx\\ &= F\left(\tfrac{\pi}{12}\right) - F(0)\\ &= \frac{2^{3/2} - 1}{9} \approx 0.203159 ,\end{aligned}

and numerical integration gives the same.

Common mistakes
  1. Losing the 6. dt=6cos⁡6x dxdt = 6\cos 6x\,dx⁠, not cos⁡6x dx\cos 6x\,dx⁠; forgetting it gives 23(⋯ )3/2\frac23(\cdots)^{3/2}⁠, six times too big.
  2. Differentiating sin⁡6x\sin 6x as cos⁡6x\cos 6x⁠. The chain rule brings out the inner derivative 6.
  3. Leaving the answer in tt, or forgetting "+C+ C".
What to take away
  1. Look for "a function and its derivative" in the integrand: here 1+sin⁡6x1 + \sin 6x and cos⁡6x\cos 6x⁠. Substituting for the function always clears the derivative into dtdt⁠.
  2. In general ∫g′(x)g(x) dx\int g'(x)\sqrt{g(x)}\,dx equals 23 (g(x))3/2+C\frac23\,(g(x))^{3/2} + C⁠; here g′(x)=6cos⁡6xg'(x) = 6\cos 6x is 6 times the factor we have, hence 16⋅23=19\frac16\cdot\frac23 = \frac19⁠.
  3. Always check by differentiating: the constants must multiply out to exactly 1.

Every fact used, and where it comes from

FactUsed inSource
ddxsin⁡6x=6cos⁡6x\frac{d}{dx}\sin 6x = 6\cos 6x (chain rule)Steps 1, 5Chapter 5, Section 5.3.1
Substitution t=g(x)t = g(x)⁠, dt=g′(x) dxdt = g'(x)\,dxSteps 1, 2Section 7.3.1 (Lesson: substitution)
∫kf(x) dx=k∫f(x) dx\int k f(x)\,dx = k\int f(x)\,dxStep 2Section 7.2.1, Property IV
∫tn dt=tn+1n+1+C\int t^n\,dt = \frac{t^{n+1}}{n+1} + C⁠, n≠−1n \ne -1Step 3Section 7.2, standard formula (i)
Differentiating the answer returns the integrandStep 5Section 7.2.1, Property I
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →