Write a solution to the quadratic equation a*x^2+b*x+c=0 in a latex format
The quadratic formula can be used to find the solutions to the quadratic equation:

\begin{equation*}
ax^2+bx+c=0
\end{equation*}

The formula is:

\begin{equation*}
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
\end{equation*}

where $a$, $b$, and $c$ are coefficients of the quadratic equation.

Therefore, the solutions to the quadratic equation are:

\begin{equation*}
x_1 = \frac{-b + \sqrt{b^2 - 4ac}}{2a}
\end{equation*}

\begin{equation*}
x_2 = \frac{-b - \sqrt{b^2 - 4ac}}{2a}
\end{equation*}

Note that the expression inside the square root, $b^2 - 4ac$, is called the discriminant. If the discriminant is negative, the quadratic equation has no real solutions, but it may have complex solutions. If the discriminant is zero, the quadratic equation has one real solution. If the discriminant is positive, the quadratic equation has two real solutions.