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

Example 6: ∫sin⁡3xcos⁡2x dx\int\sin^3x\cos^2x\,dx⁠, ∫sin⁡xsin⁡(x+a) dx\int\frac{\sin x}{\sin(x+a)}\,dx⁠, ∫dx1+tan⁡x\int\frac{dx}{1+\tan x}

ExamplesIntegration by substitution · Section 7.3.1
The question

Find the following integrals:

(i) ∫sin⁡3xcos⁡2x dx\displaystyle\int\sin^3x\cos^2x\,dx    (ii) ∫sin⁡xsin⁡(x+a) dx\displaystyle\int\frac{\sin x}{\sin(x + a)}\,dx    (iii) ∫11+tan⁡x dx\displaystyle\int\frac{1}{1 + \tan x}\,dx

Exam answer

(i) Let I=∫sin⁡3xcos⁡2x dxI = \displaystyle\int\sin^3x\cos^2x\,dx⁠.

Using sin⁡2x=1−cos⁡2x\sin^2x = 1 - \cos^2x⁠,

I=∫(1−cos⁡2x)cos⁡2x sin⁡x dxI = \int(1 - \cos^2x)\cos^2x\,\sin x\,dx

Put cos⁡x=t\cos x = t⁠. Then −sin⁡x dx=dt-\sin x\,dx = dt⁠.

I=−∫(1−t2) t2 dt=−∫(t2−t4) dt=−(t33−t55)+C\begin{aligned} I &= -\int(1 - t^2)\,t^2\,dt \\ &= -\int(t^2 - t^4)\,dt \\ &= -\left(\frac{t^3}{3} - \frac{t^5}{5}\right) + C \end{aligned}

∴ I=−13cos⁡3x+15cos⁡5x\therefore\ I = -\frac13\cos^3x + \frac15\cos^5x +C+ C⁠.

(ii) Let I=∫sin⁡xsin⁡(x+a) dxI = \displaystyle\int\frac{\sin x}{\sin(x + a)}\,dx⁠.

Put x+a=tx + a = t⁠. Then dx=dtdx = dt⁠.

I=∫sin⁡(t−a)sin⁡t dtI = \int\frac{\sin(t - a)}{\sin t}\,dt

Expanding sin⁡(t−a)\sin(t - a)⁠,

I=∫sin⁡tcos⁡a−cos⁡tsin⁡asin⁡t dt=∫(cos⁡a−sin⁡acot⁡t) dt=(cos⁡a) t−(sin⁡a)log⁡∣sin⁡t∣+C1=(x+a)cos⁡a−sin⁡alog⁡∣sin⁡(x+a)∣+C1\begin{aligned} I &= \int\frac{\sin t\cos a - \cos t\sin a}{\sin t}\,dt \\ &= \int(\cos a - \sin a\cot t)\,dt \\ &= (\cos a)\,t - (\sin a)\log|\sin t| \\ &\quad + C_1 \\ &= (x + a)\cos a \\ &\quad - \sin a\log|\sin(x + a)| + C_1 \end{aligned}

∴ I=xcos⁡a\therefore\ I = x\cos a −sin⁡alog⁡∣sin⁡(x+a)∣+C- \sin a\log|\sin(x + a)| + C⁠, where C=C1+acos⁡aC = C_1 + a\cos a⁠.

(iii) Let I=∫dx1+tan⁡xI = \displaystyle\int\frac{dx}{1 + \tan x}⁠.

Multiplying numerator and denominator by cos⁡x\cos x⁠,

I=∫cos⁡x dxcos⁡x+sin⁡xI = \int\frac{\cos x\,dx}{\cos x + \sin x}

Writing cos⁡x=12(cos⁡x+sin⁡x)\cos x = \frac12(\cos x + \sin x) +12(cos⁡x−sin⁡x)+ \frac12(\cos x - \sin x)⁠,

I=12∫dx+12∫cos⁡x−sin⁡xcos⁡x+sin⁡x dx\begin{aligned} I &= \frac12\int dx \\ &\quad + \frac12\int\frac{\cos x - \sin x}{\cos x + \sin x}\,dx \end{aligned}

Put cos⁡x+sin⁡x=t\cos x + \sin x = t⁠. Then (cos⁡x−sin⁡x) dx=dt(\cos x - \sin x)\,dx = dt⁠.

I=x2+12∫dtt=x2+12log⁡∣t∣+C\begin{aligned} I &= \frac x2 + \frac12\int\frac{dt}{t} \\ &= \frac x2 + \frac12\log|t| + C \end{aligned}

∴ I=x2+12log⁡∣cos⁡x+sin⁡x∣\therefore\ I = \dfrac x2 + \dfrac12\log|\cos x + \sin x| +C+ C⁠.

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

The one idea this problem is built on

None of the three integrands is ready for a substitution as written. Each first needs an algebraic or trigonometric rewrite that makes "a function times its own derivative" appear: in (i) save one sin⁡x\sin x and turn the rest into cosines; in (ii) shift the variable so that the denominator becomes sin⁡t\sin t and expand the numerator; in (iii) write the numerator as a mix of the denominator and the denominator's derivative.

Given, to find, and the plan
Given
(i) sin⁡3xcos⁡2x\sin^3x\cos^2x⁠, all real xx⁠; (ii) sin⁡xsin⁡(x+a)\frac{\sin x}{\sin(x + a)}⁠, aa a constant, sin⁡(x+a)≠0\sin(x + a) \ne 0⁠; (iii) 11+tan⁡x\frac{1}{1 + \tan x}⁠, with cos⁡x≠0\cos x \ne 0 and tan⁡x≠−1\tan x \ne -1⁠.
To find
The three indefinite integrals.
Plan
(i) sin⁡2x=1−cos⁡2x\sin^2x = 1 - \cos^2x⁠, then t=cos⁡xt = \cos x⁠. (ii) t=x+at = x + a⁠, then sin⁡(t−a)\sin(t - a) expanded. (iii) Multiply by cos⁡xcos⁡x\frac{\cos x}{\cos x}⁠, split cos⁡x\cos x as half the denominator plus half its derivative, then t=cos⁡x+sin⁡xt = \cos x + \sin x⁠. Differentiate every answer back.

Basics you need

1Substitution

t=u(x)t = u(x)⁠, dt=u′(x) dxdt = u'(x)\,dx turns ∫g(u(x))u′(x) dx\int g(u(x))u'(x)\,dx into ∫g(t) dt\int g(t)\,dt (Example 5). Basics: substitution, the chain rule backwards

2Identities

sin⁡2x+cos⁡2x=1\sin^2x + \cos^2x = 1⁠; sin⁡(A−B)\sin(A - B) =sin⁡Acos⁡B−cos⁡Asin⁡B= \sin A\cos B - \cos A\sin B⁠. Basics: trigonometric identities for integrals

3Two logarithm integrals

∫cot⁡t dt=log⁡∣sin⁡t∣+C\int\cot t\,dt = \log|\sin t| + C (result (ii) after Example 5, Section 7.3.1), and ∫dtt=log⁡∣t∣+C\int\frac{dt}{t} = \log|t| + C (standard formula (xii), Section 7.2). Basics: logarithms and 1/x

4Constants absorb constants

Any expression made only of constants (such as acos⁡aa\cos a or C12\frac{C_1}{2}⁠) can be merged into the arbitrary constant CC⁠. Basics: integration undoes differentiation

