Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Specialist (Unit 3 & 4) Rates of change and differential equations

Slope fields

20 practice questions 0 video lessons Theory + worked examples

Master slope fields for Year 12 Specialist Mathematics in Queensland (QCAA, Unit 4). A slope field is a grid of short segments that pictures a first-order differential equation — each segment has the gradient the equation gives at that point, so you can see how solutions behave without solving anything.

You will learn to read the slope at any grid point, find equilibrium solutions where the field is horizontal, match a differential equation to its field, and sketch a solution curve through a given point — the qualitative view that underpins the logistic equation and Newton’s law of cooling later in the course.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A slope field (direction field) pictures a first-order differential equation without solving it. In Year 12 Specialist Mathematics (QCAA, Queensland, Unit 4) it is a grid of short segments, each with the gradient the equation \(\dfrac{dy}{dx}=f(x,y)\) gives at that point. This page shows how to draw a field, read its equilibria and behaviour, match a field to its equation, and sketch a solution curve through a point.

A first-order differential equation \(\dfrac{dy}{dx}=f(x,y)\) states the gradient of a solution curve at every point of the plane. A slope field (also called a direction field or gradient field) makes this visible: at a grid of points \((x,y)\) you draw a short segment whose gradient is the value of \(f(x,y)\) there.

The segment at \((x_0,y_0)\) is horizontal where \(f=0\), steep where \(|f|\) is large, and rises or falls with the sign of \(f\). Reading the field means evaluating \(f\) at points, not solving anything.

A solution curve (integral curve) is a curve that is tangent to the field everywhere — it always follows the segments. Exactly one solution curve passes through each point, so a solution curve never crosses another.

An equilibrium (constant) solution is a horizontal line \(y=c\) where \(f=0\) all along it; the field is a row of horizontal segments there. Nearby solutions may bend towards it (stable) or away from it (unstable), which is how the field reveals long-term behaviour.

Slope field of dy/dx = x + yA grid of short segments; each has gradient x+y. At the point (2,1) the segment has gradient 3. x y slope 3
Slope field of \(\dfrac{dy}{dx}=x+y\): every segment has gradient \(x+y\), so the segment at \((2,1)\) has slope \(3\).
Slope field of dy/dx = 1 - y with a solution curveA grid of short segments for dy/dx = 1 minus y. The dashed line y=1 is the equilibrium solution; a solution curve through (0,0) bends up towards y=1. x y y=1
Field of \(\dfrac{dy}{dx}=1-y\): the line \(y=1\) is the equilibrium solution, and a solution curve through \((0,0)\) bends up towards it.

A first-order differential equation gives the gradient at each point:

\[ \dfrac{dy}{dx}=f(x,y) \]
dydx=f(x,y)

The slope of the segment at a grid point \((x_0,y_0)\) is just the value there:

\[ m=f(x_0,y_0) \]
m=f(x0,y0)

Equilibrium (constant) solutions are the lines where the field is horizontal:

\[ f(x,y)=0 \]
f(x,y)=0
Autonomous fields. If \(f\) depends on \(y\) only \(\left(\dfrac{dy}{dx}=g(y)\right)\), every point on a horizontal row has the same slope, so the field looks the same along each row — a quick way to spot the equation from its field.

How to draw and read a slope field

  1. Evaluate \(f(x,y)\) at each grid point to get the slope there.
  2. Draw a short segment of that gradient centred on the point (steeper where \(|f|\) is larger, horizontal where \(f=0\)).
  3. Find the equilibria: solve \(f=0\) for the horizontal lines, and check the sign of \(f\) on each side to see if solutions bend towards or away.
  4. Sketch a solution curve from a given point by moving so the curve stays tangent to the segments — following the field without crossing an equilibrium line.
Example 1 — slopes at grid points
For \(\dfrac{dy}{dx}=x+y\), find the slope the field shows at \((0,2)\) and at \((-2,1)\).
Solution

Substitute each point into \(f(x,y)=x+y\):

