<< Chapter < Page Chapter >> Page >

y = 1 y 2 x 2


A direction field with arrows pointing down and to the right for nearly all points in [-2, 2] on the x and y axes. Close to the origin, the arrows become more horizontal, point to the upper right, become more horizontal, and then point down to the right again.

Got questions? Get instant answers now!

Match the direction field with the given differential equations. Explain your selections.
A direction field with arrows pointing down and to the right in quadrants two and three. After crossing the y axis, the arrows change direction and point up to the right.
A direction field with horizontal arrows pointing to the left in quadrants two and three. In crossing the y axis, the arrows switch and point upward in quadrants one and four.
A direction field with horizontal arrows pointing to the right on the x axis. Above, the arrows point down and to the right, and below, the arrows point up and to the right. The further from the x axis, the more vertical the arrows become.
A direction field with horizontal arrows on the x and y axes. The arrows point down and to the right in quadrants one and three. They point up and to the right in quadrants two and four.
A direction field with arrows pointing up in quadrants two and three, to the right on the y axis, and down in quadrants one and four.

Match the direction field with the given differential equations. Explain your selections.
A direction field with horizontal arrows pointing to the right on the x and y axes. In quadrants one and three, the arrows point up, and in quadrants two and four, they point down.
A direction field with horizontal arrows pointing to the right on the x and y axes. In quadrants one and three, the arrows point up and to the right, and in quadrants two and four, the arrows point down and to the right.
A direction field with horizontal arrows pointing to the right on the x and y axes. In quadrants two and three, the arrows point down, and in quadrants one and four, the arrows point up.
A direction field with horizontal arrows pointing to the right on the x axis. The arrows point up and to the right in all quadrants. The closer the arrows are to the x axis, the more horizontal the arrows are, and the further away they are, the more vertical they are.
A direction field with horizontal arrows on the y axis. The arrows are also more horizontal closer to y = 1.5, y = -1.5, and the y axis. For y > 1.5 and x < 0, for y < -1.5 and x < 0, and for -1.5 < y < 1.5 and x > 0-, the arrows point down. For y> 1.5 and x > 0, for y < -1.5, for y < -1.5 and x > 0, and for -1.5 < y < 1.5 and x < 0, the arrows point up.

Estimate the following solutions using Euler’s method with n = 5 steps over the interval t = [ 0 , 1 ] . If you are able to solve the initial-value problem exactly, compare your solution with the exact solution. If you are unable to solve the initial-value problem, the exact solution will be provided for you to compare with Euler’s method. How accurate is Euler’s method?

y = −3 y , y ( 0 ) = 1

Got questions? Get instant answers now!

y = t 2

2.24 , exact: 3

Got questions? Get instant answers now!

y = 3 t y , y ( 0 ) = 1 . Exact solution is y = 3 t + 4 e t 3

Got questions? Get instant answers now!

y = y + t 2 , y ( 0 ) = 3 . Exact solution is y = 5 e t 2 t 2 2 t

7.739364 , exact: 5 ( e 1 )

Got questions? Get instant answers now!

y = 2 t , y ( 0 ) = 0

Got questions? Get instant answers now!

[T] y = e ( x + y ) , y ( 0 ) = −1 . Exact solution is y = ln ( e + 1 e x )

−0.2535 exact: 0

Got questions? Get instant answers now!

y = y 2 ln ( x + 1 ) , y ( 0 ) = 1 . Exact solution is y = 1 ( x + 1 ) ( ln ( x + 1 ) 1 )

Got questions? Get instant answers now!

y = 2 x , y ( 0 ) = 0 , Exact solution is y = 2 x 1 ln ( 2 )

1.345 , exact: 1 ln ( 2 )

Got questions? Get instant answers now!

y = y , y ( 0 ) = −1 . Exact solution is y = e x .

Got questions? Get instant answers now!

y = −5 t , y ( 0 ) = −2 . Exact solution is y = 5 2 t 2 2

−4 , exact: 1 / 2

Got questions? Get instant answers now!

Differential equations can be used to model disease epidemics . In the next set of problems, we examine the change of size of two sub-populations of people living in a city: individuals who are infected and individuals who are susceptible to infection. S represents the size of the susceptible population, and I represents the size of the infected population. We assume that if a susceptible person interacts with an infected person, there is a probability c that the susceptible person will become infected. Each infected person recovers from the infection at a rate r and becomes susceptible again. We consider the case of influenza, where we assume that no one dies from the disease, so we assume that the total population size of the two sub-populations is a constant number, N . The differential equations that model these population sizes are

S = r I c S I and I = c S I r I .

Here c represents the contact rate and r is the recovery rate.

Show that, by our assumption that the total population size is constant ( S + I = N ) , you can reduce the system to a single differential equation in I : I = c ( N I ) I r I .

Got questions? Get instant answers now!

Assuming the parameters are c = 0.5 , N = 5 , and r = 0.5 , draw the resulting directional field.


A direction field with horizontal arrows pointing to the right on the x axis and at y = 4. The arrows below the x axis and above y = 4 point down and to the right. The arrows between the x axis and y = 4 point up and to the right.

Got questions? Get instant answers now!

[T] Use computational software or a calculator to compute the solution to the initial-value problem y = t y , y ( 0 ) = 2 using Euler’s Method with the given step size h . Find the solution at t = 1 . For a hint, here is “pseudo-code” for how to write a computer program to perform Euler’s Method for y = f ( t , y ) , y ( 0 ) = 2 :

Create function f ( t , y )

Define parameters y ( 1 ) = y 0 , t ( 0 ) = 0 , step size h , and total number of steps, N

Write a for loop:

for k = 1 to N

fn = f ( t ( k ) , y ( k ) )

y ( k+1 ) = y ( k ) + h*fn

t ( k+1 ) = t ( k ) + h

Got questions? Get instant answers now!

Solve the initial-value problem for the exact solution.

y = 2 e t 2 / 2

Got questions? Get instant answers now!

Draw the directional field

Got questions? Get instant answers now!

[T] Evaluate the exact solution at t = 1 . Make a table of errors for the relative error between the Euler’s method solution and the exact solution. How much does the error change? Can you explain?

2 e

Step Size Error
h = 1 0.3935
h = 10 0.06163
h = 100 0.006612
h = 1000 0.0006661

Got questions? Get instant answers now!

Consider the initial-value problem y = −2 y , y ( 0 ) = 2 .

Show that y = 2 e −2 x solves this initial-value problem.

Got questions? Get instant answers now!

Draw the directional field of this differential equation.


A direction field with horizontal arrows pointing to the right on the x axis. Above the x axis, the arrows point down and to the right. Below the x axis, the arrows point up and to the right. The closer the arrows are to the x axis, the more horizontal the arrows are, and the further away they are from the x axis, the more vertical the arrows are.

Got questions? Get instant answers now!

[T] By hand or by calculator or computer, approximate the solution using Euler’s Method at t = 10 using h = 5 .

Got questions? Get instant answers now!

[T] By calculator or computer, approximate the solution using Euler’s Method at t = 10 using h = 100 .

4.0741 e −10

Got questions? Get instant answers now!

[T] Plot exact answer and each Euler approximation (for h = 5 and h = 100 ) at each h on the directional field. What do you notice?

Got questions? Get instant answers now!
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