higher-order derivatives and power series

15
Higher-order derivatives and power series 1 ACME General Store Sales receipt Item A $10.789 2 Item B $2.4934 Item C $3.4435 Total $16.726 1 ( ) = 0 + 1 ( βˆ’ ) + 2 ( βˆ’ ) 2 + 3 ( βˆ’ ) 3 + β‹―

Upload: rafael

Post on 25-Feb-2016

69 views

Category:

Documents


3 download

DESCRIPTION

Higher-order derivatives and power series. ACME General Store Sales receipt. Higher-order derivatives and power series. 2 nd derivative and curvature. Power series. 1. 1/2. Power series for sine and cosine. Approximation of p. 2 nd derivative and curvature. upward slant. horizontal. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Higher-order derivatives and power series

Higher-order derivatives and power series

1

ACME General StoreSales receipt

Item A $10.7892

Item B $2.4934

Item C $3.4435

Total $16.7261

𝑓 (π‘₯ )=π‘Ž0+π‘Ž1 (π‘₯βˆ’ π‘₯𝐸 )+π‘Ž2 (π‘₯βˆ’ π‘₯𝐸 )2+π‘Ž3 (π‘₯βˆ’π‘₯𝐸 )3+β‹―

Page 2: Higher-order derivatives and power series

2nd derivative and curvature Power series

Power series for sine and cosine

sin (πœƒ )=πœƒβˆ’ πœƒ3

3 !+πœƒ55 !βˆ’ πœƒ

7

7 !+β‹―

cos (πœƒ )=1βˆ’ πœƒ2

2 !+πœƒ44 !βˆ’ πœƒ

6

6 !+β‹―

Approximation of p

√32

1/21

πœ‹6

πœ‹ β‰… 3+ πœ‹ 3

216βˆ’ πœ‹ 5

155520

2

Higher-order derivatives and power series

Page 3: Higher-order derivatives and power series

2nd derivative and curvature

3

𝑓 (π‘₯ )

π‘₯0

𝑑 𝑓 /𝑑π‘₯

π‘₯00

𝑑2 𝑓 /𝑑π‘₯2

π‘₯0

𝑑2 𝑓𝑑 π‘₯2

≔𝑑 (𝑑 𝑓𝑑 π‘₯ )𝑑π‘₯

downward slantupward slant

negative slope

positive slope

horizontal

zero slopeincreasing slope

positive second derivative

Page 4: Higher-order derivatives and power series

4

Power series

Power series for sine and cosine Approximation of p

2nd derivative and curvature

sin (πœƒ )β‰… πœƒβˆ’ πœƒ3

3 !+πœƒ55 !βˆ’ πœƒ

7

7 !+β‹―

cos (πœƒ )β‰… 1βˆ’ πœƒ2

2 !+πœƒ44 !βˆ’ πœƒ

6

6 !+β‹― √3

2

1/21

πœ‹6

πœ‹ β‰… 3+ πœ‹ 3

216βˆ’ πœ‹ 5

155520

Higher-order derivatives and power series

Page 5: Higher-order derivatives and power series

𝑓 (π‘₯ )=π‘Ž0+π‘Ž1 (π‘₯βˆ’ π‘₯𝐸 )+π‘Ž2 (π‘₯βˆ’ π‘₯𝐸 )2+π‘Ž3 (π‘₯βˆ’π‘₯𝐸 )3+β‹―

𝑓 (π‘₯ )

π‘₯0

5

π‘₯𝐸

𝑓 (π‘₯𝐸 )=π‘Ž0+π‘Ž1 (π‘₯πΈβˆ’π‘₯𝐸 )+π‘Ž2 (π‘₯πΈβˆ’π‘₯𝐸 )2+β‹―

𝑑 𝑓𝑑 π‘₯ |π‘₯=π‘Ž1+2π‘Ž2 (π‘₯βˆ’ π‘₯𝐸 )+3π‘Ž3 (π‘₯βˆ’π‘₯𝐸 )2+β‹―π‘₯𝐸π‘₯𝐸

𝑑 𝑓𝑑 π‘₯ |π‘₯=π‘Ž1+2π‘Ž2 (π‘₯βˆ’ π‘₯𝐸 )+3π‘Ž3 (π‘₯βˆ’π‘₯𝐸 )2+β‹―

π‘₯𝐸

𝑑2 𝑓𝑑 π‘₯2|π‘₯=2π‘Ž2+3 βˆ™2π‘Ž3 (π‘₯βˆ’π‘₯𝐸 )+β‹―π‘₯𝐸

