Slope Fields Page 1 of 15

11.2

SLOPE FIELDS

In this section, we see how to visualize a first-order differential equation. We start with the equation

Any solution to this differential equation has the property that the slope at any point is equal to the y coordinate at that point. (That's what the equation dy/dx = y is telling us!) If the solution goes through the point (0, 0.5), its slope there is 0.5; if it goes through a point with y = 1.5, its slope there is 1.5. See Figure

11.6

.

Figure 11.6 Solutions to dy/dx = y

In Figure 11.6

a small line segment is drawn at each of the marked points showing the slope of the curve there. Imagine drawing many of these line segments, but leaving out the curves; this gives the slope field for the equation dy/dx = y in Figure 11.7

. From this picture, we can see that above the x-axis, the slopes are all positive (because y is positive there), and they increase as we move upward (as y increases). Below the xaxis, the slopes are all negative, and get more so as we move downward. On any horizontal line (where y is constant) the slopes are constant.

Figure 11.7 Slope field for dy/dx = y

In the slope field we can see the ghost of the solution curve lurking. Start anywhere on the plane and move so that the slope lines are tangent to our path; we trace out one of the solution curves. We think of the slope http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields Page 2 of 15 field as a set of signposts pointing in the direction we should go at each point. In this case, the slope field should trace out exponential curves of the form y = Ce x

, the solutions to the differential equation dy/dx = y.

Example 1

Figure 11.8

shows the slope field of the differential equation dy/dx = 2x.

(a) How does the slope field vary as we move around the xy-plane?

(b) Compare the solution curves sketched on the slope field with the formula for the solutions.

Figure 11.8 Slope field for dy/dx = 2x

Solution

(a) In Figure 11.8

we notice that on a vertical line (where x is constant) the slopes are constant. This is because in this differential equation dy/dx depends on x only. (In the previous example, dy/dx = y, the slopes depended on y only.)

(b) The solution curves in Figure 11.9

look like parabolas. By antidifferentiation, we see that the solution to the differential equation dy/dx = 2x is so the solution curves really are parabolas.

http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields Page 3 of 15

Figure 11.9 Some solutions to dy/dx = 2x

Using Slope Fields to check Solutions to Differential Equations

Example 2

Using the slope field, guess the form of the solution curves of the differential equation

Solution

The slope field is shown in Figure 11.10

. On the y-axis, where x is 0, the slope is 0. On the xaxis, where y is 0, the line segments are vertical and the slope is infinite. At the origin the slope is undefined, and there is no line segment.

Figure 11.10 Slope field for dy/dx = -x/y

Using Slope Fields to check Solutions to Differential Equations

The slope field suggests that the solution curves are circles centered at the origin. Later we see how to obtain the solution analytically, but even without this, we can check that the circle is a solution. We take the circle of radius r, and differentiate implicitly, thinking of y as a function of x. Using the chain rule, we get

Solving for dy/dx gives our differential equation,

This tells us that x

2

+ y

2

= r

2

is a solution to the differential equation.

The previous example shows that the solution to a differential equation may be an implicit function.

http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields

Example 3

The slope fields of dy/dt = 2 - y and dy/dt = t/y are in Figures 11.11

and 11.12

.

(a) On each slope field, sketch solution curves with initial conditions

(i) y = 1 when t = 0

(ii) y = 0 when t = 1

(iii) y = 3 when t = 0

(b) For each solution curve, what can you say about the long-run behavior of y? For example, does exist? If so, what is its value?

Page 4 of 15

Figure 11.11 Slope field for dy/dt = 2 - y

Using Slope Fields to check Solutions to Differential Equations

Figure 11.12 Slope field for dy/dt = t/y http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields

Using Slope Fields to check Solutions to Differential Equations

Solution

(a) See Figures 11.13

and 11.14

.

Page 5 of 15

Figure 11.13 Solution curves for dy/dt = 2 - y

Using Slope Fields to check Solutions to Differential Equations

Figure 11.14 Solution curves for dy/dt = t/y

Using Slope Fields to check Solutions to Differential Equations

(b) For dy/dt = 2 - y, all solution curves have y = 2 as a horizontal asymptote, so

. For dy/dt = t/y, as t → ∞ , it appears that either yt or y → -t.

http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields Page 6 of 15

Existence and Uniqueness of Solutions

Since differential equations are used to model many real situations, the question of whether a solution is unique can have great practical importance. If we know how the velocity of a satellite is changing, can we know its velocity at any future time? If we know the initial population of a city, and we know how the population is changing, can we predict the population in the future? Common sense says yes: if we know the initial value of some quantity and we know exactly how it is changing, we should be able to figure out its future value.

In the language of differential equations, an initial value problem (that is, a differential equation and an initial condition) almost always has a unique solution. One way to see this is by looking at the slope field.

Imagine starting at the point representing the initial condition. Through that point there is usually a line segment pointing in the direction of the solution curve. By following these line segments, we trace out the solution curve. See Figure 11.15

. In general, at each point there is one line segment and therefore only one direction for the solution curve to go. The solution curve exists and is unique provided we are given an initial point. Notice that even though we can draw the solution curves, we may have no simple formula for them.

Figure 11.15 There's one and only one solution curve through each point in the plane for this slope field (Dots represent initial conditions)

Using Slope Fields to check Solutions to Differential Equations

It can be shown that if the slope field is continuous as we move from point to point in the plane, we can be sure that a solution curve exists everywhere. Ensuring that each point has only one solution curve through it requires a slightly stronger condition.

Exercises and Problems for Section

11.2

Exercises

1. Sketch three solution curves for each of the slope fields in Figure 11.16

.

http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields Page 7 of 15

Figure 11.16

2. One of the slope fields in Figure 11.16

is the slope field for y ′ = x

2

- y

2

. Which one? On this field, where is the point (0, 1)? The point (1, 0)? (Assume that the x and y scales are the same.) Sketch the line x = 1 and the solution curve passing through (0, 1) until it crosses x = 1.

3. Sketch three solution curves for each of the slope fields in Figures 11.17

and 11.18

.

Figure 11.17

Figure 11.18

4. The slope field for the equation y ′ = x(y - 1) is shown in Figure 11.19

.

(a) Sketch the solutions passing through the points

(i) (0, 1)

(ii) (0, - 1)

(iii) (0, 0) http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields

(b) From your sketch, write down the equation of the solution with y(0) = 1.

(c) Check your solution to part (b) by substituting it into the differential equation.

Page 8 of 15

Figure 11.19

5. The slope field for the equation y ′ = x + y is shown in Figure 11.20

.

(a) Sketch the solutions that pass through the points

(i) (0, 0)

(ii) (-3, 1)

(iii) (-1, 0)

(b) From your sketch, write the equation of the solution passing through (-1, 0).

(c) Check your solution to part (b) by substituting it into the differential equation.

Figure 11.20 y ′ = x + y

6. Match each of the slope field segments in (I)–(VI) with one or more of the differential equations in (a)–

(f).

(a)

(b) y ′ = cos y

(c) y ′ = cos (4 - y)

(d) y ′ = y(4 - y) http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields

(e) y ′ = y(3 - y)

(f) y ′ = x(3 - x)

Page 9 of 15

Problems

7. One of the slope fields in Figure 11.21

is the slope field for y ′ = (x + y)/(x - y). Which one?

Figure 11.21

8. The slope field for the equation dP/dt = 0.1P(10 - P), for P ≥ 0, is in Figure 11.22

. http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields Page 10 of 15

(a) Plot the solutions through the following points:

(i) (0, 0)

(ii) (1, 4)

(iii) (4, 1)

(iv) (-5, 1)

(v) (-2, 12)

(vi) (-2, 10)

(b) For which positive values of P are the solutions increasing? Decreasing? What is the limiting value of P as t gets large?

Figure 11.22

9. The slope field for y ′ = 0.5(1 + y)(2 - y) is shown in Figure 11.23

.

(a) Plot the following points on the slope field:

(i) the origin

(ii) (0, 1)

(iii) (1, 0)

(iv) (0, - 1)

(v) (0, - 5/2)

(vi) (0, 5/2)

(b) Plot solution curves through the points in part (a).

(c) For which regions are all solution curves increasing? For which regions are all solution curves decreasing? When can the solution curves have horizontal tangents? Explain why, using both the slope field and the differential equation.

http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields Page 11 of 15

Figure 11.23 Note: x and y scales are equal

10.

(a) Sketch the slope field for the equation y ′ = x - y in Figure 11.24

at the points indicated.

(b) Find the equation for the solution that passes through the point (1, 0).

Figure 11.24

11. Figure 11.25

shows the slope field for the equation y ′ = ( sin x)( sin y).

(a) Sketch the solutions that pass through the points:

(i) (0, - 2)

(ii) (0, π ).

(b) What is the equation of the solution that passes through (0, n π ), where n is any integer?

http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields

Figure 11.25 y ′ = ( sin x)( sin y)

12. Match the slope fields in Figure 11.26

with their differential equations:

(a) y ′ = -y

(b) y ′ = y

(c) y ′ = x

(d) y ′ = 1/y

(e) y ′ = y

2

Page 12 of 15

Figure 11.26

13. Match the slope fields in Figure 11.27

with their differential equations:

(a) y ′ = 1 + y

2

(b) y ′ = x

(c) y ′ = sin x

(d) y ′ = y

(e) y ′ = x - y

(f) y ′ = 4 - y http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields Page 13 of 15

Figure 11.27 Each slope field is graphed for -5 ≤ x ≤ 5, -5 ≤ y ≤ 5

14. Match the following differential equations with the slope fields shown in Figure 11.28

.

(a)

(b)

(c)

(d)

(e)

(f) http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields Page 14 of 15

Figure 11.28 All slope fields are for -3 ≤ x ≤ 3 and -3 ≤ y ≤ 3

15. The Gompertz equation, which models growth of animal tumors, is y ′ = -ayln(y/b), where a and b are positive constants. Use Figures 11.29

and 11.30

to write a paragraph describing the similarities and/or differences between solutions to the Gompertz equation with a = 1 and b = 2 and solutions to the equation y ′ = y(2 - y).

Figure 11.29 Slope field for y ′ = -yln (y/2) http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013

Slope Fields Page 15 of 15

Figure 11.30 Slope field for y ′ = y(2 - y)

16. In Section 3.7

on implicit differentiation, the equation y

3

- xy = -6 was analyzed using the derivative

dy/dx = y/(3y

2

- x). View this equation for dy/dx as a differential equation and give a rough sketch of its slope field, indicating where the slope is positive, negative, zero, or undefined (vertical). Then give a rough sketch of the solution curve through the point (7, 2), the solution curve through the point (7, 1), and the solution curve through the point (7, - 3). Notice that each of these points lies on the curve y

3

-

xy = -6.

Copyright © 2009 John Wiley & Sons, Inc. All rights reserved.

http://edugen.wileyplus.com/edugen/courses/crs4196/rc/hugheshallett9149c11/aHVnaGVz...

3/23/2013