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 7 · Topic 7.5 · BC Only

Approximating Solutions Using Euler’s Method

Advance along tangent-line steps from an initial condition.

1. Topic Focus

Model rates with differential equations, read slope fields, approximate solutions, solve separable equations, and interpret exponential or logistic models.

This topic: Advance along tangent-line steps from an initial condition.

2. Key Relationship

\(y_{n+1}=y_n+F(x_n,y_n)\Delta x\)

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

3. Visual Connection

step h
Euler approximationEach new point advances along the tangent slope recalculated at the previous approximation.

4. Worked Example

Starting at (0,1) with y′=x+y and h=0.1 gives y₁=1.1.

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

5. Concept Development

Euler's Method approximates the solution of an initial-value problem by repeatedly following a tangent line for one short step. For

\(y'=F(x,y),\qquad y(x_0)=y_0,\)

the tangent-line approximation at \((x_n,y_n)\) predicts

\(x_{n+1}=x_n+h,\qquad y_{n+1}=y_n+hF(x_n,y_n).\)

Here \(h\) is the step size. The method replaces a smooth solution curve with a chain of tangent-line steps, recalculating the slope at every newly approximated point.

Why the update formula works

Local linearity gives

\(y(x_n+h)\approx y(x_n)+y'(x_n)h.\)

Euler's Method substitutes the known approximation \(y_n\) for \(y(x_n)\) and uses the differential equation to estimate \(y'(x_n)\) by \(F(x_n,y_n)\). Thus each step follows the slope field from the current approximate point.

The five-column workflow

ColumnWhat to record
\(n\)step number
\(x_n\)current input
\(y_n\)current approximate output
\(F(x_n,y_n)\)new slope evaluated at the current point
\(hF(x_n,y_n)\)predicted change added to obtain \(y_{n+1}\)
  1. Compute the number of steps: \(N=(x_{\text{target}}-x_0)/h\).
  2. Begin with the exact initial pair \((x_0,y_0)\).
  3. Evaluate the slope using both current coordinates.
  4. Multiply the slope by \(h\) and add it to the current \(y\)-value.
  5. Advance \(x\) by \(h\), then repeat with the new approximate pair.

Step size and direction

A positive \(h\) moves to the right; a negative \(h\) approximates values to the left of the initial point. The target must lie on the Euler grid \(x_n=x_0+nh\), so choose \(h\) and the number of steps consistently. A smaller \(|h|\) usually gives a better approximation because the tangent line is followed over a shorter interval, but it requires more steps.

Overestimates and underestimates

On an interval where the exact solution is concave up, its tangent lines lie below the curve, so forward Euler steps generally underestimate. For a concave-down solution, tangent lines lie above the curve, so the method generally overestimates.

Exact solution shapeForward Euler tendency
\(y''>0\) throughout the stepsunderestimate
\(y''<0\) throughout the stepsoverestimate
concavity changesno single error direction follows without further analysis

This comparison requires the concavity of the exact solution, not merely the sign of \(y'\). A solution can be decreasing and concave up.

Error and numerical care

Each tangent step introduces local error, and those errors accumulate. Under standard smoothness assumptions, Euler's local truncation error is proportional to \(h^2\), while the accumulated error over a fixed interval is proportional to \(|h|\). This explains why halving the step often roughly halves the overall error, although it is not an AP error-bound formula.

  • Keep several guard digits and round only the final answer unless instructed otherwise.
  • Do not replace an approximate \(y_n\) with an exact value midway through the table.
  • Check units: \(h\) has input units, \(F\) has output per input, and \(hF\) has output units.
  • A numerical approximation is not a general solution formula.
BC-only topic: On an AP response, show enough iterations or a clearly labeled table to establish how each new slope and output were obtained.

6. Detailed Worked Example and Error Check

Example 1: Two standard steps

Approximate \(y(1)\) for \(y'=x-y\), \(y(0)=1\), with \(h=0.5\).

\(n\)\(x_n\)\(y_n\)\(F(x_n,y_n)\)\(y_{n+1}\)
001\(-1\)\(1+0.5(-1)=0.5\)
10.50.5\(0\)\(0.5+0.5(0)=0.5\)

Therefore \(y(1)\approx0.5\). The second slope must be evaluated at the new pair \((0.5,0.5)\).

Example 2: A nonlinear table

Use \(h=0.2\) to approximate \(y(0.6)\) for \(y'=y-x^2\), \(y(0)=1\).

\(n\)\(x_n\)\(y_n\)\(y_n-x_n^2\)next \(y\)
00111.2
10.21.21.161.432
20.41.4321.2721.6864

Thus \(y(0.6)\approx1.6864\).

Example 3: Working backward

Approximate \(y(0.5)\) for \(y'=x+y\), \(y(1)=2\), using \(h=-0.25\).

\(\begin{aligned}y_1&=2+(-0.25)(1+2)=1.25,\\y_2&=1.25+(-0.25)(0.75+1.25)=0.75.\end{aligned}\)

The corresponding inputs are \(0.75\) and \(0.5\), so \(y(0.5)\approx0.75\). The negative step changes the sign of each predicted change.

Example 4: Using tabulated slopes

Suppose \(y(0)=2\), \(h=0.2\), and a table gives \(F(0,2)=1.5\) and \(F(0.2,2.3)=1.1\). Then

\(y_1=2+0.2(1.5)=2.3,\qquad y_2=2.3+0.2(1.1)=2.52.\)

Therefore \(y(0.4)\approx2.52\). The second table lookup uses the approximated output \(2.3\).

Example 5: Population context and units

A population satisfies \(P'=0.4P(1-P/1000)\), where time is in years and \(P(0)=100\). With \(h=0.5\),

\(\begin{aligned}P(0.5)&\approx100+0.5[0.4(100)(0.9)]=118,\\P(1)&\approx118+0.5[0.4(118)(0.882)]=138.8152.\end{aligned}\)

The slope has units people per year; multiplying by \(0.5\) year produces a change in people.

Example 6: Error direction from concavity

For \(y'=y\), \(y(0)=1\), the exact solution is concave up because \(y''=y'=y>0\). With \(h=0.5\), Euler's Method gives \(y(1)\approx2.25\), while the exact value is \(e\approx2.718\). The underestimate agrees with the tangent-line geometry.

Example 7: Smaller steps

For the same problem \(y'=y\), \(y(0)=1\), using \(h=0.25\) gives four updates:

\(y(1)\approx(1+0.25)^4=2.44140625.\)

This is closer to \(e\) than \(2.25\), though it remains an underestimate because the solution stays concave up.

Example 8: Diagnosing a stale-slope error

For \(y'=x+y\), \(y(0)=1\), and \(h=0.25\), the first slope is \(1\), giving \(y_1=1.25\). The next slope is not \(1\); it is

\(F(0.25,1.25)=1.5.\)

Therefore \(y_2=1.25+0.25(1.5)=1.625\). Reusing the initial slope would turn Euler's Method into one long tangent line.

Common calculation errors

  • Evaluating every slope at the original point.
  • Updating \(y\) but forgetting to update \(x\).
  • Using \(F(x_{n+1},y_n)\) instead of \(F(x_n,y_n)\).
  • Taking the wrong number of steps or stepping past the target.
  • Losing the sign of a negative step when working backward.
  • Rounding each row so aggressively that the errors compound.

7. AP Reasoning Routine

Translate the context into a rate equation, verify candidate solutions by substitution, carry constants through integration, and apply initial conditions last.

  • 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 Euler's Method and show the updates or a labeled table.
(a) For \(y'=F(x,y)\), \(y(2)=5\), and \(F(2,5)=-3\), use one step of size \(0.1\) to approximate \(y(2.1)\).
(b) Approximate \(y(0.5)\) for \(y'=x+y\), \(y(0)=1\), with \(h=0.25\).
(c) Approximate \(y(0.4)\) for \(y'=y-x^2\), \(y(0)=1\), with \(h=0.2\).
(d) Approximate \(y(0.5)\) for \(y'=x-y\), \(y(1)=2\), with \(h=-0.25\).
(e) How many steps are required to move from \(x=-1\) to \(x=1\) with \(h=0.25\)?
(f) If \(t\) is measured in hours and \(Q'=F(t,Q)\) is measured in liters per hour, explain the units of \(hF(t_n,Q_n)\).
(g) The exact solution is concave down throughout a forward Euler interval. Is the Euler estimate expected to be above or below the exact value?
(h) Let \(y(0)=3\), \(h=0.5\), \(F(0,3)=-2\), and \(F(0.5,2)=-1.4\). Approximate \(y(1)\).
(i) A population satisfies \(P'=0.2P(1-P/500)\), \(P(0)=50\). Use \(h=1\) to approximate \(P(2)\).
(j) For \(y'=2x\), \(y(0)=0\), compare Euler approximations of \(y(1)\) using \(h=0.5\) and \(h=0.25\). The exact value is \(1\).

Check the solution

(a) \(y(2.1)\approx5+0.1(-3)=4.7\).
(b) \(y_1=1+0.25(1)=1.25\), then \(y_2=1.25+0.25(0.25+1.25)=1.625\).
(c) First \(y_1=1+0.2(1)=1.2\). Then \(y_2=1.2+0.2(1.2-0.2^2)=1.432\).
(d) At \((1,2)\), the slope is \(-1\), so \(y_1=2+(-0.25)(-1)=2.25\) at \(x=0.75\). The new slope is \(0.75-2.25=-1.5\), so \(y_2=2.25+(-0.25)(-1.5)=2.625\). Thus \(y(0.5)\approx2.625\).
(e) \(N=[1-(-1)]/0.25=8\) steps.
(f) \(h\) has units hours, so \(hF\) has units \((\text{hours})(\text{liters/hour})=\text{liters}\), matching the units of the change in \(Q\).
(g) Above. Tangent lines to a concave-down curve lie above the curve, so forward Euler generally overestimates.
(h) \(y_1=3+0.5(-2)=2\), then \(y_2=2+0.5(-1.4)=1.3\).
(i) \(P_1=50+0.2(50)(0.9)=59\). Then \(P_2=59+0.2(59)(1-59/500)=69.4076\).
(j) With \(h=0.5\), the updates use slopes \(0\) and \(1\), giving \(0.5\). With \(h=0.25\), the slopes are \(0,0.5,1,1.5\), giving \(0.75\). Both underestimate the exact value \(1\), and the smaller step is closer.