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 5 · Topic 5.11

Solving Optimization Problems

Reduce to one variable, find candidates, verify an absolute optimum, and interpret units.

1. Topic Focus

Use derivatives to prove existence, classify extrema, analyze monotonicity and concavity, sketch graphs, and solve optimization problems.

This topic: Reduce to one variable, find candidates, verify an absolute optimum, and interpret units.

2. Key Relationship

\(F'(x)=0\quad\text{plus endpoints}\)

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

3. Visual Connection

acbinputvalueaf(a)cf(c)bf(b)largest output wins
Candidate comparison completes the solutionFilter candidates through the domain, compare every feasible value, and interpret the winning input and output in context.

4. Worked Example

For fixed rectangle perimeter P, area is maximized by the square x=P/4.

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

5. Concept Development

From a model to a justified solution

After the objective has been written as a one-variable function, optimization becomes an absolute-extrema problem on a feasible domain. A complete solution must find the best input, justify that it is global, recover any other requested quantities, and interpret the result in context.

Recheck the objective and domain

Before differentiating, confirm that the function represents the quantity being maximized or minimized and that its domain enforces every physical restriction. Length, time, production, and radius are usually nonnegative; a cut from a sheet must also leave positive material.

Differentiate the reduced objective

Differentiate the one-variable objective, not the original collection of unrelated formulas. Factoring the derivative often makes its zeros and sign easier to analyze. Preserve exact expressions until the final interpretation.

Generate the complete candidate set

Interior candidates include inputs where \(f'(x)=0\) and inputs where \(f'\) is undefined while \(f\) remains defined. For a closed interval, include both endpoints as candidates even though the derivative condition does not apply there.

Filter candidates through the feasible domain

An algebraic root is not automatically a physical solution. Reject values outside the domain, values that make a dimension negative or zero when a nondegenerate object is required, and extraneous roots introduced by operations such as squaring.

Closed intervals: compare candidate values

If the objective is continuous on a closed, bounded interval, the Extreme Value Theorem guarantees absolute extrema. Evaluate the objective at every feasible critical number and endpoint; the greatest output is the absolute maximum and the least is the absolute minimum.

Open or unbounded domains

There may be no endpoints to place in a candidate table. Examine limits at excluded boundaries and at infinity, then combine that end behavior with a derivative sign analysis. For example, if a cost tends to infinity at both ends of \((0,\infty)\) and decreases before one critical number and increases after it, that critical number gives the global minimum.

Choose an appropriate justification

A candidate comparison is strongest on a closed interval. The First Derivative Test proves a local maximum when the derivative changes from positive to negative and a local minimum for the reverse change. The Second Derivative Test can classify a stationary point, but a local classification alone does not prove a global result unless the domain or concavity supplies the missing argument.

Guard against extraneous roots

When an equation containing a radical is squared, record the sign condition that existed before squaring and substitute each proposed root into the unsquared equation. This prevents a root of the transformed equation from entering the final candidate set incorrectly.

Keep exact values before rounding

Use exact radicals or fractions in derivative tests and candidate comparisons. Round only after the optimum has been established, and use enough decimal places to answer the context accurately.

Recover every requested variable

The optimizing input may represent only one dimension. Substitute it into the constraint to find the remaining dimensions, demand, time, or distance. Reporting only the critical number is incomplete when the prompt asks for a design or a maximum value.

Interpret the result with units

State what is optimized, where it occurs, and its units: for example, “The maximum area is \(1250\) square meters when the sides are \(25\) meters and \(50\) meters.” Distinguish the units of the input from those of the objective.

Common errors

Frequent errors include checking only \(f'(x)=0\), ignoring endpoints, accepting an infeasible root, using the Second Derivative Test as an unsupported claim of absolute optimality, rounding too early, and giving a number without dimensions or contextual meaning.

6. Detailed Worked Example and Error Check

Example 1: Rectangle with fixed perimeter. A rectangle has perimeter \(40\) meters. With sides \(x\) and \(20-x\),

\(A(x)=x(20-x),\qquad 0\le x\le20,\qquad A'(x)=20-2x.\)

The candidates are \(0,10,20\). Their areas are \(0,100,0\), so the global maximum is \(100\) square meters. The required dimensions are \(10\) meters by \(10\) meters.

Example 2: Pen beside a river. One hundred meters of fencing forms three sides of a rectangle. If \(x\) is each side perpendicular to the river, the parallel side is \(100-2x\).

\(A(x)=x(100-2x),\quad 0\le x\le50,\quad A'(x)=100-4x.\)

The candidates \(0,25,50\) produce areas \(0,1250,0\). Thus the maximum area is \(1250\) square meters with perpendicular sides of \(25\) meters and a parallel side of \(50\) meters.

Example 3: Open-top box. Squares of side \(x\) are cut from a \(20\)-by-\(30\) sheet.

\(V=x(20-2x)(30-2x),\quad 0\le x\le10,\quad V'=4(3x^2-50x+150).\)

The derivative roots are \((25\pm5\sqrt7)/3\), but only

\(x^*=\frac{25-5\sqrt7}{3}\approx3.924\)

is feasible. Both endpoints give zero volume, so this interior candidate gives the global maximum \((10000+7000\sqrt7)/27\approx1056.31\) cubic units. The box is approximately \(3.924\) high, \(12.152\) wide, and \(22.152\) long.

Example 4: Revenue. Demand is \(n(p)=500-2p\) items at price \(p\), where \(0\le p\le250\).

\(R(p)=p(500-2p),\qquad R'(p)=500-4p.\)

The candidates are \(0,125,250\). Revenue is maximized at \(p=125\), when \(250\) items are sold and the revenue is \(\$31{,}250\).

Example 5: Closest point on a parabola. Minimize the distance from \((0,3)\) to \((x,x^2)\). It is simpler to minimize the squared distance:

\(Q(x)=x^2+(x^2-3)^2,\qquad Q'(x)=2x(2x^2-5).\)

The candidates are \(0\) and \(\pm\sqrt{5/2}\). Since \(Q(0)=9\), \(Q(\pm\sqrt{5/2})=11/4\), and \(Q(x)\to\infty\) as \(|x|\to\infty\), both points \((\pm\sqrt{5/2},5/2)\) are globally closest. Their distance is \(\sqrt{11}/2\).

Example 6: Minimum-material open cylinder. An open cylinder has volume \(54\pi\). From \(\pi r^2h=54\pi\), \(h=54/r^2\), so

\(S(r)=\pi r^2+\frac{108\pi}{r},\quad r>0,\quad S'(r)=2\pi r-\frac{108\pi}{r^2}.\)

The derivative changes from negative to positive at \(r=3\sqrt[3]{2}\). Also, \(S(r)\to\infty\) as \(r\to0^+\) or \(r\to\infty\), so this is the global minimum. The constraint gives \(h=3\sqrt[3]{2}\), and the minimum area is \(27\pi\sqrt[3]{4}\).

Example 7: Minimum travel time. A traveler runs \(x\) miles at \(8\) mph and then swims to an island at \(3\) mph:

\(T(x)=\frac{x}{8}+\frac{\sqrt{(6-x)^2+4}}{3},\qquad 0\le x\le6.\)

Solving \(T'(x)=0\) gives \(x=6-6/\sqrt{55}\). Squaring during the solution also requires the original sign condition \(6-x\ge0\). Comparing this feasible candidate with the endpoints gives

\(T_{\min}=\frac{9+\sqrt{55}}{12}\approx1.368\text{ hours}.\)

The traveler should run approximately \(5.191\) miles before entering the water.

7. AP Reasoning Routine

State theorem hypotheses, make sign charts on domain intervals, include endpoints when required, and connect derivative signs to function behavior.

  • 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

Solve each problem and justify the global result.
(a) Find the dimensions and maximum area of a rectangle with perimeter \(60\).
(b) A river-side rectangular pen uses \(120\) meters of fencing on three sides. Find its maximum area and dimensions.
(c) Squares are cut from a \(16\)-by-\(24\) sheet to make an open box. Find the cut size that maximizes volume.
(d) An open box with square base has volume \(500\). Find the dimensions that minimize surface area.
(e) Demand is \(n(p)=800-4p\). Find the price, number sold, and maximum revenue.
(f) Minimize \(C(x)=x^2+100/x\) for \(x>0\), and justify that the result is global.
(g) Find the points on \(y=x^2\) closest to \((0,2)\).
(h) Find the absolute maximum and minimum of \(P(x)=-x^2+12x-20\) on \([0,10]\).
(i) Explain how to screen roots obtained after squaring a radical equation in an optimization solution.
(j) Write a complete contextual conclusion if a cost function has an absolute minimum of \(320\) dollars at a production level of \(45\) units.

Check the solution

(a) \(A=x(30-x)\) on \([0,30]\). Since \(A'=30-2x\), compare \(x=0,15,30\). The maximum is \(225\) square units for a \(15\)-by-\(15\) rectangle.
(b) \(A=x(120-2x)\) on \([0,60]\). The candidates are \(0,30,60\), so the maximum area is \(1800\) square meters with sides \(30,30,60\) meters.
(c) \(V=x(16-2x)(24-2x)\) on \([0,8]\), and \(V'=4(3x^2-40x+96)\). The feasible derivative root is \(x=(20-4\sqrt7)/3\approx3.139\); the other root exceeds \(8\), and the endpoints give zero volume. Thus this cut size gives the global maximum, approximately \(540.83\) cubic units.
(d) With base side \(x\), \(h=500/x^2\) and \(S=x^2+2000/x\) for \(x>0\). The derivative vanishes at \(x=10\), giving \(h=5\). Because \(S\to\infty\) at both ends of the domain and \(S'\) changes from negative to positive, the minimum surface area is \(300\) square units.
(e) \(R=800p-4p^2\) on \([0,200]\). The maximum occurs at \(p=100\), when \(400\) items are sold and revenue is \(\$40{,}000\).
(f) \(C'=2x-100/x^2\), so \(x=\sqrt[3]{50}\). The derivative is negative before and positive after this value, while \(C\to\infty\) as \(x\to0^+\) or \(x\to\infty\). The global minimum is \(3\sqrt[3]{2500}\).
(g) Minimize \(Q=x^2+(x^2-2)^2\). Since \(Q'=2x(2x^2-3)\), the minimum value \(7/4\) occurs at \(x=\pm\sqrt{3/2}\). The closest points are \((\pm\sqrt{3/2},3/2)\), each at distance \(\sqrt7/2\).
(h) Compare \(P(0)=-20\), \(P(6)=16\), and \(P(10)=0\). The absolute maximum is \(16\) at \(x=6\), and the absolute minimum is \(-20\) at \(x=0\).
(i) Preserve the pre-squaring sign restriction, test every proposed root in the original unsquared equation, and reject roots outside the feasible domain.
(j) “The minimum cost is \(\$320\), achieved when the company produces \(45\) units.” This identifies the optimum, optimizing input, and units.