Move the sliders (or type values) for a, b and c, and the parabola y = ax² + bx + c redraws instantly together with its key features:
Vertex (h, k): h = −b/(2a) and k = f(h). It is the lowest point when a > 0 (the parabola opens up) and the highest point when a < 0 (it opens down).
Axis of symmetry: the vertical line x = h.
Discriminant Δ = b² − 4ac: if Δ > 0 there are two real roots, if Δ = 0 one double root, and if Δ < 0 two complex roots.
Roots: x = (−b ± √Δ)/(2a), the quadratic formula.
Factored form: y = a(x − x₁)(x − x₂).
For y = x² + 2x − 3 (a = 1, b = 2, c = −3): h = −2/2 = −1 and k = 1 − 2 − 3 = −4, so the vertex is (−1, −4). Δ = 4 + 12 = 16 > 0, so there are two real roots: x = (−2 ± 4)/2, which gives x = 1 and x = −3. The factored form is y = (x + 3)(x − 1), and the y-intercept is (0, −3).
The equation is no longer quadratic: y = bx + c is a straight line with at most one root, x = −c/b.
When Δ < 0 the parabola never touches the x-axis, so there are no real x-intercepts. The roots are a pair of complex conjugates, −b/(2a) ± i·√(−Δ)/(2a).
Use the toolbar above the graph: Autoscale fits the vertex, the roots and the y-intercept on screen, the house icon resets the view, and the Pan hand lets you drag the graph.
a controls how wide the parabola is and which way it opens, c moves it up and down (it is the y-intercept), and b shifts the vertex sideways along a parabolic path.
Quadratic equations are among the most useful equations in science, engineering and everyday problem solving. Here are some of the most important applications.
The height of a thrown ball or a falling object is h(t) = −½gt² + v₀t + h₀. Setting h = 0 gives the time it lands, and the vertex gives the maximum height and when it is reached. With constant braking, a car’s stopping distance d = vt − ½at² is also a quadratic, and finding when a faster object catches a slower one usually leads to a quadratic equation.
A second-order linear differential equation ay″ + by′ + cy = 0 is solved by trying y = ert, which turns it into the characteristic equation ar² + br + c = 0. The discriminant tells you how the system behaves: Δ > 0 means overdamped (it settles slowly without oscillating), Δ = 0 means critically damped (it settles as fast as possible), and Δ < 0 gives complex roots, which means underdamped (it oscillates while dying out). This describes springs, car shock absorbers, pendulums with friction and buildings swaying in an earthquake.
A circuit with a resistor, an inductor and a capacitor in series follows the same equation, with characteristic equation Lr² + Rr + 1/C = 0. Its discriminant decides whether the circuit rings (oscillates) or not, which is the basis of radio tuning and electronic filters. Electrical power P = I²R is quadratic in the current, and maximum power transfer is found from the vertex of a parabola.
Weak-acid and equilibrium problems (ICE tables) lead to equations such as x²/(C − x) = Ka, which is a quadratic in x. Solving it gives concentrations and pH, and the same kind of calculation appears in acid–base and buffer problems in biochemistry and physiology.
The thin-lens equation 1/f = 1/do + 1/di becomes a quadratic when the object and the screen are a fixed distance apart. Its two roots are the two lens positions that both give a sharp image.
Revenue is price × quantity, and the quantity sold usually drops as the price rises, so revenue is a downward-opening parabola. Its vertex gives the price that earns the most, and its roots give the break-even points.
Area problems, such as finding the sides of a rectangle from its perimeter and area, lead to quadratic equations. Parabolic shapes are used in satellite dishes, car headlights and telescope mirrors because a parabola focuses parallel rays to a single point, and arches and suspension-bridge cables have nearly parabolic shapes.
The eigenvalues of a 2×2 matrix are the roots of λ² − (trace)λ + det = 0 (see the Matrix Solver). Equations like x² + 1 = 0, which have no real solution, are historically what led to complex numbers and i (see the Complex Equation Solver).