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.