AP Course

AP Calculus AB/BC

Study the complete College Board sequence for AP Calculus AB and BC, from limits through infinite series.

Choose an official unit and topic to open its lecture, concept check, or focused practice.

Lessons
1.1 Introducing Calculus: Can Change Occur at an Instant?1.2 Defining Limits and Using Limit Notation1.3 Estimating Limit Values from Graphs1.4 Estimating Limit Values from Tables1.5 Determining Limits Using Algebraic Properties of Limits1.6 Determining Limits Using Algebraic Manipulation1.7 Selecting Procedures for Determining Limits1.8 Determining Limits Using the Squeeze Theorem1.9 Connecting Multiple Representations of Limits1.10 Exploring Types of Discontinuities1.11 Defining Continuity at a Point1.12 Confirming Continuity over an Interval1.13 Removing Discontinuities1.14 Connecting Infinite Limits and Vertical Asymptotes1.15 Connecting Limits at Infinity and Horizontal Asymptotes1.16 Working with the Intermediate Value Theorem (IVT)2.1 Defining Average and Instantaneous Rates of Change at a Point2.2 Defining the Derivative of a Function and Using Derivative Notation2.3 Estimating Derivatives of a Function at a Point2.4 Connecting Differentiability and Continuity: Determining When Derivatives Do and Do Not Exist2.5 Applying the Power Rule2.6 Derivative Rules: Constant, Sum, Difference, and Constant Multiple2.7 Derivatives of cos x, sin x, e^x, and ln x2.8 The Product Rule2.9 The Quotient Rule2.10 Finding the Derivatives of Tangent, Cotangent, Secant, and/or Cosecant Functions3.1 The Chain Rule3.2 Implicit Differentiation3.3 Differentiating Inverse Functions3.4 Differentiating Inverse Trigonometric Functions3.5 Selecting Procedures for Calculating Derivatives3.6 Calculating Higher-Order Derivatives4.1 Interpreting the Meaning of the Derivative in Context4.2 Straight-Line Motion: Connecting Position, Velocity, and Acceleration4.3 Rates of Change in Applied Contexts Other Than Motion4.4 Introduction to Related Rates4.5 Solving Related Rates Problems4.6 Approximating Values of a Function Using Local Linearity and Linearization4.7 Using L’Hospital’s Rule for Determining Limits of Indeterminate Forms5.1 Using the Mean Value Theorem5.2 Extreme Value Theorem, Global Versus Local Extrema, and Critical Points5.3 Determining Intervals on Which a Function Is Increasing or Decreasing5.4 Using the First Derivative Test to Determine Relative (Local) Extrema5.5 Using the Candidates Test to Determine Absolute (Global) Extrema5.6 Determining Concavity of Functions over Their Domains5.7 Using the Second Derivative Test to Determine Extrema5.8 Sketching Graphs of Functions and Their Derivatives5.9 Connecting a Function, Its First Derivative, and Its Second Derivative5.10 Introduction to Optimization Problems5.11 Solving Optimization Problems5.12 Exploring Behaviors of Implicit Relations6.1 Exploring Accumulations of Change6.2 Approximating Areas with Riemann Sums6.3 Riemann Sums, Summation Notation, and Definite Integral Notation6.4 The Fundamental Theorem of Calculus and Accumulation Functions6.5 Interpreting the Behavior of Accumulation Functions Involving Area6.6 Applying Properties of Definite Integrals6.7 The Fundamental Theorem of Calculus and Definite Integrals6.8 Finding Antiderivatives and Indefinite Integrals: Basic Rules and Notation6.9 Integrating Using Substitution6.10 Integrating Functions Using Long Division and Completing the Square6.11 Integrating Using Integration by Parts6.12 Using Linear Partial Fractions6.13 Evaluating Improper Integrals6.14 Selecting Techniques for Antidifferentiation7.1 Modeling Situations with Differential Equations7.2 Verifying Solutions for Differential Equations7.3 Sketching Slope Fields7.4 Reasoning Using Slope Fields7.5 Approximating Solutions Using Euler’s Method7.6 Finding General Solutions Using Separation of Variables7.7 Finding Particular Solutions Using Initial Conditions and Separation of Variables7.8 Exponential Models with Differential Equations7.9 Logistic Models with Differential Equations8.1 Finding the Average Value of a Function on an Interval8.2 Connecting Position, Velocity, and Acceleration of Functions Using Integrals8.3 Using Accumulation Functions and Definite Integrals in Applied Contexts8.4 Finding the Area Between Curves Expressed as Functions of x8.5 Finding the Area Between Curves Expressed as Functions of y8.6 Finding the Area Between Curves That Intersect at More Than Two Points8.7 Volumes with Cross Sections: Squares and Rectangles8.8 Volumes with Cross Sections: Triangles and Semicircles8.9 Volume with Disc Method: Revolving Around the x- or y-Axis8.10 Volume with Disc Method: Revolving Around Other Axes8.11 Volume with Washer Method: Revolving Around the x- or y-Axis8.12 Volume with Washer Method: Revolving Around Other Axes8.13 The Arc Length of a Smooth, Planar Curve and Distance Traveled9.1 Defining and Differentiating Parametric Equations9.2 Second Derivatives of Parametric Equations9.3 Finding Arc Lengths of Curves Given by Parametric Equations9.4 Defining and Differentiating Vector-Valued Functions9.5 Integrating Vector-Valued Functions9.6 Solving Motion Problems Using Parametric and Vector-Valued Functions9.7 Defining Polar Coordinates and Differentiating in Polar Form9.8 Find the Area of a Polar Region or the Area Bounded by a Single Polar Curve9.9 Finding the Area of the Region Bounded by Two Polar Curves10.1 Defining Convergent and Divergent Infinite Series10.2 Working with Geometric Series10.3 The nth Term Test for Divergence10.4 Integral Test for Convergence10.5 Harmonic Series and p-Series10.6 Comparison Tests for Convergence10.7 Alternating Series Test for Convergence10.8 Ratio Test for Convergence10.9 Determining Absolute or Conditional Convergence10.10 Alternating Series Error Bound10.11 Finding Taylor Polynomial Approximations of Functions10.12 Lagrange Error Bound10.13 Radius and Interval of Convergence of Power Series10.14 Finding Taylor or Maclaurin Series for a Function10.15 Representing Functions as Power Series
Quizzes
Practice Problems AP formula notes, graph references, and practice sets will be added here.

AP Calculus AB/BC · Unit 10 · Topic 10.12 · BC Only

Lagrange Error Bound

Guarantee the accuracy of a Taylor approximation by bounding the next derivative throughout the interval from the center to the target.

1. Topic Focus

Determine series convergence, estimate error, construct Taylor approximations, and represent functions with power series on valid intervals.

This topic: Guarantee the accuracy of a Taylor approximation by bounding the next derivative throughout the interval from the center to the target.

2. Key Relationship

\(|f(x)-P_n(x)|\le\frac{M|x-a|^{n+1}}{(n+1)!}\)

Read every symbol with its domain, direction, units, and hypotheses before applying the relationship.

3. Visual Connection

center aerror
Taylor approximationThe polynomial matches derivatives at the center; the remainder bound controls separation farther away.

4. Worked Example

Use the (n+1)st derivative, a valid interval-wide bound M, and the full distance from the center.

Write the governing relationship first, carry out the algebra cleanly, and finish with a sentence that answers the mathematical question.

5. Concept Development

BC-only topic. A Taylor polynomial gives a local approximation, but the Lagrange Error Bound turns that approximation into a guaranteed statement about accuracy.

Remainder notation

If \(P_n\) is the degree-\(n\) Taylor polynomial for \(f\) centered at \(a\), define

\(R_n(x)=f(x)-P_n(x).\)

The quantity \(R_n(x)\) is the signed error, while \(|R_n(x)|\) is the absolute error.

Taylor's Theorem with Lagrange remainder

If \(f\) has the required derivatives on the interval between \(a\) and \(x\), then some number \(c\) between \(a\) and \(x\) satisfies

\(R_n(x)=\frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}.\)

The unknown location \(c\) prevents direct calculation, so an interval-wide derivative bound is used.

Lagrange Error Bound

If

\(|f^{(n+1)}(t)|\le M\)

for every \(t\) between \(a\) and \(x\), then

\(\boxed{|f(x)-P_n(x)|=|R_n(x)|\le\frac{M|x-a|^{n+1}}{(n+1)!}.}\)

Read every index carefully

  • A degree-\(n\) polynomial requires a bound on the \((n+1)\)st derivative.
  • The exponent on the distance is \(n+1\).
  • The factorial is \((n+1)!\).

These three appearances of \(n+1\) must agree.

The relevant interval

The derivative bound must hold on the entire closed interval joining the center and target:

\(I=[\min(a,x),\max(a,x)].\)

If \(x<a\), do not reverse the endpoints or use a negative distance; the formula contains \(|x-a|\).

How to choose M

Any valid upper bound for \(|f^{(n+1)}|\) on \(I\) works. A practical choice is the smallest easy bound you can justify.

  • For sine and cosine derivatives, \(M=1\) is always valid.
  • For \(e^t\), use the exponential value at the right endpoint because \(e^t\) increases.
  • For a decreasing positive expression such as \(C/t^p\), inspect the left endpoint.
  • If the problem provides \(|f^{(n+1)}(t)|\le K\), use \(M=K\).
  • For a more complicated derivative, analyze critical points and endpoints of \(|f^{(n+1)}|\).

M is not usually a value at the center

The number \(|f^{(n+1)}(a)|\) is valid only if it also bounds the derivative everywhere between \(a\) and \(x\). Checking one point without a monotonicity or maximum argument does not justify \(M\).

A step-by-step workflow

  1. Identify the polynomial degree \(n\), center \(a\), and target \(x\).
  2. Find or identify \(f^{(n+1)}\).
  3. Write the interval between \(a\) and \(x\).
  4. Justify a bound \(M\) for \(|f^{(n+1)}|\) on that interval.
  5. Substitute \(M\), \(|x-a|\), and \((n+1)!\) into the formula.
  6. Compare the result with the requested tolerance.

The bound is conservative

The Lagrange expression is a guaranteed maximum, not the actual error. A convenient \(M\) may be larger than the true maximum, making the bound loose but still valid.

Uniform accuracy on an interval

If \(|f^{(n+1)}(t)|\le M\) and \(|x-a|\le d\) throughout a target interval, then one calculation gives

\(|R_n(x)|\le\frac{Md^{n+1}}{(n+1)!}\)

for every \(x\) in that interval.

Choosing a polynomial degree

To guarantee error at most \(\varepsilon\), find the least nonnegative integer \(n\) for which

\(\frac{M_n|x-a|^{n+1}}{(n+1)!}\le\varepsilon,\)

where \(M_n\) bounds the derivative of order \(n+1\). Check successive degrees because \(M_n\) may change with \(n\).

What the bound does not determine

The absolute-value inequality alone does not tell whether \(P_n(x)\) is an overestimate or underestimate. That requires additional sign information about \(f^{(n+1)}(c)(x-a)^{n+1}\).

Lagrange versus alternating-series error

The Lagrange bound uses a higher-derivative maximum and applies to Taylor-polynomial remainders under Taylor's theorem. The alternating-series bound uses the first omitted term and requires alternating, decreasing magnitudes. Use the theorem whose hypotheses are established.

AP-style checklist

  1. Name the degree and therefore the required derivative order.
  2. State the interval between the center and target.
  3. Explain why the selected \(M\) bounds the derivative on that whole interval.
  4. Display the complete Lagrange inequality.
  5. Keep the error in absolute value.
  6. Finish by comparing the bound with the requested accuracy.

6. Detailed Worked Example and Error Check

Example 1: Exponential approximation to the right

Approximate \(e^{0.2}\) with the degree-\(3\) Maclaurin polynomial. Since \(f^{(4)}(t)=e^t\) and \(e^t\le e^{0.2}\) on \([0,0.2]\), take \(M=e^{0.2}\). Then

\(|R_3(0.2)|\le\frac{e^{0.2}(0.2)^4}{4!}\approx0.00008143<0.000082.\)

Example 2: Exponential approximation to the left

For the degree-\(2\) Maclaurin approximation of \(e^{-0.3}\), the interval is \([-0.3,0]\). Because \(e^t\le1\) there,

\(|R_2(-0.3)|\le\frac{1(0.3)^3}{3!}=0.0045.\)

Example 3: Sine with a standard bound

The degree-\(3\) Maclaurin polynomial for \(\sin x\) is \(x-x^3/6\). Since \(f^{(4)}(t)=\sin t\) and \(|\sin t|\le1\),

\(|R_3(0.1)|\le\frac{(0.1)^4}{4!}\approx4.17\times10^{-6}.\)

Example 4: Cosine approximation

For the degree-\(4\) Maclaurin polynomial \(1-x^2/2+x^4/24\), the fifth derivative of cosine has magnitude at most \(1\). Therefore

\(|R_4(0.2)|\le\frac{(0.2)^5}{5!}\approx2.67\times10^{-6}.\)

Example 5: Logarithm centered at 1

Approximate \(\ln(1.1)\) with \(P_2\) centered at \(1\). Since \(f'''(t)=2/t^3\), its largest magnitude on \([1,1.1]\) is \(M=2\). Thus

\(|R_2(1.1)|\le\frac{2(0.1)^3}{3!}=\frac1{3000}\approx0.0003333.\)

Example 6: Square root with an endpoint maximum

For \(f(x)=\sqrt x\), \(f'''(t)=3/(8t^{5/2})\). On \([4,4.1]\), this is largest at \(t=4\), so \(M=3/256\). The degree-\(2\) approximation centered at \(4\) satisfies

\(|R_2(4.1)|\le\frac{(3/256)(0.1)^3}{3!}\approx1.95\times10^{-6}.\)

Example 7: A derivative bound supplied by the problem

Suppose \(|f^{(5)}(t)|\le15\) for \(0\le t\le0.5\). Using the degree-\(4\) Maclaurin polynomial at \(x=0.1\),

\(|R_4(0.1)|\le\frac{15(0.1)^5}{5!}=1.25\times10^{-6}<10^{-5}.\)

This proves the requested accuracy without knowing the exact function value.

Example 8: One bound for an entire interval

For the degree-\(3\) Maclaurin polynomial of \(e^x\) on \([-0.5,0.5]\), use \(M=e^{0.5}\) and \(|x|\le0.5\):

\(|R_3(x)|\le\frac{e^{0.5}(0.5)^4}{4!}\quad\text{for every }x\in[-0.5,0.5].\)

Example 9: Find the least degree

To approximate \(e^{0.1}\) with error at most \(10^{-8}\), use \(M=e^{0.1}\) on \([0,0.1]\). Degree \(4\) gives

\(\frac{e^{0.1}(0.1)^5}{5!}\approx9.21\times10^{-8},\)

which is too large. Degree \(5\) gives \(e^{0.1}(0.1)^6/6!\approx1.54\times10^{-9}\), so the least guaranteed degree is \(5\).

Example 10: Why checking only the center fails

Let \(f(x)=1/(1-x)\), centered at \(0\), and use \(P_2\) at \(x=0.5\). Here \(f'''(t)=6/(1-t)^4\). Its center value is \(6\), but on \([0,0.5]\) the maximum is \(96\). Using \(M=6\) would produce an invalid bound \(0.125\), smaller than the actual error \(2-1.75=0.25\). The interval-wide bound \(M=96\) is valid, though conservative.

Common errors

  • Bounding \(f^{(n)}\) instead of \(f^{(n+1)}\).
  • Using \(n!\) or \(|x-a|^n\) in a degree-\(n\) error formula.
  • Choosing \(M=|f^{(n+1)}(a)|\) without an interval argument.
  • Evaluating the derivative only at the target point.
  • Forgetting the absolute value on the derivative or error.
  • Using \(x\) instead of the distance \(|x-a|\).
  • Writing the interval in the wrong order when \(x<a\).
  • Calling the upper bound the exact error.
  • Assuming a larger \(M\) makes the argument invalid; it only makes the estimate less sharp.
  • Claiming overestimate or underestimate from an absolute bound alone.
  • Using the alternating-series error formula without verifying alternation and decrease.
  • Rounding the bound before comparing it with the required tolerance.

7. AP Reasoning Routine

Check the nth-term condition first, match the series structure to a justified test, state convergence type, and test power-series endpoints separately.

  • Identify the representation and requested quantity.
  • State the rule or theorem and verify its conditions.
  • Keep exact values until the final requested approximation.
  • Interpret sign, units, interval, and context.
AP Checkpoint

Use the Lagrange Error Bound and justify every value of \(M\).
(a) A degree-\(4\) Taylor polynomial is evaluated \(0.2\) from its center, and \(|f^{(5)}(t)|\le12\) on the relevant interval. Find an error bound.
(b) Bound the error when the degree-\(2\) Maclaurin polynomial approximates \(e^{0.25}\).
(c) Bound the error when the degree-\(2\) Maclaurin polynomial approximates \(e^{-0.25}\).
(d) Bound the error when \(x-x^3/6\) approximates \(\sin(0.2)\).
(e) Bound the error when the degree-\(3\) Taylor polynomial for \(\ln x\), centered at \(1\), approximates \(\ln(0.9)\).
(f) For \(f(x)=\sqrt x\), bound the error when the tangent-line approximation centered at \(8\) is used at \(8.1\).
(g) If \(|f^{(6)}(t)|\le8\) on the relevant interval and \(|x-a|=0.3\), bound the error of \(P_5(x)\).
(h) Give a uniform error bound for the degree-\(3\) Maclaurin polynomial of \(e^x\) on \([-0.2,0.2]\).
(i) Find the least degree guaranteeing that the Maclaurin polynomial for \(e^x\) approximates \(e^{0.1}\) within \(10^{-8}\).
(j) Explain why \(M\) need not equal the exact maximum, but must still be justified on the full interval.
(k) Contrast the hypotheses of the Lagrange Error Bound with those of the Alternating Series Error Bound.
(l) Suppose \(|f^{(5)}(t)|\le20\) for \(0\le t\le0.2\). Show that the degree-\(4\) Maclaurin approximation at \(x=0.2\) is within \(10^{-4}\) of \(f(0.2)\).

Check the solution

(a) \(|R_4|\le12(0.2)^5/5!=0.000032\).
(b) On \([0,0.25]\), \(f'''(t)=e^t\le e^{0.25}\). Thus \(|R_2(0.25)|\le e^{0.25}(0.25)^3/3!\approx0.003344\).
(c) On \([-0.25,0]\), \(e^t\le1\). Thus \(|R_2(-0.25)|\le(0.25)^3/3!\approx0.002604\).
(d) Since \(|f^{(4)}(t)|=|\sin t|\le1\), \(|R_3(0.2)|\le(0.2)^4/4!\approx0.00006667\).
(e) Here \(f^{(4)}(t)=-6/t^4\). On \([0.9,1]\), \(M=6/(0.9)^4\). Therefore \(|R_3(0.9)|\le[6/(0.9)^4](0.1)^4/4!\approx0.00003810\).
(f) Since \(f''(t)=-1/(4t^{3/2})\), its magnitude is largest at \(t=8\). Thus \(|R_1(8.1)|\le[1/(4\cdot8^{3/2})](0.1)^2/2!\approx0.00005524\).
(g) \(|R_5|\le8(0.3)^6/6!=0.0000081\).
(h) Since \(e^t\le e^{0.2}\) on the interval and \(|x|\le0.2\), \(|R_3(x)|\le e^{0.2}(0.2)^4/4!\) for all \(x\in[-0.2,0.2]\).
(i) With \(M=e^{0.1}\), degree \(4\) gives approximately \(9.21\times10^{-8}\), while degree \(5\) gives approximately \(1.54\times10^{-9}\). The least guaranteed degree is \(5\).
(j) Any number at least as large as \(|f^{(n+1)}(t)|\) everywhere on the interval yields a valid bound. A larger convenient value is allowed, but an unsupported or smaller value can invalidate the guarantee.
(k) Lagrange uses a bound on the \((n+1)\)st derivative over the center-to-target interval. The alternating bound requires alternating terms whose magnitudes decrease to zero and then uses the first omitted magnitude.
(l) \(|R_4(0.2)|\le20(0.2)^5/5!=0.00005333\ldots<0.0001\). Therefore the approximation is within \(10^{-4}\).