Docsity

Optimization Problems: Maxima, Minima & Applications – Study Notes, Summaries of Mathematics

Toggle sidebar
bg1
Optimization Problems: Maxima, Minima & Applications — Study Notes Page 1 of 5
Optimization Problems: Maxima, Minima & Applications
Study Notes for High School & College Mathematics
1 Introduction to Optimization
What is optimization?
Optimization means finding the largest or smallest possible value
of a quantity — for example, the maximum area you can enclose
with a fixed length of fence, or the minimum cost of making a box of
a given volume. In calculus, we optimize a function f(x) by finding
where it reaches its highest or lowest value.
Maximum vs minimum
• A maximum is the largest value of f(x) in some region — the top
of a “hill” on the graph.
• A minimum is the smallest value of f(x) in some region — the
bottom of a “valley”.
Local vs absolute extrema
• A local maximum/minimum is the highest/lowest point only
compared with nearby points.
• An absolute (global) maximum/minimum is the
highest/lowest value over the entire domain or interval being
considered.
• Every absolute extremum is also a local extremum (or an
endpoint), but not every local extremum is absolute.
A function on [a, b] can have several local extrema; the absolute max/min is
the overall highest/lowest value.
Optimization and derivatives
The derivative f′(x) gives the slope of the tangent line at each point.
At the top of a hill or the bottom of a valley, the tangent line is
horizontal, so its slope is 0.
At a smooth local maximum or minimum: f′(x) =
0
Points where f′(x) = 0 (or f′(x) does not exist) are called critical
points (also stationary points when f′(x) = 0). Every local
extremum of a differentiable function occurs at a critical point — this
is why solving f′(x) = 0 is the first step in every optimization
problem.
Maximum Minimum
Highest point (locally or overall) Lowest point (locally or overall)
Graph curves downward around it
(shaped like ∩)
Graph curves upward around it
(shaped like ∪)
f′ changes from + to − f′ changes from − to +
f″(x) < 0 (if test applies) f″(x) > 0 (if test applies)
Worked Examples
Example 1 — Finding a critical point (minimum)
Find the critical point of f(x) = x² − 4x + 3.
Step 1: Differentiate: f′(x) = 2x − 4.
Step 2: Set f′(x) = 0: 2x − 4 = 0 ⇒ x = 2.
Step 3: f(2) = 4 − 8 + 3 = −1. Since the parabola opens upward
(positive x² term), this is a minimum.
✔ Critical point x = 2; minimum value f(2) = −1.
Example 2 — Finding a critical point (maximum)
Find the critical point of f(x) = −x² + 6x − 5.
Step 1: f′(x) = −2x + 6.
Step 2: −2x + 6 = 0 ⇒ x = 3.
Step 3: f(3) = −9 + 18 − 5 = 4. The parabola opens downward, so
this is a maximum.
✔ Critical point x = 3; maximum value f(3) = 4.
Example 3 — Finding critical points of a cubic
Find all critical points of f(x) = x³ − 3x + 1.
Step 1: f′(x) = 3x² − 3.
Step 2: Set 3x² − 3 = 0 ⇒ x² = 1 ⇒ x = 1 or x = −1.
Step 3: f(1) = 1 − 3 + 1 = −1. f(−1) = −1 + 3 + 1 = 3.
We have two critical points; Page 2 and Page 3 show how to classify
them as maxima or minima.
✔ Critical points: (−1, 3) and (1, −1).
pf3
pf4
pf5

Partial preview of the text

Download Optimization Problems: Maxima, Minima & Applications – Study Notes and more Summaries Mathematics in PDF only on Docsity!

Optimization Problems: Maxima, Minima & Applications

Study Notes for High School & College Mathematics

1 Introduction to Optimization

What is optimization?

Optimization means finding the largest or smallest possible value

of a quantity — for example, the maximum area you can enclose

with a fixed length of fence, or the minimum cost of making a box of

a given volume. In calculus, we optimize a function f(x) by finding

where it reaches its highest or lowest value.

Maximum vs minimum

  • A maximum is the largest value of f(x) in some region — the top

of a “hill” on the graph.

  • A minimum is the smallest value of f(x) in some region — the

bottom of a “valley”.

Local vs absolute extrema

  • A local maximum/minimum is the highest/lowest point only

compared with nearby points.

  • An absolute (global) maximum/minimum is the

highest/lowest value over the entire domain or interval being

considered.

  • Every absolute extremum is also a local extremum (or an

endpoint), but not every local extremum is absolute.

A function on [a, b] can have several local extrema; the absolute max/min is the overall highest/lowest value.

Optimization and derivatives

The derivative f′(x) gives the slope of the tangent line at each point.

