Skip to main content

Integration by parts and trigonometric integrals in QCE Specialist Mathematics Unit 4

Syllabus dot point

“Evaluate integrals using integration by parts and integrate trigonometric expressions using identities such as double-angle and Pythagorean identities and products of sines and cosines”

QCESpecialist MathematicsUnit 4: Further calculus, and…8 min read

Quick answer

Integration by parts is ∫u dv=uv−∫v du\int u\, dv = uv - \int v\, du; choose uu by LIATE so the remaining integral is simpler, applying parts repeatedly if needed. For trigonometric integrals, reduce even powers with cos⁡2x=1+cos⁡2x2\cos^2 x = \frac{1+\cos 2x}{2} and sin⁡2x=1−cos⁡2x2\sin^2 x = \frac{1-\cos 2x}{2}, handle odd powers by peeling one factor and using sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x before substituting, and convert products of sines and cosines with product-to-sum identities.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions

What this dot point is asking

QCAA wants you to integrate products using integration by parts and to integrate powers and products of trigonometric functions by first rewriting them with identities. These techniques extend the substitution and partial-fraction methods, and the assessable skill is choosing the right approach and carrying out the algebra cleanly.

The answer

Integration by parts

Integration by parts reverses the product rule. For functions uu and vv,

∫u dvdx dx=uv−∫v dudx dx.\int u \, \frac{dv}{dx}\, dx = uv - \int v\, \frac{du}{dx}\, dx.

You split the integrand into a part to differentiate (uu) and a part to integrate (dvdv). A good choice makes the new integral simpler than the original.

Choosing uu with LIATE

The order Logarithmic, Inverse-trig, Algebraic, Trigonometric, Exponential (LIATE) is a reliable guide: pick uu to be whichever factor appears first in that list, since differentiating it tends to simplify. For ∫xcos⁡x dx\int x\cos x\, dx, the algebraic xx comes before the trigonometric cos⁡x\cos x, so u=xu = x and dv=cos⁡x dxdv = \cos x\, dx.

Repeated parts

Sometimes you apply parts twice. For ∫x2ex dx\int x^2 e^x\, dx, the first application leaves ∫2xex dx\int 2x e^x\, dx, which needs parts again. Each pass lowers the power of the algebraic factor until it disappears.

Trigonometric integrals: even powers

To integrate even powers of sine or cosine, use the power-reduction forms of the double-angle identity:

cos⁡2x=1+cos⁡2x2,sin⁡2x=1−cos⁡2x2.\cos^2 x = \frac{1 + \cos 2x}{2}, \qquad \sin^2 x = \frac{1 - \cos 2x}{2}.

These turn a squared trigonometric function into a linear one that integrates directly.

Trigonometric integrals: odd powers

For an odd power such as ∫sin⁡3x dx\int \sin^3 x\, dx, peel off one factor and convert the rest with the Pythagorean identity sin⁡2x=1−cos⁡2x\sin^2 x = 1 - \cos^2 x, then substitute u=cos⁡xu = \cos x. The single peeled factor becomes the dudu.

Products of sine and cosine

For ∫sin⁡mxcos⁡nx dx\int \sin mx \cos nx\, dx and similar, the product-to-sum identities rewrite the product as a sum of single trigonometric terms, each integrating directly. The goal throughout is to reach an integrand that is a sum of standard forms. The identities are sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A\cos B = \tfrac{1}{2}[\sin(A + B) + \sin(A - B)], cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A\cos B = \tfrac{1}{2}[\cos(A - B) + \cos(A + B)] and sin⁡Asin⁡B=12[cos⁡(A−B)−cos⁡(A+B)]\sin A\sin B = \tfrac{1}{2}[\cos(A - B) - \cos(A + B)]. Each turns a product into a sum of cosines or sines whose antiderivatives are immediate.

The cycling case of repeated parts

A special situation arises with integrands like ∫exsin⁡x dx\int e^x \sin x\,dx, where applying parts twice returns a multiple of the original integral. Setting I=∫exsin⁡x dxI = \int e^x\sin x\,dx, two passes give I=exsin⁡x−excos⁡x−II = e^x\sin x - e^x\cos x - I, and solving algebraically yields I=12ex(sin⁡x−cos⁡x)+CI = \tfrac{1}{2}e^x(\sin x - \cos x) + C. Recognising the cycle and solving for II rather than integrating endlessly is the key insight, and QCAA expects the algebraic rearrangement to be shown explicitly.

Definite integrals by parts

For a definite integral the formula carries the limits on every term: ∫abu dv=[uv]ab−∫abv du\displaystyle\int_a^b u\,dv = \big[uv\big]_a^b - \int_a^b v\,du. Evaluate the boundary term [uv]ab[uv]_a^b at both limits and keep the limits on the remaining integral. A frequent error is to apply the limits only at the end; instead the uvuv product is evaluated at the limits as soon as it appears, which keeps the bookkeeping clean and avoids losing a boundary contribution.

Choosing between techniques

When an integrand is a product, ask first whether a simple substitution works (one factor is a constant multiple of the derivative of the other); if so, substitution is faster than parts. Reserve integration by parts for genuine products of unrelated functions, such as a polynomial times an exponential or a logarithm standing alone (with dv=dxdv = dx). For powers and products of trigonometric functions, reach for identities before either substitution or parts, because reducing the power first usually leaves a standard form.

