Optimization

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Calculus BC (AP-aligned) › Applications of derivatives

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Optimization

Applications of derivatives.

Warm-up

Three quick questions from earlier lessons.

  1. Find the maximum value of f(x)=x2−6xf(x) = x^2 - 6x on [0,8][0, 8].
  2. Find the minimum value of f(x)=x3−3xf(x) = x^3 - 3x on [0,2][0, 2].
  3. Which functions are guaranteed by the Extreme Value Theorem to have a maximum value on the interval? Tick all that are.
    1. x2x^2 on [−7,7][-7, 7]
    2. sin⁡x\sin x on [0,7][0, 7]
    3. xx on (0,7)(0, 7)
    4. 1x\dfrac{1}{x} on [−1,1][-1, 1]

Discover

A farmer has pp m of fence for three sides of a rectangle against a wall. The graph shows the area A(x)=x(p−2x)A(x) = x(p - 2x) for a width xx. Move pp.

The area A(x) = x(p − 2x) of a rectangle fenced on three sides with p meters. Each parabola peaks at x = p/4.

For p=40p = 40, where is the area largest?

  1. At x=10x = 10
  2. At x≈13.3x \approx 13.3, a square

Key idea

Turn the story into one function of one variable, then use the closed interval method.

Optimization: (1) name the quantity to optimize and the variables; (2) use the constraint to write it as a function of one variable; (3) find its domain; (4) find the critical numbers and compare with the endpoints; (5) answer the question asked, with units.

Worked example

Two positive numbers add to 20. Maximize their product.

P(x)=x(20−x)P(x) = x(20 - x), 0<x<200 < x < 20
Constraint y = 20 − x.
x=10x = 10, a maximum (P′′=−2P'' = -2)
P'(x) = 20 − 2x.
Largest product P(10)=100P(10) = 100
The question asks for the product.

Your turn, guided

Your turn: same problem with sum 30.

Largest product 225225
x = 15 = y.

Practice ★

  1. Two positive numbers add up to 10. What is the largest possible value of their product?
  2. Two positive numbers add up to 54. What is the largest possible value of their product?
  1. A farmer has 20 m of fence for three sides of a rectangle; a long wall forms the fourth side. Find the largest possible area, in m².
  2. A farmer has 140 m of fence for three sides of a rectangle; a long wall forms the fourth side. Find the largest possible area, in m².

Watch out!

Practice ★★

  1. Squares of side xx are cut from the corners of a 9-cm square sheet, and the sides are folded up into an open box. Which xx gives the largest volume?
  2. Squares of side xx are cut from the corners of a 15-cm square sheet, and the sides are folded up into an open box. Which xx gives the largest volume?

Exit ticket

Three questions to check you have got it.

  1. A farmer has 20 m of fence for three sides of a rectangle; a long wall forms the fourth side. Find the largest possible area, in m².
  2. A farmer has 140 m of fence for three sides of a rectangle; a long wall forms the fourth side. Find the largest possible area, in m².
  3. A farmer has 40 m of fence for three sides of a rectangle; a long wall forms the fourth side. Find the largest possible area, in m².

Summary card

Optimization

  1. Quantity and constraint.
  2. One-variable function and its domain.
  3. Critical numbers vs endpoints.
  4. Answer the question: the value or the place, with units.

Watch out: not every critical number is the optimum.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. A rectangle has one side on the xx-axis and its upper corners on y=75−x2y = 75 - x^2. What is its greatest area?
Sources and credits

Written with this source as a starting point:

sedifier rewrote the text and added its own examples and exercises.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits