Study guide
7.4 Completing the Square, Vertex Form & Optimization
HiSET Mathematics Study Guide Exam
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: HiSET Mathematics Overview & Test Strategy
1.1 Exam Structure, Scoring Standards & Test-Day Logistics 1.2 Using the HiSET Formula Sheet & Calculator Effectively 1.3 Word Problem Translation & Test-Taking Strategies
2 Chapter 2: Numbers and Operations — Number Sets & Real-World Arithmetic
2.1 Real Number Classification, Absolute Value & Order of Operations 2.2 Operations with Fractions, Decimals & Signed Numbers 2.3 Exponents, Radicals & Scientific Notation
3 Chapter 3: Numbers and Operations — Proportional Reasoning & Financial Math
3.1 Ratios, Rates, Unit Rates & Proportions 3.2 Percentages, Percent Change & Markup/Discount 3.3 Real-World Consumer & Financial Arithmetic
4 Chapter 4: Algebraic Concepts — Expressions, Linear Equations & Inequalities
4.1 Algebraic Expressions, Combining Like Terms & Distributive Property 4.2 Solving One-Step, Two-Step & Multi-Step Linear Equations 4.3 Solving and Graphing Linear Inequalities 4.4 Modeling Real-World Problems with Linear Equations & Inequalities
5 Chapter 5: Algebraic Concepts — Linear Functions, Coordinate Geometry & Graphing
5.1 The Coordinate Plane, Plotting Points & Relations vs. Functions 5.2 Slope, Rate of Change & Graphing Lines 5.3 Linear Equation Forms (Slope-Intercept, Point-Slope, Standard) 5.4 Parallel & Perpendicular Lines and Direct Variation
6 Chapter 6: Algebraic Concepts — Systems of Equations, Polynomials & Rational Expressions
6.1 Systems of Linear Equations (Graphing & Substitution) 6.2 Systems of Linear Equations (Elimination & Word Problems) 6.3 Polynomial Operations (Addition, Subtraction & Multiplication) 6.4 Factoring Polynomials & Special Products 6.5 Rational Expressions, Rational Equations & Radical Equations
7 Chapter 7: Algebraic Concepts — Quadratic Equations, Completing the Square & Function Families
7.1 Solving Quadratic Equations by Factoring & Square Root Property 7.2 The Quadratic Formula & The Discriminant 7.3 Quadratic Graphs, Parabolas & Basic Non-Linear Functions 7.4 Completing the Square, Vertex Form & Optimization 7.5 Graphing Function Families, Asymptotes & End Behavior
8 Chapter 8: Measurement and Geometry — 2D Geometry, Area & Transformations
8.1 Lines, Angles & Geometric Relationships 8.2 Triangles, Polygons & The Pythagorean Theorem 8.3 Perimeter, Circumference & Area of 2D Figures 8.4 Congruence, Similarity & Scale Drawings 8.5 Transformations in the Plane: Reflections, Translations, Rotations & Dilations
9 Chapter 9: Measurement and Geometry — 3D Figures & Measurement Systems
9.1 Surface Area of 3D Geometric Solids 9.2 Volume of 3D Geometric Solids 9.3 Units of Measurement & Dimensional Analysis
10 Chapter 10: Data Analysis, Probability, and Statistics — Data Displays & Statistical Measures
10.1 Measures of Central Tendency & Dispersion 10.2 Reading and Interpreting Tables, Bar Graphs, Line Graphs & Circle Graphs 10.3 Histograms, Box Plots & Scatter Plots
11 Chapter 11: Data Analysis, Probability, and Statistics — Probability & Counting Principles
11.1 Simple Probability & Odds 11.2 Compound Events, Independent & Dependent Probability 11.3 Real-World Data Analysis & Statistical Reasoning
7.4 Completing the Square, Vertex Form & Optimization
Key Takeaways Explain This Topic AI
Completing the square rewrites a x 2 + b x + c ax^2 + bx + c a x 2 + b x + c as a ( x − h ) 2 + k a(x - h)^2 + k a ( x − h ) 2 + k , exposing the vertex ( h , k ) (h, k) ( h , k ) and therefore the maximum or minimum value directly.
For a monic quadratic x 2 + b x x^2 + bx x 2 + b x , the number that completes the square is ( b / 2 ) 2 (b/2)^2 ( b /2 ) 2 , added and subtracted so the expression's value is unchanged.
When a ≠ 1 a \neq 1 a = 1 , factor a a a out of the x 2 x^2 x 2 and x x x terms first; forgetting to multiply the added constant back by a a a is the dominant error.
A downward-opening parabola ( a < 0 a < 0 a < 0 ) has a maximum at its vertex, and an upward-opening parabola ( a > 0 a > 0 a > 0 ) has a minimum — the k k k value is the optimum, and h h h is where it occurs.
The quadratic formula is derived by completing the square on the general form a x 2 + b x + c = 0 ax^2 + bx + c = 0 a x 2 + b x + c = 0 , so the two methods always agree.
Last updated: September 2026
Completing the Square, Vertex Form & Optimization
Quick Summary: The official blueprint names three ways to solve a quadratic — square roots, the quadratic formula , and completing the square — and separately requires "completing the square to determine the minimum or maximum value of a function." This section covers that third method. It converts a x 2 + b x + c ax^2 + bx + c a x 2 + b x + c into vertex form a ( x − h ) 2 + k a(x - h)^2 + k a ( x − h ) 2 + k , where the vertex ( h , k ) (h, k) ( h , k ) can be read off directly and k k k is the maximum or minimum value.
Why a Third Method Exists
Factoring is fast but only works on nice integers. The quadratic formula always works but tells you nothing about the graph. Completing the square does something neither can: it rewrites the function so its optimum is visible without any further calculation.
- Method Best when Gives you
- Factoring Integer roots exist The roots
- Square root property No x x x term, or already a perfect square The roots
- Completing the square You need the vertex , max, or min Roots and the vertex
- Quadratic formula Nothing factors; you only need roots The roots
- The Core Rule: Add ( b / 2 ) 2 (b/2)^2 ( b /2 ) 2
A perfect square trinomial has the pattern x 2 + b x + ( b 2 ) 2 = ( x + b 2 ) 2 x^2 + bx + \left(\dfrac{b}{2}\right)^2 = \left(x + \dfrac{b}{2}\right)^2 x 2 + b x + ( 2 b ) 2 = ( x + 2 b ) 2 .
So to complete the square on x 2 + b x x^2 + bx x 2 + b x : take half of b b b , square it , and add it.
- Expression b b b b / 2 b/2 b /2 ( b / 2 ) 2 (b/2)^2 ( b /2 ) 2 Completed square
- x 2 + 8 x x^2 + 8x x 2 + 8 x 8 4 16 ( x + 4 ) 2 (x + 4)^2 ( x + 4 ) 2
- x 2 − 6 x x^2 - 6x x 2 − 6 x − 6 -6 − 6 − 3 -3 − 3 9 ( x − 3 ) 2 (x - 3)^2 ( x − 3 ) 2
- x 2 + 5 x x^2 + 5x x 2 + 5 x 5 2.5 2.5 2.5 6.25 6.25 6.25 ( x + 2.5 ) 2 (x + 2.5)^2 ( x + 2.5 ) 2
x 2 − 3 x x^2 - 3x x 2 − 3 x − 3 -3 − 3 − 1.5 -1.5 − 1.5 2.25 2.25 2.25 ( x − 1.5 ) 2 (x - 1.5)^2 ( x − 1.5 ) 2
Notice the sign inside the binomial always matches the sign of b b b , and the constant added is always positive.
- Solving an Equation by Completing the Square
- Worked Example 1: Leading Coefficient of 1
Solve x 2 + 6 x − 7 = 0 x^2 + 6x - 7 = 0 x 2 + 6 x − 7 = 0 .
Move the constant across: x 2 + 6 x = 7 x^2 + 6x = 7 x 2 + 6 x = 7 .
Half of 6 is 3; 3 2 = 9 3^2 = 9 3 2 = 9 . Add 9 to both sides: x 2 + 6 x + 9 = 16 x^2 + 6x + 9 = 16 x 2 + 6 x + 9 = 16 .
Factor the left side: ( x + 3 ) 2 = 16 (x + 3)^2 = 16 ( x + 3 ) 2 = 16 .
Square root both sides: x + 3 = ± 4 x + 3 = \pm 4 x + 3 = ± 4 .
Solve: x = − 3 + 4 = 1 x = -3 + 4 = 1 x = − 3 + 4 = 1 and x = − 3 − 4 = − 7 x = -3 - 4 = -7 x = − 3 − 4 = − 7 .
Check by factoring the original: ( x + 7 ) ( x − 1 ) = 0 (x + 7)(x - 1) = 0 ( x + 7 ) ( x − 1 ) = 0 gives the same roots.
Worked Example 2: Leading Coefficient Other Than 1
Solve 2 x 2 − 12 x + 10 = 0 2x^2 - 12x + 10 = 0 2 x 2 − 12 x + 10 = 0 .
Divide every term by 2: x 2 − 6 x + 5 = 0 x^2 - 6x + 5 = 0 x 2 − 6 x + 5 = 0 .
Move the constant: x 2 − 6 x = − 5 x^2 - 6x = -5 x 2 − 6 x = − 5 .
Half of − 6 -6 − 6 is − 3 -3 − 3 ; ( − 3 ) 2 = 9 (-3)^2 = 9 ( − 3 ) 2 = 9 . Add 9 to both sides: x 2 − 6 x + 9 = 4 x^2 - 6x + 9 = 4 x 2 − 6 x + 9 = 4 .
Factor: ( x − 3 ) 2 = 4 (x - 3)^2 = 4 ( x − 3 ) 2 = 4 , so x − 3 = ± 2 x - 3 = \pm 2 x − 3 = ± 2 .
Solve: x = 5 x = 5 x = 5 and x = 1 x = 1 x = 1 .
The dominant error: adding 9 to the left side but forgetting the right, or — when you factor out a a a instead of dividing — forgetting that the added constant gets multiplied by a a a as it leaves the parentheses. Dividing through by a a a first, as above, avoids the trap entirely when the equation equals zero.
Converting to Vertex Form
For a function (not an equation) you cannot divide both sides, so factor a a a out of the first two terms and add-and-subtract inside.
Worked Example 3: f ( x ) = x 2 − 8 x + 11 f(x) = x^2 - 8x + 11 f ( x ) = x 2 − 8 x + 11
Half of − 8 -8 − 8 is − 4 -4 − 4 ; ( − 4 ) 2 = 16 (-4)^2 = 16 ( − 4 ) 2 = 16 . Add and subtract 16: f ( x ) = ( x 2 − 8 x + 16 ) − 16 + 11 = ( x − 4 ) 2 − 5 f(x) = (x^2 - 8x + 16) - 16 + 11 = (x - 4)^2 - 5 f ( x ) = ( x 2 − 8 x + 16 ) − 16 + 11 = ( x − 4 ) 2 − 5
Vertex form is f ( x ) = ( x − 4 ) 2 − 5 f(x) = (x - 4)^2 - 5 f ( x ) = ( x − 4 ) 2 − 5 , so the vertex is ( 4 , − 5 ) (4, -5) ( 4 , − 5 ) . Because a = 1 > 0 a = 1 > 0 a = 1 > 0 , the parabola opens upward and − 5 -5 − 5 is the minimum value , occurring at x = 4 x = 4 x = 4 .
Worked Example 4: g ( x ) = − 3 x 2 + 12 x − 5 g(x) = -3x^2 + 12x - 5 g ( x ) = − 3 x 2 + 12 x − 5
Factor − 3 -3 − 3 from the first two terms: g ( x ) = − 3 ( x 2 − 4 x ) − 5 g(x) = -3(x^2 - 4x) - 5 g ( x ) = − 3 ( x 2 − 4 x ) − 5 .
Half of − 4 -4 − 4 is − 2 -2 − 2 ; ( − 2 ) 2 = 4 (-2)^2 = 4 ( − 2 ) 2 = 4 . Add 4 inside the parentheses — but because the parentheses are multiplied by − 3 -3 − 3 , you have really added − 3 ( 4 ) = − 12 -3(4) = -12 − 3 ( 4 ) = − 12 , so add 12 back outside: g ( x ) = − 3 ( x 2 − 4 x + 4 ) − 5 + 12 = − 3 ( x − 2 ) 2 + 7 g(x) = -3(x^2 - 4x + 4) - 5 + 12 = -3(x - 2)^2 + 7 g ( x ) = − 3 ( x 2 − 4 x + 4 ) − 5 + 12 = − 3 ( x − 2 ) 2 + 7
Vertex ( 2 , 7 ) (2, 7) ( 2 , 7 ) . Since a = − 3 < 0 a = -3 < 0 a = − 3 < 0 , the parabola opens downward and 7 is the maximum value , reached at x = 2 x = 2 x = 2 .
Reading Optimization Answers Straight Off Vertex Form
Vertex form Opens Vertex Optimum
f ( x ) = 2 ( x − 3 ) 2 + 4 f(x) = 2(x - 3)^2 + 4 f ( x ) = 2 ( x − 3 ) 2 + 4 Up ( a > 0 a > 0 a > 0 ) ( 3 , 4 ) (3, 4) ( 3 , 4 ) Minimum of 4 at x = 3 x = 3 x = 3
f ( x ) = − ( x + 1 ) 2 + 9 f(x) = -(x + 1)^2 + 9 f ( x ) = − ( x + 1 ) 2 + 9 Down ( a < 0 a < 0 a < 0 ) ( − 1 , 9 ) (-1, 9) ( − 1 , 9 ) Maximum of 9 at x = − 1 x = -1 x = − 1
f ( x ) = 5 ( x − 2 ) 2 f(x) = 5(x - 2)^2 f ( x ) = 5 ( x − 2 ) 2 Up ( 2 , 0 ) (2, 0) ( 2 , 0 ) Minimum of 0 at x = 2 x = 2 x = 2
Watch the sign of h h h . In a ( x − h ) 2 + k a(x - h)^2 + k a ( x − h ) 2 + k the vertex x x x -coordinate is h h h , so ( x + 1 ) 2 (x + 1)^2 ( x + 1 ) 2 means h = − 1 h = -1 h = − 1 , not + 1 +1 + 1 . Rewriting ( x + 1 ) (x+1) ( x + 1 ) as ( x − ( − 1 ) ) (x - (-1)) ( x − ( − 1 )) removes all doubt.
Application: Revenue Optimization
A vendor's daily profit is P ( x ) = − 2 x 2 + 40 x − 120 P(x) = -2x^2 + 40x - 120 P ( x ) = − 2 x 2 + 40 x − 120 dollars when the price is x x x dollars. Factor out − 2 -2 − 2 : P ( x ) = − 2 ( x 2 − 20 x ) − 120 P(x) = -2(x^2 - 20x) - 120 P ( x ) = − 2 ( x 2 − 20 x ) − 120 . Half of − 20 -20 − 20 is − 10 -10 − 10 ; ( − 10 ) 2 = 100 (-10)^2 = 100 ( − 10 ) 2 = 100 . Adding 100 inside adds − 200 -200 − 200 overall, so add 200 back: P ( x ) = − 2 ( x − 10 ) 2 − 120 + 200 = − 2 ( x − 10 ) 2 + 80 P(x) = -2(x - 10)^2 - 120 + 200 = -2(x - 10)^2 + 80 P ( x ) = − 2 ( x − 10 ) 2 − 120 + 200 = − 2 ( x − 10 ) 2 + 80
Maximum profit is $80 , achieved at a price of $10 .
The Link to the Quadratic Formula
Completing the square on the general equation a x 2 + b x + c = 0 ax^2 + bx + c = 0 a x 2 + b x + c = 0 produces the quadratic formula itself: ( x + b 2 a ) 2 = b 2 − 4 a c 4 a 2 ⟹ x = − b ± b 2 − 4 a c 2 a \left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2} \quad \Longrightarrow \quad x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} ( x + 2 a b ) 2 = 4 a 2 b 2 − 4 a c ⟹ x = 2 a − b ± b 2 − 4 a c
This is why the two methods can never disagree, and it also explains the vertex shortcut x = − b 2 a x = -\dfrac{b}{2a} x = − 2 a b from Section 7.3: it is exactly the − b 2 a -\dfrac{b}{2a} − 2 a b that appears when the square is completed.