Quadratic Function: Definition, Standard Form and Graph
A quadratic function is a function of the form f(x) = ax² + bx + c with a ≠ 0. Its graph is a parabola: it opens upward when a > 0 and downward when a < 0, crosses the y-axis at c, and has a vertex at x = −b ⁄ (2a). The parent quadratic function is f(x) = x².
Check it yourself: every example here can be loaded into the Vertex Form Calculator.
Open the Vertex Form CalculatorDefinition
A quadratic function is any function that can be written as
This is called standard form. The highest power of x is 2, which is where the name comes from (Latin quadratus, “square”). The graph of every quadratic function is a parabola.
The simplest example is the parent function f(x) = x². Its table of values shows the characteristic pattern:
| x | −3 | −2 | −1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|---|---|
| x² | 9 | 4 | 1 | 0 | 1 | 4 | 9 |
The values are symmetric about x = 0, they never go below 0, and the gaps between them (1, 3, 5, …) grow by 2 each time. That constant “second difference” is the fingerprint of a quadratic.
What a, b and c do
| Coefficient | Effect on the graph |
|---|---|
| a | Sign: up (a > 0) or down (a < 0). Size: larger |a| makes a narrower parabola. |
| b | Works with a to place the vertex: the axis of symmetry is x = −b ⁄ (2a). |
| c | The y-intercept, because f(0) = c. |
Text description of this figure
Graph of y = x² − 2x − 3 annotated with a = 1 (opens up), c = −3 (y-intercept), the vertex at x = −b/(2a) = 1, and the two roots −1 and 3.
- a = 1 is positive, so the parabola opens upward.
- c = −3 is the y-intercept: the point (0, −3).
- The vertex is at x = −b/(2a) = −(−2)/2 = 1, and f(1) = −4.
- Roots solve x² − 2x − 3 = 0: (x − 3)(x + 1) = 0, so x = −1 and x = 3.
Worked example: f(x) = x² − 2x − 3
- Direction. a = 1 > 0, so the parabola opens upward and has a minimum.
- y-intercept. c = −3, so the graph passes through (0, −3).
- Vertex. x = −b ⁄ (2a) = −(−2) ⁄ 2 = 1. Then f(1) = 1 − 2 − 3 = −4. The vertex is (1, −4).
- Roots. Solve x² − 2x − 3 = 0. It factors as (x − 3)(x + 1) = 0, so x = 3 or x = −1.
- Symmetry check. The roots −1 and 3 are equally far from the axis x = 1 — exactly what symmetry predicts.
- Graph y = x² − 2x − 3 with its key points — opens the Graphing Calculator
The three forms of a quadratic
The same function can be written three ways, each revealing something different:
| Form | Example | Shows you |
|---|---|---|
| Standard | x² − 2x − 3 | y-intercept (c) |
| Vertex | (x − 1)² − 4 | vertex (1, −4) |
| Factored | (x − 3)(x + 1) | roots 3 and −1 |
Not every quadratic has a factored form with real numbers. If the parabola never touches the x-axis — for example x² + 1 — there are no real roots. The discriminant b² − 4ac tells you in advance: positive means two real roots, zero means one, negative means none.
- Find the vertex form of x² − 2x − 3 — opens the Vertex Form Calculator
Linear vs quadratic
A quick way to tell them apart from a table: look at how y changes when x goes up by 1.
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| Linear y = 2x | 0 | 2 | 4 | 6 | 8 |
| Quadratic y = x² | 0 | 1 | 4 | 9 | 16 |
The linear values rise by 2 every time (a constant rate of change). The quadratic values rise by 1, 3, 5, 7 — the rate of change itself increases by 2 each step. On a graph, the line is straight and the parabola bends. Eventually the quadratic always overtakes any line, which you can see by graphing both.
- Compare a linear and a quadratic function — opens the Graphing Calculator
Domain and range
The domain of every quadratic function is all real numbers. The range depends on the vertex: if a > 0 the range is y ≥ k, and if a < 0 it is y ≤ k, where k is the vertex’s y-coordinate. For x² − 2x − 3 the range is y ≥ −4.
Common mistakes
- Taking c as the vertex height. c is the y-intercept; the vertex height is f(−b ⁄ (2a)).
- Losing the sign of b. In x² − 2x − 3, b = −2, so −b ⁄ (2a) = +1.
- Assuming every quadratic has two roots. Check the discriminant first.
- Calling y = 2x + x² linear because it “starts” with 2x. Order does not matter; the x² term makes it quadratic.
To sketch any quadratic quickly, follow the steps in how to graph a parabola.
Questions
Why must a not be zero?
If a = 0 the x² term disappears and f(x) = bx + c is linear, so its graph is a straight line rather than a parabola.
What is the quadratic parent function?
f(x) = x². Every other quadratic is a stretched, flipped or shifted version of it, which is why its graph is the reference curve for transformations.
How is a quadratic different from a linear function?
A linear function changes by the same amount for each step in x, giving a straight line. A quadratic’s change grows steadily, so the second differences in a table of values are constant and the graph curves.
Graph your own example with the Vertex Form Calculator — free, in your browser.
Try it nowSources and further reading
- OpenStax, College Algebra 2e — 5.1 Quadratic Functions
- OpenStax, Algebra and Trigonometry 2e — 5.1 Quadratic Functions
Worked examples and figures were produced and checked with the Graphing Calculator Lab engine. See the editorial policy.