Quadratic functions in this visualization
A quadratic function is a function with . Its graph is a parabola, opening up when and down when . This page writes one quadratic in three equivalent forms: the mode dial at the top of the panel picks the one you turn, and all three stay in step while you drag the graph or turn the controls.
Each form shows one feature of the graph. In the standard form, gives the y-intercept: the graph crosses the y-axis at the hollow point ; its mirror image shows the symmetry. The vertex form shows the vertex and the axis of symmetry . The factored form shows the roots, where the graph meets the x-axis; over the real numbers it exists only when the discriminant is not negative.
Things to notice
- Completing the square is a translation: the three steps above turn the standard form into the vertex form, and is moved along the x-axis and up or down. Turning or in the vertex form, or dragging the vertex, draws and the two moves.
- : two real roots; : one double root, the vertex on the axis; : no real roots — the equation then has two complex conjugate roots, which are not points of this graph.
- is the same number in all three forms: it sets how wide the parabola is and which way it opens. Turning alone does not slide the graph sideways; the vertex runs along the parabola . Turning alone holds something different in each form: in the standard form and the tangent there stay put — every parabola touches that line at that point — and the vertex runs along the line ; in the vertex form the vertex stays; in the factored form the roots stay and the vertex rides the axis of symmetry.
- The page computes with exact fractions, so the forms show exact decimals, fractions or square roots. A number too long to show is rounded, and its equation is then written with ≈. The two axes share one scale, except in the thrown-ball highlight; a note on the graph says so whenever they do not.
Controls
- The mode dial picks the form you turn: the standard form sets , and (knobs), the vertex form and the vertex , the factored form and the two roots (thumbwheels for fine steps); with no real roots the factored position is blocked. Open Conversion details to see the other two forms' numbers with the textbook formulas.
- Grabbing a point on the graph switches to its form. Drag the vertex to move the parabola, a root along the x-axis ( and the other root stay; an irrational other root is first written to six decimal places, a change too small to see; a double root moves the whole parabola sideways), or the y-intercept along the y-axis (only changes); drag elsewhere to pan. Click any number to type it, as a decimal or a fraction such as 3/4.
- Presentation mode opens a full-screen view for projectors (the arrow keys move the parabola; H hides the answers: only the numbers of the form you turn stay, the other two forms and the conversions show question marks).