\(\text{at }(0,2):\ \dfrac{dy}{dx}\)\(=\)\(0+2\)
\(=\)\(2\)
\(\text{at }(-2,1):\ \dfrac{dy}{dx}\)\(=\)\(-2+1\)
\(=\)\(-1\)

The segment slopes are \(2\) at \((0,2)\) and \(-1\) at \((-2,1)\).

Example 2 — where the field is horizontal
A slope field is drawn for \(\dfrac{dy}{dx}=2x-y\). Along which line are the segments horizontal, and what is the slope at \((0,3)\)?
Solution

Horizontal segments have zero slope; set \(2x-y=0\):

\(2x-y\)\(=\)\(0\)
\(y\)\(=\)\(2x\)

Now the slope at the point \((0,3)\):

\(\dfrac{dy}{dx}\)\(=\)\(2(0)-3\)
\(=\)\(-3\)

The segments are horizontal along \(y=2x\); at \((0,3)\) the slope is \(-3\).

Example 3 — equilibria and long-term behaviour
For \(\dfrac{dy}{dx}=y(3-y)\), state the constant solutions and describe a solution that starts at \(y=1\).
Solution

Constant solutions have \(\dfrac{dy}{dx}=0\); solve \(y(3-y)=0\):

\(y(3-y)\)\(=\)\(0\)
\(y\)\(=\)\(0 \ \text{ or }\ y=3\)

Check the sign of the slope at \(y=1\) (between the equilibria):

\(\dfrac{dy}{dx}\)\(=\)\(1(3-1)\)
\(=\)\(2 > 0\)

The equilibria are \(y=0\) and \(y=3\). From \(y=1\) the slope is positive, so the solution rises and approaches \(y=3\).

Example 4 — a solution curve through a point
A solution curve of \(\dfrac{dy}{dx}=x\) passes through \((0,1)\). Following the field, find its equation.
Solution

The field depends on \(x\) only; antidifferentiate, then use \((0,1)\):

\(y\)\(=\)\(\dfrac{x^2}{2}+c\)
\(1\)\(=\)\(\dfrac{0^2}{2}+c\)
\(c\)\(=\)\(1\)
\(y\)\(=\)\(\dfrac{x^2}{2}+1\)

The solution curve is \(y=\dfrac{x^2}{2}+1\); it follows the field with its minimum at \((0,1)\).

Slope field of dy/dx = x with a solution curveA grid of short segments for dy/dx = x; the solution curve y = x squared over two plus one passes through (0,1) at its minimum. x y

Common pitfalls

Assuming a column is parallel. The slope usually depends on both \(x\) and \(y\). Only when \(f\) is independent of \(x\) (an equation \(\dfrac{dy}{dx}=g(y)\)) are all segments in a horizontal row parallel — not a vertical column.
Reading an equilibrium as an \(x\)-value. Constant solutions come from \(f=0\) and are horizontal lines \(y=c\). Setting the slope to zero on a field like \(\dfrac{dy}{dx}=1-y\) gives \(y=1\), a whole row of horizontal segments.
Letting a solution curve cross the field. A solution curve is tangent to the segments everywhere, so it never cuts across them and never crosses an equilibrium line — it approaches one instead.

Frequently asked questions

What is a slope field in Specialist Maths?

It is a grid of short segments, one at each point, whose gradient is the value of \(\dfrac{dy}{dx}=f(x,y)\) there. It pictures the differential equation without solving it.

How do you draw a slope field?

Evaluate \(f(x,y)\) at each grid point and draw a short segment of that slope: horizontal where \(f=0\), steeper where \(|f|\) is large, rising or falling with the sign of \(f\).

What is an equilibrium solution?

A constant solution \(y=c\) where \(f=0\) all along the line, so the field is a row of horizontal segments. Checking the sign of \(f\) on each side shows whether nearby solutions bend towards it or away.

How do you sketch a solution curve from a slope field?

Start at the given point and move so the curve stays tangent to the segments, following the field. The curve never crosses the segments and never crosses an equilibrium line.

How do you match a differential equation to its slope field?

Find where the field is horizontal (solve \(f=0\)) and test the slope at one or two grid points. The equation whose zero-slope locus and sample slopes match the picture is the right one.