Comparison9 min read

Linear vs Quadratic Functions: Key Differences

Linear functions produce straight-line graphs with a constant rate of change. Quadratic functions produce parabolas with a rate of change that itself changes. The difference between degree 1 and degree 2 creates two completely different shapes, behaviours, and real-world uses — but both are fundamental to algebra.

This guide compares linear and quadratic functions across equations, graphs, roots, rate of change, and applications, with side-by-side examples to clarify when each model fits.

PropertyLinear f(x) = mx + bQuadratic f(x) = ax² + bx + c
Degree12
Graph shapeStraight lineParabola (U or ∩ shape)
Rate of changeConstant (slope = m)Varies — increases or decreases
Number of roots0 or 10, 1, or 2 real roots
Vertex / turning pointNone (no turning point)One vertex at (−b/2a, f(−b/2a))
Axis of symmetryNonex = −b/2a
DirectionIncreasing if m>0, decreasing if m<0Opens up if a>0, down if a<0
y-interceptb (always one)c (always one)
Domain(−∞, ∞)(−∞, ∞)
Range(−∞, ∞) if m ≠ 0[k, ∞) if a>0 or (−∞, k] if a<0
Max/min valueNoneMinimum (a>0) or maximum (a<0) at vertex
Standard formy = mx + by = ax² + bx + c
Vertex formN/Ay = a(x−h)² + k

Linear Functions — Constant Rate of Change

A linear function has the form f(x) = mx + b. The slope m tells you how fast y changes per unit of x — and this rate never changes. For every 1-unit step in x, y always changes by exactly m. This constancy is what makes the graph a straight line.

Key features: The slope m = (y₂ − y₁)/(x₂ − x₁) between any two points on the line. The y-intercept b is where the line crosses the y-axis. The x-intercept (where f(x) = 0) is x = −b/m.

Example: f(x) = 3x − 6. Slope = 3 (rising), y-intercept = −6, x-intercept = 2. For every unit increase in x, y increases by 3.

Real-world uses: Distance at constant speed (d = rt), salary per hour, flat-rate pricing, temperature conversion (°C = (5/9)(°F − 32)), simple interest.

No maximum or minimum: A non-horizontal linear function extends to +∞ and −∞, so it has no global extremum — unlike a quadratic, which always has a vertex.

Quadratic Functions — Changing Rate of Change

A quadratic function has the form f(x) = ax² + bx + c with a ≠ 0. The highest power is 2, which produces a curved parabola. The rate of change is not constant — it increases or decreases continuously, which is why the graph bends.

Vertex: The turning point at h = −b/2a, k = f(h) = c − b²/4a. It is the minimum if a > 0 (parabola opens up) and the maximum if a < 0 (opens down).

Roots: Found by factoring, completing the square, or the quadratic formula x = (−b ± √(b² − 4ac)) / 2a. There may be 0, 1, or 2 real roots depending on the discriminant.

Example: f(x) = −2x² + 8x − 3. a < 0 → maximum. Vertex: h = −8/(2·(−2)) = 2, k = −2(4) + 8(2) − 3 = 5. Maximum value is 5 at x = 2.

Real-world uses: Projectile motion (height = h₀ + v₀t − ½gt²), area optimisation, profit functions, suspension bridge cables, lens optics.

Graph Comparison — Line vs Parabola

Linear graph: To draw f(x) = mx + b, plot the y-intercept (0, b) and use the slope m = rise/run to find a second point. Connect with a straight line. One line through any two points.

Quadratic graph: To draw f(x) = ax² + bx + c: (1) find vertex (h, k); (2) find y-intercept (0, c); (3) find x-intercepts if any (solve f(x) = 0); (4) note symmetry about x = h; (5) plot a few points and draw the U-shape.

How they can intersect: A line and a parabola can intersect at 0, 1, or 2 points. Substitute the linear equation into the quadratic to find intersection x-values. This produces a quadratic equation in x — so use the discriminant to predict the count before solving.