Worked example

Evaluate ∫xcos⁡x dx\displaystyle\int x\cos x\, dx.

This is a product of an algebraic function and a trigonometric function. Neither is the derivative of the other, so substitution will not help. Integration by parts is the right technique.

Step 1: Choose uu and dvdv using LIATE

The LIATE rule puts Algebraic before Trigonometric, so we let u=xu = x (algebraic) and dv=cos⁡x dxdv = \cos x\, dx (trigonometric). Differentiating and integrating to find dudu and vv:

u=x,dvdx=cos⁡x  ⇒  dudx=1,v=sin⁡x.u = x, \quad \frac{dv}{dx} = \cos x \;\Rightarrow\; \frac{du}{dx} = 1, \quad v = \sin x.

Choosing u=xu = x means the new integral will contain v du=sin⁡x⋅1 dxv\,du = \sin x \cdot 1\,dx, which is simpler than the original.

Step 2: Apply the parts formula

Substitute into ∫u dv=uv−∫v du\displaystyle\int u\,dv = uv - \int v\,du:

∫xcos⁡x dx=xsin⁡x−∫sin⁡x dx.\int x\cos x\, dx = x\sin x - \int \sin x \, dx.

Step 3: Integrate the remaining term

The remaining integral is a standard form:

∫xcos⁡x dx=xsin⁡x−(−cos⁡x)+C=xsin⁡x+cos⁡x+C.\int x\cos x\, dx = x\sin x - (-\cos x) + C = x\sin x + \cos x + C.

Step 4: Check by differentiating

Differentiate the result to verify it reproduces the original integrand:

ddx(xsin⁡x+cos⁡x)=sin⁡x+xcos⁡x−sin⁡x=xcos⁡x.\frac{d}{dx}\big(x\sin x + \cos x\big) = \sin x + x\cos x - \sin x = x\cos x.

This matches the integrand, confirming the answer.

Final answer: ∫xcos⁡x dx=xsin⁡x+cos⁡x+C\displaystyle\int x\cos x\, dx = x\sin x + \cos x + C.

Common trap

The most common error is choosing uu and dvdv the wrong way round, for example taking u=cos⁡xu = \cos x in ∫xcos⁡x dx\int x\cos x\, dx, which makes the new integral harder rather than easier. Use LIATE. A second slip is trying to integrate sin⁡2x\sin^2 x or cos⁡2x\cos^2 x directly; you must first apply the power-reduction identity, since there is no simple antiderivative of the squared form on its own.

Exam-style questions

Questions in the style of QCAA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

Practice7 marks
Paper 2 (complex unfamiliar). The function ff passes through the origin and has gradient f′(x)=exarcsin⁡(ex)f'(x) = e^x \arcsin(e^x). Determine f(x)f(x).
Show worked answer →

f(x)=∫exarcsin⁡(ex) dxf(x) = \displaystyle\int e^x \arcsin(e^x)\,dx. Let w=exw = e^x, so dw=ex dxdw = e^x\,dx, giving ∫arcsin⁡(w) dw\displaystyle\int \arcsin(w)\,dw.

Integrate by parts with u=arcsin⁡wu = \arcsin w (du=dw1−w2du = \dfrac{dw}{\sqrt{1 - w^2}}) and dv=dwdv = dw (v=wv = w): ∫arcsin⁡w dw=warcsin⁡w−∫w1−w2 dw=warcsin⁡w+1−w2.\displaystyle\int \arcsin w\,dw = w\arcsin w - \int \dfrac{w}{\sqrt{1 - w^2}}\,dw = w\arcsin w + \sqrt{1 - w^2}.

Return to xx: f(x)=exarcsin⁡(ex)+1−e2x+cf(x) = e^x \arcsin(e^x) + \sqrt{1 - e^{2x}} + c. Apply f(0)=0f(0) = 0: arcsin⁡1+0+c=π2+c=0\arcsin 1 + 0 + c = \tfrac{\pi}{2} + c = 0, so c=−π2c = -\tfrac{\pi}{2}. Thus f(x)=exarcsin⁡(ex)+1−e2x−π2.f(x) = e^x\arcsin(e^x) + \sqrt{1 - e^{2x}} - \tfrac{\pi}{2}.

Markers reward the substitution, the parts step, the secondary substitution for the remaining integral, and applying the initial condition.

Practice4 marks
Paper 1 (technique). Determine ∫xe2x dx\displaystyle\int x e^{2x}\,dx.
Show worked answer →

By LIATE choose u=xu = x (du=dxdu = dx) and dv=e2x dxdv = e^{2x}\,dx (v=12e2xv = \tfrac{1}{2}e^{2x}).

∫xe2x dx=12xe2x−∫12e2x dx=12xe2x−14e2x+C=14e2x(2x−1)+C.\displaystyle\int x e^{2x}\,dx = \tfrac{1}{2}xe^{2x} - \int \tfrac{1}{2}e^{2x}\,dx = \tfrac{1}{2}xe^{2x} - \tfrac{1}{4}e^{2x} + C = \tfrac{1}{4}e^{2x}(2x - 1) + C.

Markers reward the correct LIATE choice, the parts formula, and the simplified factored antiderivative.

Practise this

Sources & how we know this

ExamExplained