Part (i): ∫sin⁡3xcos⁡2x dx\int\sin^3x\cos^2x\,dx

  1. Save one sin⁡x\sin x and convert the rest to cosines

    sin⁡3xcos⁡2x=sin⁡2xcos⁡2x (sin⁡x)=(1−cos⁡2x)cos⁡2x (sin⁡x).\begin{aligned} \sin^3x\cos^2x &= \sin^2x\cos^2x\,(\sin x) \\ &= (1 - \cos^2x)\cos^2x\,(\sin x). \end{aligned}
    The odd power of sin⁡x\sin x is the key. One factor sin⁡x\sin x is kept aside because it is (minus) the derivative of cos⁡x\cos x⁠; the remaining even power sin⁡2x\sin^2x is converted into cosines with sin⁡2x=1−cos⁡2x\sin^2x = 1 - \cos^2x⁠. Now everything except sin⁡x dx\sin x\,dx is a function of cos⁡x\cos x⁠.
    sin⁡2x+cos⁡2x=1\sin^2x + \cos^2x = 1⁠. Basics: trigonometric identities
  2. Substitute t=cos⁡xt = \cos x

    t=cos⁡x,dt=−sin⁡x dx,sin⁡x dx=−dt.\begin{gathered} t = \cos x, \qquad dt = -\sin x\,dx, \\ \sin x\,dx = -dt. \end{gathered} ∫(1−cos⁡2x)cos⁡2x (sin⁡x) dx=−∫(1−t2) t2 dt=−∫(t2−t4) dt.\begin{aligned} &\int(1 - \cos^2x)\cos^2x\,(\sin x)\,dx \\ &= -\int(1 - t^2)\,t^2\,dt \\ &= -\int(t^2 - t^4)\,dt. \end{aligned}
    ddxcos⁡x=−sin⁡x\frac{d}{dx}\cos x = -\sin x⁠, so sin⁡x dx\sin x\,dx is exactly −dt-dt⁠. The minus sign must travel with it.
    Substitution, Section 7.3.1. Lesson: integration by substitution
  3. Integrate the polynomial and return to xx

    −∫(t2−t4) dt=−(t33−t55)+C=−13cos⁡3x+15cos⁡5x+C.\begin{aligned} -\int(t^2 - t^4)\,dt &= -\left(\frac{t^3}{3} - \frac{t^5}{5}\right) + C \\ &= -\frac13\cos^3x + \frac15\cos^5x + C. \end{aligned}
    Power formula (i) for t2t^2 and t4t^4⁠; then t=cos⁡xt = \cos x⁠. Multiplying the bracket by −1-1 flips both signs.
    Standard formula (i), Section 7.2. Basics: the power rule
  4. Check: differentiate the answer

    ddx(−13cos⁡3x+15cos⁡5x)=cos⁡2xsin⁡x−cos⁡4xsin⁡x=cos⁡2xsin⁡x (1−cos⁡2x)=sin⁡3xcos⁡2x. ✓\begin{aligned} &\frac{d}{dx}\left(-\frac13\cos^3x + \frac15\cos^5x\right) \\ &= \cos^2x\sin x - \cos^4x\sin x \\ &= \cos^2x\sin x\,(1 - \cos^2x) \\ &= \sin^3x\cos^2x. \ \checkmark \end{aligned}

    Valid for every real xx⁠.

    ddxcos⁡nx=ncos⁡n−1x⋅(−sin⁡x)\frac{d}{dx}\cos^n x = n\cos^{n-1}x\cdot(-\sin x) by the chain rule. Then 1−cos⁡2x=sin⁡2x1 - \cos^2x = \sin^2x rebuilds sin⁡3x\sin^3x⁠.

