PYQ Vault

HSC Maths · Indefinite Integration

Integration by Parts

The integral of a product of two functions is found by integrating one and differentiating the other, choosing the first function by the LIATE order; it also gives the integrals that come back to themselves, the root integrals and the eˣ[f(x) + f′(x)] rule.

Why this matters

80 questions, the largest page of the chapter. Fourteen were set in board papers, more than on any other page: the proof of the rule (2017, 2022), log x (2022, 2024), x log x (2026), x tan⁻¹x (2023), x² sin 3x (2024), sec³x (2015), the proofs of the integrals of √(x² − a²) (2015) and √(a² − x²) (2016, 2025), and eˣ[f(x) + f′(x)] forms (2015, 2018, 2025, and an MCQ in 2026). The textbook rows are Exercise 3.3, its solved examples and Miscellaneous items.

Concept 1 of 4: The rule of integration by parts and the LIATE order

Parts is the product rule read backwards. Of the two functions, one is integrated and the other differentiated, and the trade is worth making when the differentiated one gets simpler: a power of x drops, a log or an inverse tangent turns into a plain fraction. The LIATE order tells you which one to differentiate.

Definition

  • Theorem: if uu and vv are functions of xx, then ∫uv dx=u∫v dx−∫[dudx∫v dx]dx\int uv\,dx = u\int v\,dx - \int\left[\dfrac{du}{dx}\int v\,dx\right]dx.
  • Proof: let w=∫v dxw = \int v\,dx, so dwdx=v\dfrac{dw}{dx} = v.
  • By the product rule, ddx(uw)=udwdx+wdudx=uv+wdudx\dfrac{d}{dx}(uw) = u\dfrac{dw}{dx} + w\dfrac{du}{dx} = uv + w\dfrac{du}{dx}.
  • Integrate both sides: uw=∫uv dx+∫wdudx dxuw = \int uv\,dx + \int w\dfrac{du}{dx}\,dx.
  • Transpose and put back w=∫v dxw = \int v\,dx to get the result.
  • LIATE: take as the first function uu whichever comes first in Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential.
  • A lone log⁡x\log x or tan⁡−1x\tan^{-1} x: write it as log⁡x⋅1\log x \cdot 1 and take 1 as the second function.

Integration by parts

∫uv dx=u∫v dx−∫[dudx∫v dx]dx\int uv\,dx = u\int v\,dx - \int\left[\frac{du}{dx}\int v\,dx\right]dx

Worked example

Evaluate ∫x2ex dx\int x^2 e^x\,dx.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2022 · Q. 32Moderate

Example 1 · Indefinite Integration · Integration by Parts

If uu and vv are differentiable functions of xx, then prove that ∫udv=uv−∫vdu\int udv = uv - \int vdu. Hence evaluate ∫logxdx\int logxdx.

Choosing the wrong first function

In ∫xex dx\int x e^x\,dx, taking exe^x as uu leads to ∫x2ex dx\int x^2 e^x\,dx, which is harder. Follow LIATE: the algebraic xx comes before the exponential.

Losing a sign in the second round

When parts is used twice, the minus in front of the second integral changes the sign of every term it produces. Bracket the second round before opening it.

Proving the rule without naming the functions

A proof asked for marks must state that uu and vv are functions of xx, use the product rule, integrate both sides and transpose. Writing the formula and one example is not a proof.

Concept 2 of 4: Integrals that come back: eᵃˣ sin bx, sin(log x) and sec³x

With eᵃˣ sin bx, parts never makes either function simpler: after two rounds the original integral appears again on the right. That is good news. Call the integral I, move the copy to the left, and solve for I like an equation.

Definition

  • Call the integral II and apply parts twice, keeping the same kind of function as uu both times.
  • For eaxsin⁡bxe^{ax}\sin bx and eaxcos⁡bxe^{ax}\cos bx either function may be taken first.
  • When II appears on the right, move it to the left and divide.
  • ∫eaxsin⁡bx dx=eaxa2+b2(asin⁡bx−bcos⁡bx)+c\int e^{ax}\sin bx\,dx = \dfrac{e^{ax}}{a^2 + b^2}(a\sin bx - b\cos bx) + c and ∫eaxcos⁡bx dx=eaxa2+b2(acos⁡bx+bsin⁡bx)+c\int e^{ax}\cos bx\,dx = \dfrac{e^{ax}}{a^2 + b^2}(a\cos bx + b\sin bx) + c.
  • ∫sec⁡3x dx\int \sec^3 x\,dx: write sec⁡x⋅sec⁡2x\sec x\cdot\sec^2 x, take u=sec⁡xu = \sec x, and use tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1.
  • ∫sin⁡(log⁡x) dx\int \sin(\log x)\,dx: write sin⁡(log⁡x)⋅1\sin(\log x)\cdot 1.

Exponential times sine

∫eaxsin⁡bx dx=eaxa2+b2(asin⁡bx−bcos⁡bx)+c\int e^{ax}\sin bx\,dx = \frac{e^{ax}}{a^2 + b^2}\left(a\sin bx - b\cos bx\right) + c

Worked example

Evaluate ∫excos⁡2x dx\int e^x\cos 2x\,dx.
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2015 · Q. 5. (A) i.Moderate

Example 2 · Indefinite Integration · Integration by Parts

Integrate sec⁡3x\sec^{3}x w.r.t. xx.

Changing the first function in the second round

If you take u=cos⁡2xu = \cos 2x first and then u=exu = e^x, the second round undoes the first and you reach I=II = I. Keep the same kind of function as uu both times.

Going round forever

Stop as soon as the original integral appears again. Collect it on the left; a third round only adds work and sign slips.

Concept 3 of 4: Integrals of √(a² − x²), √(x² + a²) and √(x² − a²)

These three are proved by parts with 1 as the second function, and each proof uses the same trick: the integral comes back, so collect it and halve. Learn the three results side by side; only the last term changes between them.

Definition

  • ∫a2−x2 dx=x2a2−x2+a22sin⁡−1xa+c\int \sqrt{a^2 - x^2}\,dx = \dfrac{x}{2}\sqrt{a^2 - x^2} + \dfrac{a^2}{2}\sin^{-1}\dfrac{x}{a} + c
  • ∫x2+a2 dx=x2x2+a2+a22log⁡∣x+x2+a2∣+c\int \sqrt{x^2 + a^2}\,dx = \dfrac{x}{2}\sqrt{x^2 + a^2} + \dfrac{a^2}{2}\log\left|x + \sqrt{x^2 + a^2}\right| + c
  • ∫x2−a2 dx=x2x2−a2−a22log⁡∣x+x2−a2∣+c\int \sqrt{x^2 - a^2}\,dx = \dfrac{x}{2}\sqrt{x^2 - a^2} - \dfrac{a^2}{2}\log\left|x + \sqrt{x^2 - a^2}\right| + c
  • Proof of the first: let I=∫a2−x2⋅1 dxI = \int \sqrt{a^2 - x^2}\cdot 1\,dx.
  • By parts, I=xa2−x2−∫x⋅−xa2−x2 dx=xa2−x2+∫x2a2−x2 dxI = x\sqrt{a^2 - x^2} - \int x\cdot\dfrac{-x}{\sqrt{a^2 - x^2}}\,dx = x\sqrt{a^2 - x^2} + \int \dfrac{x^2}{\sqrt{a^2 - x^2}}\,dx.
  • Write x2=a2−(a2−x2)x^2 = a^2 - (a^2 - x^2): ∫x2a2−x2 dx=a2sin⁡−1xa−I\int \dfrac{x^2}{\sqrt{a^2 - x^2}}\,dx = a^2\sin^{-1}\dfrac{x}{a} - I.
  • So I=xa2−x2+a2sin⁡−1xa−II = x\sqrt{a^2 - x^2} + a^2\sin^{-1}\dfrac{x}{a} - I; then 2I2I gives the result.
  • For ax2+bx+c\sqrt{ax^2 + bx + c}, complete the square first.

Root of a² − x²