At the top of a hill or the bottom of a valley, the tangent line is

horizontal, so its slope is 0.

At a smooth local maximum or minimum: f′(x) =

Points where f′(x) = 0 (or f′(x) does not exist) are called critical

points (also stationary points when f′(x) = 0). Every local

extremum of a differentiable function occurs at a critical point — this

is why solving f′(x) = 0 is the first step in every optimization

problem.

Maximum Minimum

Highest point (locally or overall) Lowest point (locally or overall)

Graph curves downward around it (shaped like ∩)

Graph curves upward around it (shaped like ∪)

f′ changes from + to − f′ changes from − to +

f″(x) < 0 (if test applies) f″(x) > 0 (if test applies)

Worked Examples

Example 1 — Finding a critical point (minimum)

Find the critical point of f(x) = x² − 4x + 3. Step 1: Differentiate: f′(x) = 2x − 4. Step 2: Set f′(x) = 0: 2x − 4 = 0 ⇒ x = 2. Step 3: f(2) = 4 − 8 + 3 = −1. Since the parabola opens upward (positive x² term), this is a minimum.

✔ Critical point x = 2; minimum value f(2) = −1.

Example 2 — Finding a critical point (maximum)

Find the critical point of f(x) = −x² + 6x − 5. Step 1: f′(x) = −2x + 6. Step 2: −2x + 6 = 0 ⇒ x = 3. Step 3: f(3) = −9 + 18 − 5 = 4. The parabola opens downward, so this is a maximum.

✔ Critical point x = 3; maximum value f(3) = 4.

Example 3 — Finding critical points of a cubic

Find all critical points of f(x) = x³ − 3x + 1. Step 1: f′(x) = 3x² − 3. Step 2: Set 3x² − 3 = 0 ⇒ x² = 1 ⇒ x = 1 or x = −1. Step 3: f(1) = 1 − 3 + 1 = −1. f(−1) = −1 + 3 + 1 = 3. We have two critical points; Page 2 and Page 3 show how to classify them as maxima or minima.

✔ Critical points: (−1, 3) and (1, −1).

2 First Derivative Test

Increasing and decreasing functions

  • f(x) is increasing on an interval if f′(x) > 0 there (graph rises left

to right).

  • f(x) is decreasing on an interval if f′(x) < 0 there (graph falls left

to right).

The First Derivative Test

At a critical point x = c, look at the sign of f′(x) just before and just

after c:

Sign of f′ before c

Sign of f′ after c Conclusion at x = c

  • − Local maximum

− + Local minimum

Same sign both sides

Same sign both sides

Not an extremum (e.g. inflection)

Sign chart method

1. Find f′(x) and solve f′(x) = 0 for the critical points. 2. Mark the

critical points on a number line. 3. Pick a test value in each interval

and find the sign of f′ there. 4. Read off increasing/decreasing

behaviour and classify each critical point.

Sign chart for f′(x) = 3x²−3, showing increasing/decreasing intervals (Example 6).

Step-by-step procedure

1. Differentiate f(x) to get f′(x).

2. Solve f′(x) = 0 to find critical points.

3. Build a sign chart using test values.

4. Identify local maxima (+ to −) and local minima (− to +).

5. Evaluate f(x) at each critical point for the extreme value.

Worked Examples

Example 4 — First Derivative Test confirms a minimum

Use the First Derivative Test on f(x) = x² − 4x + 3 at its critical point x = 2. Step 1: f′(x) = 2x − 4. Step 2: Test x = 1 (before 2): f′(1) = −2 < 0 — decreasing. Step 3: Test x = 3 (after 2): f′(3) = 2 > 0 — increasing. Sign changes − to +, so x = 2 is a local minimum (matches Example 1).

✔ Local minimum at x = 2, f(2) = −1.

Example 5 — First Derivative Test confirms a maximum

Use the First Derivative Test on f(x) = −x² + 6x − 5 at x = 3. Step 1: f′(x) = −2x + 6. Step 2: Test x = 2: f′(2) = 2 > 0 — increasing. Step 3: Test x = 4: f′(4) = −2 < 0 — decreasing. Sign changes + to −, so x = 3 is a local maximum (matches Example 2).

✔ Local maximum at x = 3, f(3) = 4.

Example 6 — Classifying both critical points of a cubic

Classify the critical points x = −1 and x = 1 of f(x) = x³ − 3x + 1 (from Example 3). Step 1: f′(x) = 3x² − 3 = 3(x−1)(x+1). Step 2: Test x=−2: f′(−2)=9>0 (increasing). Test x=0: f′(0)=−3< (decreasing). Test x=2: f′(2)=9>0 (increasing). Step 3: At x=−1: + to − → local max. At x=1: − to + → local min.

