lecture 24: Derivatives in Real Life and Optimization Problems

Real-Life Interpretations of Derivatives

1. Derivatives as Rate of Change

Example: If C(x)C(x) is the cost to produce xx units, then C(x)C'(x) is the cost of producing one more unit (marginal cost).


Optimization with Derivatives

Optimization means finding:

General Strategy

  1. Identify the quantity to maximize or minimize.
  2. Write it as a function of one variable.
  3. Find the domain (possible values).
  4. Compute the derivative and find critical points:
    • Where f(x)=0f'(x) = 0 or f(x)f'(x) is undefined.
  5. Determine if the point is a maximum or minimum using close values.
  6. Interpret the result in the real-world context.

What does it mean to have the derivative be 0?

In general, when f(x)>0f'(x) > 0, it means that the rate of change is positive, so the function is increasing.

When f(x)<0f'(x) < 0, it means that the rate of change is negative, so the function is decreasing.

Therefore, if f(x)f'(x) switches from positive to negative, then f(x)f(x) has a local maximum (was increasing, now decreasing). If f(x)f'(x) switches from negative to positive, then f(x)f(x) has a local minimum (was decreasing, now increasing).

Example: If f(x)=x2f(x) = x^2, then f(x)=2xf'(x) = 2x.
When x>0x > 0, f(x)>0f'(x) > 0, so f(x)f(x) is increasing.
When x<0x < 0, f(x)<0f'(x) < 0, so f(x)f(x) is decreasing.
Therefore, f(x)f(x) has a local minimum at x=0x = 0 since f(0)=0f'(0) = 0.

Application 1: Fence Optimization

Problem:

A farmer has 100 meters of fencing and wants to enclose a rectangular area. What is the largest area they can enclose?

Step-by-step:

Max Area = 25×25=62525 \times 25 = 625 m2^2

Application 2: Factory Production

Problem:

Suppose profit is modeled by:

P(x)=2x2+40x100P(x) = -2x^2 + 40x - 100

where xx is the number of items produced.

What is the optimal number of items to produce to maximize profit?

Steps:

Optimal production: 10 units
Max profit: P(10)=2(10)2+40(10)100=100P(10) = -2(10)^2 + 40(10) - 100 = 100


Exercises

1. Fence Problem

A rectangular garden is to be enclosed on three sides with fencing (no fence along one side). You have 80 meters of fencing. What dimensions give the maximum area?

Fence problem

2. Profit Optimization

The cost of producing xx items is C(x)=5x+16C(x) = 5x + 16 and revenue is R(x)=20xx2R(x) = 20x - x^2. Find the number of items that maximizes profit.

3. Box Volume Problem

A square sheet of metal with side length s=30s=30 cm is folded into an open-top box by cutting equal squares from each corner. Write a function for the volume and find the optimal cut that maximizes the volume.

Box problem

4. Cost Minimization

You want to design a can that holds 355 mL of soda. What radius and height minimize the surface area (cost of material)?

5. Time of Travel

You are trying to cross a river and walk to a point downstream. You can swim at 2 m/s and walk at 5 m/s. If the horizontal distance between the start and end points is 40 m, what path gets you there fastest?

River problem
Answer Key
  1. A(x)=x(802x)=80x2x2x=20A(x) = x(80 - 2x) = 80x - 2x^2 \Rightarrow x = 20 and A(20)=800A(20) = 800
  2. P(x)=R(x)C(x)=(20xx2)(5x+16)=x2+15x16x=7.5P(x) = R(x) - C(x) = (20x - x^2) - (5x + 16) = -x^2 + 15x - 16 \Rightarrow x = 7.5 and P(7.5)=51.25P(7.5) = 51.25. The optimal number of items to produce is 7 or 8 units.
  3. V(x)=x(302x)2V(x)=12x2240x+900x=5V(x) = x(30 - 2x)^2 \Rightarrow V'(x) = 12x^2 - 240x + 900 \Rightarrow x = 5 and V(5)=2000V(5) = 2000. The optimal cut is 5 cm.
  4. V=πr2h=355h=355πr2A=2πr2+2πrh=2πr2+2πr355πr2=2πr2+710rA(r)=4πr710r2r=7104π35.46V = \pi r^2 h = 355 \Rightarrow h = \frac{355}{\pi r^2} \Rightarrow A = 2\pi r^2 + 2\pi r h = 2\pi r^2 + 2\pi r \frac{355}{\pi r^2} = 2\pi r^2 + \frac{710}{r} \Rightarrow A'(r) = 4\pi r - \frac{710}{r^2} \Rightarrow r = \sqrt[3]{\frac{710}{4\pi}} \approx 5.46 and h=355π(5.46)210.92h = \frac{355}{\pi (5.46)^2} \approx 10.92