<< Chapter < Page Chapter >> Page >

Using direction fields

We can use a direction field to predict the behavior of solutions to a differential equation without knowing the actual solution. For example, the direction field in [link] serves as a guide to the behavior of solutions to the differential equation y = 3 x + 2 y 4 .

To use a direction field, we start by choosing any point in the field. The line segment at that point serves as a signpost telling us what direction to go from there. For example, if a solution to the differential equation passes through the point ( 0 , 1 ) , then the slope of the solution passing through that point is given by y = 3 ( 0 ) + 2 ( 1 ) 4 = −2 . Now let x increase slightly, say to x = 0.1 . Using the method of linear approximations gives a formula for the approximate value of y for x = 0.1 . In particular,

L ( x ) = y 0 + f ( x 0 ) ( x x 0 ) = 1 2 ( x 0 0 ) = 1 2 x 0 .

Substituting x 0 = 0.1 into L ( x ) gives an approximate y value of 0.8 .

At this point the slope of the solution changes (again according to the differential equation). We can keep progressing, recalculating the slope of the solution as we take small steps to the right, and watching the behavior of the solution. [link] shows a graph of the solution passing through the point ( 0 , 1 ) .

A graph of the direction field for the differential equation y’ = 3 x + 2 y – 4 in all four quadrants. In quadrants two and three, the arrows point down and slightly to the right. On a diagonal line, roughly y = -x + 2, the arrows point further and further to the right, curve, and then point up above that line. The solution passing through the point (0, 1) is shown. It curves down through (-5, 10), (0, 2), (1, 0), and (3, -10).
Direction field for the differential equation y = 3 x + 2 y 4 with the solution passing through the point ( 0 , 1 ) .

The curve is the graph of the solution to the initial-value problem

y = 3 x + 2 y 4 , y ( 0 ) = 1 .

This curve is called a solution curve    passing through the point ( 0 , 1 ) . The exact solution to this initial-value problem is

y = 3 2 x + 5 4 1 4 e 2 x ,

and the graph of this solution is identical to the curve in [link] .

Create a direction field for the differential equation y = x 2 y 2 and sketch a solution curve passing through the point ( −1 , 2 ) .


A graph of the direction field for the differential equation y’ = x ^ 2 – y ^ 2. Along y = x and y = -x, the lines are horizontal. On either side of y = x and y = -x, the lines slant and direct solutions along those two functions. The rest of the lines are vertical. The solution going through (-1, 2) is shown. It curves down from about (-2.75, 10), through (-1, 2) and about (0, 1.5), and then up along the diagonal to (10, 10).

Got questions? Get instant answers now!

Go to this Java applet and this website to see more about slope fields.

Now consider the direction field for the differential equation y = ( x 3 ) ( y 2 4 ) , shown in [link] . This direction field has several interesting properties. First of all, at y = −2 and y = 2 , horizontal dashes appear all the way across the graph. This means that if y = −2 , then y = 0 . Substituting this expression into the right-hand side of the differential equation gives

( x 3 ) ( y 2 4 ) = ( x 3 ) ( ( −2 ) 2 4 ) = ( x 3 ) ( 0 ) = 0 = y .

Therefore y = −2 is a solution to the differential equation. Similarly, y = 2 is a solution to the differential equation. These are the only constant-valued solutions to the differential equation, as we can see from the following argument. Suppose y = k is a constant solution to the differential equation. Then y = 0 . Substituting this expression into the differential equation yields 0 = ( x 3 ) ( k 2 4 ) . This equation must be true for all values of x , so the second factor must equal zero. This result yields the equation k 2 4 = 0 . The solutions to this equation are k = −2 and k = 2 , which are the constant solutions already mentioned. These are called the equilibrium solutions to the differential equation.

A direction field for the given differential equation. The arrows are horizontal and pointing to the right at y = -4, y = 4, and x = 6. The closer the arrows are to x = 6, the more horizontal the arrows become. The further away, the more vertical they are. The arrows point down for y > 4 and x < 4, -4 < y < 4 and x > 6, and y < -4 and x < 6. In all other areas, the arrows are pointing up.
Direction field for the differential equation y = ( x 3 ) ( y 2 4 ) showing two solutions. These solutions are very close together, but one is barely above the equilibrium solution x = −2 and the other is barely below the same equilibrium solution.
Practice Key Terms 8

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 2. OpenStax CNX. Feb 05, 2016 Download for free at http://cnx.org/content/col11965/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 2' conversation and receive update notifications?

Ask