ViewWiki

The world, a little closer

Functions and their graphs.

A rule that turns each x into one y draws a picture. Push the three numbers of a parabola and see one quantity decide if it meets the axis.

Explore the scene Interactive article

01 / The experiment

Three numbers, one curve.

Move a, b and c and watch the parabola bend, slide and lift, then step Read the curve from the curve to its roots and Δ.

Still of the Functions and their graphs 3D scene, which explores: How do three numbers decide where a parabola sits, and whether it ever touches the x-axis?
Interactive scene

Loading the interactive version…

The explanation below is available while the scene loads.

The board draws y = ax² + bx + c exactly, with both axes on the same scale. The vertex, roots and Δ are computed from a, b and c, not measured from the drawing.The board shows x and y from −6 to 6; a vertex or root outside that window is still printed beside the plot.

02 / Three heights

Two roots, one, none.

The same parabola, y = x² − 2x + c, lifted by changing only c. Where its vertex sits against the x-axis decides how many roots it has.

Vertex below the axis01
y = x² − 2x − 3

Two roots

The arms point up and the lowest point is under the axis, so the curve has to cross it on the way down and again on the way up.

c
−3
Δ = b² − 4ac
16
Vertex
(1, −4)
Roots
x = −1, x = 3
Meets the x-axis
Crosses twice
Vertex on the axis02
y = x² − 2x + 1

One root

Lift the curve by four and its lowest point lands exactly on the axis. The two roots have merged into one, at the vertex.

c
1
Δ = b² − 4ac
0
Vertex
(1, 0)
Roots
x = 1
Meets the x-axis
Touches once
Vertex above the axis03
y = x² − 2x + 3

No roots

Lift it further and even the lowest point is above the axis. The arms only climb from there, so the curve never comes down to meet it.

c
3
Δ = b² − 4ac
−8
Vertex
(1, 2)
Roots
None
Meets the x-axis
Never
The big idea

The discriminant is the vertex’s height in disguise. A parabola reaches the x-axis only when its vertex lies on the axis or on the side its arms point away from, and that is exactly when Δ is zero or more. In the formula, k is the vertex’s height.

Δ = −4ak

A rule and its picture

A function is a rule that takes a number in and gives exactly one number out. Double it and add one. Square it. Take the height of a thrown ball after x seconds. The number going in is usually called x and the one coming out y, and the rule is written y = f(x).

Its graph is every pair (x, y) that obeys the rule, drawn as a point on a grid. Plot enough of them and they join into a line or a curve, and the whole rule becomes a single shape you can take in at a glance: where it rises, where it falls, where it is largest and where it crosses zero. Because each x gives one y, a graph never has two points straight above one another.

The board shows one of the most useful families, the quadratic functions, y = ax² + bx + c. Their graphs are parabolas, the same curve a jet from a fountain or a thrown ball traces, and the same one you get by slicing a cone parallel to its side.

What a, b and c each do

a sets the shape. When a is positive the arms point up and the curve has a lowest point; when it is negative they point down and the curve has a highest point. The larger a is, ignoring its sign, the narrower the curve; near zero it flattens out. At exactly zero the x² term is gone and the graph is a straight line, a linear function.

c lifts the whole curve up or down without changing its shape. It is the value of y at x = 0, so the curve always crosses the y-axis at the height c.

b is the odd one out. It neither stretches nor simply shifts the curve: it moves the lowest (or highest) point sideways and down (or up) at the same time. Slide b and that point travels along a second parabola, y = c − ax², the curve’s own upside-down twin through the point (0, c).

The vertex and the axis of symmetry

The turning point of a parabola is its vertex. Every parabola is symmetric about the upright line through its vertex, the axis of symmetry: fold the graph along that line and the two arms land on each other. The vertex sits at

x = −b / 2a,

and its height is the function’s value there. Rewriting the rule around that point gives the vertex form, y = a(x − h)² + k, with the vertex at (h, k). For the starting curve, y = x² − 2x − 3, the vertex is at (1, −4) and the curve is the plain parabola y = x² moved 1 to the right and 4 down.

Roots and the discriminant

The roots of the function are the values of x where y = 0: the places the curve meets the x-axis. The quadratic formula finds them,

x = (−b ± √(b² − 4ac)) / 2a,

and the number under the square root decides how many there are. It is the discriminant, written Δ = b² − 4ac.

  • Δ > 0: two roots. The curve crosses the axis twice, at equal distances either side of the axis of symmetry.
  • Δ = 0: one root. The vertex sits exactly on the x-axis and the curve just touches it.
  • Δ < 0: no real roots. The square root of a negative number is not a real number, and on the board the whole curve stays above the axis or below it.

The discriminant is not a trick of the formula. It is the vertex’s height in disguise: Δ = −4a·k, where k is the height of the vertex. If the arms point up (a > 0), the curve reaches the axis only when the vertex is at or below it, and that is exactly when Δ ≥ 0. Pointing down, the vertex must be at or above it. One number checks which side of the axis the vertex is on, compared with the way the arms point.

Try it: keep a at 1 and b at −2, step Read the curve to Roots and Δ, then slide c to −3, then 1, then 3. The curve rises, the two roots close in and merge at the vertex, and Δ falls from 16 through 0 to −8.

Back to the experiment

Where the ideas came from

Problems that amount to solving a quadratic equation appear on Babylonian clay tablets almost 4,000 years old, worked as recipes with particular numbers. Around 820, the Baghdad scholar Muhammad ibn Musa al-Khwarizmi explained the method in general, completing a square with real squares and rectangles, in the book whose title gave us the word algebra. The idea of drawing an equation as a curve on a grid came much later, in the 1630s, from René Descartes and Pierre de Fermat, and the word function in its modern sense took shape over the following century, with Leibniz, Euler and others.

What this model leaves out

The board shows only quadratic functions, one family among many: functions can be built from powers, roots, sines, exponentials or any rule at all, and need not have a formula. It draws a fixed window from −6 to 6, so a far-off vertex or root is printed but not seen. The sliders move a, b and c in steps of a quarter or a half, and the printed values are rounded to two decimal places. When Δ is negative the equation still has two solutions among the complex numbers, which the board does not draw; Complex numbers is the place to meet them.

Reuse with credit to ViewWiki and a link to this page.

04 / Learn this in a course

Practise it, step by step.

These 4 lessons teach the topic with checked questions, in course order.

  1. The shape and sign of a Mathematics · The quadratic function
  2. Shifting a parabola Mathematics · The quadratic function
  3. Roots and the discriminant Mathematics · The quadratic function
  4. From standard form to vertex form Mathematics · The quadratic function