Part (ii): ∫sin⁡xsin⁡(x+a) dx\int\frac{\sin x}{\sin(x + a)}\,dx

  1. Shift the variable: t=x+at = x + a

    Put t=x+at = x + a⁠. Then dt=dxdt = dx and x=t−ax = t - a⁠, so

    ∫sin⁡xsin⁡(x+a) dx=∫sin⁡(t−a)sin⁡t dt.\int\frac{\sin x}{\sin(x + a)}\,dx = \int\frac{\sin(t - a)}{\sin t}\,dt.

    The integrand needs sin⁡(x+a)≠0\sin(x + a) \ne 0⁠, that is sin⁡t≠0\sin t \ne 0⁠.

    The awkward part is the denominator sin⁡(x+a)\sin(x + a)⁠. Naming x+ax + a as tt makes the denominator the simple sin⁡t\sin t⁠, and since aa is a constant, dt=dxdt = dx with no extra factor.
    Substitution, Section 7.3.1. Basics: substitution
  2. Expand sin⁡(t−a)\sin(t - a) and split

    sin⁡(t−a)sin⁡t=sin⁡tcos⁡a−cos⁡tsin⁡asin⁡t=cos⁡a−sin⁡a cot⁡t.\begin{aligned} \frac{\sin(t - a)}{\sin t} &= \frac{\sin t\cos a - \cos t\sin a}{\sin t} \\ &= \cos a - \sin a\,\cot t. \end{aligned}
    The subtraction formula separates tt from aa⁠. Dividing each term by sin⁡t\sin t leaves a constant, cos⁡a\cos a⁠, and a constant multiple of cot⁡t\cot t⁠, both of which we can integrate. Remember cos⁡a\cos a and sin⁡a\sin a are constants, because aa is.
    sin⁡(A−B)\sin(A - B) =sin⁡Acos⁡B−cos⁡Asin⁡B= \sin A\cos B - \cos A\sin B⁠. Basics: trigonometric identities
  3. Integrate

    ∫(cos⁡a−sin⁡acot⁡t) dt=(cos⁡a) t−(sin⁡a)log⁡∣sin⁡t∣+C1.\begin{aligned} &\int(\cos a - \sin a\cot t)\,dt \\ &= (\cos a)\,t - (\sin a)\log|\sin t| + C_1. \end{aligned}
    ∫cos⁡a dt=(cos⁡a)t\int\cos a\,dt = (\cos a)t⁠, since cos⁡a\cos a is a constant. ∫cot⁡t dt=log⁡∣sin⁡t∣\int\cot t\,dt = \log|\sin t| is result (ii) proved in Section 7.3.1 (put sin⁡t=s\sin t = s⁠, ds=cos⁡t dtds = \cos t\,dt⁠).
    ∫cot⁡x dx=log⁡∣sin⁡x∣+C\int\cot x\,dx = \log|\sin x| + C⁠, Section 7.3.1. Lesson: integration by substitution
  4. Return to xx and absorb the constant

    (cos⁡a)(x+a)−(sin⁡a)log⁡∣sin⁡(x+a)∣+C1=xcos⁡a−sin⁡alog⁡∣sin⁡(x+a)∣+(acos⁡a+C1).\begin{aligned} &(\cos a)(x + a) \\ &\qquad - (\sin a)\log|\sin(x + a)| + C_1 \\ &= x\cos a - \sin a\log|\sin(x + a)| \\ &\qquad + (a\cos a + C_1). \end{aligned}

    acos⁡a+C1a\cos a + C_1 is a constant; call it CC⁠. So

    ∫sin⁡xsin⁡(x+a) dx=xcos⁡a−sin⁡alog⁡∣sin⁡(x+a)∣+C.\begin{aligned} &\int\frac{\sin x}{\sin(x + a)}\,dx \\ &= x\cos a - \sin a\log|\sin(x + a)| + C. \end{aligned}
    The term acos⁡aa\cos a contains no xx⁠, so it is part of the arbitrary constant. The book places its C1C_1 inside the bracket multiplied by sin⁡a\sin a⁠, so its constant is C=−C1sin⁡a+acos⁡aC = -C_1\sin a + a\cos a⁠; both bookkeepings describe the same family of answers.
  5. Check: differentiate the answer

    ddx(xcos⁡a−sin⁡alog⁡∣sin⁡(x+a)∣)=cos⁡a−sin⁡a cos⁡(x+a)sin⁡(x+a)=sin⁡(x+a)cos⁡a−cos⁡(x+a)sin⁡asin⁡(x+a)=sin⁡((x+a)−a)sin⁡(x+a)=sin⁡xsin⁡(x+a). ✓\begin{aligned} &\frac{d}{dx}\left(x\cos a - \sin a\log|\sin(x + a)|\right) \\ &= \cos a - \sin a\,\frac{\cos(x + a)}{\sin(x + a)} \\ &= \frac{\sin(x + a)\cos a - \cos(x + a)\sin a}{\sin(x + a)} \\ &= \frac{\sin\big((x + a) - a\big)}{\sin(x + a)} = \frac{\sin x}{\sin(x + a)}. \ \checkmark \end{aligned}
    ddxlog⁡∣u∣=u′u\frac{d}{dx}\log|u| = \frac{u'}{u}⁠. The numerator is the subtraction formula read backwards. Valid wherever sin⁡(x+a)≠0\sin(x + a) \ne 0⁠.

Part (iii): ∫dx1+tan⁡x\int\frac{dx}{1 + \tan x}

  1. Clear the fraction inside the fraction

    Where cos⁡x≠0\cos x \ne 0⁠, multiply top and bottom by cos⁡x\cos x⁠:

    11+tan⁡x=cos⁡xcos⁡x+sin⁡x.\frac{1}{1 + \tan x} = \frac{\cos x}{\cos x + \sin x}.

    The integrand also needs 1+tan⁡x≠01 + \tan x \ne 0⁠, which is the same as cos⁡x+sin⁡x≠0\cos x + \sin x \ne 0⁠.

    tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x}⁠, so multiplying by cos⁡x\cos x removes the inner fraction. This is allowed only where cos⁡x≠0\cos x \ne 0⁠, which is required anyway for tan⁡x\tan x to exist.
  2. Write the numerator as denominator plus derivative of denominator

    The denominator is D=cos⁡x+sin⁡xD = \cos x + \sin x⁠; its derivative is D′=cos⁡x−sin⁡xD' = \cos x - \sin x⁠. Look for constants AA⁠, BB with cos⁡x=A D+B D′\cos x = A\,D + B\,D'⁠:

    cos⁡x=A(cos⁡x+sin⁡x)+B(cos⁡x−sin⁡x).\begin{aligned} \cos x &= A(\cos x + \sin x) \\ &\quad + B(\cos x - \sin x). \end{aligned}

    Comparing coefficients: of cos⁡x\cos x⁠, A+B=1A + B = 1⁠; of sin⁡x\sin x⁠, A−B=0A - B = 0⁠. So A=B=12A = B = \frac12⁠:

    cos⁡x=12(cos⁡x+sin⁡x)+12(cos⁡x−sin⁡x).\begin{aligned} \cos x &= \tfrac12(\cos x + \sin x) \\ &\quad + \tfrac12(\cos x - \sin x). \end{aligned}
    DD=1\frac{D}{D} = 1 is trivial to integrate, and D′D\frac{D'}{D} integrates to log⁡∣D∣\log|D|⁠. So writing the numerator as a mix of DD and D′D' splits the integral into two easy pieces. The book writes this split directly; the comparison of coefficients shows where the 12\frac12s come from.
    Comparing coefficients. Basics: splitting fractions
  3. Split the integral

    ∫cos⁡x dxcos⁡x+sin⁡x=12∫dx+12∫cos⁡x−sin⁡xcos⁡x+sin⁡x dx=x2+C12+12 I,\begin{aligned} &\int\frac{\cos x\,dx}{\cos x + \sin x} \\ &= \frac12\int dx + \frac12\int\frac{\cos x - \sin x}{\cos x + \sin x}\,dx \\ &= \frac x2 + \frac{C_1}{2} + \frac12\,I, \end{aligned}

    where I=∫cos⁡x−sin⁡xcos⁡x+sin⁡x dxI = \displaystyle\int\frac{\cos x - \sin x}{\cos x + \sin x}\,dx⁠.

    The first fraction is 12⋅DD=12\frac12\cdot\frac{D}{D} = \frac12⁠. The second is 12⋅D′D\frac12\cdot\frac{D'}{D}⁠, which is set aside as II⁠.
  4. Find II with t=cos⁡x+sin⁡xt = \cos x + \sin x

    t=cos⁡x+sin⁡x,dt=(cos⁡x−sin⁡x) dx.\begin{gathered} t = \cos x + \sin x, \\ dt = (\cos x - \sin x)\,dx. \end{gathered} I=∫dtt=log⁡∣t∣+C2=log⁡∣cos⁡x+sin⁡x∣+C2.\begin{aligned} I = \int\frac{dt}{t} &= \log|t| + C_2 \\ &= \log|\cos x + \sin x| + C_2. \end{aligned}
    The numerator is exactly the derivative of the denominator, the ideal case for substitution. t≠0t \ne 0 because cos⁡x+sin⁡x≠0\cos x + \sin x \ne 0 on the domain (Part (iii), Step 1).
    Standard formula (xii), Section 7.2. Basics: logarithms and 1/x
  5. Assemble the answer

    ∫dx1+tan⁡x=x2+12log⁡∣cos⁡x+sin⁡x∣+C12+C22=x2+12log⁡∣cos⁡x+sin⁡x∣+C,\begin{aligned} \int\frac{dx}{1 + \tan x} &= \frac x2 + \frac12\log|\cos x + \sin x| \\ &\qquad + \frac{C_1}{2} + \frac{C_2}{2} \\ &= \frac x2 + \frac12\log|\cos x + \sin x| + C, \end{aligned}

    with C=C12+C22C = \frac{C_1}{2} + \frac{C_2}{2}⁠.

    The two half-constants merge into one arbitrary constant, as the book does.
  6. Check: differentiate the answer

    ddx(x2+12log⁡∣cos⁡x+sin⁡x∣)=12+12⋅cos⁡x−sin⁡xcos⁡x+sin⁡x=2cos⁡x2(cos⁡x+sin⁡x)=cos⁡xcos⁡x+sin⁡x.\begin{aligned} &\frac{d}{dx}\left(\frac x2 + \frac12\log|\cos x + \sin x|\right) \\ &= \frac12 + \frac12\cdot\frac{\cos x - \sin x}{\cos x + \sin x} \\ &= \frac{2\cos x}{2(\cos x + \sin x)} = \frac{\cos x}{\cos x + \sin x}. \end{aligned}

    Dividing top and bottom by cos⁡x\cos x gives 11+tan⁡x\frac{1}{1 + \tan x}⁠. ✓\checkmark

    Over the common denominator, the sum (cos⁡x+sin⁡x)(\cos x + \sin x) +(cos⁡x−sin⁡x)+ (\cos x - \sin x) is 2cos⁡x2\cos x⁠. The last division is legitimate because cos⁡x≠0\cos x \ne 0 on the domain.
Result

(i) ∫sin⁡3xcos⁡2x dx\displaystyle\int\sin^3x\cos^2x\,dx =−13cos⁡3x+15cos⁡5x+C= -\frac13\cos^3x + \frac15\cos^5x + C⁠.

(ii) ∫sin⁡xsin⁡(x+a) dx\displaystyle\int\frac{\sin x}{\sin(x + a)}\,dx =xcos⁡a= x\cos a −sin⁡alog⁡∣sin⁡(x+a)∣+C- \sin a\log|\sin(x + a)| + C⁠, where sin⁡(x+a)≠0\sin(x + a) \ne 0⁠.

(iii) ∫dx1+tan⁡x\displaystyle\int\frac{dx}{1 + \tan x} =x2+12log⁡∣cos⁡x+sin⁡x∣+C= \frac x2 + \frac12\log|\cos x + \sin x| + C⁠, where cos⁡x≠0\cos x \ne 0 and tan⁡x≠−1\tan x \ne -1⁠.

These agree with the textbook's solution.

Check it with numbers

By Section 7.8, ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)⁠. The middle column is a computer's sum of very many thin strips, found without our answers (part (ii) with a=1a = 1⁠):

PartIntervalSum of thin stripsF(b)−F(a)F(b) - F(a)
(i)[0,π2][0, \frac{\pi}{2}]0.13333330.13333330−(−13+15)=2150 - (-\frac13 + \frac15) = \frac{2}{15}
(ii)[12,32][\frac12, \frac32]0.97018220.97018220.97018220.9701822
(iii)[0,π4][0, \frac{\pi}{4}]0.56598590.5659859π8+14log⁡2≈0.5659859\frac{\pi}{8} + \frac14\log 2 \approx 0.5659859

In (ii), F(32)−F(12)F(\frac32) - F(\frac12) =cos⁡1−sin⁡1 log⁡sin⁡2.5sin⁡1.5= \cos 1 - \sin 1\,\log\frac{\sin 2.5}{\sin 1.5}⁠; on this interval x+1x + 1 runs from 1.5 to 2.5, where sin⁡\sin stays positive.

Common mistakes
  1. Dropping the minus in dt=−sin⁡x dxdt = -\sin x\,dx in part (i), which flips the signs of the whole answer.
  2. Treating sin⁡a\sin a⁠, cos⁡a\cos a as variables in part (ii). They are constants and simply come outside the integrals.
  3. Writing ∫dx1+tan⁡x=log⁡∣1+tan⁡x∣\int\frac{dx}{1 + \tan x} = \log|1 + \tan x|⁠. The numerator 1 is not the derivative of 1+tan⁡x1 + \tan x (that is sec⁡2x\sec^2x⁠).
  4. Forgetting that the "constant" acos⁡aa\cos a can be absorbed. Answers that differ by such a term are the same family.
What to take away
  1. Odd power of sin⁡x\sin x (or cos⁡x\cos x⁠): save one factor and convert the rest with sin⁡2+cos⁡2=1\sin^2 + \cos^2 = 1⁠.
  2. A denominator like sin⁡(x+a)\sin(x + a)⁠: shift the variable, then expand.
  3. ∫numeratorD dx\int\frac{\text{numerator}}{D}\,dx⁠: write the numerator as A D+B D′A\,D + B\,D'⁠; the D′D' part gives log⁡∣D∣\log|D|⁠.

Every fact used, and where it comes from

FactUsed inSource
Integration by substitutionAll partsSection 7.3.1 (Lesson: integration by substitution)
sin⁡2x=1−cos⁡2x\sin^2x = 1 - \cos^2xPart (i), Step 1Class XI, Trigonometric Functions
sin⁡(A−B)\sin(A - B) =sin⁡Acos⁡B−cos⁡Asin⁡B= \sin A\cos B - \cos A\sin BPart (ii), Step 2Class XI, Trigonometric Functions (Basics: trigonometric identities)
∫cot⁡x dx=log⁡∣sin⁡x∣+C\int\cot x\,dx = \log|\sin x| + CPart (ii), Step 3Result (ii) after Example 5, Section 7.3.1
∫dtt=log⁡∣t∣+C\int\frac{dt}{t} = \log|t| + CPart (iii), Step 4Standard formula (xii), Section 7.2
∫tndt=tn+1n+1+C\int t^n dt = \frac{t^{n+1}}{n+1} + CPart (i), Step 3Standard formula (i), Section 7.2
Constants merge into one CCParts (ii), (iii)Note after Example 2(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 →