JustToThePoint English Website Version
JustToThePoint en español

Maximize your online presence with our exclusive offer: Get a stunning hero banner, the hero you need and deserve, at an unbeatable price! Bew, 689282782, bupparchard@gmail.com

Taylor’s Formula.

Do you still remember that I am still only fourteen?” I said, starting to lose my temper and grasping how Mum should feel like when Dad says things like, “Such a sophisticated perfume honey, how many litres and for how long did you need to soak in it? Come to my localhost, I will turn off my firewall, disable my antivirus, grant you sudo access, and show you my source code,” Apocalypse, Anawim, #justothepoint

Recall

A finite series is given by all the terms of a finite sequence, added together, e.g., {3, 5, 7, . . . , 21}, $\sum_{k=1}^{10} 2k+1 = 120$. An infinite series is the sum of an infinite sequence of numbers. It is represented in the form $\sum_{n=1}^\infty a_n = a_1 + a_2 + a_3 + ···$ where an represents the terms of the sequence, and n is the index that ranges from 1 to infinite.

A series is convergent (or converges) if the sequence of its partial sums tends to a limit, that is, l = $\lim_{n \to ∞} \sum_{k=1}^n a_k$ exists and is a finite number. More precisely, if there exists a number l (or S) such that for every arbitrary small positive number ε, there is a (sufficient large) N, such that ∀n ≥ N, |Sn -l| < ε where Sn = $\sum_{k=1}^n a_k = a_1 + a_2 + ··· + a_n$. If the series is convergent, the number l is called the sum of the series. On the contrary, any series that is not convergent ($\lim_{n \to ∞} \sum_{k=1}^n a_k$ does not exist) is said to be divergent or to diverge.

Divergence Test. If $\lim_{n \to ∞}a_n ≠ 0$, then $\sum_{n=1}^\infty a_n$ diverges.

Integral Comparison. If f(x) is a positive, continuous, and decreasing function on the interval [1, ∞), then $|\sum_{n=1}^\infty f(n) -\int_{1}^{∞} f(x)dx| < f(1).$ Besides, $\sum_{n=1}^\infty f(n)$ converges, if and only if, $\int_{1}^{∞} f(x)dx$ converges.

Theorem. Direct Comparison test. Let {an} and {bn} be positive sequences where an≤bn ∀n≥N, for some N.

  1. If $\sum_{n=1}^\infty b_n$ converges, then $\sum_{n=1}^\infty a_n$ converges.
  2. If $\sum_{n=1}^\infty a_n$ diverges, then $\sum_{n=1}^\infty b_n$ converges.

Definition. A series of the form $\sum_{n=0}^\infty a_nx^n = a_0 + a_1x + a_2x^2 + ···$ where the coefficients an are real numbers is a power series centered at x = 0. A series of the form $\sum_{n=0}^\infty a_n(x-a)^n = a_0 + a_1(x-a) + a_2(x-a)^2 + ···$ where the coefficients an are real numbers is a power series centered at x = a.

Image 

Motivation

Previously, we started looking at writing down a power series representation of a function. The problem with the approach is that everything came down to needing to be able to relate the function in some way to $\frac{1}{1-x}$ and this is is not always possible.

Taylor's formula is a fundamental result in calculus that allows us to approximate a function with a polynomial. Let f(x) be a function that is n-times differentiable on an interval about x = 0. We can approximate f near 0 by a polynomial Pn(x) of degree n.

For n = 0, the best constant approximation near 0 is obviously P0(x) = f(0). For n = 1, the best linear approximation near 0 is P0(x)=f(0)+f′(0)x. For n=2, the best quadratic approximation near 0 is $P_2(x) = f(0) + f’(0)x + \frac{f’’(0)}{2!}x^2$. Continuing this argument, $P_n(x) = f(0) + f’(0)x + \frac{f’’(0)}{2!}x^2 + ··· + \frac{f^{(n)}(0)}{2!}x^n = \sum_{k=0}^n \frac{f^{(k)}(0)}{k!}x^k.$

This is the Taylor polynomial of degree n about 0 (also called the Maclaurin series of degree n). More generally, let f(x) be a function that is n-times differentiable on an interval about x = a. We can approximate f near a by a polynomial Pn(x) of degree n with the Taylor series of degree n about a, $f(a) + f’(a)(x-a) + \frac{f’’(a)}{2!}(x-a)^2 + ··· + \frac{f^{(n)}(a)}{k!}(x-a)^n = \sum_{k=0}^n \frac{f^{(k)}(a)}{k!}(x-a)^k.$

Taylor’s theorem (Peano form of the remainder). Let f(x) be a function f: ℝ → ℝ that is n times differentiable at the point a. Then, there exists a function hn: ℝ → ℝ such that $f(x) = f(a) + f’(a)(x-a) + \frac{f’’(a)}{2!}(x-a)^2 + ··· + \frac{f^{(n)}(a)}{n!}(x-a)^n + h_n(x)(x-a)^n$, and $\lim_{x \to a} h_n(x) = 0.$

Lagrange form of the remainder. Let f(x) admits n+1 continuos derivatives (f, f’, ···f(n+1)) on an open interval containing a. Then, for each x in the interval f(x) = $\sum_{k=0}^n \frac{f^{(k)}(a)}{k!}(x-a)^k + R_{n+1}(x)$ where the remainder satisfies $R_{n+1}(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}$ for some c between a and x.

We want to come up with a general method for writing a power series representation for a function. First, let’s assume that the function, f(x), has derivatives of every order and that we can indeed find them all, the result would be f(x) = $\sum_{n=0}^∞ \frac{f^{(n)}(0)}{n!}(x)^n$ where 0! = 1.

f(x) = a0 + a1x + a2x^2 + ··· + anxn + ···
f’ = a1 + 2a2x + 3a3x^2 + ···
f’’ = 2a2x + 3·2a3x + 4·3a4x2 ···
f’’’ = 3·2a3 + 4·3·2a4x ···

It is easy to figure it out the general term, e.g., f’’’(0) = 3·2a3, a3 = $\frac{f’’’(0)}{3·2·1}$, hence, an = $\frac{f^{(n)}(0)}{n!}$. In general, Taylor Series, f(x) = $\sum_{n=0}^∞ \frac{f^{(n)}(a)}{n!}(x-a)^n = f(a) + f'(a)(x-a) + \frac{f''(a)}{2!}(x-a)^2 + ··· + \frac{f^{(n)}(a)}{n!}(x-a)^n + ···$

Solved exercises

f(x) = cos(x) = $\sum_{n=0}^∞ \frac{f^{(n)}(0)}{n!}x^n = 1 - \frac{x^2}{2!} + \frac{x^4}{4!}-\frac{x^6}{6!}+···$. Notice that cos(x) = sin’(x) =[$sin(x) = x - \frac{x^3}{3!} + \frac{x^5}{5!}-\frac{x^7}{7!}+···$] $1 - \frac{x^2}{2!} + \frac{x^4}{4!}-\frac{x^6}{6!}+···$

f(x) = cos(x) = $\sum_{n=0}^∞ \frac{f^{(n)}(π)}{n!}(x-π)^n = \frac{cos(π)}{0!}(x-π)^0 + \frac{-sin(π)}{1!}(x-π)^1 + \frac{-cos(π)}{2!}(x-π)^2 + \frac{sin(π)}{3}(x-π)^3 + \frac{cos(π)}{4!}(x-π)^4 + \frac{-sin(π)}{5!}(x-π)^5 + \frac{-cos(π)}{6!}(x-π)^6+···= \frac{-1}{0!}(x-π)^0 + 0 + \frac{1}{2!}(x-π)^2 + 0 + \frac{-1}{4!}(x-π)^4 + 0 + \frac{1}{6!}(x-π)^6+··· = \frac{-1}{0!}(x-π)^0 + \frac{1}{2!}(x-π)^2 + \frac{-1}{4!}(x-π)^4 + \frac{1}{6!}(x-π)^6+··· = \sum_{n=0}^\infty \frac{(-1)^{n+1}(x-π)^{2n}}{(2n)!}$

Ratio test, $\lim_{n \to ∞} |\frac{\frac{(-1)^{n+1}(x-π)^{2(n+1)}}{(2(n+1))!}}{\frac{(-1)^{n}(x-π)^{2n}}{(2n)!}}| = \lim_{n \to ∞} |\frac{\frac{(x-π)^{2}}{(2(n+1))!}}{\frac{1}{(2n)!}}| = \lim_{n \to ∞} |\frac{(x-π)^{2}(2n)!}{(2(n+1))!}| = (x-π)^2 \lim_{n \to ∞} \frac{1}{(2n+2)(2n+1)} = (x-π)^2·0 = 0< 1 ⇒ R = ∞.$

Recall the formula for the geometric series $\frac{1}{1-x} = 1 + x + x^2 + x^3 + ···$, if |x| < 1 (i).

We can observe that f(x) = $\frac{1}{1+x}$ is a geometric series S = $\frac{a}{1-r} = \frac{1}{1-(-x)}$ where a is the first term of the serie a = 1, r is the common ratio, r = -x, and S is the sum of the series.

If we replace x by -x (i), we get f(x) = $\frac{1}{1+x} = 1 -x +x^2-x^3+ ··· = \sum_{n=0}^∞ (-1)^nx^n$. Another way of getting the same result is that f(x) = $\frac{1}{1+x}$ is equivalent to the sum of the geometric series with a = 1 and r = -x.

A third way is the traditional way.

  1. f(x) = (1+x)-1, f(0) = 1.
  2. f’(x) = -(1+x)-2, f’(0) = -1.
  3. f’’(x) = 2(1+x)-3, f’(0) = 2.
  4. f’’’(x) = -6(1+x)-4, f’(0) = -6.
  5. f’’’(x) = 24(1+x)5, f’(0) = 24.

f(x) = $\frac{1}{1+x} = \sum_{n=0}^∞ \frac{f^{(n)}(0)}{n!}x^n = 1+\frac{x·(-1)}{1!} +\frac{x^2·2}{2!} + \frac{x^3·-6}{3!} + \frac{x^4·24}{4!}+··· = 1 -x +x^2-x^3+x^4 ···$

  1. f(x) = ln(1+x), f(0)=ln(1) ⇒ $\frac{f^{(n)}(0)}{n!}=[n = 0] =\frac{0}{0!} = \frac{0}{1} = 0$
  2. f’(x) = $\frac{1}{1+x},~ f’(0)=1 ⇒ \frac{f^{(n)}(0)}{n!}=[n = 1] =\frac{1}{1!}$
  3. f’’(x) = $\frac{-1}{(1+x)^2},~ f’’(0)=-1 ⇒ \frac{f^{(n)}(0)}{n!}=[n = 2] =\frac{-1}{2!}$
  4. f’’’(x) = $\frac{(-1)(-2)(1+x)}{(1+x)^4} = \frac{2}{(1+x)^3},~ f’’’(0)=2 ⇒ \frac{f^{(n)}(0)}{n!}=[n = 3] =\frac{2}{3!}$
  5. f’’’’(x) = $\frac{(-2)·3·(1+x)^2}{(1+x)^6}=\frac{-6}{(1+x)^4},~ f’’’’(0)=-6 ⇒ \frac{f^{(n)}(0)}{n!}=[n = 4] =\frac{-6}{4!}$

f(x) = $ln(1+x) = \frac{0}{0!}x^0+\frac{1}{1!}x^1+\frac{-1}{2}x^2+\frac{2}{3!}x^3+\frac{-6}{4!}x^4+··· = 1·x -\frac{1}{2}x^2+\frac{1}{3}x^3-\frac{1}{4}x^4 = \sum_{n=1}^\infty \frac{(-1)^{n+1}}{n}x^n$

Let’s use the ratio test, $\lim_{n \to ∞} |\frac{\frac{(-1)^{n+2}}{n+1}x^{n+1}}{\frac{(-1)^{n+1}}{n}x^n}| = \lim_{n \to ∞} |\frac{\frac{1}{n+1}x}{\frac{1}{n}}| = |x| \lim_{n \to ∞} \frac{n}{n+1} = |x| < 1$

Recall that ln(1+x) =[x > -1] $\int_{0}^{x} \frac{dt}{1+t}$ Besides, $\frac{1}{1+x} = 1 -x +x^2-x^3+ ···$, and hence ln(1+x) =[x > -1] $\int_{0}^{x} \frac{dt}{1+t}= \int_{0}^{x} (1 -t +t^2-t^3+ ···)dt = (t -\frac{t^2}{3}+\frac{t^3}{3}-\frac{t^4}{4}+···)\bigg|_{0}^{x} = x -\frac{x^2}{3}+\frac{x^3}{3}-\frac{x^4}{4}+···$

Recall, $e^x = \sum_{n=0}^∞ \frac{1}{n!}x^n$ ⇒[Substitute -3x2] $x^4e^{-3x^2} = x^4 \sum_{n=0}^∞ \frac{(-3x^2)^n}{n!} = x^4\sum_{n=0}^∞ \frac{(-3)^nx^{2n}}{n!} = \sum_{n=0}^∞ \frac{(-3)^nx^{2n+4}}{n!}$

Recall, $e^x = \sum_{n=0}^∞ \frac{1}{n!}x^n$ ⇒[Substitute x = -t2] $e^{-t^2} = 1 -t^2 +\frac{t^4}{2!} -\frac{t^6}{3!}+···$

erf(x) = $\frac{2}{\sqrt{π}}\int_{0}^{x} e^{-t^2}dx$ =[$e^{-t^2} = 1 -t^2 +\frac{t^4}{2!} -\frac{t^6}{3!}+···$] $\frac{2}{\sqrt{π}} (x -\frac{x^3}{3}+\frac{x^5}{5·2!}-\frac{x^7}{7·5!}+···)$

Bibliography

This content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License and is based on MIT OpenCourseWare [18.01 Single Variable Calculus, Fall 2007].
  1. NPTEL-NOC IITM, Introduction to Galois Theory.
  2. Algebra, Second Edition, by Michael Artin.
  3. LibreTexts, Calculus. Abstract and Geometric Algebra, Abstract Algebra: Theory and Applications (Judson).
  4. Field and Galois Theory, by Patrick Morandi. Springer.
  5. Michael Penn, and MathMajor.
  6. Contemporary Abstract Algebra, Joseph, A. Gallian.
  7. YouTube’s Andrew Misseldine: Calculus. College Algebra and Abstract Algebra.
  8. MIT OpenCourseWare 18.01 Single Variable Calculus, Fall 2007 and 18.02 Multivariable Calculus, Fall 2007.
  9. Calculus Early Transcendentals: Differential & Multi-Variable Calculus for Social Sciences.
  10. Paul’s Online Notes, Calculus II, Series & Sequences.
Bitcoin donation

JustToThePoint Copyright © 2011 - 2024 Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun. Social Issues, Join us.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.