📘 CodingMarble Learn

Marginal Cost and the Idea of Differentiation

Marginal cost is the extra cost of making one more item. When we make the step smaller and smaller, the extra cost per item becomes the slope of the cost curve. That slope is the derivative. For C = q², the derivative is 2q.

🎬 Step-by-step story

  1. Each blue bar shows the total cost of making that many items. More items, more cost.
  2. Pick one bar. Say you make 4 items. The red dot shows the cost of 4 items: 16.
  3. Now make 1 more item. The orange slice is the extra cost: 25 minus 16 is 9. This extra cost is the marginal cost.
  4. Draw a line through the two points. Its slope is the extra cost for one item. Here the slope is 9.
  5. Make the step smaller and smaller. The line settles to a touching line (a tangent). Its slope is 8. This is the derivative, written 2q at q = 4.
  6. Now you try. Move q and the step h. Watch the slope get close to 2q every time.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Is marginal cost the same as average cost?

No. Average cost is total cost divided by q. Marginal cost is the extra cost of one more item. In the 3D, the orange slice is marginal; the whole bar is total.

Why does the extra cost keep growing for C = q²?

Each new slice is taller than the last (9, 11, 13…). The cost curve gets steeper, so each extra item costs more.

Why make h smaller?

A big step gives a rough answer (9). A tiny step gives the exact slope at that point (8). Slide h and see it change.

Why is the derivative of a fixed cost zero?

A fixed cost does not change when you make one more item, so the extra cost from it is zero.

Is the slope with h = 1 wrong?

It is not wrong. It is the exact extra cost of one more item. The derivative is a smoother, exact slope at one point.

What does "marginal" mean?

The word marginal means "at the edge" or "one more". Marginal cost is the extra money you spend to make one more item.

If making 4 items costs 16 and making 5 items costs 25, then the marginal cost of the 5th item is 25 − 16 = 9.

We write it as: marginal cost = change in cost ÷ change in quantity = ΔC ÷ Δq.

From "one more" to "a tiny bit more"

Sometimes we cannot make exactly one more. A factory may add a tiny bit of milk or 0.1 of a litre. So we use a small step h.

Extra cost per item = (C(q + h) − C(q)) ÷ h.

This is the slope of the line through two points on the cost curve. Now make h smaller: 1, then 0.5, then 0.1, then 0.01. The slope stops changing much. The number it gets close to is the derivative of C at q, written C′(q) or dC/dq.

Finding the derivative with a rule

You do not need to shrink h every time. There are easy rules:

Pattern: for qⁿ, bring n down in front and make the power one smaller: n·qⁿ⁻¹.

Using it in the economy

Marginal cost (MC) is the derivative of total cost. Marginal revenue (MR) is the derivative of total revenue, the money you get from one more sale.

A business should make one more item as long as MR is bigger than MC. It stops when MR = MC. That is the idea behind finding the best quantity.

Try it

In the 3D, set q = 4 and h = 1. Read the slope. Now slide h down to 0.1. Read the slope again. Write both numbers. Then compare with 2q = 8. Predict first: what will the slope be at q = 6? Check it.

At home: a pack of 10 pens costs ₹50 and 11 pens cost ₹54. What did the 11th pen cost you?

Key formulas and definitions

Worked examples

1. Making 4 items costs ₹16 hundred and 5 items cost ₹25 hundred. Find the marginal cost of the 5th item.

Marginal cost = 25 − 16 = 9 (₹9 hundred).

2. C = q². Find the extra cost of going from q = 6 to q = 7.

C(6) = 36, C(7) = 49. Extra = 49 − 36 = 13.

3. C = q². Find the slope with step h = 0.5 at q = 4.

C(4.5) = 20.25, C(4) = 16. Slope = (20.25 − 16) ÷ 0.5 = 8.5.

4. C = q². Find C′(4) with the rule.

C′ = 2q, so C′(4) = 2 × 4 = 8. The step slopes 9, 8.5, 8.1… get close to 8.

5. Total cost is C = 3q + 20. What is the marginal cost? Why?

C′ = 3. The ₹20 is a fixed cost and has derivative 0. Every extra item adds ₹3.

6. Revenue is R = 10q and cost is C = q². Find q where MR = MC.

MR = 10 and MC = 2q. Set 10 = 2q, so q = 5. Making more than 5 costs more than it earns.

Common mistakes

Practice quiz

1. Marginal cost is:
2. The derivative of C = q² is:
3. On a graph, the derivative is the:
4. The derivative of a fixed cost of ₹50 is:
5. A firm should make one more item while:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is marginal cost in simple words?

It is the extra money you spend to make one more item.

How is marginal cost related to the derivative?

Marginal cost is the derivative of the total cost. Both measure how fast cost grows when quantity grows.

Where is this taught?

It appears in economic maths courses in several countries when students first meet differentiation, often with cost and revenue examples.

Learn first

Learn next

Related lessons

All Maths lessons