∫a2−x2 dx=x2a2−x2+a22sin⁡−1xa+c\int \sqrt{a^2 - x^2}\,dx = \frac{x}{2}\sqrt{a^2 - x^2} + \frac{a^2}{2}\sin^{-1}\frac{x}{a} + c

Worked example

Evaluate ∫x2+4x+13 dx\int \sqrt{x^2 + 4x + 13}\,dx.
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2016 · Q. 6. (B) ii.Moderate

Example 3 · Indefinite Integration · Integration by Parts

Prove that: ∫a2−x2dx=x2a2−x2+a22sin⁡−1(xa)+c\int\sqrt{a^{2} - x^{2}}dx = \frac{x}{2}\sqrt{a^{2} - x^{2}} + \frac{a^{2}}{2}\sin^{- 1}\left( \frac{x}{a} \right) + c.

The sign of the log term

∫x2+a2 dx\int \sqrt{x^2 + a^2}\,dx ends in +a22log⁡+\dfrac{a^2}{2}\log, but ∫x2−a2 dx\int \sqrt{x^2 - a^2}\,dx ends in −a22log⁡-\dfrac{a^2}{2}\log. Check the sign under the root before you write it.

Forgetting the factor taken out of the root

9x2+16=3x2+169\sqrt{9x^2 + 16} = 3\sqrt{x^2 + \frac{16}{9}}. The 3 multiplies the whole standard result, and a2a^2 is 169\dfrac{16}{9}, not 16.

Concept 4 of 4: The rule for eˣ[f(x) + f′(x)]

The derivative of eˣ f(x) is eˣ f(x) + eˣ f′(x). So when eˣ multiplies a function plus its own derivative, the answer is just eˣ times the function. The work is in spotting the pair: split the bracket, and an identity often shows it.

Definition

  • ∫ex[f(x)+f′(x)] dx=exf(x)+c\int e^x[f(x) + f'(x)]\,dx = e^x f(x) + c.
  • Reason: ddx[exf(x)]=exf(x)+exf′(x)\dfrac{d}{dx}[e^x f(x)] = e^x f(x) + e^x f'(x).
  • Split the bracket into a function and its derivative. Identities help: 1+sin⁡x1+cos⁡x=12sec⁡2x2+tan⁡x2\dfrac{1 + \sin x}{1 + \cos x} = \dfrac{1}{2}\sec^2\dfrac{x}{2} + \tan\dfrac{x}{2}.
  • With esin⁡−1xe^{\sin^{-1} x} or etan⁡−1xe^{\tan^{-1} x}, put t=sin⁡−1xt = \sin^{-1} x (or tan⁡−1x\tan^{-1} x) first; with log⁡x\log x inside, put x=etx = e^t.

The eˣ rule

∫ex[f(x)+f′(x)]dx=exf(x)+c\int e^x\left[f(x) + f'(x)\right]dx = e^x f(x) + c

Worked example

Evaluate ∫ex(1+xlog⁡xx)dx\int e^x\left(\dfrac{1 + x\log x}{x}\right)dx.
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2025 · Q. 32Moderate

Example 4 · Indefinite Integration · Integration by Parts

Evaluate: ∫esin⁡−1x(x+1−x21−x2)dx\int e^{\sin^{- 1}x}\left( \frac{x + \sqrt{1 - x^{2}}}{\sqrt{1 - x^{2}}} \right)dx.

Taking the wrong part as f

In ex(tan⁡x+sec⁡2x)e^x(\tan x + \sec^2 x), f(x)=tan⁡xf(x) = \tan x, because its derivative is sec⁡2x\sec^2 x. The answer is extan⁡x+ce^x\tan x + c, not exsec⁡2x+ce^x\sec^2 x + c.

Skipping the substitution with e to the power sin⁻¹x

The rule is for exe^x. With esin⁡−1xe^{\sin^{-1} x}, put t=sin⁡−1xt = \sin^{-1} x and change dx1−x2\dfrac{dx}{\sqrt{1 - x^2}} into dtdt before you look for f(t)+f′(t)f(t) + f'(t).

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

Watch out for (9)

Test yourself on Indefinite Integration

10 past MH HSC 12 questions from this chapter, timed at 15 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.