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

Miscellaneous · Q18: ∫dxsin⁡3x sin⁡(x+α)\int\frac{dx}{\sqrt{\sin^3x\,\sin(x+\alpha)}}

Miscellaneous ExerciseTake sin⁴x out of the root, then t = cos α + sin α cot x · Miscellaneous Exercise
The question

Integrate the function:

1sin⁡3x sin⁡(x+α)\frac{1}{\sqrt{\sin^3x\,\sin(x+\alpha)}}
Exam answer

Let I=∫dxsin⁡3xsin⁡(x+α)I = \displaystyle\int\frac{dx}{\sqrt{\sin^3 x\sin(x + \alpha)}}⁠.

Using sin⁡(x+α)\sin(x + \alpha) =sin⁡xcos⁡α+cos⁡xsin⁡α= \sin x\cos\alpha + \cos x\sin\alpha⁠,

sin⁡3xsin⁡(x+α)=sin⁡4x⋅sin⁡(x+α)sin⁡x=sin⁡4x(cos⁡α+sin⁡αcot⁡x)\begin{aligned} &\sin^3 x\sin(x + \alpha) \\ &= \sin^4 x\cdot\frac{\sin(x + \alpha)}{\sin x} \\ &= \sin^4 x\left(\cos\alpha + \sin\alpha\cot x\right) \end{aligned} ∴ I=∫cosec⁡2x dxcos⁡α+sin⁡αcot⁡x\therefore\ I = \int\frac{\operatorname{cosec}^2 x\,dx}{\sqrt{\cos\alpha + \sin\alpha\cot x}}

Put cos⁡α+sin⁡αcot⁡x=t\cos\alpha + \sin\alpha\cot x = t⁠. Then −sin⁡αcosec⁡2x dx=dt-\sin\alpha\operatorname{cosec}^2 x\,dx = dt⁠.

I=−1sin⁡α∫t−1/2 dt=−2sin⁡αt+C\begin{aligned} I &= -\frac{1}{\sin\alpha}\int t^{-1/2}\,dt \\ &= -\frac{2}{\sin\alpha}\sqrt t + C \end{aligned}

∴ I=−2sin⁡αsin⁡(x+α)sin⁡x+C\therefore\ I = -\dfrac{2}{\sin\alpha}\sqrt{\dfrac{\sin(x + \alpha)}{\sin x}} + C (for sin⁡α≠0\sin\alpha \ne 0⁠).

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

The one idea this problem is built on

Under the root there are four sine factors "in degree": three of sin⁡x\sin x and one of sin⁡(x+α)\sin(x+\alpha)⁠. Pulling out sin⁡4x\sin^4x leaves sin⁡(x+α)sin⁡x=cos⁡α+sin⁡αcot⁡x\frac{\sin(x+\alpha)}{\sin x} = \cos\alpha + \sin\alpha\cot x⁠, and sin⁡4x=sin⁡2x\sqrt{\sin^4x} = \sin^2x comes out of the root as 1sin⁡2x=cosec⁡2x\frac{1}{\sin^2x} = \operatorname{cosec}^2x⁠. Since cosec⁡2x\operatorname{cosec}^2x is (minus) the derivative of cot⁡x\cot x⁠, the substitution t=cos⁡α+sin⁡αcot⁡xt = \cos\alpha + \sin\alpha\cot x finishes the job.

Given, to find, and the plan
Given
f(x)=1sin⁡3xsin⁡(x+α)f(x) = \frac{1}{\sqrt{\sin^3x\sin(x+\alpha)}}⁠, a constant α\alpha with sin⁡α≠0\sin\alpha \ne 0⁠. The function is defined where sin⁡3xsin⁡(x+α)>0\sin^3x\sin(x+\alpha) > 0⁠, that is where sin⁡xsin⁡(x+α)>0\sin x\sin(x+\alpha) > 0 (since sin⁡2x>0\sin^2x > 0 there).
To find
∫dxsin⁡3x sin⁡(x+α)\displaystyle\int\frac{dx}{\sqrt{\sin^3x\,\sin(x+\alpha)}}⁠.
Plan
(1) Take sin⁡4x\sin^4x out of the root. (2) Expand sin⁡(x+α)\sin(x+\alpha)⁠. (3) Substitute t=cos⁡α+sin⁡αcot⁡xt = \cos\alpha + \sin\alpha\cot x⁠. (4) Integrate t−1/2t^{-1/2}⁠. (5) Return to xx⁠. (6) Differentiate back and compare with the key.

Basics you need

1Compound angle

sin⁡(x+α)=sin⁡xcos⁡α+cos⁡xsin⁡α\sin(x+\alpha) = \sin x\cos\alpha + \cos x\sin\alpha⁠. Basics: trigonometric identities

2Square roots

pq=p q\sqrt{pq} = \sqrt p\,\sqrt q for p,q≥0p, q \ge 0⁠, and u2=∣u∣\sqrt{u^2} = |u|⁠; in particular sin⁡4x=sin⁡2x\sqrt{\sin^4x} = \sin^2x⁠.

3Substitution and the power formula

ddxcot⁡x=−cosec⁡2x\frac{d}{dx}\cot x = -\operatorname{cosec}^2x⁠; ∫t−1/2 dt=2t1/2+C\int t^{-1/2}\,dt = 2t^{1/2} + C (standard formula (i), Section 7.2). Basics: substitution

Solution

  1. Take sin⁡4x\sin^4x out of the root

    On the domain sin⁡x≠0\sin x \ne 0⁠, so we may write

    sin⁡3x sin⁡(x+α)=sin⁡4x⋅sin⁡(x+α)sin⁡x.\sin^3x\,\sin(x+\alpha) = \sin^4x\cdot\frac{\sin(x+\alpha)}{\sin x} .

    Both factors on the right are positive (sin⁡4x>0\sin^4x > 0⁠, and the quotient has the sign of sin⁡xsin⁡(x+α)>0\sin x\sin(x+\alpha) > 0⁠), so

    sin⁡3x sin⁡(x+α)=sin⁡2x sin⁡(x+α)sin⁡x.\sqrt{\sin^3x\,\sin(x+\alpha)} = \sin^2x\,\sqrt{\frac{\sin(x+\alpha)}{\sin x}} .
    Why sin⁡4x\sin^4x and not sin⁡3x\sin^3x⁠? An even power is what leaves the square root cleanly: sin⁡4x=sin⁡2x\sqrt{\sin^4x} = \sin^2x with no sign trouble. Splitting the root of a product into a product of roots is only safe when both factors are ≥0\ge 0⁠, which we checked.
  2. Expand sin⁡(x+α)sin⁡x\frac{\sin(x+\alpha)}{\sin x}

    sin⁡(x+α)sin⁡x=sin⁡xcos⁡α+cos⁡xsin⁡αsin⁡x=cos⁡α+sin⁡αcot⁡x.\begin{aligned}\frac{\sin(x+\alpha)}{\sin x} &= \frac{\sin x\cos\alpha + \cos x\sin\alpha}{\sin x}\\ &= \cos\alpha + \sin\alpha\cot x .\end{aligned}

    So the integrand is

    1sin⁡2xcos⁡α+sin⁡αcot⁡x=cosec⁡2xcos⁡α+sin⁡αcot⁡x.\frac{1}{\sin^2x\sqrt{\cos\alpha + \sin\alpha\cot x}} = \frac{\operatorname{cosec}^2x}{\sqrt{\cos\alpha + \sin\alpha\cot x}} .
    Dividing each term of the numerator by sin⁡x\sin x turns the compound angle into an expression in cot⁡x\cot x alone, and the leftover 1sin⁡2x=cosec⁡2x\frac{1}{\sin^2x} = \operatorname{cosec}^2x is exactly the derivative we need for a cot⁡x\cot x substitution.
    Compound-angle formula (Class XI). Basics: trigonometric identities
  3. Substitute t=cos⁡α+sin⁡αcot⁡xt = \cos\alpha + \sin\alpha\cot x

    t=cos⁡α+sin⁡αcot⁡x,dt=−sin⁡αcosec⁡2x dx,cosec⁡2x dx=−dtsin⁡α.\begin{aligned}t &= \cos\alpha + \sin\alpha\cot x ,\\ dt &= -\sin\alpha\operatorname{cosec}^2x\,dx ,\\ \operatorname{cosec}^2x\,dx &= -\frac{dt}{\sin\alpha} .\end{aligned}

    By Step 2, t=sin⁡(x+α)sin⁡x>0t = \frac{\sin(x+\alpha)}{\sin x} > 0 on the domain.

    α\alpha is a constant, so cos⁡α\cos\alpha differentiates to 0 and sin⁡α\sin\alpha stays as a factor. Dividing by sin⁡α\sin\alpha is allowed because sin⁡α≠0\sin\alpha \ne 0⁠. We need t>0t > 0 so that t\sqrt t and t−1/2t^{-1/2} make sense.
  4. Integrate in tt

    ∫cosec⁡2x dxcos⁡α+sin⁡αcot⁡x=−1sin⁡α∫t−1/2 dt=−1sin⁡α⋅2t1/2+C.\begin{aligned}\int\frac{\operatorname{cosec}^2x\,dx}{\sqrt{\cos\alpha + \sin\alpha\cot x}} &= -\frac{1}{\sin\alpha}\int t^{-1/2}\,dt\\ &= -\frac{1}{\sin\alpha}\cdot 2t^{1/2} + C .\end{aligned}
    Power formula with n=−12n = -\frac12⁠: t1/21/2=2t\frac{t^{1/2}}{1/2} = 2\sqrt t⁠. The constant −1sin⁡α-\frac{1}{\sin\alpha} comes outside.
    Standard formula (i), Section 7.2. Basics: powers of x
  5. Return to xx

    ∫dxsin⁡3x sin⁡(x+α)=−2sin⁡αsin⁡(x+α)sin⁡x+C.\int\frac{dx}{\sqrt{\sin^3x\,\sin(x+\alpha)}} = -\frac{2}{\sin\alpha}\sqrt{\frac{\sin(x+\alpha)}{\sin x}} + C .
    By Step 2, t=sin⁡(x+α)sin⁡xt = \frac{\sin(x+\alpha)}{\sin x}⁠; writing it this way matches the form in the answer key.
  6. Check: differentiate the answer

    Let u=sin⁡(x+α)sin⁡xu = \frac{\sin(x+\alpha)}{\sin x}⁠. By the quotient rule and the formula sin⁡(A−B)=sin⁡Acos⁡B−cos⁡Asin⁡B\sin(A - B) = \sin A\cos B - \cos A\sin B⁠:

    u′=cos⁡(x+α)sin⁡x−sin⁡(x+α)cos⁡xsin⁡2x=sin⁡(x−(x+α))sin⁡2x=−sin⁡αsin⁡2x.\begin{aligned}u' &= \frac{\cos(x+\alpha)\sin x - \sin(x+\alpha)\cos x}{\sin^2x}\\ &= \frac{\sin\left(x - (x+\alpha)\right)}{\sin^2x} = -\frac{\sin\alpha}{\sin^2x} .\end{aligned}

    Then

    ddx(−2sin⁡αu)=−2sin⁡α⋅u′2u=1sin⁡2x u=1sin⁡3x sin⁡(x+α) ✓\begin{aligned}\frac{d}{dx}\left(-\frac{2}{\sin\alpha}\sqrt u\right) &= -\frac{2}{\sin\alpha}\cdot\frac{u'}{2\sqrt u}\\ &= \frac{1}{\sin^2x\,\sqrt u}\\ &= \frac{1}{\sqrt{\sin^3x\,\sin(x+\alpha)}}\ \checkmark\end{aligned}
    The last equality is Step 1 read backwards. The derivative check holds at every point of the domain, so the answer is valid on every interval where sin⁡xsin⁡(x+α)>0\sin x\sin(x+\alpha) > 0⁠.
  7. Compare with the textbook's answer

    The key gives −2sin⁡αsin⁡(x+α)sin⁡x+C\frac{-2}{\sin\alpha}\sqrt{\frac{\sin(x+\alpha)}{\sin x}} + C⁠, exactly our answer.

    The key does not state the conditions; we add them: sin⁡α≠0\sin\alpha \ne 0 (otherwise the formula divides by 0) and sin⁡xsin⁡(x+α)>0\sin x\sin(x+\alpha) > 0⁠. When sin⁡α=0\sin\alpha = 0 the question changes: for α=0\alpha = 0 the integrand is 1sin⁡2x\frac{1}{\sin^2x} and the integral is −cot⁡x+C-\cot x + C⁠.
Result

For sin⁡α≠0\sin\alpha \ne 0⁠, on any interval where sin⁡xsin⁡(x+α)>0\sin x\sin(x+\alpha) > 0⁠:

∫dxsin⁡3x sin⁡(x+α)=−2sin⁡αsin⁡(x+α)sin⁡x+C\int\frac{dx}{\sqrt{\sin^3x\,\sin(x+\alpha)}} = -\frac{2}{\sin\alpha}\sqrt{\frac{\sin(x+\alpha)}{\sin x}} + C

(Textbook answer: −2sin⁡αsin⁡(x+α)sin⁡x+C\frac{-2}{\sin\alpha}\sqrt{\frac{\sin(x+\alpha)}{\sin x}} + C⁠.)

Check it with numbers

Take α=π3\alpha = \frac{\pi}{3} and the interval [π4,π2][\frac{\pi}{4}, \frac{\pi}{2}]⁠. There sin⁡x>0\sin x > 0 and x+αx + \alpha lies in [7π12,5π6][\frac{7\pi}{12}, \frac{5\pi}{6}]⁠, where sin⁡\sin is positive, so the integrand is continuous. With FF our answer,

F(π2)≈−1.6329931619,F(π4)≈−2.6991607622,F\left(\tfrac{\pi}{2}\right) \approx -1.6329931619 ,\quad F\left(\tfrac{\pi}{4}\right) \approx -2.6991607622 ,

so F(π2)−F(π4)≈1.0661676003F(\frac{\pi}{2}) - F(\frac{\pi}{4}) \approx 1.0661676003⁠. Numerical integration of the integrand from π4\frac{\pi}{4} to π2\frac{\pi}{2} also gives 1.06616760031.0661676003⁠.

Common mistakes
  1. Taking out sin⁡3x\sin^3x as sin⁡3/2x\sin^{3/2}x⁠. Possible, but it leaves sin⁡(x+α)\sqrt{\sin(x+\alpha)} with nothing to cancel it; sin⁡4x\sin^4x is the factor that makes cot⁡x\cot x appear.
  2. Forgetting that α\alpha is a constant. ddxcos⁡α=0\frac{d}{dx}\cos\alpha = 0⁠, and sin⁡α\sin\alpha is just a number.
  3. Losing the minus sign from ddxcot⁡x=−cosec⁡2x\frac{d}{dx}\cot x = -\operatorname{cosec}^2x⁠.
What to take away
  1. Under a square root, pull out an even power so it leaves the root without sign problems.
  2. Dividing sin⁡(x+α)\sin(x+\alpha) by sin⁡x\sin x gives cos⁡α+sin⁡αcot⁡x\cos\alpha + \sin\alpha\cot x⁠, and cosec⁡2x dx\operatorname{cosec}^2x\,dx pairs with cot⁡x\cot x⁠.
  3. Always state the conditions on the parameters (here sin⁡α≠0\sin\alpha \ne 0⁠).

Every fact used, and where it comes from

FactUsed inSource
pq=pq\sqrt{pq} = \sqrt p\sqrt q for p,q≥0p, q \ge 0Step 1Algebra
sin⁡(x+α)\sin(x+\alpha)⁠, sin⁡(A−B)\sin(A-B) expansionsSteps 2, 6Class XI trigonometry (Basics)
Integration by substitutionSteps 3, 4Section 7.3.1 (Lesson: substitution)
ddxcot⁡x=−cosec⁡2x\frac{d}{dx}\cot x = -\operatorname{cosec}^2xStep 3Chapter 5; Section 7.2, list item (v)
∫tn dt=tn+1n+1+C\int t^n\,dt = \frac{t^{n+1}}{n+1} + CStep 4Standard formula (i), Section 7.2
Quotient and chain rulesStep 6Chapter 5
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 →