Lesson 4: Slope fields

Reading the slope field of dydx=x−y\frac{dy}{dx} = x - y

SkillsSlope fieldsChecking solutions of differential equations

Worked example

  • Complex familiar
  • Technology free

The slope field of dydx=x−y\frac{dy}{dx} = x - y is shown, with two solution curves.

(a) Calculate the gradient of the segments at (0,0)(0, 0), (2,1)(2, 1) and (1,3)(1, 3).

(b) Show that y=x−1y = x - 1 is a solution.

(c) Describe the solution curve through (0,2)(0, 2).

1 of 5 steps
  1. Step 1: Substitute each point into x−yx - y

    At (0,0)(0, 0): 0−0=00 - 0 = 0. At (2,1)(2, 1): 2−1=12 - 1 = 1. At (1,3)(1, 3): 1−3=−21 - 3 = -2.

    0, 1, −20,\ 1,\ -2

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Slope field of dydx=x−y\frac{dy}{dx} = x - y with the solutions y=x−1y = x - 1 and the curve through (0,2)(0, 2).

Method

  1. Gradient at a point: substitute it into dydx\frac{dy}{dx}.

  2. Zero-gradient points (here y=xy = x) locate turning points of solution curves.

  3. Straight-line or constant solutions act as guides: other curves do not cross them.

Watch out for

  • Drawing the solution curve through the segments rather than along them.

  • Letting the curve cross y=x−1y = x - 1: solution curves never cross.

Save your progress with a free account