Calculus I Lesson 17: Applied Optimization

  1. Upcoming
    1. Advising / Registration Spring 2026
  2. Exam Recap
  3. Applied Optimization
    1. Running and Swimming
  4. General Strategy
    1. Rectangular Fencing
  5. “Honeycomb Problem”
    1. Optimization Problem
    2. Other ways?

Upcoming

Advising / Registration Spring 2026

Exam Recap

Applied Optimization

Running and Swimming

An island is 2mi due north of its closest point along a straight shoreline. A visitor is staying at a cabin on the shore that is 6mi west of that point. The visitor is planning to go from the cabin to the island. Suppose the visitor runs at a rate of 8mph and swims at a rate of 3mph. How far should the visitor run before swimming to minimize the time it takes to reach the island?

Running and swimming picture

Attempt 1: Swim straight there?

Attempt 2: run 6 miles east, swim 2 miles north.

Better than swimming straight there. But is that the best option?

Solution: Absolute minimum!

Running and swimming picture

Then use the fact that $y^2 = 2^2 + x^2$, so $y = \sqrt{x^2 + 4}$. We can come up with a function for the time it takes to get there if we run $x$ miles:

\[T(x) = \frac{6-x}{8} + \frac{\sqrt{x^2+4}}{3}.\]

We look for the absolute minimum of $T(x)$ over the interval $[0, 6]$. Set $T^\prime(x) = 0$: $T^\prime(x) = -\dfrac{1}{8} + \dfrac{x}{3\sqrt{x^2+4}}$.

Set that equal to 0 and solve:

Since negatives don’t make sense, we get: $T(\sqrt{\frac{36}{55}}) \approx 1.368$ hours. About 1 hour and 22 minutes.

This is shorter than the endpoints! (We already checked those). So this is the absolute minimum of $T(x)$ on this interval!

General Strategy

Problems like these are called optimization problems.

Rectangular Fencing

You have 900 ft of fencing with which you wish to make a rectangular pen for your 30-50 (feral?) hogs. Find the dimensions of the pen which maximizes the area.

  1. Draw a Picture (on the board / together in class).
  2. Set up a function:
    • Since the perimeter is 900, we have $2(w + l) = 900$, or $w + l = 450$.
    • $A = w \times l = w(450 - w)$.
    • Plug in, and we can get a function for $A$ in terms of just $w$: $A(w) = w(450-w)$, or $A(w) = 450w - w^2$.
    • Maximize: $A^\prime(w) = 450 - 2w$.
    • Solve: $w = 225$.
  3. Check endpoints:
    • Endpoints? $0 \leq w \leq 450$: $A(0) = 0$, $A(450) = 0$,
    • $A(225) = 225 \times 225 = 50625$ square ft.

The largest rectangle, given a fixed perimeter, is a square: 225 x 225.

Can you make a general conjecture and prove it?

“Honeycomb Problem”

Why do bees make honeycombs using hexagons?

Hexagon Tiling

Optimization Problem

Circles?

Circle Tiling

Lots of wasted space.

There are two other ways to tile the plane using regular polygons: squares and triangles. But the hexagonal one uses less perimeter for the same areas.

Other ways?

General result: even if you consider irregular shapes (with curves, irregular polygons), the most efficient way to divide the plane into equal areas, using the least perimeter, involves using hexagons.

Watch this video on the honeycomb problem: