Class 12 Maths, Worked in Full Past papersGet updates
Chapter 6 · Application of Derivatives

Exercise 6.3 · Q6: Maximum profit when p(x)=41−72x−18x2p(x)=41-72x-18x^2

Exercise 6.3Maximum value of a function · Section 6.4
The question

6. Find the maximum profit that a company can make, if the profit function is given by

p(x)=41−72x−18x2.p(x)=41-72x-18x^2.
Exam answer

p′(x)=−72−36x=−36(x+2)p'(x) = -72 - 36x = -36(x + 2)⁠.

p′(x)=0p'(x) = 0 gives x=−2x = -2⁠.

p′′(x)=−36<0p''(x) = -36 < 0 for all xx⁠, so p′′(−2)<0p''(-2) < 0⁠: x=−2x = -2 is a point of maxima.

p(−2)=41−72(−2)−18(−2)2=41+144−72=113\begin{aligned} p(-2) &= 41 - 72(-2) - 18(-2)^2 \\ &= 41 + 144 - 72 = 113 \end{aligned}

The maximum profit is 113113 units.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

The profit function is a quadratic with a negative x2x^2 coefficient, so its graph is a parabola opening downwards: it has exactly one highest point, where the slope p′(x)p'(x) is zero. Find that point, check it really is the top, and read off the profit there.

Given, to find, and the plan
Given
p(x)=41−72x−18x2p(x)=41-72x-18x^2⁠. The question does not say what xx measures or restrict it, so, as the book does, we take pp as a function on all real xx⁠.
To find
The maximum value of pp⁠.
Plan
(1) Find the critical point from p′(x)=0p'(x)=0⁠. (2) Confirm a local maximum with the second derivative test. (3) Prove it is the largest value of pp for every xx by completing the square. (4) Comment on the meaning of xx⁠.

Basics you need

1Critical points and the second derivative test

A local maximum of a differentiable function needs p′(c)=0p'(c)=0 (Theorem 2); if also p′′(c)<0p''(c)\lt0⁠, then cc is a point of local maxima (Theorem 4). Lesson: first and second derivative tests

2Local versus overall maximum

A local maximum is only highest nearby. To answer "the maximum profit" we must show p(c)≥p(x)p(c)\ge p(x) for all xx (Definition 3; the book prints >\gt⁠, read ≥\ge since x=cx=c is allowed). Lesson: maxima and minima

3Completing the square

−18x2−72x=−18(x2+4x)-18x^2-72x=-18(x^2+4x) =−18[(x+2)2−4]=-18\left[(x+2)^2-4\right]⁠. Basics: completing the square

4Turning words into a function

Before using the answer, ask what xx means and which values it may take. Basics: building the function to optimise

Solution

  1. Differentiate and find the critical point

    p′(x)=−72−36x=−36(x+2).p'(x)=-72-36x=-36(x+2).

    p′(x)=0p'(x)=0 only when x=−2x=-2⁠.

    Power rule term by term: the constant 4141 gives 00⁠, −72x-72x gives −72-72⁠, −18x2-18x^2 gives −36x-36x⁠. Factoring out −36-36 makes the zero obvious. pp is a polynomial, differentiable everywhere, so x=−2x=-2 is the only critical point.
    Theorem 2, Section 6.4. Lesson: tests
  2. Second derivative test

    p′′(x)=−36p''(x)=-36⁠, so p′′(−2)=−36<0p''(-2)=-36\lt0⁠. By Theorem 4(i), x=−2x=-2 is a point of local maxima, and

    p(−2)=41−72(−2)−18(−2)2=41+144−72=113.\begin{aligned} p(-2)&=41-72(-2)-18(-2)^2\\ &=41+144-72=113. \end{aligned}
    Careful with signs: −72×(−2)=+144-72\times(-2)=+144⁠, and (−2)2=4(-2)^2=4 so −18×4=−72-18\times4=-72⁠.
    Theorem 4(i), Section 6.4.
  3. It is the largest value for every xx

    Complete the square:

    p(x)=41−18(x2+4x)=41−18[(x+2)2−4]=113−18(x+2)2.\begin{aligned} p(x)&=41-18(x^2+4x)\\ &=41-18\left[(x+2)^2-4\right]\\ &=113-18(x+2)^2. \end{aligned}

    Since (x+2)2≥0(x+2)^2\ge0⁠, p(x)≤113p(x)\le113 for every real xx⁠, with equality only at x=−2x=-2⁠. So the maximum value of pp is 113113.

    The second derivative test only promises "highest nearby". The completed square shows "highest everywhere". Check by expanding: 113−18(x2+4x+4)113-18(x^2+4x+4) =113−18x2−72x−72=113-18x^2-72x-72 =41−72x−18x2=41-72x-18x^2⁠. ✓
    Definition 3, Section 6.4. Basics: completing the square
  4. What does x=−2x=-2 mean?

    The maximum occurs at x=−2x=-2⁠, a negative number. The question does not say what xx stands for, and the book's answer (113) treats pp as defined for every real xx⁠, so that is the answer to give.

    If, however, xx were the number of items produced, only x≥0x\ge0 would make sense. Then p′(x)=−36(x+2)<0p'(x)=-36(x+2)\lt0 for every x≥0x\ge0⁠, so pp would be decreasing on [0,∞)[0,\infty) and the largest profit would be p(0)=41p(0)=41⁠, at zero output.

    This is the "allowed range" check that every optimisation problem needs: the critical point must lie in the range of values the variable can actually take. Here the question gives no range, so we follow the book; the note shows how the answer would change with one.
    Theorem 1, Section 6.3 (negative derivative ⇒ decreasing). Basics: building the function to optimise
x y O −4 −2 1 41 113 top (−2, 113)
p(x)=41−72x−18x2=113−18(x+2)2p(x)=41-72x-18x^2=113-18(x+2)^2⁠: a downward parabola with its top at (−2,113)(-2,113)⁠. For x≥0x\ge0 (right of the vertical axis) the curve only falls, starting from p(0)=41p(0)=41⁠.
Result

The maximum profit is 113 units, reached at x=−2x=-2⁠, because p(x)=113−18(x+2)2≤113p(x)=113-18(x+2)^2\le113 for all xx⁠. (If xx were restricted to x≥0x\ge0⁠, the largest profit would be p(0)=41p(0)=41⁠.)

(Textbook answer: Maximum profit = 113 unit.)

Check it with numbers

p(−1.9)=41+136.8−64.98=112.82p(-1.9)=41+136.8-64.98=112.82 and p(−2.1)=41+151.2−79.38=112.82p(-2.1)=41+151.2-79.38=112.82⁠: both just below 113113⁠, and equal, as the symmetry about x=−2x=-2 predicts (113−18(0.1)2=112.82113-18(0.1)^2=112.82⁠). ✓

p(0)=41p(0)=41⁠, p(1)=41−72−18=−49p(1)=41-72-18=-49⁠: falling for x≥0x\ge0⁠. ✓

Common mistakes
  1. Sign slip in p(−2)p(-2)⁠. −72(−2)=+144-72(-2)=+144⁠; writing −144-144 gives −175-175⁠, which is wrong.
  2. Stopping at "local maximum". Show it is the largest value overall (completed square, or: a downward parabola has only one turning point).
  3. Answering with x=−2x=-2⁠. The question asks for the maximum profit, which is p(−2)=113p(-2)=113⁠.
What to take away
  1. For a quadratic profit or cost function, p′(x)=0p'(x)=0 gives the vertex; the sign of the x2x^2 coefficient says whether it is a maximum or a minimum.
  2. Completing the square turns the local result into a global one in a single line.
  3. Always check that the optimal xx is allowed by the meaning of the problem.

Every fact used, and where it comes from

FactUsed inSource
Local extremum ⇒ p′(c)=0p'(c)=0 (for differentiable pp⁠)Step 1Theorem 2, Section 6.4 (Lesson: tests)
Second derivative testStep 2Theorem 4, Section 6.4
Maximum value of a function (printed with >\gt⁠; read ≥\ge⁠)Step 3Definition 3, Section 6.4 (Lesson: maxima and minima)
Completing the square; t2≥0t^2\ge0Step 3Algebra (Basics)
Negative derivative on an interval ⇒ decreasingStep 4Theorem 1, Section 6.3 (Lesson: increasing and decreasing)
Found an error, or want more?

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 →