LaTeX Renderer
Algebra

Quadratic Formula in LaTeX

The quadratic formula gives the two roots of any equation of the form ax² + bx + c = 0. In LaTeX it combines a fraction (\frac), a plus-or-minus sign (\pm), and a square root (\sqrt) — a compact showcase of the notation you will reuse constantly.

LaTeX source

x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
Open in editor

Renders live — then export to PNG, JPG, SVG, or PDF.

More examples