✔ Local max at (−1, 3); local min at (1, −1).

Example 7 — A function with three critical points

Find and classify the critical points of f(x) = x⁴ − 4x² + 2. Step 1: f′(x) = 4x³ − 8x = 4x(x²−2) = 0 ⇒ x = 0, √2, −√2. Step 2: Test x=−2: f′=−16 (dec). Test x=−1: f′=4 (inc). Test x=1: f′=−4 (dec). Test x=2: f′=16 (inc). Step 3: Pattern dec→inc→dec→inc gives: local min at x=−√2, local max at x=0, local min at x=√2. f(−√2) = −2, f(0) = 2, f(√2) = −2.

✔ Local minima at (±√2, −2); local maximum at (0, 2).

4 Real-World Optimization Applications

Where optimization is used

  • Area and perimeter: maximizing enclosed area for a fixed

amount of fencing, or minimizing fencing for a fixed area.

  • Rectangle optimization: choosing dimensions l and w to

optimize area or perimeter.

  • Cost and revenue: minimizing production cost or maximizing

revenue as a function of quantity produced.

  • Profit maximization: Profit = Revenue − Cost; maximize this

difference.

  • Distance and geometry: finding the shortest distance from a

point to a curve or line.

  • Everyday life: packaging design (minimum material), travel

time, scheduling.

Optimization Problem Strategy

1. Define the variable(s) clearly, with units.

2. Write the objective function (the quantity to

maximize/minimize).

3. Use any constraint to write the objective in one variable.

4. Differentiate the objective function.

5. Solve (objective)′ = 0 to find critical points.

6. Test each critical point (first or second derivative test).

7. State the final answer clearly, with correct units.

Two classic setups: fixed-perimeter rectangle (Example 12) and a garden against a wall (Example 13).

Worked Examples

Example 12 — Maximizing the area of a rectangle

A rectangle has a fixed perimeter of 100 m. Find the dimensions that maximize its area. Step 1–3: Let length = l. Since 2(l+w)=100, w = 50−l. Area A(l) = l(50−l) = 50l−l². Step 4–5: A′(l) = 50−2l. Set to 0: l = 25, so w = 25. Step 6: A″(l) = −2 < 0, confirming a maximum. Step 7: Maximum area = 25×25 = 625 m² (a square).

✔ l = w = 25 m; maximum area = 625 m².

Example 13 — Minimizing fencing along a wall

A rectangular garden of area 200 m² has one side along a wall (no fence needed there). Minimize the total fencing needed. Step 1–3: Let x = width (two sides needing fence), y = length (one side needing fence). xy=200 ⇒ y=200/x. Fence F(x) = 2x + y = 2x

  • 200/x. Step 4–5: F′(x) = 2 − 200/x². Set to 0: x²=100 ⇒ x=10 (x>0), so y = 20. Step 6: F″(x) = 400/x³ > 0 for x>0, confirming a minimum. Step 7: Minimum fencing = 2(10) + 20 = 40 m.

✔ x = 10 m, y = 20 m; minimum fencing = 40 m.

Example 14 — Maximizing profit

A company's profit (in $) from selling x units is P(x) = −2x² + 120x − 800. Find the production level that maximizes profit. Step 4–5: P′(x) = −4x + 120. Set to 0: x = 30. Step 6: P″(x) = −4 < 0, confirming a maximum. Step 7: P(30) = −2(900) + 3600 − 800 = 1000.

✔ Produce x = 30 units for a maximum profit of $1000.

Example 15 — Challenging: shortest distance from a

point to a line

Find the point on the line y = 2x + 1 that is closest to the point (4, 0). Step 1–3: Let the point on the line be (x, 2x+1). Minimize D(x) = (x−4)² + (2x+1−0)², the squared distance. Step 4–5: D′(x) = 2(x−4) + 4(2x+1) = 10x − 4. Set to 0: x = 0.4, so y = 1.8. Step 6: D″(x) = 10 > 0, confirming a minimum. Step 7: Minimum distance = √((0.4−4)²+1.8²) = √16.2 = 9√5/5 ≈ 4.02.

✔ Closest point (0.4, 1.8); minimum distance = 9√5/5 ≈

4.02 units.

Common student mistakes

1. Forgetting to express the objective function in a single

variable before differentiating.

2. Not using the constraint equation correctly.

3. Skipping the maximum/minimum test and assuming any

critical point is the answer.

4. Forgetting domain restrictions (e.g. lengths must be

positive).

5. Leaving the final answer without units or without answering

the actual question asked.

Exam tips

  • Always sketch the situation and label variables before writing

equations.

  • Reduce to one variable early — two-variable calculus is

unnecessary here.

  • Check the second derivative is quick; use it whenever possible

