11 results for “quadratic”
Finds the roots of any quadratic equation ax² + bx + c = 0.
Determines the nature of the roots of a quadratic equation.
Rewrites a quadratic in vertex form.
Relates the roots of a quadratic to its coefficients.
Rewrite a quadratic as a perfect square plus a constant.
x-coordinate of the vertex of a quadratic.
Runtime that grows with the square of input size.
The Vedic completion method — solve quadratics by completing the square. Add and subtract (half the coefficient of x)² to create a perfect square.
Factor quadratics instantly: for x² − (a+b)x + ab = 0, find two numbers whose sum equals the middle coefficient and whose product equals the constant term.
If you know the roots r₁ and r₂, the quadratic is x² − (r₁+r₂)x + r₁×r₂ = 0. Sum gives the middle term, product gives the constant.
For ax² + bx + c = 0, x = (−b ± √(b² − 4ac)) ÷ 2a. The discriminant b²−4ac tells you the number of real roots.