Example 37: Price , cost : sell 240 items for maximum profit
Manufacturer can sell items at a price of rupees each. The cost price of items is Rs . Find the number of items he should sell to earn maximum profit.
Let items be sold, (price not negative). Profit = selling price minus cost of items:
gives .
So is maximum at , the only critical point.
he should sell items to earn maximum profit.
Want the reason behind every step, the basics and the checks?
Profit = money received − cost. The money received is (number of items) × (price per item), and the price falls as more items are sold, so the profit is a downward-opening quadratic in . Its derivative is zero at exactly one point, and because the second derivative is negative everywhere, that point gives the largest profit of all.
- Given
- Selling items, each sells for Rs ; the cost of items is Rs .
- To find
- The number of items that gives the maximum profit.
- Plan
- Write the selling price of items and the cost ; form the profit ; solve ; apply the second derivative test; show the maximum is the largest over the whole allowed range; check is a whole number.
Basics you need
Money received from selling items at a price each is ; profit is this minus the cost. Basics: building the function to optimise
If and , then is a point of local maxima. Lesson: derivative tests
If to the left of and to the right throughout the range, then is the largest value on the whole range (Theorem 1, Section 6.3). Lesson: optimisation problems
. This rewrites a quadratic so that its largest value can be read off directly. Basics: factorising and the discriminant
Solution
The variable and its range
Let be the number of items sold. It is a whole number with , and the price can only make sense while it is not negative, that is for . So we work on , treating as a real number for the calculus and checking at the end that the answer is a whole number.
Calculus works with a continuous variable. That is fine here as long as the best found turns out to be a whole number of items (it will).Selling price and cost of items
"Price of rupees each" is per item, so the total received for items is times it. The cost is already given for all items together.Total = number × price per item. Basics: building the functionThe profit function
Profit is what is left after paying the cost. The two -terms combine: .Subtracting a bracket changes the sign of every term in it: .Where the derivative is zero
At a maximum inside the range the graph is flat, so must be zero there (Theorem 2, Section 6.4). This gives the only candidate, , which lies inside .; the constant has derivative 0.Second derivative test
By Theorem 4, is a point of local maxima of .
with is case (i) of the second derivative test: the profit curve is flat and bending down at .Theorem 4 (Second Derivative Test), Section 6.4. Lesson: derivative testsIt is the largest profit over the whole range
is positive for and negative for . So increases on and decreases on , and is larger than every other value. Completing the square shows the same thing directly:
The square is never negative, so , with equality only at .
The profit for : a downward parabola with its highest point at . Profit is positive only between about 153 and 327 items. The second derivative test alone guarantees only a local maximum. The question asks for the maximum profit, so we show no other number of items does better. Since is negative everywhere, there is no other peak anywhere.Answer the question
is a whole number, so it is an allowed number of items. The manufacturer should sell 240 items. Then each sells for rupees, he receives rupees, the cost is rupees, and the maximum profit is Rs 76.
The question asks for the number of items, so that is the main answer. The profit itself (Rs 76) is a useful check: it agrees with from the completed square..
Profit , with and . The manufacturer should sell 240 items to earn the maximum profit, which is Rs 76. (Textbook's own solution: 240 items.)
, and : all less than . Directly from the definition: . Checking every whole number from 0 to 500 by computer, the largest profit is 76, at 240 items only.
- Using the price as the selling price of all items. is the price of one item; multiply by .
- Sign slip in the cost. Profit subtracts the whole cost, including the fixed 500.
- Differentiating as . The power rule gives .
- Answering with the profit instead of the number of items. The question asks how many items: 240.
- Profit problems: revenue = quantity × price, profit = revenue − cost, then maximise.
- A quadratic with negative coefficient has its single maximum where the derivative is zero; everywhere makes the local maximum the overall one.
- When the variable counts objects, check the optimum is a whole number (or compare the neighbouring whole numbers if it is not).
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Revenue = quantity × price; profit = revenue − cost | Steps 2, 3 | Commercial arithmetic |
| At an interior extremum | Step 4 | Theorem 2, Section 6.4 (Lesson: maxima and minima) |
| Second derivative test | Step 5 | Theorem 4, Section 6.4 (Lesson: derivative tests) |
| Sign of decides increasing or decreasing | Step 6 | Theorem 1, Section 6.3 (Lesson: increasing and decreasing) |
| Completing the square | Step 6 | Algebra |
| Textbook working and answer | Result | Example 37, Miscellaneous Examples, Chapter 6 |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →