<< Chapter < Page Chapter >> Page >

Typically h is a small value, say 0.1 or 0.05 . The smaller the value of h , the more calculations are needed. The higher the value of h , the fewer calculations are needed. However, the tradeoff results in a lower degree of accuracy for larger step size, as illustrated in [link] .

Two graphs of the same parabola, y = x ^ 2 – 3 x + 3. The first shows Euler’s method for the given initial-value problem with a step size of h = 0.05, and the second shows Euler’s method with a step size of h = 0.25. The first then has the points (0, 3), (.5, 1.5), (1, 0.5), (1.5, 0), (2, 0), (2.5, 0.5), and (3, 1.5) plotted with line segments connecting them. The second has the points (0, 3), (0.25, 2.25), (0.5, 1.625), (0.75, 1.125), (1, 0.75), (1.25, 0.5), (1.5, 0.375), (2, 0.5), (2.25, 0.75), (2.5, 1.125), (2.75, 1.625), and (3, 2.25) plotted with line segments connecting them.
Euler’s method for the initial-value problem y = 2 x 3 , y ( 0 ) = 3 with (a) a step size of h = 0.5 ; and (b) a step size of h = 0.25 .

Using euler’s method

Consider the initial-value problem

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

Use Euler’s method with a step size of 0.1 to generate a table of values for the solution for values of x between 0 and 1 .

We are given h = 0.1 and f ( x , y ) = 3 x 2 y 2 + 1 . Furthermore, the initial condition y ( 0 ) = 2 gives x 0 = 0 and y 0 = 2 . Using [link] with n = 0 , we can generate [link] .

Using euler’s method to approximate solutions to a differential equation
n x n y n = y n 1 + h f ( x n 1 , y n 1 )
0 0 2
1 0.1 y 1 = y 0 + h f ( x 0 , y 0 ) = 1.7
2 0.2 y 2 = y 1 + h f ( x 1 , y 1 ) = 1.514
3 0.3 y 3 = y 2 + h f ( x 2 , y 2 ) = 1.3968
4 0.4 y 4 = y 3 + h f ( x 3 , y 3 ) = 1.3287
5 0.5 y 5 = y 4 + h f ( x 4 , y 4 ) = 1.3001
6 0.6 y 6 = y 5 + h f ( x 5 , y 5 ) = 1.3061
7 0.7 y 7 = y 6 + h f ( x 6 , y 6 ) = 1.3435
8 0.8 y 8 = y 7 + h f ( x 7 , y 7 ) = 1.4100
9 0.9 y 9 = y 8 + h f ( x 8 , y 8 ) = 1.5032
10 1.0 y 10 = y 9 + h f ( x 9 , y 9 ) = 1.6202

With ten calculations, we are able to approximate the values of the solution to the initial-value problem for values of x between 0 and 1 .

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Go to this website for more information on Euler’s method.

Consider the initial-value problem

y = x 3 + y 2 , y ( 1 ) = −2 .

Using a step size of 0.1 , generate a table with approximate values for the solution to the initial-value problem for values of x between 1 and 2 .

n x n y n = y n 1 + h f ( x n 1 , y n 1 )
0 1 −2
1 1.1 y 1 = y 0 + h f ( x 0 , y 0 ) = −1.5
2 1.2 y 2 = y 1 + h f ( x 1 , y 1 ) = −1.1419
3 1.3 y 3 = y 2 + h f ( x 2 , y 2 ) = −0.8387
4 1.4 y 4 = y 3 + h f ( x 3 , y 3 ) = −0.5487
5 1.5 y 5 = y 4 + h f ( x 4 , y 4 ) = −0.2442
6 1.6 y 6 = y 5 + h f ( x 5 , y 5 ) = 0.0993
7 1.7 y 7 = y 6 + h f ( x 6 , y 6 ) = 0.5099
8 1.8 y 8 = y 7 + h f ( x 7 , y 7 ) = 1.0272
9 1.9 y 9 = y 8 + h f ( x 8 , y 8 ) = 1.7159
10 2 y 10 = y 9 + h f ( x 9 , y 9 ) = 2.6962
Got questions? Get instant answers now!

Visit this website for a practical application of the material in this section.

Key concepts

  • A direction field is a mathematical object used to graphically represent solutions to a first-order differential equation.
  • Euler’s Method is a numerical technique that can be used to approximate solutions to a differential equation.

Key equations

  • Euler’s Method
    x n = x 0 + n h y n = y n 1 + h f ( x n 1 , y n 1 ) , where h is the step size

For the following problems, use the direction field below from the differential equation y = −2 y . Sketch the graph of the solution for the given initial conditions.
A direction field with horizontal arrows pointing to the right at 0. The arrows above the x axis point down and to the right. The further away from the x axis, the steeper the arrows are, and the closer to the x axis, the flatter the arrows are. Likewise, the arrows below the x axis point up and to the right. The further away from the x axis, the steeper the arrows are, and the closer to the x axis, the flatter the arrows are.

Are there any equilibria? What are their stabilities?

y = 0 is a stable equilibrium

Got questions? Get instant answers now!

For the following problems, use the direction field below from the differential equation y = y 2 2 y . Sketch the graph of the solution for the given initial conditions.
A direction field with horizontal arrows at y = 0 and y = 2. The arrows point up for y > 2 and for y < 0. The arrows point down for 0 < y < 2. The closer the arrows are to these lines, the more horizontal they are, and the further away, the more vertical the arrows are.

Are there any equilibria? What are their stabilities?

y = 0 is a stable equilibrium and y = 2 is unstable

Got questions? Get instant answers now!

Draw the direction field for the following differential equations, then solve the differential equation. Draw your solution on top of the direction field. Does your solution follow along the arrows on your direction field?

Draw the directional field for the following differential equations. What can you say about the behavior of the solution? Are there equilibria? What stability do these equilibria have?

Questions & Answers

how does Neisseria cause meningitis
Nyibol Reply
what is microbiologist
Muhammad Reply
what is errata
Muhammad
is the branch of biology that deals with the study of microorganisms.
Ntefuni Reply
What is microbiology
Mercy Reply
studies of microbes
Louisiaste
when we takee the specimen which lumbar,spin,
Ziyad Reply
How bacteria create energy to survive?
Muhamad Reply
Bacteria doesn't produce energy they are dependent upon their substrate in case of lack of nutrients they are able to make spores which helps them to sustain in harsh environments
_Adnan
But not all bacteria make spores, l mean Eukaryotic cells have Mitochondria which acts as powerhouse for them, since bacteria don't have it, what is the substitution for it?
Muhamad
they make spores
Louisiaste
what is sporadic nd endemic, epidemic
Aminu Reply
the significance of food webs for disease transmission
Abreham
food webs brings about an infection as an individual depends on number of diseased foods or carriers dully.
Mark
explain assimilatory nitrate reduction
Esinniobiwa Reply
Assimilatory nitrate reduction is a process that occurs in some microorganisms, such as bacteria and archaea, in which nitrate (NO3-) is reduced to nitrite (NO2-), and then further reduced to ammonia (NH3).
Elkana
This process is called assimilatory nitrate reduction because the nitrogen that is produced is incorporated in the cells of microorganisms where it can be used in the synthesis of amino acids and other nitrogen products
Elkana
Examples of thermophilic organisms
Shu Reply
Give Examples of thermophilic organisms
Shu
advantages of normal Flora to the host
Micheal Reply
Prevent foreign microbes to the host
Abubakar
they provide healthier benefits to their hosts
ayesha
They are friends to host only when Host immune system is strong and become enemies when the host immune system is weakened . very bad relationship!
Mark
what is cell
faisal Reply
cell is the smallest unit of life
Fauziya
cell is the smallest unit of life
Akanni
ok
Innocent
cell is the structural and functional unit of life
Hasan
is the fundamental units of Life
Musa
what are emergency diseases
Micheal Reply
There are nothing like emergency disease but there are some common medical emergency which can occur simultaneously like Bleeding,heart attack,Breathing difficulties,severe pain heart stock.Hope you will get my point .Have a nice day ❣️
_Adnan
define infection ,prevention and control
Innocent
I think infection prevention and control is the avoidance of all things we do that gives out break of infections and promotion of health practices that promote life
Lubega
Heyy Lubega hussein where are u from?
_Adnan
en français
Adama
which site have a normal flora
ESTHER Reply
Many sites of the body have it Skin Nasal cavity Oral cavity Gastro intestinal tract
Safaa
skin
Asiina
skin,Oral,Nasal,GIt
Sadik
How can Commensal can Bacteria change into pathogen?
Sadik
How can Commensal Bacteria change into pathogen?
Sadik
all
Tesfaye
by fussion
Asiina
what are the advantages of normal Flora to the host
Micheal
what are the ways of control and prevention of nosocomial infection in the hospital
Micheal
what is inflammation
Shelly Reply
part of a tissue or an organ being wounded or bruised.
Wilfred
what term is used to name and classify microorganisms?
Micheal Reply
Binomial nomenclature
adeolu
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply
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