Example intersection: y = x + 2 and y = x². Set x + 2 = x² → x² − x − 2 = 0 → (x − 2)(x + 1) = 0 → x = 2 or x = −1. Intersections at (2, 4) and (−1, 1).

Finding Roots — One Equation vs Two Cases

Linear root (0 or 1): mx + b = 0 → x = −b/m. One root when m ≠ 0. No root when m = 0 (horizontal line, unless b = 0 in which case the whole line is the root).

Quadratic roots (0, 1, or 2): The discriminant D = b² − 4ac determines the count. D > 0: two distinct real roots. D = 0: one repeated root (the vertex touches the x-axis). D < 0: no real roots (the parabola doesn't cross the x-axis).

Finding quadratic roots: By factoring: x² − 5x + 6 = (x − 2)(x − 3) → roots 2 and 3. By formula: x = (5 ± √(25 − 24)) / 2 = (5 ± 1) / 2 → 3 or 2. Same result.

Vieta's formulas: For ax² + bx + c = 0 with roots r₁, r₂: r₁ + r₂ = −b/a and r₁ · r₂ = c/a. Useful for checking or finding roots without fully solving.

Rate of Change — Constant vs Variable

The most fundamental difference between linear and quadratic is the behaviour of the rate of change (slope in calculus terms, the derivative).

Linear: f'(x) = m (constant). The slope is the same everywhere on the line. A table of (x, y) values shows equal differences in y for equal differences in x — this is the "first difference" pattern.

Quadratic: f'(x) = 2ax + b (variable). The slope changes at every point. A table of values shows constant "second differences" — the differences of the differences. This is the algebraic fingerprint of a quadratic.

Second difference test: If you compute y-values for equally spaced x-values and the second differences are constant and non-zero, the data fits a quadratic model. If the first differences are constant, it is linear. This test appears in AP Statistics and modelling problems.

Example: x = 0,1,2,3,4 and y = 0,1,4,9,16 (y = x²). First differences: 1,3,5,7. Second differences: 2,2,2 — constant, confirming quadratic.

Real-World Applications

When linear models apply: Steady hourly wages (earnings = 25t). Fixed-cost pricing (cost = 12n). Constant-speed motion (distance = 60t). Tax at a flat rate. Simple interest (A = P(1 + rt)).

When quadratic models apply: Projectile height h(t) = −4.9t² + v₀t + h₀ — parabolic due to gravity. Area of a rectangle when one dimension depends on the other (A = x(10 − x) = −x² + 10x). Profit as a function of price (often quadratic due to demand curves). Stopping distance vs speed (distance ∝ v²).

How to choose the right model: If the second differences in your data are approximately zero → linear. If the second differences are approximately constant and non-zero → quadratic. If neither → try exponential or other models.

Hybrid problems: "A ball is thrown upward from a platform 20 m high with initial velocity 15 m/s. When does it hit the ground?" → h(t) = −4.9t² + 15t + 20 = 0. Quadratic formula gives t ≈ 3.98 s. A linear model (height decreasing at constant rate) would give the wrong answer here.

Verdict

Linear functions model constant-rate situations with straight-line graphs; quadratic functions model curved relationships with a maximum or minimum. The degree — 1 vs 2 — determines everything: graph shape, number of roots, rate of change behaviour, and applicable real-world contexts.

  • Use a linear model when the rate of change is constant — equal increases in x produce equal increases in y.
  • Use a quadratic model when there is a single maximum or minimum value, or when the second differences of y-values are constant.
  • The discriminant (b² − 4ac) of a quadratic tells you whether the parabola crosses the x-axis: positive → 2 roots, zero → 1 root, negative → 0 real roots.
  • Linear functions have range (−∞, ∞); quadratic functions have a restricted range — [vertex, ∞) or (−∞, vertex] depending on the sign of a.
  • A line and a parabola can intersect at 0, 1, or 2 points — found by substituting the linear expression into the quadratic and solving the resulting quadratic equation.

Frequently Asked Questions