π‘₯𝐸

𝑑2 𝑓𝑑 π‘₯2|π‘₯=2π‘Ž2+3 βˆ™2π‘Ž3 (π‘₯βˆ’π‘₯𝐸 )+β‹―

𝑑3 𝑓𝑑 π‘₯3|π‘₯=3 βˆ™2π‘Ž3+ powersof (π‘₯βˆ’ π‘₯𝐸 )β‹―π‘₯𝐸

π‘₯𝐸

π‘‘π‘˜ 𝑓𝑑 π‘₯π‘˜|

π‘₯𝐸

=π‘˜!π‘Žπ‘˜

β‰…

Constructing power series representations

Page 6: Higher-order derivatives and power series

𝑓 (π‘₯ )

π‘₯0

Constructing power series representations

6

𝑓 (π‘₯ )=π‘Ž0+π‘Ž1 (π‘₯βˆ’ π‘₯𝐸 )+π‘Ž2 (π‘₯βˆ’ π‘₯𝐸 )2+π‘Ž3 (π‘₯βˆ’π‘₯𝐸 )3+β‹―

π‘₯𝐸

𝑓 (π‘₯ )=𝑓 (π‘₯𝐸 )0 !

+ 11 !

𝑑 𝑓𝑑 π‘₯|

π‘₯𝐸

(π‘₯βˆ’π‘₯𝐸 )

+12 !

𝑑2 𝑓𝑑 π‘₯2|π‘₯𝐸

(π‘₯βˆ’ π‘₯𝐸 )2

+13 !

𝑑3 𝑓𝑑 π‘₯3|π‘₯𝐸

(π‘₯βˆ’π‘₯𝐸 )3+β‹―

𝑓 (π‘₯ )=βˆ‘π‘˜=0

∞ 1π‘˜!

π‘‘π‘˜ 𝑓𝑑 π‘₯π‘˜|

π‘₯𝐸

(π‘₯βˆ’π‘₯𝐸 )π‘˜Subtract

Multiply coefficient and powers of binomial

Add terms

1π‘˜!

π‘‘π‘˜ 𝑓𝑑 π‘₯π‘˜|

π‘₯ 𝐸

=π‘˜!π‘Žπ‘˜

Page 7: Higher-order derivatives and power series

𝑓 (π‘₯ )

π‘₯0

Construction of accurate power series representation can fail

7

π‘₯𝐸

𝑓 (π‘₯ )=βˆ‘π‘˜=0

∞ 1π‘˜!

π‘‘π‘˜ 𝑓𝑑 π‘₯π‘˜|

π‘₯𝐸

(π‘₯βˆ’π‘₯𝐸 )π‘˜

𝑓 (π‘₯ )

π‘₯0 π‘₯𝐸

𝑓 (π‘₯ )

π‘₯0 π‘₯𝐸

Too jagged

Too straight

Page 8: Higher-order derivatives and power series

Higher-order derivatives and power series

8

Power series2nd derivative and curvature

Power series for sine and cosine

sin (πœƒ )=πœƒβˆ’ πœƒ3

3 !+πœƒ55 !βˆ’ πœƒ

7

7 !+β‹―

cos (πœƒ )=1βˆ’ πœƒ2

2 !+πœƒ44 !βˆ’ πœƒ

6

6 !+β‹―

Approximation of p

√32

1/21

πœ‹6

πœ‹ β‰… 3+ πœ‹ 3

216βˆ’ πœ‹ 5

155520

Page 9: Higher-order derivatives and power series

2πœ‹πœƒ0

-1

1

πœ‹πœ‹4

πœ‹2

3πœ‹2

12

βˆ’1 /2

√2/2√3 /2

βˆ’βˆš3 /2βˆ’βˆš2 /2

3πœ‹4

5πœ‹4

7πœ‹4

πœ‹6

πœ‹3

sin (πœƒ )

Qualitative expectations for power series for sine

9

𝑓 (π‘₯ )=βˆ‘π‘˜=0

∞ 1π‘˜!

π‘‘π‘˜ 𝑓𝑑 π‘₯π‘˜|

π‘₯𝐸

(π‘₯βˆ’π‘₯𝐸 )π‘˜π‘“ (πœƒ )=sin (πœƒ )Expand around qE = 0

sin (πœƒ )β‰… stuff πœƒβˆ’other stuff farther away

Page 10: Higher-order derivatives and power series

k Expression Value at qE = 0 k!

0 0 0! 0

1 1 1!

2 0 2! 0

3 -1 3!

4 0 4! 0

10

𝑓 (π‘₯ )=βˆ‘π‘˜=0

∞ 1π‘˜!

π‘‘π‘˜ 𝑓𝑑 π‘₯π‘˜|

π‘₯𝐸

(π‘₯βˆ’π‘₯𝐸 )π‘˜π‘“ (πœƒ )=sin (πœƒ )Expand around qE = 0

1

Power series for sine

Page 11: Higher-order derivatives and power series

k Expression Value at qE = 0 k!

0 0 0! 0

1 1 1!

2 0 2! 0

3 -1 3!

4 0 4! 0

Power series for sine

11

𝑓 (π‘₯ )=βˆ‘π‘˜=0

∞ 1π‘˜!

π‘‘π‘˜ 𝑓𝑑 π‘₯π‘˜|

π‘₯𝐸

(π‘₯βˆ’π‘₯𝐸 )π‘˜π‘“ (πœƒ )=sin (πœƒ )Expand around qE = 0

𝑓 (πœƒ )=sin (πœƒ )=πœƒβˆ’ πœƒ3

3 !+πœƒ55 !βˆ’ πœƒ

7

7 !+β‹―

Page 12: Higher-order derivatives and power series

12

2πœ‹πœƒ

0

-1

1

πœ‹πœ‹4

πœ‹2

3πœ‹2

12

βˆ’1 /2

√2/2√3 /2

βˆ’βˆš3 /2βˆ’βˆš2 /2

3πœ‹4

5πœ‹4

7πœ‹4

πœ‹6

πœ‹3

2πœ‹35πœ‹6

7πœ‹6

4πœ‹3

5πœ‹311πœ‹6

sin (πœƒ )

cos (πœƒ )

𝑓 (πœƒ )=sin (πœƒ )=πœƒβˆ’ πœƒ3

3 !+πœƒ55 !βˆ’ πœƒ

7

7 !+β‹―

cos (πœƒ )=1βˆ’ πœƒ2

2 !+πœƒ44 !βˆ’ πœƒ

6

6 !+β‹―

Power series for sine is as expected

sin (πœƒ )β‰… stuff πœƒβˆ’other stuff farther away

Page 13: Higher-order derivatives and power series

Higher-order derivatives and power series

13

Power series for sine and cosine

2nd derivative and curvature Power series

sin (πœƒ )=πœƒβˆ’ πœƒ3

3 !+πœƒ55 !βˆ’ πœƒ

7

7 !+β‹―

cos (πœƒ )=1βˆ’ πœƒ2

2 !+πœƒ44 !βˆ’ πœƒ

6

6 !+β‹―

Approximation of p

√32

1/21

πœ‹6

πœ‹ β‰… 3+ πœ‹ 3

216βˆ’ πœ‹ 5

155520

Page 14: Higher-order derivatives and power series

14

sin (πœƒ )=πœƒβˆ’ πœƒ3

3 !+πœƒ55 !βˆ’ πœƒ

7

7 !+β‹―

Using a power series and iteration to approximate p

√32

1/21

πœ‹6

sin (πœ‹6 )=(πœ‹6 )βˆ’ (πœ‹6 )3

3 !+( πœ‹6 )

5

5 !βˆ’β‹―

12=( πœ‹6 )βˆ’ ( πœ‹6 )

3

3 !+( πœ‹6 )

5

5 !βˆ’β‹―

πœ‹ β‰… 3+ πœ‹ 3

216βˆ’ πœ‹ 5

155520

Guess for p RHS calculation Output

3.0000 3.1234

3.1234 3.1392

3.1392 3.1413

3.1413 3.1415

3.1415 3.1416 (stable)

Page 15: Higher-order derivatives and power series

Approximation of p

2nd derivative and curvature Power series

Power series for sine and cosine

sin (πœƒ )=πœƒβˆ’ πœƒ3

3 !+πœƒ55 !βˆ’ πœƒ

7

7 !+β‹―

cos (πœƒ )=1βˆ’ πœƒ2

2 !+πœƒ44 !βˆ’ πœƒ

6

6 !+β‹― √3

2

1/21

πœ‹6

πœ‹ β‰… 3+ πœ‹ 3

216βˆ’ πœ‹ 5

155520

15

ACME General StoreSales receipt

Item A $10.7892

Item B $2.4934

Item C $3.4435

Total $16.7261

Higher-order derivatives and power series