Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created...

22
EULER’S METHOD Section 6.1A Calculus BC AP/Dual, Revised Β©2018 [email protected] 8/7/2018 12:51 AM Β§6.1A: Euler's Method 1

Transcript of Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created...

Page 1: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

EULER’S METHOD

Section 6.1A

Calculus BC AP/Dual, Revised Β©2018

[email protected]

8/7/2018 12:51 AM Β§6.1A: Euler's Method 1

Page 2: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

ABOUT EULER

A. Leonhard Euler1. Pronounced as β€œOiler”

2. Made a huge number of contributions to mathematics, almost half after he was totally blind.

3. Lived from 1707-83

4. Created such notations such asA. Function Notation, 𝒇(𝒙)

B. Base of Natural Log, e

C. Pi, 𝝅

D. Imaginary Number, i

E. Summation Notation, 𝚺

8/7/2018 12:51 AM Β§6.1A: Euler's Method 2

Page 3: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

CONSTRUCTING EULER’S METHOD

A. Euler’s Method for Graphing a Solution to an Initial Value Problem or to approximate solutions of differential equations

B. Apply the equation, 𝒀𝒏 = π’€πŸ +π’Ž 𝒙 βˆ’ π’™πŸ or written as:

𝒀 = π’€πŸ +π’…π’š

𝒅𝒙Δ𝒙

1. 𝒀𝒏 = New 𝒀-Coordinate

2. π’€πŸ = Previous/Initial 𝒀-Coordinate

3. π‘ΏπŸ = Previous/Initial 𝑿-Coordinate

4. π’Ž = Step Change

8/7/2018 12:51 AM Β§6.1A: Euler's Method 3

Page 4: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

PROCESS

8/7/2018 12:51 AM Β§6.1A: Euler's Method 4

,x y

,x x y y

x

y

dyx y

dx β€’

slope

dy y

dx x

Page 5: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

1 1y y m x x

THE EQUATION

8/7/2018 12:51 AM Β§6.1A: Euler's Method 5

dy

dxx 1

dyy y x

dx

Page 6: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

STEPS

A. Find the slope π’…π’š

𝒅𝒙at the initial point.

B. Plug in the point given into the equation

C. Establish the new equation

D. Use the old 𝒙 coordinate to determine the NEW slope and repeat the process until the desired point is established.

E. To construct the graph to the left from the initial point, repeat the process using negative values for πš«π’™.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 6

Page 7: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

EXAMPLE 1

Use Euler’s Method to approximate the particular solution of the

differential equation π’šβ€² =𝒙

𝟐passing through the point 𝒇 𝟎 = 𝟏,

using a step size of Δ𝒙 = 𝟏, and approximate π’š πŸ‘ using πŸ‘ steps.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 7

𝒙 π’š π’…π’š

π’…π’™βˆ†π’™

𝟎

final y initial ytotal steps

x

2

2

2

03

1

0 3

3

y

y

y

𝟎 πŸπ’…π’š

𝒅𝒙=𝟎

πŸβ†’ 𝟎 𝟏 = 𝟎

𝟏0

02 2

dy x

dx

Page 8: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

EXAMPLE 1

Use Euler’s Method to approximate the particular solution of the

differential equation π’šβ€² =𝒙

𝟐passing through the point 𝒇 𝟎 = 𝟏,

using a step size of Δ𝒙 = 𝟏, and approximate π’š πŸ‘ using πŸ‘ steps.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 8

𝒙 π’š π’…π’š

π’…π’™βˆ†π’™

𝟎 𝟏𝟎

πŸβ†’ 𝟎 πŸ‘ = 𝟎

𝟏

'2

xy 0 1f 1x

1

dyy y x

dx

1 0 1y

1 0y 1 1y 1,1

2

dy x

dx

00

2

𝟎 πŸπ’…π’š

𝒅𝒙=𝟎

πŸβ†’ 𝟎 𝟏 = 𝟎

𝟏 𝟏

𝟐

Page 9: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

EXAMPLE 1

Use Euler’s Method to approximate the particular solution of the

differential equation π’šβ€² =𝒙

𝟐passing through the point 𝒇 𝟎 = 𝟏,

using a step size of Δ𝒙 = 𝟏, and approximate π’š πŸ‘ using πŸ‘ steps.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 9

0

1

2

3

4

5

1 2 3

𝒙 π’š π’…π’š

π’…π’™βˆ†π’™

𝟎 𝟏 𝟎

𝟏 𝟏

𝟐

Page 10: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

EXAMPLE 1

Use Euler’s Method to approximate the particular solution of the

differential equation π’šβ€² =𝒙

𝟐passing through the point 𝒇 𝟎 = 𝟏,

using a step size of Δ𝒙 = 𝟏, and approximate π’š πŸ‘ using πŸ‘ steps.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 10

1 1

2 2 2

dy x

dx

𝒙 π’š π’…π’š

π’…π’™βˆ†π’™

𝟎 𝟏 𝟎

𝟏 𝟏

𝟎 𝟏 𝟎

𝟏 πŸπ’…π’š

𝒅𝒙=𝟏

πŸβ†’πŸ

𝟐𝟏 =

𝟏

𝟐

𝟐

Step Size 1

Page 11: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

EXAMPLE 1

Use Euler’s Method to approximate the particular solution of the

differential equation π’šβ€² =𝒙

𝟐passing through the point 𝒇 𝟎 = 𝟏,

using a step size of Δ𝒙 = 𝟏, and approximate π’š πŸ‘ using πŸ‘ steps.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 11

𝒙 π’š π’…π’š

π’…π’™βˆ†π’™

𝟎 𝟏 𝟎

𝟏 πŸπ’…π’š

𝒅𝒙=𝟏

πŸβ†’πŸ

𝟐𝟏 =

𝟏

𝟐

𝟐

'2

xy 0 1f 1x

2

dy x

dx

00

2

1

dyy y x

dx

1

1 12

y

11

2y

3

2y

32,

2

𝟎 𝟏 𝟎

𝟏 𝟏𝟏

𝟐

πŸπŸ‘

𝟐

πŸ‘

Page 12: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

EXAMPLE 1

Use Euler’s Method to approximate the particular solution of the

differential equation π’šβ€² =𝒙

𝟐passing through the point 𝒇 𝟎 = 𝟏,

using a step size of Δ𝒙 = 𝟏, and approximate π’š πŸ‘ using πŸ‘ steps.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 12

0

1

2

3

4

5

1 2 3

𝒙 π’š π’…π’š

π’…π’™βˆ†π’™

𝟎 𝟏 𝟎

𝟏 𝟏𝟏

𝟐

πŸπŸ‘

𝟐

πŸ‘

Page 13: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

EXAMPLE 1

Use Euler’s Method to approximate the particular solution of the

differential equation π’šβ€² =𝒙

𝟐passing through the point 𝒇 𝟎 = 𝟏,

using a step size of Δ𝒙 = 𝟏, and approximate π’š πŸ‘ using πŸ‘ steps.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 13

𝒙 π’š π’…π’š

π’…π’™βˆ†π’™

𝟎 𝟏 𝟎

𝟏 𝟏𝟏

𝟐

πŸπŸ‘

𝟐

πŸ‘

𝟎 𝟏 𝟎

𝟏 𝟏𝟏

𝟐

πŸπŸ‘

𝟐

π’…π’š

𝒅𝒙=𝟐

πŸβ†’ 𝟏 𝟏 = 𝟏

πŸ‘

3

1 12

y

31

2y

53,

2

5

32

y

'2

xy 0 1f 1x

2

dy x

dx

21

2

1

dyy y x

dx 𝟎 𝟏 𝟎

𝟏 𝟏𝟏

𝟐

πŸπŸ‘

𝟐 𝟏

πŸ‘πŸ“

𝟐

Page 14: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

x

y

0

1

2

3

4

5

1 2 3

EXAMPLE 1

Use Euler’s Method to approximate the particular solution of the

differential equation π’šβ€² =𝒙

𝟐passing through the point 𝒇 𝟎 = 𝟏,

using a step size of Δ𝒙 = 𝟏, and approximate π’š πŸ‘ using πŸ‘ steps.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 14

5

32

y 𝒙 π’š π’…π’š

π’…π’™βˆ†π’™

𝟎 𝟏 πŸ‘πŸŽ

𝟐= 𝟎

𝟏 𝟏 πŸ‘πŸ

𝟐

πŸπŸ‘

𝟐 πŸ‘ 𝟏

πŸ‘

𝟎 𝟏 𝟎

𝟏 𝟏𝟏

𝟐

πŸπŸ‘

𝟐 𝟏

πŸ‘πŸ“

𝟐

Page 15: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

YOUR TURN

Use Euler’s Method to approximate the particular solution of the differential equation π’šβ€² = πŸπ’™ passing through the point 𝒇 𝟎 =𝟏 and using a step size of Δ𝒙 = 𝟎. πŸ“, and approximate π’š 𝟐 using 4 steps.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 15

2 4y

Page 16: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

0

1

2

3

4

5

1 2 3

YOUR TURN

8/7/2018 12:51 AM Β§6.1A: Euler's Method 16

2 4y

Use Euler’s Method to approximate the particular solution of the differential equation π’šβ€² = πŸπ’™ passing through the point 𝒇 𝟎 =𝟏 and using a step size of Δ𝒙 = 𝟎. πŸ“, and approximate π’š 𝟐 using 4 steps.

Page 17: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

EXAMPLE 2

Use Euler’s Method to approximate the particular solution of the differential equation π’šβ€² = 𝟎. πŸ“π’™ (πŸ‘ βˆ’ π’š) passing through the point 𝒇 𝟎 = 𝟏 and using a step size of πš«π’™ = 𝟎. πŸ’ through πŸ“ subintervals. Fill out the table and solve for 𝒇 πŸ“ .

8/7/2018 12:51 AM Β§6.1A: Euler's Method 17

𝒏 𝟎 𝟏 𝟐 πŸ‘ πŸ’ πŸ“

𝒙𝒏 𝟎

π’šπ’ 𝟏

𝒏 𝟎 𝟏 𝟐 πŸ‘ πŸ’ πŸ“

𝒙𝒏 𝟎 𝟎. πŸ’ 𝟎. πŸ– 𝟏. 𝟐 𝟏. πŸ” 𝟐. 𝟎

π’šπ’ 𝟏 𝟏 𝟏. πŸπŸ” 𝟏. πŸ’πŸ“πŸ’ 𝟏. πŸ–πŸπŸ“ 𝟐. 𝟐𝟎𝟏

5 2.201y

Page 18: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

YOUR TURN

Use Euler’s Method to approximate the particular solution of the differential equation π’šβ€² = 𝒙 βˆ’ π’š passing through the point 𝒇 𝟎 = 𝟏and using a step size of πš«π’™ = 𝟎. 𝟏 through πŸ– subintervals and solve for 𝒇 πŸ– .

8/7/2018 12:51 AM Β§6.1A: Euler's Method 18

𝒏 𝟎 𝟏 𝟐 πŸ‘ πŸ’ πŸ“ πŸ” πŸ• πŸ–

𝒙𝒏

π’šπ’

𝒏 𝟎 𝟏 𝟐 πŸ‘ πŸ’ πŸ“ πŸ” πŸ• πŸ–

𝒙𝒏 𝟎 𝟎. 𝟏 𝟎. 𝟐 𝟎. πŸ‘ 𝟎. πŸ’ 𝟎. πŸ“ 𝟎. πŸ” 𝟎. πŸ• 𝟎. πŸ–

π’šπ’ 𝟏 . πŸ— . πŸ–πŸ . πŸ•πŸ“πŸ– . πŸ•πŸπŸ . πŸ”πŸ–πŸŽπŸ– . πŸ”πŸ”πŸπŸ•πŸ . πŸ”πŸ“πŸ”πŸ’πŸ’ . πŸ”πŸ”πŸπŸ•πŸ

8 0.6627f

Page 19: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

AP MULTIPLE CHOICE PRACTICE QUESTION 1 (NON-CALCULATOR)

The function 𝒇 is twice differentiable for 𝒙 > 𝟎 with 𝒇 𝟏 = πŸπŸ“ and 𝒇′′ 𝟏 = 𝟐𝟎. Values of 𝒇′, the derivative of 𝒇, are given for selected values of 𝒙 in the table above.

(a) Write an equation for the line tangent to the graph of 𝒇 at 𝒙 = 𝟏. Use this line to approximate 𝒇 𝟏. πŸ’ .

(b) Use Euler’s method, starting at 𝒙 = 𝟏 with two steps of equal size, to approximate 𝒇 𝟏. πŸ’ . Show the computations that lead to your answer.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 19

Page 20: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

AP MULTIPLE CHOICE PRACTICE QUESTION 1 (NON-CALCULATOR)

The function 𝒇 is twice differentiable for 𝒙 > 𝟎 with 𝒇 𝟏 = πŸπŸ“ and 𝒇′′ 𝟏 = 𝟐𝟎. Values of 𝒇′, the derivative of 𝒇, are given for selected values of 𝒙 in the table above.

(a) Write an equation for the line tangent to the graph of 𝒇 at 𝒙 = 𝟏. Use this line to approximate 𝒇 𝟏. πŸ’ .

8/7/2018 12:51 AM Β§6.1A: Euler's Method 20

: 1 15, ' 1 8Given f f

1 1y y m x x

15 8 1y x

15 8 1.4 1y

15 8 0.4y

1.4 18.2f

Page 21: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

AP MULTIPLE CHOICE PRACTICE QUESTION 1 (NON-CALCULATOR)

The function 𝒇 is twice differentiable for 𝒙 > 𝟎 with 𝒇 𝟏 = πŸπŸ“ and 𝒇′′ 𝟏 = 𝟐𝟎. Values of 𝒇′, the derivative of 𝒇, are given for selected values of 𝒙 in the table above.

(b) Use Euler’s method, starting at 𝒙 = 𝟏 with two steps of equal size, to approximate 𝒇 𝟏. πŸ’ . Show the computations that lead to your answer.

8/7/2018 12:51 AM Β§6.1A: Euler's Method 21

1

dyy y x

dx 15 ' 1 1.2 1y f

15 8 1.2 1y

15 8 0.2y

1.2 16.6f

16.6 ' 1.2 1.4 1.2y f

16.6 12 1.4 1.2y

16.6 12 0.2y

1.4 19f

Page 22: Section 6.1A Calculus BC AP/Dual, Revised Β©2018 viet.dang ...Β Β· 3. Lived from 1707-83 4. Created such notations such as A. Function Notation, 𝒇( ) B. Base of Natural Log, e C.

ASSIGNMENT

Worksheet

8/7/2018 12:51 AM Β§6.1A: Euler's Method 22