all the world’s a polynomial chris harrow [email protected] [email protected]
TRANSCRIPT
![Page 2: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/2.jpg)
All the World’s a Polynomial
Historically, students struggle to understand the utility and origins of Taylor Series. This session makes use of local linearity and statistical regressions to explain tangent lines in a way that is useful to all AP Calculus students before extending the approach to create Taylor Series for AP Calculus BC. This introduction is understandable by both pre-calculus and calculus students. The session will conclude with a student project around a famous Euler problem and techniques for using series to connect circular and hyperbolic trigonometry.
![Page 3: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/3.jpg)
How can you compute ? e3
Perhaps a graph of near could help.
e3 =e1/3
y=ex x =13
![Page 4: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/4.jpg)
But isn’t linear ...So make it linear by zooming in (LOCAL LINEARITY), and pick some ordered pairs from the resulting “line”.
y=ex
![Page 5: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/5.jpg)
Compute a linear “equivalent” to .
But this equation is very close to .
So, near , , making .
y=ex
e3 ≈13+1
y=x+1
x =0 ex ≈x+1
![Page 6: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/6.jpg)
How close was the estimate?
and
So the percentage error is
e3 ≈1.395614
3≈1.33333
e3 −43
e3≈0.044625 ≈4.46%
![Page 7: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/7.jpg)
Analyzing error
Look at the residuals for . ex ≈x+1
![Page 8: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/8.jpg)
That looks quadratic!Compute an equation for the linear residuals and use that to enhance your approximation.
But this equation is very close to .
So, , making .
ylinresid =12
x2
ex − x+1( ) ≈12
x2 ex ≈12
x2 + x+1
![Page 9: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/9.jpg)
Improving the estimate
e3 ≈12
13
⎛⎝⎜
⎞⎠⎟
2
+13+1=
2518
≈1.38889
And the percentage error is
e3 −2518
e3≈0.0048176 ≈0.48%
![Page 10: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/10.jpg)
Analyzing error again
Look at the residuals for . ex ≈12
x2 + x+1
![Page 11: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/11.jpg)
And that looks cubic!Compute an equation for the cubic residuals and use that to enhance your approximation.
And this equation is very close to .
So, , making .
yquadresid =16
x3
ex −12
x2 + x+1⎛⎝⎜
⎞⎠⎟≈
16
x3 ex ≈16
x3 +12
x2 + x+1
![Page 12: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/12.jpg)
A faster way.Compute a cubic regression on the original data. This gives the same result, but faster.
I prefer the build up rather than the “black box.”
![Page 13: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/13.jpg)
Quartic Regressionsex ≈
124
x4 +16
x3 +12
x2 + x+1
e3 ≈124
13
⎛⎝⎜
⎞⎠⎟
4
+16
13
⎛⎝⎜
⎞⎠⎟
3
+12
13
⎛⎝⎜
⎞⎠⎟
2
+13
⎛⎝⎜
⎞⎠⎟+1
≈27131944
≈1.395576
e3 −27131944e3
≈0.000036292 ≈0.0036%
![Page 14: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/14.jpg)
What about sine & cosine?
![Page 15: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/15.jpg)
![Page 16: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/16.jpg)
That’s suspicious
These regressions suggest
ex ≈124
x4 +16
x3 +12
x2 + x+1
sin x( ) ≈−16
x3 + x
cos x( ) ≈124
x4 −12
x2 +1
![Page 17: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/17.jpg)
Connections
If you can evaluate , then
eix =...+124
ix( )4 +16
ix( )3 +12
ix( )2 + ix( )+1
=...+124
x4 −i16
x3 −12
x2 + ix+1
= ...+124
x4 −12
x2 +1⎛⎝⎜
⎞⎠⎟+ i⋅ ...−
16
x3 + x⎛⎝⎜
⎞⎠⎟
=cos x( )+ i⋅sin x( )
e3
![Page 18: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/18.jpg)
Another Strange Result
![Page 19: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/19.jpg)
Euler
You have one series for sine:
sin x( ) =...+1
120x5 −
16
x3 + x
=x−x3
3!+
x5
5!−...
But what if you thought of sine as a polynomial via its factors? Then,
sin x( ) =Ax⋅ x−π( ) x+π( ) x−2π( ) x+2π( )...
![Page 20: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/20.jpg)
Euler 2
sin x( ) =Ax⋅ x−π( ) x+π( ) x−2π( ) x+2π( )...
=Aµx⋅ 1−xπ
⎛⎝⎜
⎞⎠⎟
1+xπ
⎛⎝⎜
⎞⎠⎟
1−x
2π⎛⎝⎜
⎞⎠⎟
1+x
2π⎛⎝⎜
⎞⎠⎟...
=Aµx⋅ 1−x2
π 2
⎛
⎝⎜⎞
⎠⎟1−
x2
2π( )2⎛
⎝⎜
⎞
⎠⎟...
But what if you thought of sine as a polynomial via its factors? Then,
![Page 21: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/21.jpg)
Euler 3
x−
x3
3!+
x5
5!−...=Aµx⋅ 1−
x2
π 2
⎛
⎝⎜⎞
⎠⎟1−
x2
2π( )2⎛
⎝⎜
⎞
⎠⎟...
Two polynomials representing the same curve must be equivalent, so
Comparing linear terms gives . Aµ=1
![Page 22: All the World’s a Polynomial Chris Harrow chrish@westminster.net chrish@westminster.net](https://reader035.vdocuments.net/reader035/viewer/2022062807/5697c00d1a28abf838cc959e/html5/thumbnails/22.jpg)
Euler 4
−x3
3!= −
x3
π 2−x3
2π( )2 −
x3
3π( )2 − ...
−x3
6= −
x3
π 21
12+1
22+1
32+ ...
⎛⎝⎜
⎞⎠⎟
π 2
6=1
12+1
22+1
32+ ...
Comparing cubic terms gives ...
QED