Notes by Sara
Lesson 21

What price makes the most profit?

Example, with made-up numbers. A café finds it sells 1,000 − 100p coffees a day at a price of p dollars, and each coffee costs $1 to make. At $5 it makes $2,000 a day. At $6 it also makes $2,000. Is there a better price in between?

The idea

Profit rises as the price goes up, peaks, then falls as customers walk away. At the very top, the curve is flat for an instant: its slope, the derivative, is zero.

Left of the peak, the slope is positive: raising the price adds profit. Right of it, the slope is negative. At $5.50 it's exactly zero.

So finding the best point takes two steps:

1. Set the derivative to zeroSolve f′(x) = 0 to find where the curve is flat.
2. Check the second derivativeNegative means it bends down: a maximum. Positive means it bends up: a minimum.

Quick check

Where is f(x) = −2x2 + 8x highest?

Worked example: the café

Profit is (price − cost) × cups sold = (p − 1)(1,000 − 100p), which multiplies out to −100p2 + 1,100p − 1,000.

1. Derivative−200p + 1,100
2. Set it to zero−200p + 1,100 = 0, so p = 5.50
3. Second derivative−200, negative, so a maximum
4. Profit at $5.504.50 × 450 cups
Best price, and its profit$5.50 · $2,025 a day

$25 a day more than at $5 or $6. The same two steps find a minimum too: the factory's average cost per unit, 5,000/q + 20 + 0.01q, is lowest at about 707 units, at $34.14 each.

Try it yourself
Move the café's price and watch the profit.

Common mistakes
Three slips beginners make.
  • Setting the function to zero instead of its derivative. f(x) = 0 finds where a curve crosses zero. f′(x) = 0 finds where it's flat.
  • Skipping the second check. A flat point can be a top or a bottom. The sign of the second derivative tells you which.
  • Ignoring limits. Real answers must make sense: a price can't be negative, and a factory can't make more than it has room for. If the flat point falls outside, the best answer is at the edge.

Remember

  • At the top or bottom of a smooth curve, the derivative is zero.
  • Solve f′(x) = 0, then check f″: negative for a maximum, positive for a minimum.
  • Make sure the answer is possible in the real world.

Check yourself

Three questions. Try them without scrolling up.

1. At the highest point of a smooth curve, what is the derivative?

2. At some point, f′(x) = 0 and f″(x) = +3. What is it?

3. Revenue is R = 50q − 0.1q2. How many units maximize revenue?

Score: 0 of 3
Section practice · optional
Calculus
10 mixed problems from lessons 16 to 21 · about 15 minutes

The problems aren't labeled with a lesson, so part of the work is choosing the right tool. Work each one on paper, then open the answer.

  1. A savings balance was $2,000 in year 3 and $2,600 in year 7. What was its average rate of change?

    Show answer
    Rate of change(2,600 − 2,000) ÷ (7 − 3) = $150 a year.
  2. What is the derivative of 7x3 − 4x + 9?

    Show answer
    Derivative rules21x2 − 4. The power rule on each term; the 9 is a constant, so it vanishes.
  3. Cost is 2,000 + 15q + 0.02q2. What is the marginal cost at 500 units?

    Show answer
    Derivative rulesThe derivative is 15 + 0.04q. At 500: 15 + 20 = $35 per unit.
  4. A bond's price sensitivity is −$4.50 per percentage point. Rates rise 0.4 points. Estimate the change in price.

    Show answer
    Derivatives as sensitivity−4.50 × 0.4 = −$1.80.
  5. A balance is 500e0.03t. How fast is it growing at t = 0?

    Show answer
    Chain rule and eThe derivative is 500 × 0.03 × e0.03t = 15e0.03t. At t = 0: $15 a year.
  6. $2,000 earns 5% compounded continuously for 8 years. What is it worth?

    Show answer
    The number e2,000 × e0.05 × 8 = 2,000 × e0.4 = $2,983.65.
  7. What yearly rate is the same as 8% compounded continuously?

    Show answer
    The number ee0.08 − 1 = 8.33%.
  8. What is the second derivative of 3x4, and which way does the curve bend at x = 1?

    Show answer
    Second derivative3x4 → 12x3 → 36x2. At x = 1 it's 36, positive, so it bends up.
  9. A bond has sensitivity −$7.72 per point and second derivative +$0.75 per point squared. Rates fall 1 point. Estimate the change in price using both.

    Show answer
    Curvature−7.72 × (−1) + ½ × 0.75 × 12 = 7.72 + 0.375 = +$8.10. The real gain is $8.11.
  10. Profit is −5q2 + 400q − 2,000. What output maximizes it, and what is the profit there?

    Show answer
    Optimization−10q + 400 = 0 gives q = 40. The second derivative is −10, so it's a maximum. Profit: −8,000 + 16,000 − 2,000 = $6,000.