Optimization Problems (College Board AP® Calculus BC): Revision Note

Jamie Wood

Written by: Jamie Wood

Reviewed by: Dan Finlay

Updated on

Optimization problems

What is an optimization problem?

  • Recall that differentiation is about the rate of change of a function and provides a way of finding minimum and maximum values of a function

  • Anything that involves maximizing or minimizing a quantity can be modelled using differentiation; for example

    • minimizing the cost of raw materials used in manufacturing a product

    • finding the maximum height a football reaches when kicked

  • These are called optimization problems

How do I solve an optimization problem?

  • In optimization problems, variables other than x, y and f are often used

    • V is often used for volume, S for surface area

    • r for radius if a circle, cylinder or sphere is involved

  • Derivatives can still be found

    • but be clear about which letter is representing the independent (x) variable

    • and which letter is representing the dependent (y) variable

  • Problems often start by linking two connected quantities together, for example volume and surface area

    • If more than one variable is involved, constraints will usually be given

      • so that the quantity being optimized can be rewritten in terms of one variable

  • Once the quantity being optimized is written as a function of a single variable, differentiation can be used to maximize or minimize the quantity as required

Steps to solve an optimization problem

  • STEP 1

    Rewrite the quantity to be optimized in terms of a single variable, using any constraints given in the question

  • STEP 2

    Differentiate and solve the derivative equal to zero to find the “x"-coordinate(s) of any critical points

  • STEP 3

    If there is more than one critical point, or you are required to justify the nature of the critical point, differentiate again or use the candidates test

  • STEP 4

    Use the second derivative to determine the nature of each critical point and select the maximum or minimum point as necessary or use the candidates test

  • STEP 5

    Interpret the answer in the context of the question

Worked Example

A large flower bed is being designed as a rectangle with a semicircle on each end, as shown in the diagram below.

The total area of the bed is to be 100π meters squared.

Diagram of an oval with two straight sides and semi-circular ends. A vertical line marks radius "r cm" from the center to the edge of a semi-circle.

(a) Show that the perimeter of the bed is given by the formula

 P=π(r+100r)

(b) Find the value of r that minimizes the perimeter, and find the minimum value of the perimeter.

(c) Justify that this is the minimum perimeter.

Answer:

(a)

The width of the rectangle is 2r meters, and its length is L meters

The area consists of a semi circle, plus a rectangle, plus another semi circle

12πr2 + 2rL +12πr2 = 100π

Simplify and write L in terms of r

πr2+2rL=100π2rL=100ππr2L=50πrπ2r

The perimeter of the flower bed consists of two semi-circular arcs, and two straight lengths

P=πr+πr+2L

Substitute in the expression for L, and simplify to the desired expression for P

P=πr+πr+2(50πrπ2r)P=2πr+100πrπrP=πr+100πr

 P=π(r+100r)

(b)

To find the minimum value of P, we need to find the minimum point on a graph of P against r

To do this, we need to differentiate P with respect to r

Start by writing P in terms of r, using the answer from part (a)

 P=π(r+100r)P=πr+100πr1

Differentiate P with respect to r

dPdr=π100πr2

At the minimum point, the derivative will be zero (assuming the minimum is at a critical point)

π100πr2=0π100πr2=01100r2=01=100r2r2=100r=±10

r is a length, so -10 can be ignored

r=10

Find the minimum value of the perimeter by substituting r=10 into the equation for P

P=π(10+10010)=20π

r=10 meters minimizes the perimeter

The minimum value of the perimeter will be 20π meters

(c)

To prove it is a minimum, show that the second derivative is positive (and the graph is therefore concave up) at this point

Start by finding the second derivative

dPdr=π100πr2d2Pdr2=200πr3

Substitute in r=10

d2Pdr2 r=10=200π(10)3=200π1000=π5>0

Note that we don't need to check endpoints here: as r0 the perimeter function becomes unbounded, while as r the perimeter also goes to infinity

Second derivative is positive at r=10, therefore 20π  meters is the minimum value for the perimeter

Worked Example

A manufacturer produces custom electronic components. The daily cost to produce x batches of components, measured in dollars, is modeled by the function C(x)=2x321x2+60x+100 for the interval 1x6.

Find the absolute minimum and absolute maximum daily cost to produce the components on the closed interval 1x6. Justify your answers.

Answer:

Find the derivative of the function

C(x)=6x242x+60

Set the derivative equal to zero to find critical points and solve

C'(x)=06x242x+60=0x27x+10=0(x2)(x5)=0x=2, x=5

Evaluate the function at the critical points and the endpoints

C(1)=2(1)321(1)2+60(1)+100=221+60+100=141C(2)=2(2)321(2)2+60(2)+100=1684+120+100=152C(5)=2(5)321(5)2+60(5)+100=250525+300+100=125C(6)=2(6)321(6)2+60(6)+100=432756+360+100=136

Justify the use of the candidates test

C(x) is a polynomial, so it is continuous over 1x6

The extreme value theorem guarantees that C has a global maximum and a global minimum

These occur at the critical points or at the endpoints

State the minimum and maximum values

The absolute minimum daily cost is $125 (when 5 batches are produced)

The absolute maximum daily cost is $152 (when 2 batches are produced)

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Jamie Wood

Author: Jamie Wood

Expertise: Curriculum Expert

Jamie graduated in 2014 from the University of Bristol with a degree in Electronic and Communications Engineering. He has worked as a teacher for 8 years, in secondary schools and in further education; teaching GCSE and A Level. He is passionate about helping students fulfil their potential through easy-to-use resources and high-quality questions and solutions.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.