Maclaurin Polynomials
In this section, expand on the discussion of Taylor polynomials to introduce the concept of Maclaurin Polynomials.
Recall that a Taylor series will be a power series which makes use of various derivatives of a given function, such as first, second, third derivatives.
The Taylor series representation is written as:
\[ \sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!} (x-a)^n = f(a) + f'(a)(x – a) + \frac{f”(a)}{2!} (x – a)^2 + \frac{f”'(a)}{3!} (x – a)^3 + \cdots.\]
This power series above is known as the Taylor series for f at a.
In the special case where a = 0, we refer to the resulting series as a Maclaurin polynomial.
Thus the Maclaurin power series is given by:
\[ \sum_{n=0}^{\infty} \frac{f^{(n)}(0)}{n!} x^n = f(0) + f'(0)x + \frac{f”(0)}{2!} x^2 + \frac{f”'(0)}{3!} x^3 + \cdots \]
The video below explores the setup of these Maclaurin series representations and provides several worked out examples.
Note that a Maclaurin polynomial takes a smooth function π(π₯) and represents the function as a sum of its derivatives at a single point, multiplied by powers of π₯and divided by factorials. Instead of constructing an infinite series, we sometimes build a polynomial with a limited degree of terms, such as 4 terms or 5 terms. If the number of terms in the polynomial is n, then this is referred to as an nth Maclaurin polynomial. As the degree of the polynomial increases, the approximation becomes increasingly accurate within a certain interval around the origin.
Example 1: Maclaurin Polynomial for ππ
Let π(π₯) = ππ₯.
Compute derivatives:
πβ²(π₯) = ππ₯,πβ²β²(π₯) = ππ₯,π(π)(π₯) = ππ₯
Evaluate at π₯ = 0:
π(π)(0) = 1
Thus, the πth Maclaurin polynomial is:
\[ P_n(x) = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots + \frac{x^n}{n!} \]
Example calculation (n = 4):
\[ P_4(x) = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \frac{x^4}{24} \]
Approximation Example:
To approximate π0.5:
π4(0.5) = 1+0.5+0.125+0.0208+0.0026 = 1.6484
Actual π0.5 β 1.6487, showing excellent accuracy even with only four terms.
Example 2: Maclaurin Polynomial for π¬π’π§ (π)
Let π(π₯) = sin (π₯).
Compute derivatives:
πβ²(π₯) = cos (π₯),πβ²β²(π₯) = βsin (π₯),π(3)(π₯) = βcos (π₯),π(4)(π₯) = sin (π₯)
Evaluate at π₯ = 0:
π(0) = 0, βπβ²(0) = 1, βπβ²β²(0) = 0, βπ(3)(0) = β1, βπ(4)(0) = 0
Substitute into the formula:
\[ P_n(x) = x – \frac{x^3}{3!} + \frac{x^5}{5!} – \frac{x^7}{7!} + \cdots \]
This alternating pattern continues for all odd powers.
Example (n = 5):
\[ P_5(x) = x – \frac{x^3}{6} + \frac{x^5}{120} \]
Small-angle approximation:
For small π₯, sin (π₯) β π₯. This simplification is widely used in physics for small oscillations and pendulum motion.
Example Calculation:
Approximate sin (0.5):
\[ P_5(0.5) = 0.5 – \frac{(0.5)^3}{6} + \frac{(0.5)^5}{120} = 0.4794 \]
Actual sin (0.5) = 0.4794, showing near-perfect accuracy.
Example 3: Maclaurin Polynomial for ππ¨π¬ (π)
Let π(π₯) = cos (π₯).
Derivatives:
πβ²(π₯) = βsin (π₯),πβ²β²(π₯) = βcos (π₯),π(3)(π₯) = sin (π₯),π(4)(π₯) = cos (π₯)
Evaluate at π₯ = 0:
π(0) = 1, βπβ²(0) = 0, βπβ²β²(0) = β1, βπ(3)(0) = 0, βπ(4)(0) = 1
Substitute:
\[ P_n(x) = 1 – \frac{x^2}{2!} + \frac{x^4}{4!} – \frac{x^6}{6!} + \cdots \]
Example (n = 4):
\[ P_4(x) = 1 – \frac{x^2}{2} + \frac{x^4}{24} \]
Approximation Example:
π4(0.5) = 1 β0.125 +0.0052 = 0.8802
Actual cos (0.5) = 0.8776, again demonstrating excellent agreement.
Example 4: Maclaurin Polynomial for π₯π§ (π + π)
Let π(π₯) = ln (1 +π₯).
Compute derivatives:
\[ f'(x) = \frac{1}{1+x},f”(x) = -\frac{1}{(1+x)^2},f^{(3)}(x) = \frac{2}{(1+x)^3},f^{(4)}(x) = -\frac{6}{(1+x)^4} \]
Evaluate at π₯ = 0:
π(0) = 0, βπβ²(0) = 1, βπβ²β²(0) = β1, βπ(3)(0) = 2, βπ(4)(0) = β6
Substitute:
\[ P_n(x) = x – \frac{x^2}{2} + \frac{x^3}{3} – \frac{x^4}{4} + \cdots + (-1)^{k+1} \frac{x^k}{k} \]
This is a power series for ln (1 + π₯), converging for β£ π₯ β£< 1.
Example (n = 4):
\[ P_4(x) = x – \frac{x^2}{2} + \frac{x^3}{3} – \frac{x^4}{4} \]
Approximate ln (1.2):
π4(0.2) = 0.2 β 0.02 +0.0027 β0.0004 = 0.1823
Actual ln (1.2) = 0.1823. Perfect agreement up to 4 decimals.
Example 5: Maclaurin Polynomial for (π + π)π
Let π(π₯) = (1 +π₯)π, where π is any real number.
Compute derivatives:
πβ²(π₯) = π(1+π₯)πβ1,πβ²β²(π₯) = π(π β1)(1+π₯)πβ2,β¦
Evaluate at π₯ = 0:
π(π)(0) = π(π β1)(π β2)β―(π βπ +1)
Substitute:
\[ P_n(x) = 1 + rx + \frac{r(r-1)}{2!}x^2 + \frac{r(r-1)(r-2)}{3!}x^3 + \cdots \]
This is the generalized binomial expansion.
Example (r = Β½):
\[ (1+x)^{1/2} = 1 + \frac{1}{2}x – \frac{1}{8}x^2 +\frac{1}{16}x^3 – \frac{5}{128}x^4 + \cdots \]
