Slope Fields Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Slope Fields.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

A graphical representation of a first-order DE dydx=f(x,y)\frac{dy}{dx} = f(x, y). At each point (x,y)(x, y) in the plane, draw a short line segment with slope f(x,y)f(x, y). The resulting pattern of segments shows the direction solutions must follow.

Imagine a field with tiny arrows showing which way a river flows at each point. A slope field is the same idea: the DE tells you the slope (direction) at every point, and solution curves are paths that follow these directions everywhere. Drop a 'particle' anywhere and follow the arrowsβ€”that's a solution.

Read the full concept explanation β†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: A slope field draws the slope dydx=f(x,y)\frac{dy}{dx}=f(x,y) as a short segment at each point, so solutions are curves that follow the arrows.

Common stuck point: The procedure for slope fields is the easy part; the trap is using f(x,y)f(x,y) as a height instead of a slope. Asking "Am I representing a first-order DE as a grid of segments whose slopes the DE assigns at each point?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Am I representing a first-order DE as a grid of segments whose slopes the DE assigns at each point?

Worked Examples

Example 1

easy
For dy/dx=ydy/dx = y, compute slopes at (0,0)(0,0), (0,1)(0,1), (1,1)(1,1), (1,βˆ’1)(1,-1). Describe the solution family.

Answer

Slopes: 0,1,1,βˆ’10, 1, 1, -1. Solutions: y=Cexy = Ce^x.

First step

1
Slope =y= y at each point.

Full solution

  1. 2
    (0,0)(0,0): 0; (0,1)(0,1): 1; (1,1)(1,1): 1; (1,βˆ’1)(1,-1): βˆ’1-1.
  2. 3
    Solutions are y=Cexy = Ce^x: exponential curves.
When slope depends only on yy (autonomous), the field has horizontal translation symmetry.

Example 2

medium
For dy/dx=xβˆ’ydy/dx = x-y, find the zero-slope isocline and describe long-term behavior of solutions.

Example 3

medium
For dydx=xβˆ’y\frac{dy}{dx} = x - y, find the isocline of slope 11.

Example 4

medium
The DE dydx=y(1βˆ’y)\frac{dy}{dx} = y(1 - y) models logistic growth. Find all equilibrium lines and classify each as stable or unstable.

Example 5

medium
Use Euler's method with h=0.1h = 0.1 on dydx=x+y\frac{dy}{dx} = x + y, y(0)=1y(0) = 1, to estimate y(0.2)y(0.2).

Example 6

hard
For dydx=x2+y2\frac{dy}{dx} = x^2 + y^2, prove that no solution curve can have a local maximum in the upper half-plane y>0y > 0.

Example 7

hard
Compare the slope fields of dydx=y\frac{dy}{dx} = y and dydx=βˆ’y\frac{dy}{dx} = -y. Describe how their solutions differ.

Example 8

hard
At which points does the slope field of dydx=xβˆ’yx+y\frac{dy}{dx} = \frac{x - y}{x + y} fail to be defined?

Example 9

hard
For dydx=2xy\frac{dy}{dx} = 2xy, find the solution through (0,3)(0, 3).

Example 10

challenge
For dydx=yβˆ’x2\frac{dy}{dx} = y - x^2, find a particular solution that grows like a polynomial as xβ†’βˆžx \to \infty, and describe how every other solution behaves.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
For dy/dx=x2dy/dx = x^2, compute slopes at (0,0)(0,0), (1,0)(1,0), (βˆ’1,3)(-1,3), (2,5)(2,5).

Example 2

medium
A slope field shows solutions curving toward the xx-axis from both sides. What can you infer about f(x,y)f(x,y) and long-term behavior?

Example 3

easy
For dydx=x+y\frac{dy}{dx}=x+y, what slope is drawn at (2,3)(2,3)?

Example 4

easy
For dydx=2\frac{dy}{dx}=2, describe the slope field.

Example 5

easy
For dydx=x\frac{dy}{dx}=x, what is the slope along the yy-axis (x=0x=0)?

Example 6

easy
For dydx=y\frac{dy}{dx}=y, where are the slopes zero?

Example 7

easy
For dydx=x+y\frac{dy}{dx}=x+y, what slope is drawn at the origin?

Example 8

easy
Can two distinct solution curves cross where f(x,y)f(x,y) is continuous?

Example 9

easy
How does a slope field differ from a vector field?

Example 10

easy
For dydx=x+y\frac{dy}{dx}=x+y, what slope is drawn at (1,βˆ’1)(1,-1)?

Example 11

medium
For dydx=x+y\frac{dy}{dx}=x+y, find the isocline where the slope is 11.

Example 12

medium
For dydx=βˆ’xy\frac{dy}{dx}=-\frac{x}{y}, what is the slope at (3,4)(3,4)?

Example 13

medium
For dydx=y(1βˆ’y)\frac{dy}{dx}=y(1-y), identify the equilibrium solutions.

Example 14

medium
For dydx=y\frac{dy}{dx}=y, are slopes positive or negative above the xx-axis?

Example 15

medium
Which DE has a slope field with horizontal segments exactly on the xx-axis: yβ€²=xy'=x or yβ€²=yy'=y?

Example 16

medium
For dydx=xβˆ’y\frac{dy}{dx}=x-y, where is the slope equal to 00?

Example 17

medium
For dydx=x+y\frac{dy}{dx}=x+y, compare slopes at (0,1)(0,1) and (1,0)(1,0).

Example 18

medium
A solution passes through (0,1)(0,1) for dydx=y\frac{dy}{dx}=y. Is it increasing there?

Example 19

medium
For dydx=x2βˆ’y\frac{dy}{dx}=x^2-y, find the slope at (2,1)(2,1).

Example 20

challenge
For dydx=x+y\frac{dy}{dx}=x+y, sketch how the slope of solutions changes moving up a vertical line x=1x=1.

Example 21

challenge
Why do two apparent solution curves crossing in a slope field indicate a problem?

Example 22

challenge
For dydx=βˆ’xy\frac{dy}{dx}=-\frac{x}{y}, show the slope field is consistent with circular solutions.

Example 23

easy
For dydx=2x\frac{dy}{dx} = 2x, what slope is drawn at (3,7)(3, 7)?

Example 24

easy
For dydx=yβˆ’1\frac{dy}{dx} = y - 1, find the equilibrium (zero-slope) line.

Example 25

easy
For dydx=xy\frac{dy}{dx} = x y, what slope is drawn at (2,βˆ’3)(2, -3)?

Example 26

easy
For dydx=sin⁑x\frac{dy}{dx} = \sin x, at which xx-values is the slope zero?

Example 27

easy
For dydx=y2\frac{dy}{dx} = y^2, find the slope at (0,βˆ’2)(0, -2).

Example 28

medium
For dydx=x+y\frac{dy}{dx} = x + y, find the isocline of slope 00.

Example 29

medium
For dydx=βˆ’xy\frac{dy}{dx} = -\frac{x}{y} (yβ‰ 0y \neq 0), what family of curves are the solutions?

Example 30

medium
For dydx=1+y2\frac{dy}{dx} = 1 + y^2, what is the smallest slope drawn anywhere in the field?

Example 31

medium
Match the DE dydx=βˆ’y\frac{dy}{dx} = -y to its solution family.

Example 32

medium
For dydx=yβˆ’x\frac{dy}{dx} = y - x, what slope is drawn at (4,2)(4, 2)?

Example 33

hard
For dydx=yx\frac{dy}{dx} = \frac{y}{x} (with x>0x > 0), find the family of solution curves passing through (1,2)(1, 2).

Example 34

hard
For dydx=(yβˆ’2)(y+1)\frac{dy}{dx} = (y - 2)(y + 1), identify the equilibria and classify their stability.

Example 35

hard
For dydx=eβˆ’x2\frac{dy}{dx} = e^{-x^2}, what can you say about the long-term behavior of any solution as xβ†’βˆžx \to \infty?

Example 36

challenge
Sketch-style: for dydx=sin⁑(x+y)\frac{dy}{dx} = \sin(x + y), find every isocline of slope 00.

Background Knowledge

These ideas may be useful before you work through the harder examples.

differential equations introderivative