Grade by GradeEssential student suppliesSign in
C. Content · Calculus 12: Functions, Limits, Derivatives, Integrals and Their Applications

Related Rates, Optimization and Newton's Method

BC CALC 12: related rates BC CALC 12: optimization BC CALC 12: Newton's methodAbout 85 minutes
Learning goals
  • I can solve related rates problems by differentiating an equation with respect to time.
  • I can solve optimization problems and justify that my answer is a maximum or minimum.
  • I can use Newton's method to approximate a solution of an equation.

Words to know

related rates
Problems where two or more quantities change over time and their rates are linked by an equation.
optimization
Finding the largest or smallest value of a quantity, such as area, cost or time.
constraint
An equation that links the variables in an optimization problem, used to write the quantity in one variable.
absolute maximum / minimum
The largest or smallest value of f on its whole domain or interval.
Newton's method
An approximation method that follows tangent lines: x_(n+1) = x_n - f(x_n)/f'(x_n).

Related rates

When quantities are linked by an equation, their rates are linked by the derivative of that equation with respect to time t.

  1. Draw a picture and name the variables. Write down the rate you know and the rate you want.
  2. Write an equation linking the variables.
  3. Differentiate both sides with respect to t (implicitly; every variable gets a d/dt).
  4. Only then substitute the values at the moment asked about, and solve.
x = 3 my5 m0.5 m/sdy/dt = ?
A 5 m ladder leans on a wall. Its foot slides away from the wall at 0.5 m/s. How fast is the top sliding down when the foot is 3 m out?
Worked example

Example 1: The sliding ladder

Solve the ladder problem in the diagram.

  1. Let x = distance from wall to foot and y = height of the top. Then x^2 + y^2 = 25.
  2. Differentiate with respect to t: 2x (dx/dt) + 2y (dy/dt) = 0.
  3. When x = 3: y = sqrt(25 - 9) = 4. And dx/dt = 0.5.
  4. 2(3)(0.5) + 2(4)(dy/dt) = 0, so dy/dt = -3/8 = -0.375.

The top slides down at 0.375 m/s (dy/dt = -0.375 m/s).

Worked example

Example 2: A ripple on a lake

A stone dropped into a calm lake makes a circular ripple whose radius grows at 0.3 m/s. How fast is the area inside the ripple growing when the radius is 5 m?

  1. A = pi r^2, so dA/dt = 2pi r (dr/dt).
  2. At r = 5: dA/dt = 2pi(5)(0.3) = 3pi.

3pi ≈ 9.42 m^2/s

Optimization

  1. Name the quantity to make largest or smallest, and write it as a formula.
  2. Use the constraint to write it in terms of one variable. Find the domain that makes sense.
  3. Differentiate and find the critical numbers.
  4. Justify: compare with the endpoints (closed interval), or use the first or second derivative test.
  5. Answer the question asked, with units.
Worked example

Example 3: A pasture by the river

A rancher near the Fraser River has 600 m of fencing to enclose a rectangular pasture. The river forms one side, so only three sides need fence. What dimensions give the largest area?

  1. Let x be each side perpendicular to the river; the side parallel to the river is 600 - 2x. Domain 0 ≤ x ≤ 300.
  2. A(x) = x(600 - 2x) = 600x - 2x^2.
  3. A'(x) = 600 - 4x = 0 gives x = 150.
  4. A(0) = A(300) = 0 and A(150) = 150 · 300 = 45 000. (Also A'' = -4 < 0.)

150 m by 300 m (300 m along the river), area 45 000 m^2

Worked example

Example 4: The least metal for a can

A cylindrical can must hold 355 mL (355 cm^3). What radius uses the least metal (smallest total surface area)?

  1. Volume constraint: pi r^2 h = 355, so h = 355/(pi r^2).
  2. Surface area: S = 2pi r^2 + 2pi r h = 2pi r^2 + 710/r, for r > 0.
  3. S'(r) = 4pi r - 710/r^2 = 0 gives r^3 = 710/(4pi) ≈ 56.50, so r ≈ 3.84 cm.
  4. S''(r) = 4pi + 1420/r^3 > 0, so this is a minimum. Then h = 355/(pi r^2) ≈ 7.67 cm, which is 2r.

r ≈ 3.84 cm, h ≈ 7.67 cm (height equals diameter), S ≈ 277.5 cm^2

Newton's method

Often the equation f'(x) = 0 (or any equation f(x) = 0) can't be solved by algebra. Newton's method starts from a guess x0, follows the tangent line down to the x-axis, and uses that point as the next guess:

x_(n+1) = x_n - f(x_n)/f'(x_n).