to confirm.

5 Formula Sheet, Exam Tips & Quick Revision

Formula sheet

Rule Statement Critical point f′(x) = 0 or f′(x) undefined

Increasing f′(x) > 0 on the interval

Decreasing f′(x) < 0 on the interval

First Derivative Test (max)

f′ goes + → − at c

First Derivative Test (min) f′ goes − → + at c

Second Derivative Test (min)

f′(c)=0, f″(c) > 0

Second Derivative Test (max)

f′(c)=0, f″(c) < 0

Test inconclusive f′(c)=0, f″(c) = 0

Concave up / down f″(x)>0 (up) / f″(x)<0 (down)

Optimization strategy checklist

☐ Define the variable(s) with units.

☐ Write the objective function.

☐ Apply the constraint to reduce to one variable.

☐ Differentiate and set equal to 0.

☐ Solve for critical points (check the domain).

☐ Test each critical point (first or second derivative).

☐ State the final answer with correct units.

Common student mistakes (recap)

  • Not reducing to a single variable before differentiating.
  • Confusing a critical point with the actual extreme value.
  • Ignoring domain restrictions (negative lengths, etc.).
  • Forgetting to test whether a critical point is a max or min.

Frequently confused concepts

Concept A Concept B Key difference

Critical point Extreme value

Critical point is an x-value; extreme value is f(x) there

Local extremum

Absolute extremum

Local compares nearby points; absolute compares all

Increasing / Decreasing

Concave up/down

First derivative sign vs second derivative sign

Notation quick reference

Symbol Meaning

f′(x) First derivative — slope of the tangent

f″(x)

Second derivative — rate of change of the slope (concavity)

f′(c) = 0 c is a critical (stationary) point

(a, b) Open interval: endpoints not included

Domain reminder

Always restrict critical points to the domain of the real problem. A

length, width, price, or quantity cannot be negative, so discard

any critical point that fails this check before testing it as a

maximum or minimum.

Exam tips

  • Always state which test you used (First or Second Derivative

Test).

  • Show the sign chart or the f″(c) substitution explicitly — method

marks matter.

  • For applied problems, always check your answer makes sense

(positive lengths, etc.).

  • Give the final answer in context, with units, not just an x-value.

Worked mini-check

For f(x) = x² − 2x, f′(x) = 2x−2 = 0 ⇒ x = 1; f″(x) = 2 > 0, so x = 1

gives a local (and here, absolute) minimum, f(1) = −1. Use this

pattern as a final self-test before an exam.

Practice questions

Practice 1. Find and classify the critical point of f(x) = x² − 6x +

Practice 2. Find and classify the critical points of f(x) = −x³ + 3x².

Practice 3. A rectangle has perimeter 40 m. Find the dimensions

of maximum area.

Practice 4. Find and classify all critical points of f(x) = x⁴ − 8x² +

Practice 5. Find the minimum value of f(x) = x + 1/x for x > 0.

Practice 6. An open-top box with a square base has volume 32

m³. Find the dimensions that minimize the surface area.

Answer key

1. f′=2x−6=0 ⇒ x=3; f″=2>0 — local min, f(3) = −1.

2. f′=−3x²+6x=0 ⇒ x=0,2; f″=6−6x. x=0: f″=6>0 min (f=0).

x=2: f″=−6<0 max (f=4).

3. l+w=20, A=l(20−l), A′=20−2l=0 ⇒ l=w=10; max area = 100

m².

4. f′=4x³−16x=0 ⇒ x=0,±2; f″=12x²−16. x=0: f″=−16 max

(f=3). x=±2: f″=32 min (f=−13).

5. f′=1−1/x²=0 ⇒ x=1 (x>0); f″=2/x³>0 — min; f(1)=2.

6. x²h=32, S=x²+128/x, S′=2x−128/x²=0 ⇒ x=4, h=2; min S =

48 m².

Quick revision summary

Optimization finds the largest or smallest value of a quantity.

Differentiate to locate critical points where f′(x)=0, then classify

each one with the First Derivative Test (sign change of f′) or the

Second Derivative Test (sign of f″, unless f″=0). For applied

problems, define variables, write the objective function, use the

constraint to reduce to one variable, differentiate, solve, test, and

state the answer with units.

Important exam reminders

  • f′(x)=0 finds candidates — always test them before

concluding max or min.

  • Keep exact values (fractions, surds) unless a decimal is

requested.

  • Re-read the question: are you asked for the x-value, the

extreme value, or both?

Last-minute checklist

☐ Derivative correctly computed?

☐ All critical points found and checked against the domain?

☐ Each critical point classified (max, min, or neither)?

☐ Final answer stated with correct units?