IB Maths AI HL Differential Equations Paper 1 & 2 ~6 min read

Slope Fields

A slope field lets you see the solutions of a differential equation without solving it. At a grid of points you read off dydx and draw a short tangent line with that gradient. The pattern of little lines reveals the shape of every solution curve — pick a point, follow the flow, and you have a sketch.

šŸ“˜ What you need to know

Reading a slope field

šŸ¤” Why can we draw it without solving?

The differential equation is a rule for the gradient: at any point (x, y) it tells you the slope of the solution passing through there. You don’t need the formula for the curve — only its direction at each point. Plot enough of those directions and the curves announce themselves.

🧠 “Substitute, draw the slope, follow the flow”

Substitute each grid point into g(x, y), draw a short line of that gradient, then to sketch a solution follow the flow of the tangents from your given point — left and right.

Slope field for dy/dx = x āˆ’ y, with the solution through (0, 0)
x y (0, 0)
Each segment’s gradient is x āˆ’ y at that point. The red curve flows along the tangents from (0, 0) — a sketched solution, not a join-the-dots of the segments.

Sketching a solution & finding stationary points

🧭 Recipe — sketch a solution curve

  1. Plot the given point on the slope field.
  2. Follow the tangent at that point to set the initial direction.
  3. Continue left and right, steering with the nearby tangents.
  4. Keep it a sketch — the shape, not an accurate plot.
  5. Different start point → a different solution curve.
Stationary points sit where the tangent is horizontal, i.e. dydx = g(x, y) = 0. Solving that equation tells you the line(s) or point(s) on which all stationary points lie — even with no horizontal segments drawn.

⚠ Don’t trace the segments

Worked examples

Examples 1–2 use the differential equation dydx = āˆ’0.4(y āˆ’ 2)1/3(x āˆ’ 1) eāˆ’(xāˆ’1)²/25.

WE 1

Find the set of points where the solutions have horizontal tangents.

Horizontal tangents mean dydx = 0. A product is zero when a factor is zero — and the exponential is never zero.

eāˆ’(xāˆ’1)²/25 ≠ 0, so ignore it (y āˆ’ 2)1/3 = 0 → y = 2 (x āˆ’ 1) = 0 → x = 1 horizontal tangents wherever y = 2 or x = 1
WE 2

Describe how you would sketch the solution through the point (0, āˆ’8) on the given slope field.

Use the point and the local tangents as flow lines.

plot (0, āˆ’8) follow the tangent direction there, extending left and right steer with neighbouring segments; cross them if the flow does a single curve through (0, āˆ’8) — sketched, not traced
WE 3

For dydx = sin(x āˆ’ y), find the lines on which all stationary points lie.

Set the gradient to zero and solve.

sin(x āˆ’ y) = 0 → x āˆ’ y = 0, ±π, ±2Ļ€, … stationary points lie on y = x ± kĻ€ (k = 0, 1, 2, …)
WE 4

Find the gradient of the slope-field segment at (2, āˆ’1) for dydx = x āˆ’ y.

Substitute the coordinates into g(x, y).

g(2, āˆ’1) = 2 āˆ’ (āˆ’1) gradient = 3
WE 5

For dydx = xy, where are the horizontal tangents?

A product equals zero when a factor is zero.

xy = 0 → x = 0 or y = 0 horizontal tangents along the x-axis and the y-axis

šŸ’” Top tips

⚠ Common mistakes

Next up — Euler’s Method. A slope field shows the direction of solutions everywhere; Euler’s method turns that idea into numbers. Starting from the given point, it takes small steps along the local gradient — exactly the tangent directions you’ve been reading off — to build an approximate numerical solution, step by step.

Need help with Differential Equations?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →