Taylor Polynomial: \(T_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x-a)^k\)
Lagrange Remainder: \(R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}\) for some \(c\) between \(a\) and \(x\)
- Compute derivatives up to degree \(n\)
- Evaluate derivatives at center point \(a\)
- Construct the polynomial using Taylor formula
- Find the (n+1)th derivative for remainder
- Bound the remainder using maximum of (n+1)th derivative
\(f(x) = e^x\)
\(f'(x) = e^x\)
\(f''(x) = e^x\)
\(f'''(x) = e^x\)
\(f^{(4)}(x) = e^x\)
\(\vdots\)
\(f^{(n)}(x) = e^x\) for all \(n \geq 0\)
\(f(0) = e^0 = 1\)
\(f'(0) = e^0 = 1\)
\(f''(0) = e^0 = 1\)
\(f'''(0) = e^0 = 1\)
\(T_3(x) = \sum_{k=0}^{3} \frac{f^{(k)}(0)}{k!}x^k = \frac{f(0)}{0!} + \frac{f'(0)}{1!}x + \frac{f''(0)}{2!}x^2 + \frac{f'''(0)}{3!}x^3\)
\(T_3(x) = \frac{1}{1} + \frac{1}{1}x + \frac{1}{2}x^2 + \frac{1}{6}x^3\)
\(T_3(x) = 1 + x + \frac{x^2}{2} + \frac{x^3}{6}\)
For the 3rd degree polynomial, the remainder is:
\(R_3(x) = \frac{f^{(4)}(c)}{4!}x^4 = \frac{e^c}{24}x^4\)
where \(c\) is between 0 and \(x\).
When \(x = 0.1\), we have \(0 < c < 0.1\).
Since \(e^x\) is increasing, \(e^c < e^{0.1}\).
We know that \(e^{0.1} < e^{0.2} \approx 1.22\), but more precisely, \(e^{0.1} \approx 1.105\).
So: \(|R_3(0.1)| = \left|\frac{e^c}{24}(0.1)^4\right| \leq \frac{e^{0.1}}{24}(0.1)^4 \leq \frac{1.11}{24}(0.0001) \approx 4.63 \times 10^{-6}\)
\(T_3(0.1) = 1 + 0.1 + \frac{(0.1)^2}{2} + \frac{(0.1)^3}{6}\)
\(= 1 + 0.1 + \frac{0.01}{2} + \frac{0.001}{6}\)
\(= 1 + 0.1 + 0.005 + 0.000167\)
\(\approx 1.105167\)
Approximation: \(e^{0.1} \approx 1.105167\)
Error bound: \(|R_3(0.1)| \leq 4.63 \times 10^{-6}\)
The 3rd degree Taylor polynomial is \(T_3(x) = 1 + x + \frac{x^2}{2} + \frac{x^3}{6}\), giving \(e^{0.1} \approx 1.105167\) with an error bounded by approximately \(4.63 \times 10^{-6}\).
• Taylor Polynomial Formula: \(T_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x-a)^k\)
• Lagrange Remainder: \(R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}\)
• Error Bound: Maximum of the (n+1)th derivative on the interval
Periodic Functions: Functions that repeat their values at regular intervals
Alternating Series: Series with terms that alternate in sign
\(f(x) = \cos(x)\)
\(f'(x) = -\sin(x)\)
\(f''(x) = -\cos(x)\)
\(f'''(x) = \sin(x)\)
\(f^{(4)}(x) = \cos(x)\)
\(f^{(5)}(x) = -\sin(x)\)
\(\vdots\)
The derivatives cycle every 4: cos→-sin→-cos→sin→cos
\(f(0) = \cos(0) = 1\)
\(f'(0) = -\sin(0) = 0\)
\(f''(0) = -\cos(0) = -1\)
\(f'''(0) = \sin(0) = 0\)
\(f^{(4)}(0) = \cos(0) = 1\)
\(f^{(5)}(0) = -\sin(0) = 0\)
Pattern: Odd derivatives are 0, even derivatives alternate between 1 and -1.
Only even-indexed terms contribute (odd derivatives are zero):
\(T_4(x) = \frac{f(0)}{0!} + \frac{f'(0)}{1!}x + \frac{f''(0)}{2!}x^2 + \frac{f'''(0)}{3!}x^3 + \frac{f^{(4)}(0)}{4!}x^4\)
\(T_4(x) = \frac{1}{1} + \frac{0}{1}x + \frac{-1}{2}x^2 + \frac{0}{6}x^3 + \frac{1}{24}x^4\)
\(T_4(x) = 1 - \frac{x^2}{2} + \frac{x^4}{24}\)
For the 4th degree polynomial, the remainder is:
\(R_4(x) = \frac{f^{(5)}(c)}{5!}x^5 = \frac{-\sin(c)}{120}x^5\)
where \(c\) is between 0 and \(x\).
When \(x = 0.2\), we have \(0 < c < 0.2\).
Since \(|sin(c)| \leq 1\) for all real \(c\):
\(|R_4(0.2)| = \left|\frac{-\sin(c)}{120}(0.2)^5\right| \leq \frac{1}{120}(0.2)^5 = \frac{0.00032}{120} \approx 2.67 \times 10^{-6}\)
\(T_4(0.2) = 1 - \frac{(0.2)^2}{2} + \frac{(0.2)^4}{24}\)
\(= 1 - \frac{0.04}{2} + \frac{0.0016}{24}\)
\(= 1 - 0.02 + 0.000067\)
\(\approx 0.980067\)
\(\cos(0.2) \approx 0.9800666\)
The approximation is very close to the actual value!
Approximation: \(\cos(0.2) \approx 0.980067\)
Error bound: \(|R_4(0.2)| \leq 2.67 \times 10^{-6}\)
The 4th degree Taylor polynomial is \(T_4(x) = 1 - \frac{x^2}{2} + \frac{x^4}{24}\), giving \(\cos(0.2) \approx 0.980067\) with an error bounded by approximately \(2.67 \times 10^{-6}\).
• Trigonometric Derivative Pattern: Derivatives cycle every 4 steps
• Odd/Even Terms: Cosine series only contains even powers
• Bounded Derivatives: Sine and cosine derivatives are bounded by 1
Taylor Polynomial at \(a\): \(T_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x-a)^k\)
Power Functions: Functions of the form \(x^r\) where \(r\) is a real number
\(f(x) = x^{1/2}\)
\(f'(x) = \frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}}\)
\(f''(x) = \frac{1}{2} \cdot \left(-\frac{1}{2}\right)x^{-3/2} = -\frac{1}{4}x^{-3/2} = -\frac{1}{4x^{3/2}}\)
\(f'''(x) = -\frac{1}{4} \cdot \left(-\frac{3}{2}\right)x^{-5/2} = \frac{3}{8}x^{-5/2} = \frac{3}{8x^{5/2}}\)
\(f(4) = \sqrt{4} = 2\)
\(f'(4) = \frac{1}{2\sqrt{4}} = \frac{1}{2 \cdot 2} = \frac{1}{4}\)
\(f''(4) = -\frac{1}{4 \cdot 4^{3/2}} = -\frac{1}{4 \cdot 8} = -\frac{1}{32}\)
\(f'''(4) = \frac{3}{8 \cdot 4^{5/2}} = \frac{3}{8 \cdot 32} = \frac{3}{256}\)
\(T_2(x) = \frac{f(4)}{0!} + \frac{f'(4)}{1!}(x-4) + \frac{f''(4)}{2!}(x-4)^2\)
\(T_2(x) = \frac{2}{1} + \frac{1/4}{1}(x-4) + \frac{-1/32}{2}(x-4)^2\)
\(T_2(x) = 2 + \frac{1}{4}(x-4) - \frac{1}{64}(x-4)^2\)
For the 2nd degree polynomial, the remainder is:
\(R_2(x) = \frac{f^{(3)}(c)}{3!}(x-4)^3 = \frac{f'''(c)}{6}(x-4)^3\)
where \(c\) is between 4 and \(x\).
When \(x = 4.1\), we have \(4 < c < 4.1\).
\(f'''(c) = \frac{3}{8c^{5/2}}\)
Since \(c > 4\), we have \(c^{5/2} > 4^{5/2} = 32\).
Therefore: \(f'''(c) = \frac{3}{8c^{5/2}} < \frac{3}{8 \cdot 32} = \frac{3}{256}\)
\(|R_2(4.1)| = \left|\frac{f'''(c)}{6}(4.1-4)^3\right| \leq \frac{3/256}{6}(0.1)^3 = \frac{3}{1536}(0.001) = \frac{0.003}{1536} \approx 1.95 \times 10^{-6}\)
\(T_2(4.1) = 2 + \frac{1}{4}(4.1-4) - \frac{1}{64}(4.1-4)^2\)
\(= 2 + \frac{1}{4}(0.1) - \frac{1}{64}(0.1)^2\)
\(= 2 + 0.025 - \frac{0.01}{64}\)
\(= 2 + 0.025 - 0.00015625\)
\(\approx 2.024844\)
\(\sqrt{4.1} \approx 2.024845\)
The approximation is extremely accurate!
Approximation: \(\sqrt{4.1} \approx 2.024844\)
Error bound: \(|R_2(4.1)| \leq 1.95 \times 10^{-6}\)
The 2nd degree Taylor polynomial is \(T_2(x) = 2 + \frac{1}{4}(x-4) - \frac{1}{64}(x-4)^2\), giving \(\sqrt{4.1} \approx 2.024844\) with an error bounded by approximately \(1.95 \times 10^{-6}\).
• Power Rule: For derivatives of \(x^r\)
• Non-Zero Center: Use \((x-a)\) terms in polynomial
• Monotonic Derivatives: Bound by maximum value on interval
Taylor Polynomial: A polynomial of degree \(n\) that approximates a function by matching its first \(n\) derivatives at a point \(a\).
Remainder (Error): The difference between the actual function and its Taylor polynomial: \(R_n(x) = f(x) - T_n(x)\).
Lagrange Remainder: An expression for the remainder: \(R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}\) for some \(c\) between \(a\) and \(x\).
Maclaurin Polynomial: A Taylor polynomial centered at \(a = 0\).
- Identify function and center: Determine \(f(x)\) and \(a\)
- Compute derivatives: Find \(f^{(k)}(x)\) for \(k = 0, 1, ..., n\)
- Evaluate at center: Calculate \(f^{(k)}(a)\)
- Construct polynomial: Apply Taylor polynomial formula
- Find remainder: Identify \(f^{(n+1)}(x)\)
- Bound error: Find maximum of \(|f^{(n+1)}(x)|\) on interval
• Taylor Polynomial: \(T_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x-a)^k\)
• Lagrange Remainder: \(R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}\)
• Error Bound: \(|R_n(x)| \leq \frac{M}{(n+1)!}|x-a|^{n+1}\) where \(M = \max|f^{(n+1)}(t)|\)
• Common Maclaurin: \(e^x \approx 1+x+\frac{x^2}{2!}+\frac{x^3}{3!}\), \(\sin x \approx x-\frac{x^3}{3!}+\frac{x^5}{5!}\), \(\cos x \approx 1-\frac{x^2}{2!}+\frac{x^4}{4!}\)
Error Tolerance: The maximum acceptable error in an approximation
Minimum Degree Problem: Finding the smallest \(n\) such that \(|R_n(x)| < \epsilon\) for given \(\epsilon\)
For \(f(x) = e^x\) and center \(a = 0\), the remainder is:
\(R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}x^{n+1} = \frac{e^c}{(n+1)!}x^{n+1}\)
where \(c\) is between 0 and \(x\).
When \(x = 0.5\), we have \(0 < c < 0.5\).
Since \(e^x\) is increasing, \(e^c < e^{0.5}\).
We know that \(e^{0.5} \approx 1.649\), so we can use \(e^c < 1.65\).
\(|R_n(0.5)| = \left|\frac{e^c}{(n+1)!}(0.5)^{n+1}\right| \leq \frac{1.65}{(n+1)!}(0.5)^{n+1}\)
We want: \(\frac{1.65}{(n+1)!}(0.5)^{n+1} < 10^{-6}\)
Or equivalently: \(\frac{(0.5)^{n+1}}{(n+1)!} < \frac{10^{-6}}{1.65} \approx 6.06 \times 10^{-7}\)
For \(n = 5\): \(\frac{(0.5)^6}{6!} = \frac{0.015625}{720} \approx 2.17 \times 10^{-5}\) (too large)
For \(n = 6\): \(\frac{(0.5)^7}{7!} = \frac{0.0078125}{5040} \approx 1.55 \times 10^{-6}\) (still too large)
For \(n = 7\): \(\frac{(0.5)^8}{8!} = \frac{0.00390625}{40320} \approx 9.69 \times 10^{-8}\) (acceptable!)
With \(n = 7\): \(|R_7(0.5)| \leq \frac{1.65}{8!}(0.5)^8 = \frac{1.65}{40320}(0.00390625) \approx 1.60 \times 10^{-7}\)
Since \(1.60 \times 10^{-7} < 10^{-6}\), the condition is satisfied.
With \(n = 6\): \(|R_6(0.5)| \leq \frac{1.65}{7!}(0.5)^7 = \frac{1.65}{5040}(0.0078125) \approx 2.56 \times 10^{-6}\)
Since \(2.56 \times 10^{-6} > 10^{-6}\), degree 6 is not sufficient.
Verification: \(|R_7(0.5)| \leq 1.60 \times 10^{-7} < 10^{-6}\)
The minimum degree of the Taylor polynomial for \(e^x\) centered at 0 that guarantees an error less than \(10^{-6}\) when approximating \(e^{0.5}\) is 7.
• Error Bound Formula: \(|R_n(x)| \leq \frac{M}{(n+1)!}|x-a|^{n+1}\)
• Iterative Testing: Try values of \(n\) until condition is met
• Factorial Growth: Factorials grow faster than exponential functions
Range of Accuracy: The interval of \(x\) values for which a polynomial approximation meets a specified error tolerance
Logarithmic Series: The Taylor series for \(\ln(1+x)\) has alternating signs
\(f(x) = \ln(1+x)\)
\(f'(x) = \frac{1}{1+x}\)
\(f''(x) = -\frac{1}{(1+x)^2}\)
\(f'''(x) = \frac{2}{(1+x)^3}\)
\(f^{(4)}(x) = -\frac{6}{(1+x)^4}\)
\(f^{(5)}(x) = \frac{24}{(1+x)^5}\)
\(\vdots\)
\(f^{(n)}(x) = \frac{(-1)^{n-1}(n-1)!}{(1+x)^n}\) for \(n \geq 1\)
\(f(0) = \ln(1) = 0\)
\(f'(0) = \frac{1}{1} = 1\)
\(f''(0) = -\frac{1}{1} = -1\)
\(f'''(0) = \frac{2}{1} = 2\)
\(f^{(4)}(0) = -\frac{6}{1} = -6\)
\(T_3(x) = \frac{f(0)}{0!} + \frac{f'(0)}{1!}x + \frac{f''(0)}{2!}x^2 + \frac{f'''(0)}{3!}x^3\)
\(T_3(x) = \frac{0}{1} + \frac{1}{1}x + \frac{-1}{2}x^2 + \frac{2}{6}x^3\)
\(T_3(x) = x - \frac{x^2}{2} + \frac{x^3}{3}\)
For the 3rd degree polynomial, the remainder is:
\(R_3(x) = \frac{f^{(4)}(c)}{4!}x^4 = \frac{-6/(1+c)^4}{24}x^4 = -\frac{x^4}{4(1+c)^4}\)
where \(c\) is between 0 and \(x\).
\(|R_3(x)| = \left|\frac{-x^4}{4(1+c)^4}\right| = \frac{|x|^4}{4|1+c|^4}\)
For the bound to be meaningful, we need \(1+c > 0\), so \(x > -1\).
Now we need to consider two cases based on the sign of \(x\).
Case 1: If \(x > 0\), then \(0 < c < x\), so \(1 < 1+c < 1+x\), which means \((1+c)^4 > 1\).
Case 2: If \(-1 < x < 0\), then \(x < c < 0\), so \(1+x < 1+c < 1\), which means \((1+c)^4 > (1+x)^4\).
For a general bound, if \(|x| < 1\), then for \(c\) between 0 and \(x\), we have \(1+c > 1-|x|\).
So: \(|R_3(x)| = \frac{|x|^4}{4|1+c|^4} \leq \frac{|x|^4}{4(1-|x|)^4}\) when \(|x| < 1\).
We want: \(\frac{|x|^4}{4(1-|x|)^4} < 0.001\)
This gives us: \(\frac{|x|^4}{(1-|x|)^4} < 0.004\)
Or: \(\left|\frac{x}{1-|x|}\right|^4 < 0.004\)
Which means: \(\left|\frac{x}{1-|x|}\right| < (0.004)^{1/4} \approx 0.251\)
We need: \(\frac{|x|}{1-|x|} < 0.251\)
Assuming \(|x| < 1\), we can multiply both sides by \(1-|x|\):
\(|x| < 0.251(1-|x|) = 0.251 - 0.251|x|\)
\(|x| + 0.251|x| < 0.251\)
\(|x|(1 + 0.251) < 0.251\)
\(|x| < \frac{0.251}{1.251} \approx 0.201\)
Range for error < 0.001: \(|x| < 0.201\), or approximately \(-0.201 < x < 0.201\)
The 3rd degree Taylor polynomial is \(T_3(x) = x - \frac{x^2}{2} + \frac{x^3}{3}\), and the error is less than 0.001 for \(x\) in the approximate interval \((-0.201, 0.201)\).
• Logarithmic Derivatives: Pattern \(\frac{(-1)^{n-1}(n-1)!}{(1+x)^n}\)
• Remainder Analysis: Consider different cases for positive/negative \(x\)
• Inequality Solving: Solve for range of \(x\) values meeting tolerance
Taylor Polynomial: A polynomial of degree \(n\) that approximates a function \(f(x)\) near point \(a\) by matching the function's value and first \(n\) derivatives at \(a\): \(T_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x-a)^k\).
Remainder (Error): The difference between the actual function and its Taylor polynomial: \(R_n(x) = f(x) - T_n(x)\).
Lagrange Remainder: An explicit formula for the remainder: \(R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}\) for some \(c\) strictly between \(a\) and \(x\).
Error Bound: An upper limit for the absolute value of the remainder: \(|R_n(x)| \leq \frac{M}{(n+1)!}|x-a|^{n+1}\) where \(M = \max_{t \in [a,x]} |f^{(n+1)}(t)|\).
Maclaurin Polynomial: A Taylor polynomial with center \(a = 0\).
- Identify the function and center: Determine \(f(x)\) and \(a\)
- Compute necessary derivatives: Find \(f^{(k)}(x)\) for \(k = 0, 1, ..., n\)
- Evaluate at the center: Calculate \(f^{(k)}(a)\) for each derivative
- Construct the polynomial: Apply the Taylor polynomial formula
- Find the remainder: Identify the (n+1)th derivative for remainder calculation
- Bound the error: Find the maximum value of \(|f^{(n+1)}(t)|\) on the relevant interval
- Apply the bound: Calculate the error bound using the maximum derivative value
• Taylor Polynomial: \(T_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x-a)^k\)
• Lagrange Remainder: \(R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}\) for some \(c\) between \(a\) and \(x\)
• Error Bound: \(|R_n(x)| \leq \frac{M}{(n+1)!}|x-a|^{n+1}\) where \(M = \max|f^{(n+1)}(t)|\) on interval
• Common Maclaurin Polynomials: \(e^x \approx 1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\frac{x^4}{4!}\), \(\sin x \approx x-\frac{x^3}{3!}+\frac{x^5}{5!}\), \(\cos x \approx 1-\frac{x^2}{2!}+\frac{x^4}{4!}\)
\(e^x\) approximation with polynomials of degrees 1, 2, 3, 4
\(\cos x\) approximation with polynomials of degrees 2, 4, 6
Error magnitudes showing how error decreases with higher degrees
Analysis: The chart shows how higher-degree Taylor polynomials provide better approximations to functions near the center point.
- Accuracy increases with polynomial degree, especially near the center
- Error grows as we move away from the center point
- Different functions have different rates of convergence