6.6eulers method leonhard euler 1707 - 1783 leonhard euler made a huge number of contributions to...

Post on 19-Jan-2018

238 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

There are many differential equations that can not be solved. We can still find an approximate solution. We will practice with an easy one that can be solved. Initial Value: (0, 1) But first…Suppose we couldn’t solve this conventionally…

TRANSCRIPT

6.6 Euler’s Method

Leonhard Euler 1707 - 1783

Leonhard Euler made a huge number of contributions to mathematics, almost half after he was totally blind.

(When this portrait was made he had already lost most of the sight in his right eye.)

Greg Kelly, Hanford High School, Richland, Washington

Leonhard Euler 1707 - 1783

It was Euler who originated the following notations:

e (base of natural log)

f x (function notation)

(pi)

i 1

(summation)

y (finite change)

There are many differential equations that can not be solved.We can still find an approximate solution.

We will practice with an easy one that can be solved.

2dy xdx

Initial Value: (0, 1)

But first… Suppose we couldn’t solve this conventionally…

Remember how it all started?dx

xfdxxfxfdx

)()(lim)(0

Suppose we took the limit out. How would that change this? dx

xfdxxfxf )()()(

Now let’s do a little algebra

)()()( xfdxxfdxxf

for very small dx values.

dxxfxfdxxf )()()(

Which brings us to…

Euler’s Method of

Approximations

dxxfxfdxxf )()()(

So if we know )(xf , we have a value for ,dxand we have an initial value )(af

Then by Euler’s Method:

dxafafdxaf )()()(

BUT WHAT DOES IT ALL MEAN!?

There are many differential equations that can not be solved.We can still find an approximate solution.

We will practice with an easy one that can be solved.

2dy xdx

Initial Value: (0, 1)

But first… Suppose we couldn’t solve this conventionally…

2dy xdx

0.5dx

dxafafdxaf )()()(

5.0)0()0()5.00( fff

1)0( f

5.0)0()0()5.0( fff

1)5.0( fSo we have an approximate coordinate (0.5, 1)How could we use this to approximate ?)1(f

5.0)1(1)1( f

2dy xdx

0.5dx

dxafafdxaf )()()(

5.0)5.0()5.0()5.05.0( fff

1)0( f

5.0)5.0()5.0()1( fff

1)5.0(2)5.0( f

?)5.1( f

?)2( f

5.2

4

5.1)1( f

2dy xdx

0.5dx 1)0( f

So how would this compare to the real solution?

12 xy

How could we make the approximation better?

1.0dx

Answer: A smaller dx value

Try that in the Euler program on your calculator.

Again, the real use of Euler’s Method is for differential equations that we can’t immediately solve.

yxy

Like, say, this one:

2)1( y

2.0dx

Approximate y(2)

dxafafdxaf )()()(

Remember:

x yy1 231.2 3.8 2.61.4 3.36

1.6 4.312

4.76

1.8 7.29 5.4942 8.95 6.953

5.91

yx'y

The actual solution to this is:

yxy

Like, say, this one:

2)1( y

2.0dx

Approximate y(2)

dxafafdxaf )()()(

Remember:

x yy1 231.2 3.8 2.61.4 3.36

1.6 4.312

4.76

1.8 7.29 5.4942 8.95 6.953

5.91

yx'y 14 1 xey x Don’t worry

about how?

Use this solution to test your approximation on your calculator

The book refers to an “Improved Euler’s Method”. We will not be using it, and you do not need to know it.

The calculator also contains a similar but more complicated (and more accurate) formula called the Runge-Kutta method.

You don’t need to know anything about it other than the fact that it is used more often in real life.

This is the RK solution method on your calculator.

top related