Docsity

Sketching Solutions to Differential Equations using Direction Fields and Euler's Method, Study notes of Calculus

Toggle sidebar
bg1
Sketching Solutions to Differential Equations Using Direction Fields
Section 7.2
At a point x,yon a solution curve of a differential equation of the form dy
dx fx,ythe
curve has slope fx,y. You can get an idea of the appearance of the graphs of solutions to a
differential equation from the direction field–that is, a plot depicting short line segments with
slope fx,yat points x,y.
Let’s sketch the direction field to the differential equation
y′2x−3y
We start by computing the slope at several points
x010−1011−1−12
y00 1 0 −11−11−10
y′2x−3y02−3−23−15−514
Now we draw short line segments with these slopes at these points. The result is the direction
field shown below left and right.
-2 -1 1 2
-2
-1
1
2
x
y
-2 -1 1 2
-2
-1
1
2
x
y
Now suppose we are interested in the graph of the solution to the initial-value problem (IVP)
y′2x−3yy
01
We start at the point 0,1and follow the direction field to obtain the solution. Sketch this on
the graph to the left.
Now use the graph to the right to sketch the IVP
y′2x−3yy
0−2
A direction field for the differential equation y′cosyis shown below. Sketch the graphs
of the solutions with initial conditions (a) y00(b)y0−2 and (c) y03.
-5 -4 -3 -2 -1 12345
-4
-2
2
4
x
y
In general, a differential equation of the form y′fyis called autonomous. For such an
equation, any two different points with the same y-coordinate must have the same slope.
pf2

Partial preview of the text

Download Sketching Solutions to Differential Equations using Direction Fields and Euler's Method and more Study notes Calculus in PDF only on Docsity!

Sketching Solutions to Differential Equations Using Direction Fields Section 7. At a point  x , y  on a solution curve of a differential equation of the form dy dx

fx , y  the

curve has slope fx , y . You can get an idea of the appearance of the graphs of solutions to a differential equation from the direction field –that is, a plot depicting short line segments with slope fx , y  at points  x , y . Let’s sketch the direction field to the differential equation y ′^  2 x − 3 y

We start by computing the slope at several points

x 0 1 0 − 1 0 1 1 − 1 − 1 2  y 0 0 1 0 − 1 1 − 1 1 − 1 0  y ′^  2 x − 3 y 0 2 − 3 − 2 3 − 1 5 − 5 1 4 

Now we draw short line segments with these slopes at these points. The result is the direction field shown below left and right.

-2 -1 1 2

1

2

x

y

-2 -1 1 2

1

2

x

y

Now suppose we are interested in the graph of the solution to the initial-value problem (IVP)

y ′^  2 x − 3 y y  0   1

We start at the point 0, 1 and follow the direction field to obtain the solution. Sketch this on the graph to the left. Now use the graph to the right to sketch the IVP y ′^  2 x − 3 y y  0   − 2 A direction field for the differential equation y ′^  cos y is shown below. Sketch the graphs of the solutions with initial conditions (a) y  0   0 (b) y  0   −2 and (c) y  0   3.

-5 -4 -3 -2 -1 1 2 3 4 5

2

4

x

y

In general, a differential equation of the form y ′^  fy  is called autonomous. For such an equation, any two different points with the same y -coordinate must have the same slope.

Euler ’ s Method Section 7. Euler’s Method extends the graphical picture of direction fields to numerical approximations to solutions of first-order differential equations. For the general first-order IVP

y ′^  Fx , yyx 0   y 0

Euler’s Method gives the approximations

y (^) ny (^) n − 1  hFx (^) n − 1 , y (^) n − 1 

where h is the step-size.

Use Euler’s Method with a step-size of h  0. 1, to approximate the solution of the IVP 1. y ′^  2 x − 3 y y  0   1

2. y ′^  cos y y  0   0