What to practice
- Construct Taylor and Maclaurin polynomials from derivative values and extract f^{(k)}(c) = k! * a_k from known coefficients.
- Identify whether P_1(x) or P_n(x) is a local extremum using f'(c) = 0 and the sign of f''(c).
- Bound approximation error using the Lagrange Error Bound |R_n(x)| <= M|x - c|^{n+1}/(n+1)!.
Framework
Taylor Polynomial: P_n(x) = sum_{k=0}^n [f^{(k)}(c) / k!]*(x - c)^k | Coefficient Rule: a_k = f^{(k)}(c) / k! | Lagrange Error Bound: |R_n(x)| <= [M / (n+1)!] * |x - c|^{n+1}
The nth-degree Taylor polynomial for f centered at x = c is P_n(x) = f(c) + f'(c)(x - c) + [f''(c)/2!](x - c)^2 + ... + [f^{(n)}(c)/n!](x - c)^n (when c = 0, it is called a Maclaurin polynomial). Because the coefficient of (x - c)^k is a_k = f^{(k)}(c) / k!, you can immediately recover any derivative at the center from a given Taylor polynomial by multiplying the coefficient by k!: f^{(k)}(c) = k! * a_k. When a Taylor series does not satisfy the Alternating Series Error Bound (or when bounding error using a bound M on |f^{(n+1)}(z)| for all z between c and x), use the Lagrange Error Bound: |f(x) - P_n(x)| = |R_n(x)| <= [M / (n + 1)!] * |x - c|^{n + 1}, where M >= max |f^{(n+1)}(z)| on the interval between c and x.
Worked Taylor Polynomial Construction, Derivative Extraction & Lagrange Error Bound
Suppose f has derivatives of all orders with f(2) = 4, f'(2) = -3, f''(2) = 8, and f'''(2) = -12, and |f^{(4)}(x)| <= 48 for all x in [2, 2.5]. (a) Write the 3rd-degree Taylor polynomial P_3(x) for f about x = 2. (b) Use the Lagrange Error Bound to show that |f(2.5) - P_3(2.5)| <= 1/8.
Step 1 (Compute Taylor Coefficients a_k = f^{(k)}(2)/k!): a_0 = 4, a_1 = -3/1! = -3, a_2 = 8/2! = 4, and a_3 = -12/3! = -12/6 = -2.
Step 2 (Write P_3(x) Centered at x = 2): P_3(x) = 4 - 3(x - 2) + 4(x - 2)^2 - 2(x - 2)^3. At x = 2.5 (where x - 2 = 0.5), P_3(2.5) = 4 - 1.5 + 1 - 0.25 = 3.25.
Step 3 (Identify n, c, x, and M for Lagrange Error Bound): For degree n = 3 centered at c = 2 evaluated at x = 2.5, we need the (n + 1) = 4th derivative bound M = 48 on [2, 2.5].
Step 4 (Compute Lagrange Bound): |R_3(2.5)| <= [M / 4!] * |2.5 - 2|^4 = (48 / 24) * (1/2)^4 = 2 * (1/16) = 1/8 = 0.125.
Wait before setting f^{(k)}(c) equal to the coefficient of (x - c)^k — always remember to multiply or divide by k! (a_k = f^{(k)}(c)/k!).
Practice procedure
Compare graphs of f(x) and P_n(x) near x = c in Y1 and Y2 to visualize higher-order contact and error bounds.
Common mistakes
Equating f^{(k)}(c) directly to the coefficient a_k without multiplying by k! (forgetting the factorial denominator).
Using n! instead of (n + 1)! in the Lagrange Error Bound for P_n(x) ( unless the n-th degree term is 0 so P_n(x) = P_{n+1}(x)).
Key terms
Term: Taylor Polynomial P_n(x)
Definition: The nth-degree polynomial sum_{k=0}^n [f^{(k)}(c)/k!](x - c)^k matching f and its first n derivatives at x = c.
Term: Lagrange Error Bound
Definition: The remainder bound |R_n(x)| <= [M / (n+1)!] * |x - c|^{n+1} where |f^{(n+1)}(z)| <= M between c and x.