Nepedia
Back to Discover
Advanced Reader
🔢

Quadratic formula

math Maturity 11-13 Next article →

The quadratic formula is a closed-form expression used to find the solutions of a quadratic equation. In algebra, these solutions are often called the roots or the zeros of the equation. A quadratic equation follows a specific pattern, written as ax² + bx + c = 0. In this form, x represents the unknown value we want to find. The letters a, b, and c are known as coefficients. These coefficients are real or complex numbers, but a must not be zero.

Roots of a quadratic function via the quadratic formula
Roots of a quadratic function via the quadratic formula

Geometrically, these roots represent specific points on a graph. When you graph a quadratic function, it creates a U-shaped curve called a parabola. The roots are the exact locations where this parabola crosses the x-axis. These points are also known as the x-intercepts. The formula can also help identify the axis of symmetry for the parabola. This is the vertical line that splits the curve into two identical halves.

To understand the formula, we must look at the discriminant. The discriminant is the part of the formula calculated as b² - 4ac. This value determines the nature of the roots. If the discriminant is greater than zero, the equation has two distinct real roots. If the discriminant equals zero, there is exactly one repeated real root. However, if the discriminant is less than zero, there are no real roots. In that case, the equation has two distinct complex roots that are complex conjugates of each other.

One standard way to derive the formula is through completing the square. This method involves transforming the equation into a squared binomial. You begin by dividing the entire equation by the coefficient a. Next, you isolate the constant term on the right side of the equation. By adding a specific constant to both sides, the left side becomes a perfect square.

Quadratic formula via completing the square
Quadratic formula via completing the square

You then take the square root of both sides and isolate x to reveal the formula. Another mathematician, Śrīdhara, used a similar method in 8th or 9th century India. He multiplied the equation by four times the coefficient a. This allowed him to complete the square without using fractions until the very last step.

History shows us that different mathematicians found different paths to the same truth. Giulio Fagnano mentioned a lesser-known version of the formula. This version places the square root in the denominator rather than the numerator. Because "quadratic" spelled backwards is "citardauq," people jokingly call it the citardauq formula. There are also advanced methods like Lagrange resolvents. This approach is an early part of Galois theory. It focuses on the symmetry of the roots rather than just rearranging the equation. While this works for quadratic, cubic, and quartic equations, it fails for quintic equations of the fifth degree.

In modern computing, the quadratic formula requires careful implementation. While the math is perfect in theory, computers use approximate arithmetic. This can lead to a problem called catastrophic cancellation. This happens when two nearly equal numbers are subtracted from one another. If the sign of b is the opposite of a or c, subtraction can cause significant errors. This results in a loss of numerical precision. To avoid this, programmers may choose different versions of the formula. They might use the version with the square root in the denominator to maintain accuracy.

Quadratic formula via completing the square
Quadratic formula via completing the square

Understanding the quadratic formula connects algebra to many other fields. It links the study of polynomials to the complex world of group theory through Galois theory. It also bridges the gap between pure algebra and numerical analysis. By studying how these roots behave, mathematicians can understand the symmetry of higher-degree equations. This knowledge is essential for everything from physics to advanced computer science. The formula remains one of the most fundamental tools in the mathematical toolkit.

620 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Roots of a quadratic function via the quadratic formula.png
Roots of a quadratic function via the...
File:Quadratic formula via completing the square.png
Quadratic formula via completing the square.png
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.