Home › IB Maths AA HL › Exam practice › Differential Equations and Maclaurin

IB Maths AA HL · Unit 5

Differential Equations and Maclaurin: AA HL exam practice with markscheme

Covers maclaurin series; euler's method for differential equations; separable first-order DEs; integrating-factor DEs; homogeneous differential equations (y = vx). Work through the 10 questions on paper as if it were the exam, then open each solution and mark your work against the markscheme.

10 questions · 46 marks · about 55 minutes · 8 Paper 1 style, 2 Paper 2 style

Download the PDF 5 pages, worked solutions after the questions

Question 1

3 marks · Paper 1 style · no calculator

Use Euler's method with step length 0.5 to estimate y(1), given that dydx=1−y and y(0)=0.

[3]

Show solution

y(0.5)≈0+0.5(1−0)=0.5 M1A1
y(1)≈0.5+0.5(1−0.5)=0.75 A1

Answer: 0.75

Question 2

3 marks · Paper 1 style · no calculator

Consider the linear differential equation: dydx+2xy=5x Find the integrating factor required to solve this differential equation.

[3]

Show solution

The equation is in the form dydx+P(x)y=Q(x) with P(x)=2x.
Integrating factor:
e∫2xdx=e2ln⁡x M1A1
=x2 A1

Answer: x2

Question 3

3 marks · Paper 1 style · no calculator

Use the Maclaurin series for ex and sin⁡x to find the series for exsin⁡x up to and including the term in x3.

Find the series. [3]

Show solution

(1+x+x22)(x−x36) M1

x+x2+x32−x36 A1

x+x2+x33 A1

Answer: x+x2+x33

Question 4

4 marks · Paper 2 style · calculator

Use Euler's method with step h=0.1 to estimate y(0.3) for dydx=x+y, y(0)=1.

Find the estimate. [4]

Show solution

yn+1=yn+0.1(xn+yn) M1

y1=1.1 A1

y2=1.22 A1

y3=1.362 A1

Answer: 1.362

Question 5

5 marks · Paper 1 style · no calculator

Use the integrating factor method to solve the first-order differential equation dydx+2xy=4x for x>0. Give the general solution for y in terms of x.

[5]

Show solution

Integrating factor: I(x)=e∫2xdx=e2ln⁡x=x2 M1A1
Multiply the DE by x2: x2dydx+2xy=4x3⟹ddx(x2y)=4x3 M1
Integrate both sides: x2y=x4+C A1
y=x2+Cx2 A1

Answer: y=x2+C/x2

Question 6

5 marks · Paper 1 style · no calculator

Solve dydx+2yx=x, x>0, given that y=1 when x=1.

Find y. [5]

Show solution

integrating factor e∫2xdx=x2 M1A1

ddx(x2y)=x3 A1

x2y=x44+c, c=34 A1

y=x24+34x2 A1

Answer: y=x24+34x2

Question 7

6 marks · Paper 2 style · calculator

According to Newton’s Law of Cooling, the rate at which an object cools is proportional to the difference between its temperature T and the ambient room temperature TA. This is modelled by dTdt=−k(T−TA).
A cup of coffee is initially 100∘C in a room kept at a constant 20∘C. After 10 minutes, the coffee has cooled to 60∘C.
Calculate the exact temperature of the coffee after 20 minutes.

[6]

Show solution

With TA=20, separate the variables:
∫1T−20dT=−∫kdt M1
ln⁡(T−20)=−kt+c, so T=20+Ae−kt A1
Use T=100 at t=0:
A=80 A1
Use T=60 at t=10:
40=80e−10k⟹e−10k=12 M1A1
At t=20, e−20k=(e−10k)2=14:
T=20+80⋅14=40∘C A1

Answer: 40

Question 8

6 marks · Paper 1 style · no calculator

Find the Maclaurin series for f(x)=exln⁡(1+x) up to and including the term in x3.

[6]

Show solution

Standard series: ex=1+x+x22+… and ln⁡(1+x)=x−x22+x33−… M1
Multiply, keeping terms up to x3: 1(x−x22+x33)+x(x−x22)+x22(x) M1
=x−x22+x33+x2−x32+x32 A1
Collect like terms: x+(−12+1)x2+(13−12+12)x3
exln⁡(1+x)=x+12x2+13x3+… A1 A1 A1

Answer: x+x2/2+x3/3

Question 9

6 marks · Paper 1 style · no calculator

Use the substitution y=vx to solve dydx=x+yx, x>0, given that y=2 when x=1.

Find y in terms of x. [6]

Show solution

v+xdvdx=1+v M1A1

dvdx=1x A1

v=ln⁡x+c A1

c=2 A1

y=xln⁡x+2x A1

Answer: y=xln⁡x+2x

Question 10

5 marks · Paper 1 style · no calculator

Use y=vx to show that the differential equation dydx=y2+x2xy becomes vdvdx=1x, and hence find its general solution.

(a) Show the result. [2]

(b) Find the general solution. [3]

Show solution

(a)

v+xdvdx=v2+1v=v+1v M1

xdvdx=1v, so vdvdx=1x A1 AG

(b)

v22=ln⁡x+c A1

y22x2=ln⁡x+c M1

y2=2x2(ln⁡x+c) A1

Answer: (b) y2=2x2(ln⁡x+c)

How the marks work: M marks are for a correct method, A marks for an accurate answer that follows it, R marks for a reason, and AG means the answer is given in the question. A mark in brackets, like (M1), can be implied by later correct work.

Notes, worked examples and more questions on this topic: AA HL Differential Equations and Maclaurin. Previous topic: Definite Integrals. Next topic: First Principles. Every AA HL topic.

Revise first with the AA HL revision notes, then finish on real papers: IB Maths AA HL past papers.