Instant PDF download, name-and-email checkout. Complete Book Bundle: every Economics, Statistics, Mathematics, Econometrics and Research Methods book
Mathematics

Completing the Square: Vertex Form, Maximum Revenue and Circle Equations

What ticket price brings in the most money? Completing the square answers it in four lines, then solves quadratics and circle equations too.

In 30 seconds
  • Completing the square rewrites a quadratic \( ax^2 + bx + c \) as \( a(x-h)^2 + k \), called the vertex form.
  • Because a square is never negative, the vertex form shows the maximum or minimum at a glance: the turning point is \( (h, k) \).
  • Case: a theatre selling 400 tickets at $20, losing 10 sales per $1 rise, has revenue \( R = -10(x-10)^2 + 9000 \). The best price is $30, for $9,000.
  • The same move solves quadratics, gives the quadratic formula, and turns a messy circle equation into centre-and-radius form.
  • Exam point: when \( a \ne 1 \), take \( a \) out of the \( x^2 \) and \( x \) terms first, and remember to multiply the correction term by \( a \).

The case: what ticket price brings in the most money?

A community theatre has 500 seats. At the current price of $20 it sells 400 tickets a night, so takings are $8,000. The manager has run a short survey and estimates that every $1 rise in price would lose about 10 sales, and every $1 cut would gain about 10. (The theatre and its numbers are illustrative.) Should the price go up, and if so, by how much?

Let \( x \) be the number of $1 rises. Then the price is \( 20 + x \) dollars, the number of tickets sold is \( 400-10x \), and the revenue is

\[ R = (20 + x)(400-10x) = 8000 + 200x-10x^2. \]

Raising the price earns more per ticket but sells fewer tickets. Somewhere these two effects balance. The manager wants three answers: the best price, the revenue it brings, and the range of prices that would bring in at least $8,500, so that there is room to choose a round number.

The concept: making a perfect square appear

Some quadratics are perfect squares already: \( x^2-20x + 100 = (x-10)^2 \). The pattern is always the same. When you expand \( (x + p)^2 \) you get \( x^2 + 2px + p^2 \): the number in front of \( x \) is twice \( p \), and the constant is \( p^2 \).

Most quadratics are not perfect squares, but every one is a perfect square plus or minus a constant. To find it, halve the coefficient of \( x \), square the bracket, then subtract whatever extra the bracket brought in. That is completing the square.[3]

Why bother? Because a square can never be negative. In \( -10(x-10)^2 + 9000 \), the term \( -10(x-10)^2 \) is zero when \( x = 10 \) and negative for every other \( x \). So the expression can never exceed 9000, and it reaches 9000 only at \( x = 10 \). The maximum is visible without drawing a graph or using calculus.

Key termVertex form (completed square form): a quadratic written as \( a(x-h)^2 + k \). Its graph is a parabola with turning point, or vertex, at \( (h, k) \) and line of symmetry \( x = h \). If \( a > 0 \), \( k \) is the minimum value; if \( a < 0 \), \( k \) is the maximum.
\[ x^2 + bx + c = \left(x + \frac{b}{2}\right)^2-\left(\frac{b}{2}\right)^2 + c \] \[ ax^2 + bx + c = a(x-h)^2 + k \]

In the first line, \( b \) is the coefficient of \( x \), \( c \) is the constant, and \( \tfrac{b}{2} \) is the number that goes inside the bracket. In the second line, \( a \) is the coefficient of \( x^2 \), \( h = -\dfrac{b}{2a} \) is the \( x \)-coordinate of the vertex, and \( k = c-\dfrac{b^2}{4a} \) is the value of the quadratic there.

Mathematics Made Simple textbook coverChapter 2 of Mathematics Made Simple covers completing the square, the discriminant and inequalities with worked examples.Get the textbook · $12

Why this formula fits the case

Revenue here is a quadratic in \( x \) with a negative \( x^2 \) coefficient, so its graph is an upside-down parabola with a single highest point.[4] Completing the square is designed to find exactly that point. It also gives the other two answers the manager wants. The best price comes from \( h \), the best revenue from \( k \), and the range of prices for at least $8,500 comes from solving \( R = 8500 \), which in vertex form takes one square root.

It is also the method behind the quadratic formula. Complete the square on \( ax^2 + bx + c = 0 \) and you get \( \left(x + \tfrac{b}{2a}\right)^2 = \dfrac{b^2-4ac}{4a^2} \). Take square roots and you have \( x = \dfrac{-b \pm \sqrt{b^2-4ac}}{2a} \). So completing the square is not a separate trick; it is the reason the formula works.

When is it not the right tool? If the relationship is not quadratic, such as sales that fall by a percentage rather than a fixed number, completing the square does not apply, and calculus is the general method. And if you only need the roots of a quadratic that factorises neatly, factorising is quicker.

Setting it up

QuantityMeaningIn the case
\( x \)VariableNumber of $1 price rises (negative means a cut)
\( a \)Coefficient of \( x^2 \)\( -10 \)
\( b \)Coefficient of \( x \)\( 200 \)
\( c \)Constant\( 8000 \), today’s revenue
DomainSensible values of \( x \)\( -10 \le x \le 40 \): no more than 500 seats, and no negative sales

Units matter for the reading of the answer: \( x \) is in dollars of price change and \( R \) is in dollars of revenue. Check the model at \( x = 0 \): \( R = 8000 \), today’s takings, as it should be.

Solving it

Worked example

Write \( R = 8000 + 200x-10x^2 \) in vertex form, and hence find the price that maximises revenue, the number of tickets sold, and the maximum revenue.

Step 1Take \( a = -10 \) out of the \( x^2 \) and \( x \) terms: \( R = -10\left(x^2-20x\right) + 8000 \).
Step 2Halve the coefficient of \( x \) inside the bracket: \( -20 \div 2 = -10 \). So \( x^2-20x = (x-10)^2-100 \).
Step 3Substitute: \( R = -10\left[(x-10)^2-100\right] + 8000 \).
Step 4Expand the outer bracket: \( R \) \( = -10(x-10)^2 + 1000 + 8000 \) \( = -10(x-10)^2 + 9000 \).
Step 5The squared term is zero at \( x = 10 \) and negative otherwise, so the maximum revenue is $9,000 when \( x = 10 \).
Step 6Price: \( 20 + 10 = \$30 \). Tickets: \( 400-10 \times 10 = 300 \). Check: \( 30 \times 300 = 9000 \). ✓

Raising the price from $20 to $30 loses 100 sales but lifts takings by $1,000 a night.

The manager would like a range rather than a single price. The vertex form makes that easy too.

Worked example

Find the range of ticket prices that brings in at least $8,500.

Step 1Set \( R = 8500 \): \( -10(x-10)^2 + 9000 = 8500 \).
Step 2Rearrange: \( -10(x-10)^2 = -500 \), so \( (x-10)^2 = 50 \).
Step 3Square-root both sides, keeping both signs: \( x-10 \) \( = \pm\sqrt{50} \) \( = \pm 5\sqrt{2} \) \( \approx \pm 7.07 \).
Step 4So \( x \approx 2.93 \) or \( x \approx 17.07 \), giving prices of about $22.93 and $37.07.
Step 5Revenue is at least $8,500 between these, because the parabola is above 8500 between its two crossings.
Step 6In whole dollars: $23 to $37. Check $23 (\( x = 3 \)): \( -10(-7)^2 + 9000 = 8510 \) ✓. Check $22 (\( x = 2 \)): \( -10(-8)^2 + 9000 = 8360 \), too low.

Any whole-dollar price from $23 to $37 keeps nightly takings at $8,500 or more.

Completing the square is also how you read a circle’s equation, which is a standard exam question.

Worked example

On a map grid in kilometres, the edge of a phone mast’s coverage area is \( x^2 + y^2-6x + 8y-11 = 0 \). Find the position of the mast (the centre) and the range (the radius).

Step 1Group the \( x \) terms and the \( y \) terms: \( (x^2-6x) + (y^2 + 8y) = 11 \).
Step 2Complete each square: \( x^2-6x = (x-3)^2-9 \) and \( y^2 + 8y = (y + 4)^2-16 \).
Step 3Substitute: \( (x-3)^2-9 + (y + 4)^2-16 = 11 \).
Step 4Collect the numbers: \( (x-3)^2 + (y + 4)^2 = 36 \).
Step 5Compare with \( (x-a)^2 + (y-b)^2 = r^2 \): centre \( (3, -4) \), radius \( \sqrt{36} = 6 \).

The mast stands at grid point \( (3, -4) \) and covers everything within 6 km.

Mathematics Made Simple Practice Questions coverMake completing the square automatic with the Practice Questions book: 1,565 questions, all fully worked.Get 1,565 questions · $9

What the answer tells us

In the case’s terms. The best price is $30, where 300 tickets bring in $9,000, compared with $8,000 now. The theatre would also have 100 fewer people to serve each night, so if costs depend on audience size, the gain in profit is even larger than the gain in revenue.

Ticket revenue R = −10(p − 30)² + 9000 $
R(p) = p(600 − 10p)
1020304050602000400060008000100000p ($)Rvertex (30, 9000)now: $20, R = $8,00022.9337.07
Figure 1. The revenue curve is a parabola that opens downwards. Completing the square puts its vertex on show: $9,000 at a $30 ticket. Any price between $22.93 and $37.07 brings in at least $8,500.

The top is flat. The vertex form shows how much a near-miss costs. Pricing at $28 or $32 instead of $30 means \( x-10 = \pm 2 \), so revenue falls by only \( 10 \times 2^2 = \$40 \). The cost grows with the square of the distance from the best price, so small errors hardly matter but large ones do: being $10 out costs $1,000.

Is it reasonable? At the best price, a $1 rise earns $1 more on each of 300 tickets, which is +$300, and loses 10 tickets at $30, which is −$300. The two effects cancel, which is exactly what should happen at a maximum.

Sensitivity. The answer depends on the estimate of 10 lost sales per $1. If it were 12, revenue would be \( (20 + x)(400-12x) \) \( = -12\left(x-\tfrac{20}{3}\right)^2 + 8533.33 \), so the best price would fall to about $26.67 and the best revenue to about $8,533. Survey quality matters.

Common mistakeForgetting to multiply the correction by \( a \). In Step 4 of the first example, \( -10 \times (-100) = +1000 \). Writing \( -10(x-10)^2-100 + 8000 \) gives a maximum of $7,900, which is less than today’s takings and is plainly wrong.
Common mistakeGetting the sign of \( h \) backwards. \( (x-10)^2 \) is smallest at \( x = +10 \), not \( -10 \). The vertex of \( a(x-h)^2 + k \) is at \( (h, k) \), so read \( h \) with the opposite sign to the one in the bracket.
Exam tipCambridge 9709 Pure Mathematics 1 asks you to carry out completing the square for \( ax^2 + bx + c \) and to use the result to find a vertex, a range or the number of roots; the same skill is used to find the centre and radius of a circle.[1] In IB Mathematics: analysis and approaches it is part of the quadratic function \( f(x) = a(x-h)^2 + k \) in SL topic 2.6.[2] AP Calculus assumes it as prerequisite algebra. Questions often say “express in the form \( a(x + b)^2 + c \)”; match that form exactly, and expand your answer as a check.

For the full toolkit of quadratics, from factorising to the discriminant and inequalities, the Mathematics Made Simple textbook covers it in Chapter 2, and Appendix B shows the economics uses. For practice, the Mathematics Made Simple practice book has graded quadratics questions with full solutions.

Mathematics Made Simple bundle coverMaster quadratics, functions and calculus with both Mathematics Made Simple books for $16.Both books · $16

Practice questions

Show each completed square in full, then check by expanding.

EasyQ1. Write \( x^2 + 8x + 3 \) in the form \( (x + p)^2 + q \) and state the minimum value and where it occurs. Show worked answer
Half of 8 is 4: \( x^2 + 8x = (x + 4)^2-16 \).
So \( x^2 + 8x + 3 = (x + 4)^2-13 \).
Minimum value \( -13 \), at \( x = -4 \).
EasyQ2. Solve \( x^2-6x + 2 = 0 \) by completing the square, giving exact answers and answers to 3 d.p. Show worked answer
\( (x-3)^2-9 + 2 = 0 \), so \( (x-3)^2 = 7 \).
\( x = 3 \pm \sqrt{7} \), that is \( x \approx 5.646 \) or \( x \approx 0.354 \).
MediumQ3. Express \( 2x^2 + 12x + 7 \) in the form \( a(x + b)^2 + c \), and state the coordinates of the vertex of \( y = 2x^2 + 12x + 7 \). Show worked answer
\( 2(x^2 + 6x) + 7 \) \( = 2\left[(x + 3)^2-9\right] + 7 \).
\( = 2(x + 3)^2-18 + 7 \) \( = 2(x + 3)^2-11 \).
Vertex \( (-3, -11) \), a minimum since \( a = 2 > 0 \).
MediumQ4. Find the centre and radius of the circle \( x^2 + y^2 + 10x-4y + 4 = 0 \). Show worked answer
\( (x + 5)^2-25 + (y-2)^2-4 + 4 \) \( = 0 \).
\( (x + 5)^2 + (y-2)^2 = 25 \).
Centre \( (-5, 2) \), radius 5.
ExamQ5. A café sells 120 cakes a day at $4 each. For every 25-cent rise in price it expects to sell 6 fewer cakes. Let \( x \) be the number of 25-cent rises. (a) Show that the daily revenue is \( R = 480 + 6x-1.5x^2 \). [2] (b) Express \( R \) in the form \( k-a(x-h)^2 \). [3] (c) State the maximum revenue and the price that achieves it. [2] (d) Find the range of prices for which revenue is at least $480. [2] Show worked answer
(a) \( R = (4 + 0.25x)(120-6x) \) [1] \( = 480-24x + 30x-1.5x^2 \) \( = 480 + 6x-1.5x^2 \). [1]
(b) \( R = -1.5(x^2-4x) + 480 \) [1] \( = -1.5\left[(x-2)^2-4\right] + 480 \) [1] \( = 486-1.5(x-2)^2 \). [1]
(c) Maximum $486 [1] when \( x = 2 \), a price of \( 4 + 0.5 = \$4.50 \) (108 cakes). [1]
(d) \( 486-1.5(x-2)^2 \) \( \ge 480 \) \( \Rightarrow (x-2)^2 \) \( \le 4 \) \( \Rightarrow 0 \) \( \le x \) \( \le 4 \) [1], so prices from $4.00 to $5.00. [1]

Frequently asked questions

What is completing the square used for?

Three main things: finding the maximum or minimum of a quadratic and where it happens, solving quadratic equations (it is how the quadratic formula is derived), and rewriting circle equations to read off the centre and radius. It also appears later in integration and statistics.

How do you complete the square when the coefficient of \( x^2 \) is not 1?

Take the coefficient \( a \) out of the \( x^2 \) and \( x \) terms only, complete the square inside the bracket, and then multiply the subtracted constant by \( a \) as you remove the outer bracket. Q3 above shows every step.

Is completing the square better than the quadratic formula?

For solving an equation, the formula is usually quicker. For anything about the shape of the graph (vertex, maximum, minimum, range, line of symmetry), the completed square form is better, because it shows the answers directly.

Can I find a maximum revenue with calculus instead?

Yes. Differentiating \( R = 8000 + 200x-10x^2 \) gives \( R’ = 200-20x \), which is zero at \( x = 10 \), the same answer. Completing the square gets there without calculus, which is why it appears early in the course.

References

  1. Cambridge International Education. Cambridge International AS & A Level Mathematics 9709: syllabus for examination in 2026 and 2027, Pure Mathematics 1, topics 1.1 Quadratics and 1.3 Coordinate geometry. cambridgeinternational.org
  2. International Baccalaureate Organization (2019). Mathematics: analysis and approaches guide (first assessment 2021), topic 2.6. Cardiff: IBO.
  3. Abramson, J. et al. (2021). Algebra and Trigonometry 2e, Section 5.1 “Quadratic Functions”. Houston: OpenStax. https://openstax.org/details/books/algebra-and-trigonometry-2e
  4. Sydsæter, K., Hammond, P., Strøm, A. and Carvajal, A. (2016). Essential Mathematics for Economic Analysis, 5th edn, sections on quadratic functions. Harlow: Pearson.
Mathematics Made Simple complete bundle cover
This topic has a full chapter in Mathematics Made Simple, with 1,565 fully worked practice questions in the bundle.Mathematics Made Simple Complete Bundle — Textbook + 1,565 Practice Questions
Get it for $16
E

The EconTutorials team writes clear, exam-focused lessons in economics and statistics for A-Level, IB, AP and university students, with more than 13 years of classroom teaching behind every guide and book in the Made Simple series.