Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›AP Calculus AB
  3. ›5 Analytical Applications of Differentiation
  4. ›5.11 Solving optimization problems

AP Calculus AB · Unit 5 · Analytical Applications of Differentiation

5.11 Solving optimization problems

Solve applied optimization problems by finding critical points, checking endpoints, and interpreting the result.

  • 3 min read
  • 4 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/4Define the quantity to optimize and its constraints
  1. 1Define the quantity to optimize and its constraints
  2. 2Use the constraint to build one function
  3. 3Critical points identify possible interior optima
  4. 4Compare every candidate and report the requested quantity
  5. Check your recall
  6. Practice: 10 questions
1

Part 1 of 4: Define the quantity to optimize and its constraints

Start by naming the objective function, the quantity to maximize or minimize. Define each variable and its units. Then write a constraint that connects the variables. The situation also determines a feasible domain: only values that make physical sense belong in the problem. For example, a length cannot be negative. A closed interval may include zero-length boundary cases, even when those cases are not useful designs. Include them when they are mathematically allowed, then interpret the result.

Exam tip

State what each variable measures before writing equations. This makes your final answer easier to interpret.

Key terms · tap one for its definition

objective function

An objective function expresses the quantity being maximized or minimized in terms of the problem's variables.

constraint

A constraint is a condition that restricts the possible values of the variables.

feasible domain

The feasible domain contains the input values permitted by every condition in the problem.

Part 1 done

2

Part 2 of 4: Use the constraint to build one function

Suppose 100 meters of fencing forms three sides of a rectangle against a straight wall. Let xxx be each side perpendicular to the wall, and yyy be the fenced side parallel to it. The fencing constraint is 2x+y=1002x+y=1002x+y=100. The area function is A=xyA=xyA=xy. Substitute y=100−2xy=100-2xy=100−2x to get A(x)=100x−2x2A(x)=100x-2x^2A(x)=100x−2x2. Since both lengths must be nonnegative, 0≤x≤500\leq x\leq500≤x≤50. The endpoints describe rectangles with zero area. They still matter when checking the maximum.

Figure 1. The wall replaces one side of the fence. Only the other three sides use the available fencing.

Key terms · tap one for its definition

fencing constraint

The fencing constraint states that the lengths of the three fenced sides total 100 meters.

area function

The area function gives the enclosed rectangular area for each feasible value of the chosen variable.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the objective function in a problem that seeks to minimize the cost of producing xxx items, where the cost is C(x)=3x2+12x+50C(x)=3x^2+12x+50C(x)=3x2+12x+50 dollars.
Show answer and explanation

Answer: C · Worked explanation

The objective function is the quantity the problem asks you to minimize or maximize, expressed in terms of the chosen variable. Here, the requested quantity is cost, and C(x)=3x2+12x+50C(x)=3x^2+12x+50C(x)=3x2+12x+50 gives that cost for each permitted production level. The derivative describes how cost changes; it is useful in finding candidates but is not the objective itself.
3

Part 3 of 4: Critical points identify possible interior optima

An interior critical point occurs where the derivative is zero or undefined, provided the function exists there. It is a candidate, not automatically an optimum. For the fenced rectangle, differentiate: A′(x)=100−4xA'(x)=100-4xA′(x)=100−4x. Setting A′(x)=0A'(x)=0A′(x)=0 gives x=25x=25x=25 meters. The constraint then gives y=50y=50y=50 meters. In context, this critical point represents a possible fence layout with the greatest enclosed area. A different applied problem may have several critical points, including ones that do not give the desired optimum.

Common mistake

Solving A′(x)=0A'(x)=0A′(x)=0 alone does not prove a maximum. Check other critical points and any included endpoints.

Key term

critical point

A critical point is an interior domain point where the derivative is zero or undefined.

Part 3 done

4

Part 4 of 4: Compare every candidate and report the requested quantity

On a closed feasible interval, compare the candidate values at every critical point and both endpoints. The largest value gives the absolute maximum; the smallest gives the absolute minimum. For the fenced rectangle, the endpoints each give zero area. The interior candidate gives a larger area, so it is the maximum. Report the quantity the question asks for, with units. Here, the maximum area is 1250 square meters, achieved with sides of 25, 25, and 50 meters.

Worked example

Maximize the fenced area

A wall forms one side of a rectangle. The other three sides use 100 meters of fencing. Find the greatest possible area.
  1. 1
    Let xxx be each perpendicular side and yyy the remaining side. Then 2x+y=1002x+y=1002x+y=100.
  2. 2
    Write A=xy=x(100−2x)=100x−2x2A=xy=x(100-2x)=100x-2x^2A=xy=x(100−2x)=100x−2x2, with 0≤x≤500\leq x\leq500≤x≤50.
  3. 3
    Solve A′(x)=100−4x=0A'(x)=100-4x=0A′(x)=100−4x=0, giving x=25x=25x=25 and y=50y=50y=50.
  4. 4
    Compare A(0)=0A(0)=0A(0)=0, A(25)=1250A(25)=1250A(25)=1250, and A(50)=0A(50)=0A(50)=0, all in square meters.

Answer: The greatest area is 1250 square meters, using two 25-meter sides and one 50-meter side.

Key term

candidate values

Candidate values are objective-function values at critical points and included endpoints that must be compared.

Note read

Check your recall[12 marks]

4 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.State[1 mark]

    State what a feasible domain represents in an optimization problem.

    Show mark schemeHide mark scheme

    Model answer

    It contains all input values allowed by the problem's conditions.

    • 1 mark for identifying the input values permitted by the problem's conditions
  2. 2.Explain[3 marks]

    Explain why solving A′(x)=0A'(x)=0A′(x)=0 does not establish the greatest fenced area.

    Show mark schemeHide mark scheme

    Model answer

    It identifies an interior candidate only. Other critical points could exist, and included endpoints must also be checked. Compare their area values to establish the greatest area.

    • 1 mark for recognizing that a zero derivative identifies a candidate rather than proving a maximum
    • 1 mark for noting that other critical points and included endpoints may be candidates
    • 1 mark for comparing the objective-function values to establish the greatest value
  3. 3.Calculate[4 marks]

    Calculate the maximum area enclosed by 100 meters of fencing along a wall.

    Show mark schemeHide mark scheme

    Model answer

    With 2x+y=1002x+y=1002x+y=100, area is A(x)=x(100−2x)A(x)=x(100-2x)A(x)=x(100−2x) for 0≤x≤500\leq x\leq500≤x≤50. Solving A′(x)=100−4x=0A'(x)=100-4x=0A′(x)=100−4x=0 gives x=25x=25x=25. The areas at x=0x=0x=0, 25, and 50 are 0, 1250, and 0 square meters. The maximum is 1250 square meters.

    • 1 mark for forming A(x)=x(100−2x)A(x)=x(100-2x)A(x)=x(100−2x) with 0≤x≤500\leq x\leq500≤x≤50
    • 1 mark for finding the critical value x=25x=25x=25 from A′(x)=0A'(x)=0A′(x)=0
    • 1 mark for checking the area at the critical value and both endpoints
    • 1 mark for reporting the maximum as 1250 square meters
  4. 4.Interpret[4 marks]

    Interpret the critical point and endpoints for the fenced rectangle.

    Show mark schemeHide mark scheme

    Model answer

    The critical point x=25x=25x=25 means each perpendicular side is 25 meters. The remaining side is 50 meters. At either endpoint, one dimension is zero, so the area is zero. The critical point therefore gives the greatest area on the feasible interval.

    • 1 mark for interpreting x=25x=25x=25 as two perpendicular sides of 25 meters each
    • 1 mark for finding the remaining side as 50 meters
    • 1 mark for interpreting both endpoints as zero-area boundary cases
    • 1 mark for concluding that the critical point gives the greatest feasible area

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the quick check in the note above.

2.

Easy·State[1 mark]

State the condition that makes an interior point of a function's domain a critical point.
Show answer and explanation

Answer: C · Worked explanation

An interior domain point is critical when the derivative is zero there or the derivative does not exist there. This identifies possible locations of an interior optimum, not necessarily an actual maximum or minimum. A point with the largest function value may be an optimum, but that conclusion requires comparison rather than being part of the definition.
3.

Easy·Identify[1 mark]

A quantity Q(x)Q(x)Q(x) is optimized on the closed feasible interval [2,9][2,9][2,9]. Identify the values that must be checked to find its absolute maximum, assuming there are finitely many critical points.
Show answer and explanation

Answer: D · Worked explanation

For a continuous objective on a closed interval, an absolute maximum can occur at an interior critical point or at an endpoint. Therefore, check all interior critical points and both endpoints, then compare the corresponding function values. Checking only points where the derivative is zero can miss an endpoint maximum.
4.

Easy·Identify[1 mark]

A shop chooses a nonnegative number xxx of custom orders, and a budget limits production to at most 40 orders. Which interval is the feasible domain for xxx?
Show answer and explanation

Answer: C · Worked explanation

The number of orders cannot be negative, and the budget allows no more than 40, so the feasible domain is 0≤x≤400\leq x\leq400≤x≤40. The boundary cases are included because zero orders and 40 orders are permitted by the stated conditions. The open interval incorrectly excludes these allowed boundary values.
5.

Medium·Calculate[2 marks]

A rectangular garden has 48 meters of fencing for its four sides. If one side has length xxx meters, its area is A(x)=x(24−x)A(x)=x(24-x)A(x)=x(24−x) for 0≤x≤240\leq x\leq240≤x≤24. Calculate the maximum area.
Show answer and explanation

Answer: C · Worked explanation

Differentiate to get A′(x)=24−2xA'(x)=24-2xA′(x)=24−2x, so the interior critical point is x=12x=12x=12. Then A(12)=12(24−12)=144 m2A(12)=12(24-12)=144\text{ m}^2A(12)=12(24−12)=144 m2, while both endpoints give zero area, making 144 square meters the maximum. The tempting value 288 m2288\text{ m}^2288 m2 comes from multiplying 12 by the full perimeter rather than by the other side length, which is also 12 meters.
6.