When the starting guess is close, the number of correct digits roughly doubles at each step. It can fail if f'(x_n) is 0 or near 0, or if the guess is far away.

xy1.01.21.41.6-112(x0, f(x0))x0x1y = x^3 + x - 3
One step of Newton's method for f(x) = x^3 + x - 3: the tangent at x0 = 1.5 meets the x-axis at x1 ≈ 1.258, much closer to the root.
Worked example

Example 5: Solving x^3 + x - 3 = 0

Use Newton's method with x0 = 1.5 to approximate the root (we showed with the IVT that it lies between 1.2 and 1.25).

  1. f(x) = x^3 + x - 3, f'(x) = 3x^2 + 1, so x_(n+1) = x_n - (x_n^3 + x_n - 3)/(3x_n^2 + 1).
  2. x1 = 1.5 - 1.875/7.75 ≈ 1.258065.
  3. x2 ≈ 1.214705, x3 ≈ 1.213413, x4 ≈ 1.213412.
  4. The first six decimal places have stopped changing.

x ≈ 1.213412

nx_nf(x_n)f'(x_n)x_(n+1)
01.5000001.8750007.75001.258065
11.2580650.2492365.74821.214705
21.2147050.0070145.42651.213413
31.2134130.0000065.41711.213412
Newton's method iterations for f(x) = x^3 + x - 3 starting at x0 = 1.5 (rounded).

Differentiate first

In related rates, never substitute a changing quantity (like x = 3) before you differentiate. If you do, its rate becomes 0 and the answer is wrong. In optimization, always say why your critical number gives a maximum or minimum.

Hands-on activity

The best box

Take a 21.6 cm by 27.9 cm sheet of paper (letter size). Cutting equal squares of side x from each corner and folding up the sides makes an open box with V(x) = x(21.6 - 2x)(27.9 - 2x).

  1. Find the domain. (0 < x < 10.8.)
  2. Use calculus to find the x that gives the largest volume. You will need the quadratic formula. (x ≈ 4.0 cm, V ≈ 1083 cm^3.)
  3. Build boxes with x = 2, 4 and 6 cm and compare. Does the calculus match?

Safety: use scissors carefully and cut away from your hand.

Just for fun

Real 355 mL pop cans are roughly 6.6 cm across and 12 cm tall, not the "best" shape from Example 4. Thicker metal on the top and bottom, the rim, stacking and how the can feels in a hand all change the real problem. Optimization answers depend on what you choose to measure!

Your turn

1

A circle's radius grows at 2 cm/s. How fast is its area growing when r = 10 cm?

2

A cube's edges grow at 0.1 cm/s. How fast is its volume growing when the edge is 4 cm?

3

Two numbers add to 20. What is the largest possible product?

4

Find the point on y = x^2 closest to (0, 2). Hint: minimize the squared distance.

5

Write the Newton's method formula for solving x^2 - 5 = 0 and do one step from x0 = 2.

6

Do a second step for the previous question.

More practice

1

Water flows into a cone-shaped tank (point down, radius 2 m at the top, height 4 m) at 0.5 m^3/min. How fast is the water level rising when the water is 2 m deep?

2

A rope runs from a dock post 5 m above the water down to a boat. The rope length L and the boat's horizontal distance x from the dock satisfy x^2 + 25 = L^2. The rope is pulled in at 1 m/s (dL/dt = -1). How fast is the boat moving when L = 13 m?

3

A rectangle has perimeter 40 m. What dimensions give the largest area?

4

Use Newton's method with x0 = 1 to approximate the solution of cos x = x. Give x2.

5

Why does Newton's method fail for f(x) = x^3 - 3x + 1 starting at x0 = 1?

Check your understanding

Quiz

1.

In a related rates problem, when should you substitute the values at the given moment?

2.

A circle's radius grows at 3 cm/s. How fast is the area growing when r = 4 cm?

3.

With 400 m of fence for three sides of a rectangle along a river, what is the largest area?

4.

Newton's method for f(x) = x^2 - 10 from x0 = 3 gives x1 = ?

5.

After finding a critical number in an optimization problem, what else must you do?

For parents and teachers

How to help: Ask your teen to draw and label a picture first for every word problem. For optimization, ask: "What are we making biggest or smallest? What's the constraint?" Newton's method is fun on a calculator: watch the digits settle.

Common mistakes:

  • Substituting numbers before differentiating in related rates.
  • Losing the sign of a rate (a decreasing quantity has a negative rate).
  • Not using the constraint to reduce to one variable.
  • Skipping the justification that a critical number is a maximum or minimum.
  • Starting Newton's method where f'(x) = 0.