Calculus Mastery

The Human Knowledge Project


Chapter 14 — Optimization Problems in One Variable

14.1 Learning Objectives

By the end of this chapter, students should be able to:

Interpret critical points physically and geometrically.

Solve optimization problems systematically.

Distinguish between:

local extrema

absolute extrema

Understand why optimization is central to science and engineering.

Develop structured problem-solving habits.

Visualize optimization dynamically.

14.2 Big Picture — Calculus and the Search for “Best”

Many real-world problems involve finding:

the largest

the smallest

the fastest

the cheapest

the strongest

the shortest

the most efficient

Examples:

maximizing profit

minimizing cost

minimizing material use

maximizing area

minimizing travel time

maximizing signal strength

Optimization studies:

the “best possible” outcome.

Calculus became revolutionary partly because:

derivatives provide systematic methods for finding extrema.

14.3 What Is an Optimum?

An optimum is:

a best possible value.

Possible examples:

maximum area

minimum cost

highest point

shortest distance

Optimization problems ask:

“What value produces the most favorable result?”

14.4 Local vs Absolute Extrema

Students must distinguish carefully.

Local Maximum

Largest nearby value.

Visualize:

top of hill

Local Minimum

Smallest nearby value.

Visualize:

bottom of valley

Absolute Maximum

Largest value on entire interval/domain.

Absolute Minimum

Smallest value on entire interval/domain.

14.5 Why Derivatives Locate Extrema

At:

peaks

valleys

graphs often flatten temporarily.

This means:

tangent slope becomes zero.

So extrema often occur where:

f

(x)=0

These points are called:

critical points.

14.6 Why Zero Derivative Makes Sense

Imagine climbing a hill.

Near the top:

slope gradually decreases

eventually becomes flat

then turns downward

At exact peak:

tangent horizontal

Thus:

f

(x)=0

Students should visualize:

turning behavior dynamically.

14.7 Critical Points Revisited

Critical points occur where:

derivative equals zero

or:

derivative undefined

These are candidate locations for:

maxima

minima

turning behavior

But:

not every critical point produces an optimum.

Further analysis required.

14.8 First Derivative Test

Suppose:

derivative changes positive → negative

Graph changes:

rising → falling

This indicates:

local maximum

Suppose:

derivative changes negative → positive

Graph changes:

falling → rising

This indicates:

local minimum

14.9 Visualization of the First Derivative Test

Students should imagine walking along graph.

If:

slope positive

→ moving uphill

If:

slope negative

→ moving downhill

Optimization becomes:

analysis of changing slope direction.

14.10 Second Derivative Test

Second derivatives study:

curvature

Suppose:

f

(a)=0

and:

f

′′

(a)>0

Then graph:

concave up

Likely local minimum.

Suppose:

f

′′

(a)<0

Then graph:

concave down

Likely local maximum.

14.11 Why Concavity Helps

Visualize:

bowl shape → minimum

upside-down bowl → maximum

Second derivatives reveal:

bending direction

which helps identify extrema efficiently.

14.12 Worked Example — Basic Optimization

Suppose:

f(x)= x

2

−4x+1

Find extrema.

Step 1:

Differentiate.

f

(x)=2x−4

Step 2:

Set derivative equal to zero.

2x−4=0

x =2

Step 3:

Second derivative.

f

′′

(x)=2

Positive.

Therefore:

graph concave up

local minimum at:

x =2

14.13 Finding the Actual Minimum Value

Substitute:

x =2

into original function.

f(2)=4−8+1

=−3

So minimum point:

(2,−3)

14.14 Why Optimization Matters Physically

Optimization appears everywhere.

Examples:

minimizing fuel usage

maximizing strength

minimizing heat loss

maximizing efficiency

minimizing construction materials

Nature itself often behaves optimally.

Calculus helps model these systems.

14.15 Real Optimization Problems

Real optimization problems require:

translating words into equations

This is often the hardest part.

Students must learn:

modeling

variable definition

geometric relationships

Optimization combines:

algebra

geometry

derivatives

interpretation

14.16 The Standard Optimization Strategy

Step 1

Draw picture if possible.

Step 2

Define variables carefully.

Step 3

Write objective function.

This is the quantity to maximize or minimize.

Step 4

Use constraints to reduce variables.

Step 5

Differentiate.

Step 6

Find critical points.

Step 7

Determine whether maxima/minima occur.

Step 8

Interpret physically.

This systematic structure is essential.

14.17 Worked Example — Rectangle Optimization

Suppose:

perimeter fixed at:

20

Find rectangle dimensions producing maximum area.

14.18 Step 1 — Define Variables

Let:

width:

x

length:

y

Perimeter equation:

2x+2y =20

Simplify:

x+y =10

Solve for:

y =10−x

14.19 Step 2 — Write Area Function

Area:

A = xy

Substitute:

A = x(10−x)

A =10x−x

2

Now area depends on one variable only.

14.20 Step 3 — Differentiate

Derivative:

A

(x)=10−2x

Set equal to zero:

10−2x =0

x =5

Then:

y =5

Maximum area occurs for:

square

14.21 Why Squares Maximize Area

Students should visualize:

long thin rectangles waste perimeter

balanced dimensions enclose more area

Calculus confirms:

symmetry often produces optimization.

14.22 Endpoint Analysis

Sometimes extrema occur:

at interval endpoints

Students must check:

critical points

AND

endpoints

especially on closed intervals.

14.23 Optimization and Graph Shape

Optimization depends deeply on:

increasing/decreasing behavior

concavity

turning points

This chapter strongly connects:

graphing

and:

applications

14.24 Why Optimization Problems Feel Difficult

Students often struggle because:

translation from words to equations is challenging

geometry and algebra interact simultaneously

The calculus itself is often simpler than:

problem setup

Organization becomes essential.

14.25 Physical Interpretation of Optimization

Suppose:

minimizing material cost

Derivative measures:

how cost changes

At optimum:

tiny adjustments no longer improve outcome

This is why:

derivative becomes zero.

14.26 Economic Interpretation

Economics uses optimization constantly.

Examples:

maximizing revenue

minimizing cost

maximizing utility

maximizing production efficiency

Modern economics depends heavily on calculus optimization.

14.27 Engineering Interpretation

Engineering optimization examples:

strongest beam

least material

best airflow

optimal heat transfer

minimal vibration

Calculus allows engineers to design efficiently.

14.28 Common Student Mistakes

Mistake 1 — Forgetting Constraint Equation

Optimization usually requires:

relationship between variables.

Mistake 2 — Optimizing Wrong Quantity

Students must identify:

objective function carefully.

Mistake 3 — Not Reducing to One Variable

Single-variable optimization requires:

one independent variable.

Mistake 4 — Forgetting Interpretation

Always interpret:

what numerical answers mean physically.

14.29 Visualization Strategy

Students should continually ask:

What quantity changes?

What increases?

What decreases?

What balances occur?

What shape seems most efficient?

Where might graph flatten?

Optimization is highly visual.

14.30 Practice Problems

A. Critical Points and Extrema

Find extrema of:

f(x)= x

2

−6x+5

Find extrema of:

f(x)= x

3

−3x

Find critical points of:

f(x)= x

4

−4x

2

Explain why extrema often occur where:

f

(x)=0

Explain difference between:

local

absolute extrema

B. First and Second Derivative Tests

Use first derivative test for:

f(x)= x

2

Use second derivative test for:

f(x)= x

2

−4x+1

Explain why positive second derivative suggests minimum.

Explain why negative second derivative suggests maximum.

Explain why curvature matters.

C. Rectangle Optimization

A rectangle has perimeter:

40

Find dimensions maximizing area.

Explain why square gives maximum area.

Describe behavior of very thin rectangles.

Explain why balanced dimensions matter.

Explain why geometry and calculus combine naturally.

D. Applied Optimization

Explain why businesses optimize profit.

Explain why engineers optimize materials.

Explain why physics often studies minimum-energy systems.

Explain why optimization appears throughout nature.

Explain why derivatives help locate efficient solutions.

E. Conceptual Problems

Explain why optimization is one of the central applications of calculus.

Explain why graphs help visualize extrema.

Explain why tangent lines flatten at extrema.

Explain why derivatives describe improvement and decline.

Explain why optimization problems require organization.

Explain why constraints matter.

Explain why extrema often represent balance.

Explain why local behavior matters in optimization.

Explain relationship between:

derivatives

graph shape

extrema

Explain why optimization became historically important in science and engineering.

14.31 Selected Solutions

Problem 1

Suppose:

f(x)= x

2

−6x+5

Derivative:

f

(x)=2x−6

Set equal to zero:

2x−6=0

x =3

Second derivative:

f

′′

(x)=2

Positive.

Therefore:

local minimum

Find value:

f(3)=9−18+5=−4

Minimum point:

(3,−4)

Problem 11

Perimeter:

2x+2y =40

Simplify:

x+y =20

y =20−x

Area:

A = x(20−x)

A =20x−x

2

Derivative:

A

=20−2x

Set equal to zero:

20−2x =0

x =10

Then:

y =10

Maximum area occurs for:

square

Problem 23

At extrema:

graph changes direction

This requires:

tangent slope flattening temporarily

Thus:

f

(x)=0

often occurs at maxima/minima.

14.32 Chapter Summary

In this chapter we introduced:

optimization

extrema

critical points

first derivative test

second derivative test

applied optimization modeling

constraint equations

geometric optimization

Most importantly:

students learned that derivatives allow calculus to identify:

the most efficient

the largest

the smallest

the optimal

solutions to real-world problems.