The formula to solve a quadratic equation is \(x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\), where \(a\), \(b\), and \(c\) are coefficients of the equation \(ax^2 + bx + c = 0\), and \(x\) represents the unknown. Fill in the fields below with the coefficients and press the button to get the unknown x. A graphical solution will also be plotted further down.
Enter the coefficients and click "Calculate Solutions & Graph"
The solutions of the quadratic equation \(ax^{2}+bx+c=0\) may be deduced from the graph of the quadratic function \(f(x)=ax^{2}+bx+c\), which is a parabola.
The graph will be plotted here.
- If the parabola intersects the x-axis in two points, there are two real roots, which are the x-coordinates of these two points (also called x-intercept).
- If the parabola is tangent to the x-axis, there is a double root, which is the x-coordinate of the contact point between the graph and parabola.
- If the parabola does not intersect the x-axis, there are two complex conjugate roots. Although these roots cannot be visualized on the graph, their real and imaginary parts can be.
The quadratic formula, \(x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\), is derived from the general form of a quadratic equation, \(ax^2 + bx + c = 0\), through a process known as completing the square. The derivation can be summarized in the following steps:
The quadratic formula provides the solutions to the quadratic equation by directly substituting the values of \(a\), \(b\), and \(c\) into the formula. This method is advantageous because it offers a straightforward way to find the roots of any quadratic equation without needing to factor the equation or complete the square each time.
See also: Explanation of the quadratic formula - Khan Academy
The term "quadratic" comes from the Latin word "quadratus," meaning "square".
This is because the quadratic equation involves the square of the variable (i.e., \(x^2\)).
The connection between the operation of squaring in the equation and the geometric square shape leads to the use of the term "quadratic" to describe equations of the form \(ax^2 + bx + c = 0\), where \(a\), \(b\), and \(c\) are constants, and \(a \neq 0\).