The quadratic function explained
Every quadratic function can be written f(x) = ax² + bx + c with a not equal to 0, and its graph is a parabola. The sign of a sets whether it opens up or down, the vertex sits at x = -b/(2a), the y-intercept is c, and the discriminant b² - 4ac tells you whether the graph crosses the x-axis twice, touches it once or misses it.
For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.
Book your first session| Function | Opens | Discriminant | x-intercepts | Vertex | y-intercept |
|---|---|---|---|---|---|
| g(x) = -x² + 4x + 5 | Down | 36 | Two: x = -1 and x = 5 | (2, 9) | (0, 5) |
| h(x) = x² - 6x + 9 | Up | 0 | One: x = 3 | (3, 0) | (0, 9) |
| j(x) = x² + 2x + 5 | Up | -16 | None | (-1, 4) | (0, 5) |
The discriminant is read before solving, so it tells you how many real x-intercepts to expect.
George Li Tutoring original examples, each worked from f(x) = ax² + bx + c; discriminant = b² - 4ac
What do the three coefficients do?
The coefficient a controls the shape. A positive a opens the parabola upward and makes the vertex the lowest point. A negative a opens it downward and makes the vertex the highest point. A larger size of a, in absolute value, makes the curve narrower.
The coefficient c is the value of the function at x = 0, so it is where the graph crosses the y-axis. The coefficient b matters through its pairing with a: together they place the axis of symmetry, the vertical line x = -b/(2a), which splits the parabola into two mirror halves.
How do you find the parts of the graph?
Take the same five steps for any quadratic.
- Read a, b and c, keeping their signs.
- Compute the axis of symmetry, x = -b/(2a). The vertex has this x-coordinate.
- Substitute that x into the function to get the vertex's y-coordinate.
- Compute the discriminant and decide how many x-intercepts exist, then find them by factoring or with the quadratic formula, x = (-b ± √(b² - 4ac)) / (2a).
- Mark the y-intercept (0, c) and its mirror image across the axis, and sketch.
Worked example: Every feature of one parabola. Find the vertex, intercepts and direction of g(x) = -x² + 4x + 5.
- Here a = -1, b = 4 and c = 5, so the parabola opens down.
- The axis is x = -4/(2 times -1) = 2.
- The vertex's y-value is g(2) = -4 + 8 + 5 = 9, so the vertex is (2, 9), the highest point.
- The discriminant is 16 + 20 = 36, which is positive, so there are two x-intercepts. Solving -x² + 4x + 5 = 0 is the same as x² - 4x - 5 = 0, which factors as (x - 5)(x + 1), so x = 5 or x = -1.
- The y-intercept is (0, 5), and its mirror across x = 2 is (4, 5).
- In vertex form, g(x) = -(x - 2)² + 9.
Answer: opens down, vertex (2, 9), x-intercepts (-1, 0) and (5, 0), y-intercept (0, 5).
Method: George Li Tutoring original problem; expanding the vertex form returns the original polynomial.
The same steps on h(x) = x² - 6x + 9 give a discriminant of 0, so the vertex (3, 0) is the single x-intercept, and the function is a perfect square, (x - 3)². On j(x) = x² + 2x + 5 the discriminant is negative, so the graph sits above the x-axis with its vertex at (-1, 4) and never touches it. For more on moving between forms, see the guide to vertex form versus standard form.
How do you build a quadratic from its vertex?
When a problem gives the vertex (h, k) and one more point, start from vertex form, f(x) = a(x - h)² + k, and solve for a.
Worked example: Equation from a vertex and a point. The vertex of a parabola is (1, -4), and the curve passes through (3, 0). Find its equation.
- Start with f(x) = a(x - 1)² - 4.
- Substitute the point (3, 0): 0 = a(2)² - 4, so 4a = 4 and a = 1.
- The equation is f(x) = (x - 1)² - 4, which expands to x² - 2x - 3.
- Check the other root: x² - 2x - 3 = (x - 3)(x + 1), so the graph also crosses at x = -1, as symmetry about x = 1 requires.
Answer: f(x) = x² - 2x - 3.
Method: George Li Tutoring original problem, checked by the mirror symmetry of the roots.
Where do quadratics show up in word problems?
Anything that rises and falls follows a parabola, and the vertex answers the question "how high" or "when". A ball thrown upward from a roof of height 4 feet at 48 feet per second follows h(t) = -16t² + 48t + 4, with t in seconds.
The peak time is t = -48/(2 times -16) = 1.5 seconds, and the peak height is h(1.5) = -36 + 72 + 4 = 40 feet. The ball lands when h(t) = 0. By the quadratic formula the positive solution is t = (12 + √160)/8, about 3.08 seconds. Take the positive root only, since a negative time is before the throw.
Practice set with answers
- Find the vertex of f(x) = 2x² - 8x + 3.
- How many x-intercepts does 3x² - 2x + 5 have?
- Solve x² + 5x - 14 = 0.
- Write the quadratic with vertex (-2, 1) that passes through (0, 5).
Answers. (1) x = 8/4 = 2 and f(2) = 8 - 16 + 3 = -5, so (2, -5). (2) The discriminant is 4 - 60 = -56, so none. (3) (x + 7)(x - 2) = 0, so x = -7 or 2. (4) 5 = a(2)² + 1 gives a = 1, so f(x) = (x + 2)² + 1.
When does a tutor help?
A tutor helps when you can run the steps but cannot tell which form of the function to use, or when word problems lose you at the setup. A session starts from the last set you missed and ends with a short set for the week. See the high school course tutoring page, the packages page or book a first session.
Common questions
What defines a quadratic function?
It can be written as f(x) = ax² + bx + c where a is not 0. Its graph is a parabola.
How do you find the vertex?
Compute x = -b/(2a), then substitute it into the function for the y-coordinate.
What does the discriminant tell you?
A positive value gives two x-intercepts, zero gives one, and a negative value gives none.
Why must a not be 0?
If a were 0 the x² term would vanish and the function would be linear, with a line for a graph.