2.1.20 · D2Algebra — Introduction & Intermediate

Visual walkthrough — Formation of quadratic with given roots

1,780 words8 min readBack to topic

Step 1 — What a picture of a quadratic looks like

WHAT. A quadratic is a rule that turns a number into another number . When you plot every pair , the dots trace a smooth U-shape called a parabola.

WHY start here. Before touching any symbol, we need to agree on what we are drawing. Everything later is just "reading" this curve.

PICTURE. The picture has two axes. The horizontal line is the -axis — the "input" line, where we read which number we fed in. The vertical line is the -axis — the "height" line, where we read how tall the curve is at that input. The two orange dots are the only two places where the curve dips down to height and touches the horizontal axis.

Figure — Formation of quadratic with given roots

Step 2 — Turn one crossing into a "distance from" measurement

WHAT. Pick any input on the horizontal axis. The quantity measures how far is to the right of the first root (it is negative if is to the left).

WHY this expression and not something fancier. We want a gadget that becomes exactly zero the moment lands on the root, and is non-zero everywhere else. Subtraction does precisely that: only when . This is the whole trick, wearing no disguise.

PICTURE. The magenta bracket shows the gap shrinking to nothing as the moving point slides onto the orange root.

Figure — Formation of quadratic with given roots
Recall Why not

? Because hits zero at , the wrong place. To zero out at you must subtract . This is the single most common sign slip. ::: Subtract the root: factor is .


Step 3 — Two roots, two "distance" gadgets, multiplied

WHAT. Do the same for the second root: is the distance from to . Now multiply the two distances together:

WHY multiply? A product is zero the instant any one of its parts is zero. So exactly when or — and at no other input. That is precisely the behaviour a quadratic with those two roots must have. We didn't guess the formula; we forced it.

PICTURE. Two coloured factor-curves (each a straight line crossing zero at its own root) get multiplied into the U-shaped that touches zero at both orange dots.

Figure — Formation of quadratic with given roots

Step 4 — Expand the product into standard shape

WHAT. Multiply out using the ordinary "each term times each term" rule. First write out all four products:

Now combine the two middle terms. Both and carry a factor of , so we pull the shared out (this is the distributive law used in reverse):

Here the two negative signs were factored into one leading minus, leaving inside. Putting the pieces back together:

Term by term:

  • — the leading piece; it makes the shape a parabola rather than a line.
  • — the middle coefficient carries the sum of the roots, wearing a minus sign.
  • — the constant carries the product of the roots, no sign flip.

WHY expand. The factor form is beautiful, but exams and further algebra want the tidy shape. Expanding just re-dresses the same curve.

PICTURE. A rectangle-area diagram: each sub-rectangle is one of the four products , , , — and the two orange strips are the ones we merge into .

Figure — Formation of quadratic with given roots

Step 5 — The freedom knob (why one answer becomes infinitely many)

WHAT. Roots only fix where the curve crosses the axis, not how steep it is, nor even which way it opens. So we may multiply the whole thing by any non-zero number :

WHY matters. Squash or stretch the parabola vertically and the two crossing points stay put, because at a root the factor part is already and no matter what is.

  • — parabola opens upward (a valley). Bigger = narrower; smaller = wider.
  • — the sign of every height flips, so the whole curve turns upside down and opens downward (a hill). The roots do not move, because even when is negative.

Setting just picks the simplest upward member.

PICTURE. Four parabolas through the same two orange roots: narrow-up (), standard-up (), wide-up (), and a flipped downward one (). All share the crossings; only their width and their opening direction change.

Figure — Formation of quadratic with given roots

Step 6 — Fixing with one extra point

WHAT. Give the curve one more condition — say it must pass through with roots and . Then:

Notice came out negative, so this particular parabola opens downward — exactly the flipped case from Step 5.

WHY. Two roots leave a one-number gap (the height/steepness/opening-direction). One extra known point supplies exactly that one missing number, locking .

PICTURE. The two roots pin the shape; the purple point tilts and stretches it until it passes through — selecting a unique (here, downward-opening) parabola.

Figure — Formation of quadratic with given roots

Now put this curve into standard form. We do it in two separate, legal moves:

Move 1 — expand the factored form (just multiplying out, the curve is unchanged):

Move 2 — set the equation to zero, then clear fractions. To solve or state the equation we ask where the height is zero, i.e. : Multiplying both sides of an equation by the same non-zero number keeps the equality true and does not move the roots (a zero on the right stays zero). This just removes the fractions:


Step 7 — The degenerate cases (never leave a scenario unshown)

WHAT & WHY & PICTURE. Three special situations that beginners hit and panic over:

(a) Both roots equal, . Then . The two crossings merge into one touch — the parabola kisses the axis and bounces back. Product , sum .

(b) A root at zero, . The factor , so the constant term vanishes: . The curve passes through the origin.

(c) Conjugate/complex roots. If the roots are (or ), the or parts cancel in both sum and product: giving the clean real equation . See Complex roots.

Figure — Formation of quadratic with given roots

The one-picture summary

Figure — Formation of quadratic with given roots

Everything in one frame: two roots → two subtraction-factors → multiply → expand → optional knob (positive = upward, negative = downward) → standard equation.

Recall Feynman retelling (explain it to a 12-year-old)

Two treasures are buried on a number line at spots and . Stand at any spot . Measure your distance to the first treasure: that's . Measure your distance to the second: . Multiply the two distances. The answer is zero only when you're standing right on a treasure — because a product is zero only if one part is zero. So is a "treasure detector" that beeps zero at exactly the right spots. Multiply it out — combining the two middle pieces by pulling out their shared — and you get : the sum of the treasure positions sits in the middle (with a minus), the product sits at the end. You may amplify the whole detector by any loudness without moving the treasures; if is positive the bowl opens up, if is negative it flips upside-down like a hill, but the treasures stay put because times zero is still zero. One extra clue (a known point) tells you the exact loudness and even its sign. And if the two treasures land on the same spot, sit at zero, or come as a mirror pair — the same recipe still works, it just merges, drops a term, or cancels its square roots.