Going backwards from marginal to total
Before you start: you need marginal cost and marginal revenue and basic integration: \(\displaystyle\int q^n\,dq = \dfrac{q^{n+1}}{n + 1} + K\) for \(n \ne -1\).
Accounts departments often know the marginal cost better than the total cost. A production manager can tell you that each extra unit at the current level costs about ₹60, and that this rises by 10 paise per unit. That is a formula for \(MC(q)\). Since \(MC = C'(q)\), integrating it gives the total cost back.
\[C(q) = \int MC\,dq + K, \qquad K = C(0) = \text{fixed cost}\]
\[R(q) = \int MR\,dq, \qquad R(0) = 0\]
Cost of raising output from \(q_1\) to \(q_2\)
\[C(q_2) - C(q_1) = \int_{q_1}^{q_2} MC\,dq\]
The constant of integration is not just a formality here. Differentiating wipes out the fixed cost, so the integral can only give you the variable part. The fixed cost must come from the question, either stated directly or through one known total such as "100 units cost ₹2,000".
Revenue is different: if nothing is sold, nothing is earned, so \(R(0) = 0\) and the constant is zero. Once you have \(R(q)\), the demand function is \(p = \dfrac{R(q)}{q}\).
Method
- Integrate MC term by term, adding a constant \(K\).
- Find \(K\) from the fixed cost, or by substituting a known total cost.
- For a change in output, use the definite integral of MC between the two outputs. The constant cancels, so you do not need the fixed cost.
- For demand, integrate MR with zero constant, then divide by \(q\).
| Given | Integrate to get | Constant |
|---|---|---|
| \(MC(q)\) | \(C(q)\) | Fixed cost |
| \(MR(q)\) | \(R(q)\) | \(0\) |
| \(MR - MC\) | \(P(q)\) | \(-\)fixed cost |
Solved examples
Example 1: Total cost from MC
EasyThe marginal cost of a product is \(MC = 40 + 0.1q\) and the fixed cost is ₹5,000. Find the total cost function and the cost of 200 units.
- \(C(q) = \displaystyle\int (40 + 0.1q)\,dq = 40q + 0.05q^2 + K\).
- \(K = C(0) = 5000\), so \(C(q) = 5000 + 40q + 0.05q^2\).
- \(C(200) = 5000 + 8000 + 2000 = 15000\).
Answer\(C(q) = 5000 + 40q + 0.05q^2\); 200 units cost ₹15,000.
Example 2: Cost of raising output
EasyWith \(MC = 40 + 0.1q\), find the extra cost of raising output from 200 to 300 units.
- \(\displaystyle\int_{200}^{300} (40 + 0.1q)\,dq = \Big[40q + 0.05q^2\Big]_{200}^{300}\).
- \(= (12000 + 4500) - (8000 + 2000) = 16500 - 10000\) \(= 6500\).
Answer₹6,500. The fixed cost was not needed.
Example 3: Demand from MR
MediumA firm's marginal revenue is \(MR = 200 - q\). Find the revenue and demand functions.
- \(R(q) = \displaystyle\int (200 - q)\,dq = 200q - \dfrac{q^2}{2} + K\).
- \(R(0) = 0\), so \(K = 0\).
- \(p = \dfrac{R}{q} = 200 - \dfrac{q}{2}\).
Answer\(R(q) = 200q - 0.5q^2\) and demand \(p = 200 - 0.5q\).
Example 4: A quadratic MC
Medium\(MC = 0.03q^2 - 2.4q + 60\) and fixed cost is ₹2,000. Find the total cost and the average cost at 50 units.
- \(C(q) = 0.01q^3 - 1.2q^2 + 60q + 2000\).
- \(C(50) = 1250 - 3000 + 3000 + 2000 = 3250\).
- \(AC = \dfrac{3250}{50} = 65\).
Answer50 units cost ₹3,250 in total, an average of ₹65 per unit.
Example 5: An MC with a square root
Medium\(MC = 10 + \dfrac{24}{\sqrt q}\) and the fixed cost is ₹500. Find the total cost of 100 units.
- \(\displaystyle\int 24q^{-1/2}\,dq = 48q^{1/2}\), so \(C(q) = 10q + 48\sqrt q + K\).
- \(K = 500\).
- \(C(100) = 1000 + 480 + 500 = 1980\).
Answer\(C(q) = 500 + 10q + 48\sqrt q\); 100 units cost ₹1,980.
Example 6: Profit from MR and MC
Exam level\(MR = 240 - 4q\), \(MC = 40 + q\) and the fixed cost is ₹1,500. Find the profit-maximising output, the maximum profit and the price.
- \(MR = MC\): \(240 - 4q = 40 + q\), so \(q = 40\). The slope of \(MR - MC\) is \(-5 < 0\), so it is a maximum.
- \(P(40) = \displaystyle\int_0^{40} (200 - 5q)\,dq - 1500\) \(= (8000 - 4000) - 1500\) \(= 2500\).
- \(R = 240q - 2q^2\), so \(p = 240 - 2q = 160\) at \(q = 40\).
Answer40 units at ₹160 each; maximum profit ₹2,500.
Example 7: Fixed cost from a known total
Exam level\(MC = 6 + 0.04q\), and 100 units cost ₹2,000 in total. Find the total cost function and the fixed cost.
- \(C(q) = 6q + 0.02q^2 + K\).
- \(C(100) = 600 + 200 + K = 2000\), so \(K = 1200\).
Answer\(C(q) = 1200 + 6q + 0.02q^2\); fixed cost ₹1,200.
Read the question for the word "fixed" or for a total cost at some output. If it is there, it is your constant. If the question only asks for the cost of going from one output to another, use a definite integral and do not waste time finding the constant.
Common mistakes
1. Dropping the constant
Integrating \(MC = 40 + 0.1q\) to \(40q + 0.05q^2\) gives only the variable cost. With fixed cost ₹5,000, \(C(200) = 15000\), not 10000.
2. Adding a constant to revenue
Revenue from zero sales is zero, so \(R(q) = \displaystyle\int MR\,dq\) has \(K = 0\). Using the fixed cost here mixes up cost and revenue.
3. Taking the fixed cost as C(100)
In Example 7, ₹2,000 is the cost of 100 units, not the fixed cost. Substitute \(q = 100\) to find \(K = 1200\).
Practice questions
Try each one on paper before you open the answer.
Q1\(MC = 25 + 0.2q\), fixed cost ₹3,000. Find \(C(q)\) and \(C(100)\).
\(C(q) = 3000 + 25q + 0.1q^2\). \(C(100) = 3000 + 2500 + 1000 = 6500\), so ₹6,500.
Q2With the MC in Q1, find the cost of raising output from 100 to 150 units.
\(\Big[25q + 0.1q^2\Big]_{100}^{150} = (3750 + 2250) - (2500 + 1000)\) \(= 2500\), so ₹2,500.
Q3\(MR = 50 - 0.4q\). Find the revenue and demand functions.
\(R = 50q - 0.2q^2\) and \(p = 50 - 0.2q\).
Q4\(MC = 2q + 15\) and 10 units cost ₹1,000. Find the fixed cost.
\(C = q^2 + 15q + K\); \(100 + 150 + K = 1000\), so \(K = 750\), that is ₹750.
Q5\(MR = 100 - 2q\). Find the extra revenue from raising sales from 30 to 40 units.
\(\Big[100q - q^2\Big]_{30}^{40} = 2400 - 2100 = 300\), so ₹300.
Q6\(MC = 4 + \dfrac{18}{\sqrt q}\), fixed cost ₹200. Find the total cost of 36 units.
\(C(q) = 200 + 4q + 36\sqrt q\). \(C(36) = 200 + 144 + 216 = 560\), so ₹560.
Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.
Frequently asked questions
How do you find total cost from marginal cost?
Integrate the marginal cost function and add a constant. The constant equals the fixed cost, because \(C(0)\) is the cost of producing nothing.
What is the constant of integration in a cost function?
The fixed cost. If the fixed cost is not given directly, use any known total, such as the cost of 100 units, to find it.
How do you find the cost of increasing production?
Integrate MC from the old output to the new one: \(\displaystyle\int_{q_1}^{q_2} MC\,dq\). The fixed cost cancels, so you do not need it.
How do you find the demand function from marginal revenue?
Integrate MR with constant zero to get \(R(q)\), then divide by \(q\): \(p = \dfrac{R(q)}{q}\).