Calc BC 10.4 pt 1 Taylor Series x=0

advertisement
Section 10.4
Taylor Series – Part 1
Taylor’s brilliant idea improved on the idea of approximating
function values with points on the tangent line.
Instead, he created polynomials to approximate functions.
Whereas the tangent line only shares the function value and slope
with the function at the point of tangency, Taylor polynomials
share many more of the function’s traits.
A second degree Taylor polynomial has the same slope and second
derivative value as the function (at the point of tangency) and thus
the same concavity or shape as the function.
A third degree Taylor polynomial matches the first three
derivatives, a fourth degree the first four derivatives, and so on.
Each iteration produces a polynomial that better matches the
points on the original function…often on a much wider interval.
For certain functions (categorized as transcendental functions)
if the Taylor Polynomial is infinite, becoming a
Taylor Series, then the polynomial is actually
equivalent to the original function.
WOW!!!
In mathematics, a Taylor series is a representation of a
function as an infinite sum of polynomial terms
calculated from the values of the function's derivatives at
a single point.
The concept of a Taylor series was formally introduced by the English
mathematician Brook Taylor in 1715. If the Taylor series is centered at
zero, then that series is also called a Maclaurin series, named after
the Scottish mathematician Colin Maclaurin, who made extensive use
of this special case of Taylor series in the 18th century.
Colin Maclaurin (February 1698 – June 1746) was
a Scottish mathematician who made important
contributions to geometry and algebra. The
Maclaurin series, a special case of the Taylor
series centered about x = 0, are named after him.
Maclaurin was born in Kilmodan, Argyll. His father, Reverend
and Minister of Glendaruel John Maclaurin, died when Maclaurin was
in infancy, and his mother died before he reached nine years of age.
He was then educated under the care of his uncle, the Reverend
Daniel Maclaurin, minister of Kilfinnan.
At eleven, Maclaurin entered the University of Glasgow. He
graduated with an MA three years later by defending a thesis on the
Power of Gravity, and remain at Glasgow to study divinity until he was
19 in 1717. He was soon elected professor of mathematics in a tenday competition at the Marshall College in the University of
Aberdeen, where Dr. Archibald James Macintyre, father of Susan
Cantey (your teacher) taught later during the twentieth century.
Maclaurin held the record as the world's youngest professor until
March 2008, when the record was officially given to Alia Sabur.
In the vacations of 1719 and 1721, Maclaurin went to London,
where he became acquainted with Sir Isaac Newton, Dr. Hoadley, Dr.
Samuel Clarke, Martin Folkes, and other eminent philosophers. He
was soon admitted as a member of the Royal Society.
In 1722, having provided a substitute for his class at Aberdeen
(birth place and childhood home of Susan Cantey), he traveled on the
Continent as tutor to George Hume, the son of Alexander Hume, 2nd
Earl of Marchmont. During their time in Lorraine, he wrote his essay
on the Percussion of Bodies, which would gain the prize of the Royal
Academy of Sciences in 1724. Upon the death of his pupil at
Montpellier, Maclaurin returned to Aberdeen.
In 1725 Maclaurin was appointed deputy to the mathematical
professor at Edinburgh, James Gregory upon the recommendation of
Isaac Newton. On November 3 of that year Maclaurin took Gregory’s
place. Newton was so impressed with Maclaurin that he had offered
to pay his salary himself.
Taylor series were actually known before Newton and in special
cases by Madhava of Sangamagrama in fourteenth century India.
However, Maclaurin and Taylor still receive credit because of their
use of them. In particular, Maclaurin used these series to characterize
maxima, minima, and points of inflection for infinitely differentiable
functions.
Taylor series were actually known before Newton and in special
cases by Madhava of Sangamagrama in fourteenth century India.
However, Maclaurin and Taylor still receive credit because of their use
of them. In particular, Maclaurin used these series to characterize
maxima, minima, and points of inflection for infinitely differentiable
functions.
Maclaurin also made significant contributions to the gravitation
attraction of ellipsoids, a subject that furthermore attracted the
attention of d'Alembert, Clairaut, Euler, Laplace, Legendre, Poisson and
Gauss. The subject continues to be of scientific interest, and in 1983,
Nobel Laureate Subramanyan Chandrasekhar dedicated a chapter of
his book Ellipsoidal Figures of Equilibrium to Maclaurin spheroids.
In 1733, Maclaurin married Anne Stewart, the daughter of
Walter Stewart, the Solicitor General for Scotland, by whom he had
seven children.
Maclaurin actively opposed the Jacobite Rebellion of 1745
(the attempt by Charles Edward Stuart to regain the British throne for
the exiled House of Stuart) and superintended the operations
necessary for the defence of Edinburgh against the Highland army.
Upon entry into the city, however, he fled to York, where he was
invited to stay by the Archbishop of York. Later, during a journey
south of Edinburgh in 1746, Maclaurin fell from his horse, and the
fatigue, anxiety, and cold to which he was exposed on that occasion
laid the foundations of dropsy. He returned to Edinburgh after the
Jacobite army marched south, but died soon after his return that
same year.
Brook Taylor was born in Edmonton (at that time in Middlesex)
on August 18th 1685 to John Taylor of Kent, and Olivia Tempest,
daughter of Sir Nicholas Tempest, of Durham. Brook entered St John's
College, Cambridge as a fellow-commoner in 1701, and earned 2
degrees in 1709 and 1714, respectively. Having studied mathematics
under John Machin and John Keill, in 1708 he obtained a remarkable
solution to the problem of the "centre of oscillation," which, however,
remained unpublished until May 1714,
when his claim to priority was disputed
by Johann Bernoulli.
Taylor's Methodus Incrementorum Directa
et Inversa (1715) added a new branch to
higher mathematics, now designated the
"calculus of finite differences.”
Among other ingenious applications, he used it to determine
the form of movement of a vibrating string. The same work
contained the celebrated formula known as Taylor's theorem, the
importance of which remained unrecognized until 1772, when J. L.
Lagrange realized its powers and termed it "le principal fondement
du calcul différentiel" ("the main foundation of differential calculus").
In his 1715 essay Linear Perspective, Taylor set forth the
true principles of the art in an original and more general form than
any of his predecessors; but the work suffered from brevity and
obscurity, traits which affected most of his writings.
Taylor was elected a fellow of the Royal Society early in
1712, and in the same year sat on the committee for adjudicating
the claims of Sir Isaac Newton and Gottfried Leibniz. From 1715 on,
his studies took a philosophical and religious bent. He
corresponded, in that year, with the Comte de Montmort on the
subject of Nicolas Malebranche's tenets; and unfinished treatises,
On the Jewish Sacrifices and On the Lawfulness of Eating Blood,
written in 1719, were afterwards found among his papers.
His marriage in 1721 with Miss Brydges of Wallington, Surrey,
led to an estrangement from his father, which ended in 1723 after her
death in giving birth to a son, who also died. The next two years were
spent by him with his family at Bifrons, and in 1725 he married, this
time with his father's approval, Sabetta Sawbridge, who also died in
childbirth in 1730. In this case, however, his daughter, Elizabeth,
survived.
By the date of his father's death in 1729, he had inherited the
Bifrons estate. As a mathematician, he was the only Englishman after
Sir Isaac Newton and Roger Cotes capable of holding his own with the
Bernoulli's, but a great part of the effect of his work was lost due to
his failure to express his ideas fully and clearly.
Taylor's fragile health soon gave way and he fell into a decline
from which he died when he was 46 years old. He was buried in
London on 2 December 1731, near his first wife, in the churchyard of
St Anne's in Soho.
Let’s revisit ๐‘“ ๐‘ฅ = ๐‘’ ๐‘ฅ , exploring its Taylor polynomials.
We will use 0, 1 as the point of tangency.
This is known as “building” the polynomials about ๐‘ฅ = 0.
๐‘0 ๐‘ฅ = ๐‘“ 0 = ๐‘’ 0 = 1
๐‘1 ๐‘ฅ = tangent line = ๐‘ฅ + 1
Note: ๐‘1 0 = ๐‘“ 0 = 1 ๐‘Ž๐‘›๐‘‘ ๐‘1′ (0) = ๐‘“ ′ 0 = 1
We need ๐‘2 ๐‘ฅ = ๐‘Ž๐‘ฅ 2 + ๐‘๐‘ฅ + ๐‘ such that
๐‘2 0 = ๐‘“ 0 = 1, ๐‘2 ′ 0 = ๐‘“′ 0 = 1, ๐‘2 ′′ 0 = ๐‘“′′ 0 = 1
๐‘2 0 = 1 = ๐‘
๐‘2′ ๐‘ฅ = 2๐‘Ž๐‘ฅ + ๐‘ → ๐‘2′ 0 = 1 = ๐‘
1
′′
′′
๐‘2 ๐‘ฅ = 2๐‘Ž → ๐‘2 0 = 1 → ๐‘Ž =
2
Hence: ๐‘2 ๐‘ฅ =
1 2
๐‘ฅ
2
+๐‘ฅ+1
We need ๐‘3 ๐‘ฅ = ๐‘Ž๐‘ฅ 3 + ๐‘๐‘ฅ 2 + ๐‘๐‘ฅ + ๐‘‘ such that
๐‘2 0 = ๐‘2 ′ 0 = ๐‘2 ′′ 0 = ๐‘2 ′′′ 0 = 1
๐‘3 0 = ๐‘‘ = 1
๐‘3′ (๐‘ฅ) = 3๐‘Ž๐‘ฅ 2 + 2๐‘๐‘ฅ + ๐‘ → ๐‘3′ 0 = ๐‘ = 1
1
1
′′
′′
๐‘3 ๐‘ฅ = 3 โˆ™ 2๐‘Ž๐‘ฅ + 2๐‘ → ๐‘3 0 = 2๐‘ → ๐‘ = =
2
2!
1
′′′
′′′
๐‘3 ๐‘ฅ = 3 โˆ™ 2๐‘Ž → ๐‘3 0 = 3 โˆ™ 2๐‘Ž = 1 → ๐‘Ž =
3!
1 3 1 2
๐‘3 ๐‘ฅ =
๐‘ฅ + ๐‘ฅ +๐‘ฅ+1
3!
2!
๐‘3 ๐‘ฅ can be rewritten as follows:
๐‘ฅ 3 ๐‘ฅ 2 ๐‘ฅ1 ๐‘ฅ 0
๐‘3 ๐‘ฅ =
+ + +
3! 2! 1! 0!
…which makes the pattern clear.
0
1
2
3
๐‘›
๐‘ฅ
๐‘ฅ
๐‘ฅ
๐‘ฅ
๐‘ฅ
๐‘“ ๐‘ฅ = ๐‘’ ๐‘ฅ ≈ ๐‘๐‘› ๐‘ฅ =
+ + + + โ‹ฏ+
0! 1! 2! 3!
๐‘›!
Let ๐‘“ ๐‘ฅ be any function with n defined derivatives.
๐‘๐‘› ๐‘ฅ = ๐‘Ž0 + ๐‘Ž1 ๐‘ฅ + ๐‘Ž2 ๐‘ฅ 2 + ๐‘Ž3 ๐‘ฅ 3 + ๐‘Ž4 ๐‘ฅ 4 + โ‹ฏ + ๐‘Ž๐‘› ๐‘ฅ ๐‘›
๐‘๐‘› 0 = ๐‘Ž0 = ๐‘“(0)
๐‘๐‘›′ (๐‘ฅ) = ๐‘Ž1 + 2๐‘Ž2 ๐‘ฅ + 3๐‘Ž3 ๐‘ฅ 2 + 4๐‘Ž4 ๐‘ฅ 3 + โ‹ฏ + ๐‘›๐‘Ž๐‘› ๐‘ฅ ๐‘›−1
๐‘๐‘›′ (0) = ๐‘Ž1 = ๐‘“′(0)
๐‘๐‘›′′ (๐‘ฅ) = 2๐‘Ž2 + 3 โˆ™ 2๐‘Ž3 ๐‘ฅ + 4 โˆ™ 3๐‘Ž4 ๐‘ฅ 2 + โ‹ฏ + ๐‘›(๐‘› − 1)๐‘Ž๐‘› ๐‘ฅ ๐‘›−2
′′ 0
๐‘“
๐‘๐‘›′′ (0) = 2๐‘Ž2 = ๐‘“ ′′ 0 → ๐‘Ž2 =
2
๐‘๐‘›′′′ (๐‘ฅ) = 3 โˆ™ 2 โˆ™ 1๐‘Ž3 + 4 โˆ™ 3 โˆ™ 2๐‘Ž4 ๐‘ฅ + โ‹ฏ + ๐‘›(๐‘› − 1)(๐‘› − 2)๐‘Ž๐‘› ๐‘ฅ ๐‘›−2
๐‘“′′′(0)
′′′
′′′
๐‘๐‘› 0 = 3 โˆ™ 2 โˆ™ 1๐‘Ž3 = ๐‘“ 0 → ๐‘Ž3 =
3!
′′ 0
′′′ 0
๐‘› 0
๐‘“
๐‘“
๐‘“
๐‘๐‘› ๐‘ฅ = ๐‘“ 0 + ๐‘“ ′ 0 ๐‘ฅ +
๐‘ฅ2 +
๐‘ฅ3 + โ‹ฏ +
๐‘ฅ๐‘›
2!
3!
๐‘›!
nth Taylor (Maclaurin) Polynomial
(for approximating ๐‘“ ๐‘ฅ about ๐‘ฅ = 0)
๐‘›
๐‘๐‘› ๐‘ฅ =
๐‘˜=0
๐‘“
๐‘˜
๐‘˜!
0
๐‘ฅ๐‘˜
′′
′′′
๐‘›
๐‘“
0
๐‘“
0
๐‘“
0 ๐‘›
′
2
3
=๐‘“ 0 +๐‘“ 0 ๐‘ฅ+
๐‘ฅ +
๐‘ฅ + โ‹ฏ+
๐‘ฅ
2!
3!
๐‘›!
I guess I’m
expected to know
this formula?
Ex: #3 (read directions)
๐‘“ ๐‘ฅ = ๐‘ ๐‘–๐‘›๐‘ฅ, ๐‘› = 4
We will need four derivatives all evaluated at ๐‘ฅ = 0.
๐‘“ ๐‘ฅ = ๐‘ ๐‘–๐‘›๐‘ฅ → ๐‘“ 0 = 0
๐‘“ ′ ๐‘ฅ = ๐‘๐‘œ๐‘ ๐‘ฅ → ๐‘“ ′ 0 = 1
๐‘“ ′′ ๐‘ฅ = −๐‘ ๐‘–๐‘›๐‘ฅ → ๐‘“ ′′ 0 = 0
๐‘“ ′′′ ๐‘ฅ = −๐‘๐‘œ๐‘ ๐‘ฅ → ๐‘“ ′′′ 0 = −1
๐‘“ 4 ๐‘ฅ = ๐‘ ๐‘–๐‘›๐‘ฅ → ๐‘“ 4 ๐‘ฅ = 0
′′
′′′
4
๐‘“
0
๐‘“
0
๐‘“
0 4
′
2
3
๐‘4 ๐‘ฅ = ๐‘“ 0 + ๐‘“ 0 ๐‘ฅ +
๐‘ฅ +
๐‘ฅ +
๐‘ฅ
2!
3!
4!
0 2 −1 3 0 4
= 0 + 1๐‘ฅ + ๐‘ฅ +
๐‘ฅ + ๐‘ฅ
2!
3!
4!
1 3
๐‘“ ๐‘ฅ = ๐‘ ๐‘–๐‘›๐‘ฅ ≈ ๐‘4 ๐‘ฅ = ๐‘ฅ − ๐‘ฅ
3!
In this case ๐‘4 ๐‘ฅ = ๐‘3 ๐‘ฅ , since all the
even numbered coefficients will be zero.
LaGrange Remainder Theorem
The difference between ๐‘“ ๐‘ฅ and ๐‘๐‘› (๐‘ฅ) is
๐‘“
๐‘›+1
(๐‘ง)
๐‘…๐‘› ๐‘ฅ =
๐‘ฅ−๐‘Ž
๐‘›+1 !
๐‘›+1
where ๐‘ง is some unknowable
number between ๐‘ฅ ๐‘Ž๐‘›๐‘‘ ๐‘Ž.
๐‘Ž is the ๐‘ฅ − ๐‘๐‘œ๐‘œ๐‘Ÿ๐‘‘๐‘–๐‘›๐‘Ž๐‘ก๐‘’ at the point of tangency.
In the remainder for our Taylor Series for ๐‘“ ๐‘ฅ = ๐‘ ๐‘–๐‘›๐‘ฅ,
๐‘Ž = 0 and since our ๐‘› = 4, ๐‘“ 5 ๐‘ง = ๐‘๐‘œ๐‘ ๐‘ง.
๐‘…4 ๐‘ฅ =
๐‘“
5
(๐‘ง)
๐‘ฅ−0
5 !
5
cos ๐‘ง 5
=
๐‘ฅ
5 !
Here’s the graph of
๐œ‹ ๐œ‹
2 2
Notice that on − ,
๐‘“ ๐‘ฅ = ๐‘ ๐‘–๐‘›๐‘ฅ & ๐‘4 ๐‘ฅ = ๐‘ฅ −
1 3
๐‘ฅ
3!
the calculator shows almost identical graphs.
1
๐‘“ ๐‘ฅ =
,
๐‘›=4
EX: #4
1−๐‘ฅ
1
๐‘“ ๐‘ฅ =
→๐‘“ 0 =1
1−๐‘ฅ
๐‘“ ′ ๐‘ฅ = −(1 − ๐‘ฅ)−2 −1 = (1 − ๐‘ฅ)−2 → ๐‘“ ′ 0 = 1
๐‘“ ′′ ๐‘ฅ = −2(1 − ๐‘ฅ)−3 −1 = 2(1 − ๐‘ฅ)−3 → ๐‘“ ′ ′ 0 = 2
๐‘“ ′ ′′ ๐‘ฅ = −6(1 − ๐‘ฅ)−4 −1 = 6(1 − ๐‘ฅ)−4 → ๐‘“ ′ ′′ 0 = 6
๐‘“ (4) ๐‘ฅ = −24(1 − ๐‘ฅ)−5 −1 = 24(1 − ๐‘ฅ)−5 → ๐‘“ 4 0 = 24
′′ 0
′′′ 0
4 0
๐‘“
๐‘“
๐‘“
๐‘4 ๐‘ฅ = ๐‘“ 0 + ๐‘“ ′ 0 ๐‘ฅ +
๐‘ฅ2 +
๐‘ฅ3 +
๐‘ฅ4
2!
3!
4!
2 2 6 3 24 4
๐‘4 ๐‘ฅ = 1 + 1๐‘ฅ + ๐‘ฅ + ๐‘ฅ + ๐‘ฅ
2!
3!
4!
๐‘4 ๐‘ฅ = 1 + ๐‘ฅ + ๐‘ฅ 2 + ๐‘ฅ 3 + ๐‘ฅ 4
Look familiar?
1+r
+ ๐‘Ÿ2
+๐‘Ÿ 3
+โ‹ฏ+
๐‘Ÿ๐‘›
1
+โ‹ฏ=
, ๐‘–๐‘“ ๐‘Ÿ < 1
1−๐‘Ÿ
๐‘“
๐‘›+1
(๐‘ง)
๐‘…๐‘› ๐‘ฅ =
๐‘ฅ−๐‘Ž
๐‘›+1 !
๐‘Ž = 0, ๐‘› = 4, ๐‘“
๐‘…4 ๐‘ฅ =
๐‘“
5
5
(๐‘ง)
๐‘ฅ−0
5 !
5
๐‘›+1
๐‘ง = 5! (1 − ๐‘ง)−6
5! (1 − ๐‘ง)−6 5
๐‘ฅ = (1 − ๐‘ง)−6 ๐‘ฅ 5
=
5 !
Here’s the graph of ๐‘“ ๐‘ฅ =
1
1−๐‘ฅ
& ๐‘4 ๐‘ฅ = 1 + ๐‘ฅ + ๐‘ฅ 2 + ๐‘ฅ 3 + ๐‘ฅ 4
Notice that the graphs are only converging between -1 and 1.
EX: #8
๐‘“ ๐‘ฅ = ๐‘Ž๐‘Ÿ๐‘๐‘ก๐‘Ž๐‘›๐‘ฅ,
๐‘›=2
๐‘“ ๐‘ฅ = ๐‘Ž๐‘Ÿ๐‘๐‘ก๐‘Ž๐‘›๐‘ฅ → ๐‘“ 0 = 0
1
′
′ 0 =1
๐‘“ ๐‘ฅ =
→
๐‘“
1 + ๐‘ฅ2
−2๐‘ฅ
′′
′′
๐‘“ ๐‘ฅ =
→
๐‘“
0 =0
2
2
1+๐‘ฅ
hmm…how boring…
′′ 0
๐‘“
๐‘2 ๐‘ฅ = ๐‘“ 0 + ๐‘“ ′ 0 ๐‘ฅ +
๐‘ฅ2
2!
0 2
๐‘2 ๐‘ฅ = 0 + ๐‘ฅ + ๐‘ฅ = ๐‘ฅ
2!
๐‘2 ๐‘ฅ = ๐‘กโ„Ž๐‘’ ๐‘๐‘™๐‘Ž๐‘–๐‘› ๐‘œ๐‘™๐‘‘ ๐‘ก๐‘Ž๐‘›๐‘”๐‘’๐‘›๐‘ก ๐‘™๐‘–๐‘›๐‘’!
๐‘“
๐‘›+1
(๐‘ง)
๐‘…๐‘› ๐‘ฅ =
๐‘ฅ−๐‘Ž
๐‘›+1 !
๐‘›+1
Unfortunately we need the 3rd derivative.
๐‘“
′′
−2๐‘ฅ
๐‘ฅ =
1 + ๐‘ฅ2
๐‘“ (3) ๐‘ฅ =
2
1 + ๐‘ฅ2
๐‘…2 ๐‘ฅ =
๐‘“
2
−2 − −2๐‘ฅ 2 1 + ๐‘ฅ 2 2๐‘ฅ
=
2
4
1+๐‘ฅ
3
(๐‘ง)
๐‘ฅ−0
3 !
3
6๐‘ง 2 − 2
=
3! 1 + ๐‘ง 2
6๐‘ฅ 2 − 2
1 + ๐‘ฅ2 3
3
๐‘ฅ
3
This remainder can be estimated for any value of x.
The further x is from zero, the larger the remainder will become.
Download