Category: Algebra Level: 201
y = x2 - 2x - 3 = (x + 1)(x - 3) = (x - 1)2 - 4
Every parabola has a y-intercept, up to two roots, an axis of symmetry halfway between the roots, and a vertex on that axis. Each one is easy to read from the right form of the equation.
The x² term bends the graph into a U. Since its coefficient is positive, the U opens upward like a cup.
y = x2 - 2x - 3
Set x = 0 and every x term vanishes. The constant −3 is where the curve crosses the y-axis.
y(0) = −3
Factor: (x + 1)(x − 3) = 0 when x = −1 or x = 3. These are the points where the curve meets the x-axis.
(x + 1)(x - 3) = 0 ⇒ x = −1, x = 3
The axis sits halfway between the roots, at x = 1. Fold the graph along it and the two halves match.
x = (−1 + 3) / 2 = 1 or x = -b / 2a = 1
The vertex is on the axis. Plug in x = 1 to get y = −4. It is the lowest point, the bottom of the cup.
y(1) = 1 - 2 - 3 = −4, y = (x - 1)2 - 4
The y-intercept is 1 step left of the axis. Its mirror image sits 1 step right, at (2, −3), with no extra arithmetic.
y(2) = 4 - 4 - 3 = −3
cd svg-generator python3 -m svgmath render parabola-anatomy --out /tmp/parabola-anatomy
Source: svgmath/diagrams/quadratics.py