Quadratic Functions
Rick Says Welcome!
Things are about to get curvy! Quadratic functions produce those beautiful U-shaped (and upside-down U-shaped) curves called parabolas. They model everything from basketball trajectories to business profits, and they're full of fascinating features waiting to be discovered. Every input has its output — and for quadratics, the outputs form some of the most elegant shapes in mathematics. Let's map this out!
Summary
This chapter explores quadratic functions in depth, covering the three standard forms: standard form with y-intercept, factored form with roots, and vertex form. Students learn to find the vertex, axis of symmetry, and nature of roots using the discriminant. Solving techniques include factoring, completing the square, and the quadratic formula. The chapter also covers quadratic inequalities using sign diagrams and concludes with real-world applications including projectile motion and revenue optimization problems.
Concepts Covered
This chapter covers the following 21 concepts from the learning graph:
- Quadratic Function
- Parabola
- Standard Form Quadratic
- Vertex of a Parabola
- Factoring Quadratics
- Factored Form Quadratic
- Discriminant
- Nature of Roots
- Two Real Roots
- Equal Real Roots
- No Real Roots
- Sign Diagram
- Quadratic Inequalities
- Completing the Square
- Vertex Form Quadratic
- Axis of Symmetry
- Quadratic Formula
- Solving Quadratic Equations
- Quadratic Applications
- Projectile Motion Model
- Revenue Optimization
Prerequisites
This chapter builds on concepts from:
- Chapter 1: Algebra Foundations
- Chapter 2: Relations and Functions
- Chapter 3: Graphing and Key Features
- Chapter 4: Linear Functions
What Is a Quadratic Function?
A quadratic function is a function of the form:
The highest power of \(x\) is \(2\), which is what makes it "quadratic" (from the Latin quadratus, meaning "square"). The coefficients \(a\), \(b\), and \(c\) are constants, and the requirement \(a \neq 0\) ensures that the \(x^2\) term is actually present — without it, we'd just have a linear function.
The graph of every quadratic function is a smooth, symmetric curve called a parabola. The shape of the parabola depends on the value of \(a\):
- If \(a > 0\), the parabola opens upward (like a bowl ∪) and has a minimum point
- If \(a < 0\), the parabola opens downward (like an umbrella ∩) and has a maximum point
- The larger \(|a|\) is, the narrower the parabola; the smaller \(|a|\), the wider
Here are some examples:
| Function | \(a\) | Opens | Shape |
|---|---|---|---|
| \(f(x) = x^2\) | \(1\) | Upward | Standard width |
| \(g(x) = -2x^2 + 3\) | \(-2\) | Downward | Narrow |
| \(h(x) = \frac{1}{4}x^2 - x + 1\) | \(\frac{1}{4}\) | Upward | Wide |
Three Forms of a Quadratic
Just as linear functions can be written in different forms, quadratic functions have three standard forms, each revealing different information.
Standard Form
The standard form (sometimes called general form) of a quadratic is:
This form directly shows the \(y\)-intercept, which is \(c\) (since \(f(0) = c\)). It's the most common starting form for quadratic problems.
Factored Form
The factored form reveals the roots (zeros) of the quadratic:
where \(p\) and \(q\) are the \(x\)-intercepts (the values where \(f(x) = 0\)). This form makes it easy to read off where the parabola crosses the \(x\)-axis.
Vertex Form
The vertex form reveals the turning point:
where \((h, k)\) is the vertex of the parabola — the maximum or minimum point. This form tells you exactly where the parabola's peak or valley is located.
The following table summarizes what each form reveals:
| Form | Equation | Reveals |
|---|---|---|
| Standard | \(f(x) = ax^2 + bx + c\) | \(y\)-intercept (\(c\)), direction (\(a\)) |
| Factored | \(f(x) = a(x - p)(x - q)\) | \(x\)-intercepts (\(p\) and \(q\)) |
| Vertex | \(f(x) = a(x - h)^2 + k\) | Vertex \((h, k)\), direction (\(a\)) |
Rick's Key Insight
Think of the three forms as three different camera angles on the same parabola. Standard form shows you the \(y\)-intercept. Factored form shows you where the curve hits the ground. Vertex form shows you the peak (or valley). Same parabola, different views — and a great mathematician can switch between them fluently.
The Vertex and Axis of Symmetry
Every parabola has a line of symmetry — a vertical line that divides it into two mirror-image halves. This line is called the axis of symmetry, and it passes through the vertex.
In standard form \(f(x) = ax^2 + bx + c\), the axis of symmetry has equation:
The vertex is the point on the parabola where this line crosses the curve. Its coordinates are:
If \(a > 0\), the vertex is the minimum point. If \(a < 0\), the vertex is the maximum point.
Worked Example 1: Find the vertex and axis of symmetry of \(f(x) = 2x^2 - 8x + 3\).
The axis of symmetry:
The \(y\)-coordinate of the vertex:
The vertex is \((2, -5)\). Since \(a = 2 > 0\), this is a minimum point.
Try it yourself: Find the vertex of \(g(x) = -x^2 + 6x - 4\). Is it a maximum or minimum?
Click to reveal answer
\(x = -\frac{6}{2(-1)} = 3\). \(g(3) = -9 + 18 - 4 = 5\). The vertex is \((3, 5)\). Since \(a = -1 < 0\), it is a maximum point.
Factoring Quadratics
Factoring quadratics means rewriting \(ax^2 + bx + c\) as a product of two linear factors. This is the reverse of expanding brackets, which we practiced in Chapter 1.
For a simple quadratic \(x^2 + bx + c\), we look for two numbers \(p\) and \(q\) such that:
- \(p + q = b\) (they add to the coefficient of \(x\))
- \(p \times q = c\) (they multiply to the constant term)
Then \(x^2 + bx + c = (x + p)(x + q)\).
Worked Example 2: Factor \(x^2 + 7x + 12\).
We need two numbers that add to \(7\) and multiply to \(12\). Testing: \(3 + 4 = 7\) ✓ and \(3 \times 4 = 12\) ✓.
Worked Example 3: Factor \(x^2 - 5x + 6\).
We need two numbers that add to \(-5\) and multiply to \(6\). Testing: \((-2) + (-3) = -5\) ✓ and \((-2) \times (-3) = 6\) ✓.
When \(a \neq 1\), factoring is more involved. One approach: find two numbers that add to \(b\) and multiply to \(ac\), then use grouping.
Worked Example 4: Factor \(2x^2 + 5x + 3\).
Here \(a \times c = 6\). We need two numbers adding to \(5\) and multiplying to \(6\): that's \(2\) and \(3\).
Split the middle term: \(2x^2 + 2x + 3x + 3\)
Group: \(2x(x + 1) + 3(x + 1) = (2x + 3)(x + 1)\)
Try it yourself: Factor \(3x^2 - 10x + 8\).
Click to reveal answer
\(a \times c = 24\). Numbers adding to \(-10\) and multiplying to \(24\): \(-4\) and \(-6\). Split: \(3x^2 - 4x - 6x + 8 = x(3x - 4) - 2(3x - 4) = (x - 2)(3x - 4)\).
Solving Quadratic Equations
Solving quadratic equations means finding the values of \(x\) that satisfy \(ax^2 + bx + c = 0\). There are three main methods.
Method 1: Factoring
If the quadratic factors neatly, set each factor equal to zero.
Worked Example 5: Solve \(x^2 - x - 12 = 0\).
Method 2: Completing the Square
Completing the square transforms \(ax^2 + bx + c\) into vertex form \(a(x - h)^2 + k\).
The idea is to create a perfect square trinomial from the first two terms. For \(x^2 + bx\), add and subtract \(\left(\frac{b}{2}\right)^2\):
Worked Example 6: Write \(f(x) = x^2 + 6x + 2\) in vertex form by completing the square.
Take the coefficient of \(x\), which is \(6\). Half of \(6\) is \(3\), and \(3^2 = 9\).
The vertex form is \(f(x) = (x + 3)^2 - 7\), so the vertex is \((-3, -7)\).
Worked Example 7: Solve \(x^2 + 4x - 1 = 0\) by completing the square.
Try it yourself: Complete the square for \(f(x) = x^2 - 8x + 10\) and find the vertex.
Click to reveal answer
\(f(x) = (x^2 - 8x + 16) - 16 + 10 = (x - 4)^2 - 6\). Vertex: \((4, -6)\).
Method 3: The Quadratic Formula
The quadratic formula solves any quadratic equation \(ax^2 + bx + c = 0\):
This formula always works — whether the quadratic factors neatly or not.
Worked Example 8: Solve \(2x^2 + 3x - 5 = 0\).
Rick's Tip
Which method should you use? Try factoring first — it's fastest when it works. If the numbers don't cooperate, go straight to the quadratic formula. Completing the square is best when you need to find the vertex or convert to vertex form. Think of it like choosing a tool: screwdriver for screws, hammer for nails, quadratic formula for everything.
Diagram: Quadratic Equation Solver
Quadratic Equation Solver
Type: microsim
sim-id: quadratic-equation-solver
Library: p5.js
Status: Specified
Purpose: Let students enter coefficients \(a\), \(b\), \(c\) and see the quadratic solved by all three methods side by side, with the graph showing the roots visually.
Learning Objective: Students will solve quadratic equations using factoring, completing the square, and the quadratic formula, and relate the solutions to the graph (Apply L3 — solve, calculate).
Instructional Rationale: Showing all three solution methods simultaneously for the same equation helps students see that they yield the same result through different paths. The graph reinforces that algebraic solutions correspond to visual x-intercepts.
Visual elements:
- Left panel: A coordinate grid showing the parabola with x-intercepts (roots) marked
- Right panel: Three solution methods displayed step by step:
- Factoring (if possible, or "Does not factor neatly" message)
- Completing the square
- Quadratic formula
- Discriminant value displayed prominently with color coding (positive = green, zero = yellow, negative = red)
- Vertex marked on the graph with coordinates
Interactive controls:
- Slider: \(a\) (\(-5\) to \(5\), default \(1\), step \(0.5\), excluding \(0\))
- Slider: \(b\) (\(-10\) to \(10\), default \(-2\), step \(1\))
- Slider: \(c\) (\(-10\) to \(10\), default \(-3\), step \(1\))
- Checkbox: "Show Step-by-Step" — expands each method to show intermediate steps
- Button: "Random Equation" — generates random integer coefficients
- Button: "Reset" — returns to \(a=1, b=-2, c=-3\)
Default: \(a = 1\), \(b = -2\), \(c = -3\), showing \(x^2 - 2x - 3 = 0\) with roots at \(x = 3\) and \(x = -1\).
Canvas: Responsive, full width, 550px height
The Discriminant and Nature of Roots
The expression under the square root in the quadratic formula is called the discriminant:
The discriminant is a powerful tool because it tells you the nature of the roots without actually solving the equation — it's like a spoiler alert for your quadratic.
The three cases are:
Two real roots (\(\Delta > 0\)): The parabola crosses the \(x\)-axis at two distinct points. The equation has two different solutions.
Equal real roots (\(\Delta = 0\)): The parabola just touches the \(x\)-axis at one point (the vertex sits on the \(x\)-axis). The equation has one repeated solution.
No real roots (\(\Delta < 0\)): The parabola doesn't reach the \(x\)-axis at all — it floats entirely above or entirely below it. The equation has no real solutions.
| Discriminant | Value | Number of Roots | Graph |
|---|---|---|---|
| \(\Delta > 0\) | Positive | Two distinct real roots | Parabola crosses \(x\)-axis twice |
| \(\Delta = 0\) | Zero | One repeated real root | Parabola touches \(x\)-axis once |
| \(\Delta < 0\) | Negative | No real roots | Parabola doesn't touch \(x\)-axis |
Rick's Key Insight
The discriminant is basically a spoiler alert for your quadratic. Positive? Two roots — the full drama. Zero? One root — a cliffhanger ending. Negative? No real roots — plot twist, the story never crosses the \(x\)-axis! Check \(\Delta\) first and you'll know what to expect before you even start solving.
Worked Example 9: Determine the nature of the roots of \(3x^2 - 4x + 5 = 0\).
Since \(\Delta < 0\), the equation has no real roots.
Worked Example 10: For what values of \(k\) does \(x^2 + kx + 9 = 0\) have equal real roots?
Equal roots require \(\Delta = 0\):
Try it yourself: Determine the nature of the roots of \(2x^2 + 5x + 1 = 0\).
Click to reveal answer
\(\Delta = 25 - 8 = 17 > 0\). The equation has two distinct real roots.
Quadratic Inequalities and Sign Diagrams
A quadratic inequality has the form \(ax^2 + bx + c > 0\) (or \(<\), \(\geq\), \(\leq\)). To solve one, we need to determine which intervals of \(x\)-values make the expression positive or negative.
A sign diagram is a number line that shows where an expression is positive, negative, or zero. It's built from the roots of the corresponding equation.
Here's the process for solving a quadratic inequality:
- Solve \(ax^2 + bx + c = 0\) to find the roots
- Plot the roots on a number line
- Test a value in each interval to determine the sign
- Select the intervals that satisfy the inequality
Worked Example 11: Solve \(x^2 - 5x + 6 < 0\).
Step 1: Solve \(x^2 - 5x + 6 = 0\): \((x - 2)(x - 3) = 0\), so \(x = 2\) or \(x = 3\).
Step 2: The roots divide the number line into three intervals: \((-\infty, 2)\), \((2, 3)\), \((3, \infty)\).
Step 3: Test values:
| Interval | Test value | \((x-2)(x-3)\) | Sign |
|---|---|---|---|
| \(x < 2\) | \(x = 0\) | \((-2)(-3) = 6\) | \(+\) |
| \(2 < x < 3\) | \(x = 2.5\) | \((0.5)(-0.5) = -0.25\) | \(-\) |
| \(x > 3\) | \(x = 4\) | \((2)(1) = 2\) | \(+\) |
Step 4: We want \(< 0\) (negative), so the solution is \(2 < x < 3\), or in interval notation: \((2, 3)\).
Try it yourself: Solve \(x^2 - 1 \geq 0\).
Click to reveal answer
Roots: \(x = -1\) and \(x = 1\). Test intervals: \((-\infty, -1)\) gives \(+\), \((-1, 1)\) gives \(-\), \((1, \infty)\) gives \(+\). We want \(\geq 0\), so \(x \leq -1\) or \(x \geq 1\). Solution: \((-\infty, -1] \cup [1, \infty)\).
Rick's Common Mistake Alert
Don't divide both sides of a quadratic inequality by \(x\)! Unlike equations, dividing an inequality by a variable can flip the inequality sign if the variable is negative. Always factor and use a sign diagram instead. It's the safe route every time.
Diagram: Sign Diagram Builder
Sign Diagram Builder
Type: microsim
sim-id: sign-diagram-builder
Library: p5.js
Status: Specified
Purpose: Guide students through constructing sign diagrams for quadratic expressions, showing the connection between the roots on the number line and the sign of the expression in each interval.
Learning Objective: Students will solve quadratic inequalities by constructing and interpreting sign diagrams (Apply L3 — execute, solve).
Instructional Rationale: A step-by-step sign diagram builder makes the abstract process of inequality solving visual and procedural. Seeing the parabola above/below the x-axis alongside the number line signs reinforces the geometric meaning.
Visual elements:
- Top area: The parabola graph showing where it is above (\(+\)) and below (\(-\)) the \(x\)-axis, with those regions shaded green and red respectively
- Bottom area: A number line sign diagram with roots marked, interval signs displayed, and the solution interval highlighted
- The parabola and sign diagram are vertically aligned so students see the correspondence
Interactive controls:
- Slider: \(a\) (\(-3\) to \(3\), default \(1\), step \(0.5\), excluding \(0\))
- Slider: Root 1 (\(-8\) to \(8\), default \(2\), step \(0.5\))
- Slider: Root 2 (\(-8\) to \(8\), default \(5\), step \(0.5\))
- Dropdown: Inequality type (\(> 0\), \(\geq 0\), \(< 0\), \(\leq 0\))
- The solution interval is highlighted in blue on both the graph and the number line
- Button: "Show Step-by-Step" — walks through the process: find roots, test intervals, select solution
- Button: "Reset"
Default: \(a = 1\), roots at \(2\) and \(5\), inequality \(> 0\).
Canvas: Responsive, full width, 500px height
Quadratic Applications
Quadratic functions model many real-world situations. Two of the most common are projectile motion and optimization problems.
Projectile Motion Model
When an object is launched into the air (ignoring air resistance), its height follows a quadratic function. The projectile motion model has the general form:
where \(g\) is gravitational acceleration (\(9.8\) m/s² or approximately \(10\) m/s²), \(v_0\) is the initial velocity, and \(h_0\) is the initial height. Since \(a < 0\), the parabola opens downward — what goes up must come down.
Worked Example 12: A ball is thrown upward from a height of \(1.5\) m with an initial velocity of \(20\) m/s. Using \(g = 10\) m/s²:
(a) Write the height function.
(b) Find the maximum height.
(c) When does the ball hit the ground?
Solve \(-5t^2 + 20t + 1.5 = 0\). Using the quadratic formula:
The ball hits the ground at \(t \approx 4.07\) seconds (we discard the negative value).
Revenue Optimization
Revenue optimization uses the vertex of a downward-opening parabola to find the maximum revenue.
Worked Example 13: A cinema finds that when tickets are priced at \(\$p\), the number of tickets sold is \(500 - 20p\). Find the price that maximizes revenue.
Revenue = price × quantity:
This is a downward-opening parabola. Maximum at:
Maximum revenue: \(R(12.50) = -20(156.25) + 500(12.50) = -3125 + 6250 = \$3125\).
Try it yourself: A farmer has \(100\) m of fencing to enclose a rectangular pen along a wall (three sides needed). Express the area as a function of width and find the maximum area.
Click to reveal answer
If width \(= w\), then length \(= 100 - 2w\). Area \(= w(100 - 2w) = -2w^2 + 100w\). Maximum at \(w = -\frac{100}{2(-2)} = 25\). Maximum area \(= 25(50) = 1250\) m².
Diagram: Projectile Motion Simulator
Projectile Motion Simulator
Type: microsim
sim-id: projectile-motion-simulator
Library: p5.js
Status: Specified
Purpose: Simulate projectile motion with adjustable initial velocity and height, showing the quadratic trajectory and key features (maximum height, time of flight, landing point).
Learning Objective: Students will model projectile motion using quadratic functions and interpret the vertex and roots in context (Analyze L4 — examine, attribute).
Instructional Rationale: Projectile motion is one of the most intuitive real-world applications of quadratics. Adjusting parameters and seeing the trajectory change builds the connection between the abstract equation and the physical motion.
Visual elements:
- A side-view scene showing the ground, a launch platform, and the ball's trajectory as a parabolic arc
- The quadratic equation displayed in standard form with current parameter values
- Key features labeled: maximum height (vertex), time of flight, landing point
- A height-vs-time graph alongside the animation, with the parabola traced as the ball flies
- Dotted vertical lines marking the axis of symmetry and time of landing
Interactive controls:
- Slider: Initial velocity \(v_0\) (\(5\) to \(30\) m/s, default \(20\), step \(1\))
- Slider: Initial height \(h_0\) (\(0\) to \(10\) m, default \(1.5\), step \(0.5\))
- Slider: Gravity \(g\) (\(5\) to \(15\) m/s², default \(10\), step \(0.5\))
- Button: "Launch" — animates the ball along the parabolic trajectory
- Button: "Reset" — clears the animation and returns to start
- Checkbox: "Show Equation" — displays \(h(t) = -\frac{1}{2}gt^2 + v_0t + h_0\)
- Checkbox: "Show Key Features" — labels maximum height, time up, time down, total time
Default: \(v_0 = 20\), \(h_0 = 1.5\), \(g = 10\), equation and features shown.
Canvas: Responsive, full width, 550px height
You've Got This!
If quadratics feel like a lot, remember — every technique here connects back to the same parabola. Factoring finds the roots. The formula finds the roots. Completing the square finds the vertex. The discriminant predicts the roots. They're all different windows into the same beautiful curve. Trust the process — and the math.
Key Takeaways
This chapter explored the rich world of quadratic functions:
- A quadratic function \(f(x) = ax^2 + bx + c\) produces a parabola that opens up (\(a > 0\)) or down (\(a < 0\))
- Three forms: standard (shows \(y\)-intercept), factored (shows roots), vertex (shows turning point)
- The vertex is at \(\left(-\frac{b}{2a}, f\left(-\frac{b}{2a}\right)\right)\) and the axis of symmetry is \(x = -\frac{b}{2a}\)
- Factoring quadratics reverses expansion to find roots; the quadratic formula \(x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\) always works
- Completing the square converts to vertex form and is key for deriving the formula
- The discriminant \(\Delta = b^2 - 4ac\) determines the nature of roots: two real (\(\Delta > 0\)), equal (\(\Delta = 0\)), or none (\(\Delta < 0\))
- Sign diagrams solve quadratic inequalities by identifying positive and negative intervals
- Projectile motion and revenue optimization are classic quadratic applications
Nice Work!
Completing the square? Done. Quadratic formula? Mastered. Discriminant? You've spoiled the ending for every quadratic you'll ever meet. You've conquered the parabola — and that's no small feat. Up next: inverse and composite functions. The plot thickens!