Medium·Interpret[2 marks]

A company models daily profit by P(x)=−2x2+80x−300P(x)=-2x^2+80x-300P(x)=−2x2+80x−300 dollars, where xxx is the number of items produced and 0≤x≤400\leq x\leq400≤x≤40. Interpret the critical point of this model.
Show answer and explanation

Answer: D · Worked explanation

The derivative is P′(x)=−4x+80P'(x)=-4x+80P′(x)=−4x+80, which is zero at x=20x=20x=20. Substitution gives P(20)=500P(20)=500P(20)=500 dollars. The endpoint values are P(0)=P(40)=−300P(0)=P(40)=-300P(0)=P(40)=−300 dollars, so the greatest profit is 500 at 20 items.
7.

Medium·Determine[2 marks]

A rectangular banner has perimeter 60 feet. Let its width be xxx feet and its length be 30−x30-x30−x feet, with 0≤x≤150\leq x\leq150≤x≤15. Determine the objective function for maximizing its area.
Show answer and explanation

Answer: C · Worked explanation

Area is width times length, so substituting the length 30−x30-x30−x gives A(x)=x(30−x)A(x)=x(30-x)A(x)=x(30−x). Its units are square feet because it multiplies two lengths. The expression 2x+2(30−x)2x+2(30-x)2x+2(30−x) is the perimeter constraint, not the area being optimized.
8.

Medium·Determine[2 marks]

A function describing a measured output is R(t)=t3−6t2+9t+2R(t)=t^3-6t^2+9t+2R(t)=t3−6t2+9t+2 on 0≤t≤40\leq t\leq40≤t≤4. Determine the absolute minimum value on this interval.
Show answer and explanation

Answer: C · Worked explanation

The derivative is R′(t)=3(t−1)(t−3)R'(t)=3(t-1)(t-3)R′(t)=3(t−1)(t−3), so the candidates are t=1t=1t=1 and t=3t=3t=3, together with endpoints 0 and 4. Their values are R(0)=2R(0)=2R(0)=2, R(1)=6R(1)=6R(1)=6, R(3)=2R(3)=2R(3)=2, and R(4)=6R(4)=6R(4)=6; thus the absolute minimum is 2. The tempting value 0 is not attained by the function at any of these candidates.
9.

Medium·Explain[2 marks]

A rectangular enclosure uses 30 meters of fencing for three sides next to a wall. Let xxx be the two equal perpendicular sides, so the third side is 30−2x30-2x30−2x. The area has an interior critical point at x=7.5x=7.5x=7.5. Explain what this critical point represents.
Show answer and explanation

Answer: D · Worked explanation

The critical point gives the value of the chosen variable, so x=7.5x=7.5x=7.5 means each perpendicular side is 7.5 meters. The constraint gives the third fenced side as 30−2(7.5)=1530-2(7.5)=1530−2(7.5)=15 meters, making this a candidate physical layout. It represents dimensions, not the area value itself, and the candidate still needs to be compared with other candidates.
10.

Hard·Determine[2 marks]

A rectangular storage pen is built against a wall using 36 meters of fencing for its other three sides. If xxx is each perpendicular side, its area is A(x)=x(36−2x)A(x)=x(36-2x)A(x)=x(36−2x) on 0≤x≤180\leq x\leq180≤x≤18. Determine the dimensions that give the greatest area and the area itself.
Show answer and explanation

Answer: A · Worked explanation

Differentiate: A′(x)=36−4xA'(x)=36-4xA′(x)=36−4x, so the interior critical point is x=9x=9x=9 and the constraint gives the third side as 36−18=1836-18=1836−18=18 meters. Its area is 9(18)=162 m29(18)=162\text{ m}^29(18)=162 m2, greater than the zero areas at x=0x=0x=0 and x=18x=18x=18. The endpoint choice with a zero-length third side is feasible as a boundary case but does not produce the greatest area.

Keep going

Next topic5.12 Behaviour of implicit relationsPrevious topic5.10 Introduction to optimization

More in Unit 5 · Analytical Applications of Differentiation

  1. 5.4First derivative testNotes · 10 questions
  2. 5.5Candidates testNotes · 10 questions
  3. 5.6ConcavityNotes · 10 questions
  4. 5.7Second derivative testNotes · 10 questions
  5. 5.8Sketching functions and their derivativesNotes · 10 questions
  6. 5.9Connecting f, f' and f''Notes · 10 questions
  7. 5.10Introduction to optimizationNotes · 10 questions
  8. 5.11Solving optimization problemsNotes · 10 questions
  9. 5.12Behaviour of implicit relationsNotes · 10 questions

All AP Calculus AB topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by College Board or any exam board.

On this page

0/4 read

  1. 1Define the quantity to optimize and its constraints
  2. 2Use the constraint to build one function
  3. 3Critical points identify possible interior optima
  4. 4Compare every candidate and report the requested quantity
  5. Check your recall
  6. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe