Math equations

Some examples


When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
 \[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]

\[ x^n + y^n = z^n \]

In physics, the mass-energy equivalence is stated by the equation \(E=mc^2\), discovered in 1905 by Albert Einstein.

This is a simple math expression without numbering\[\sqrt{x^2+1}\] separated from text.

\[\alpha, \Alpha, \beta, \Beta, \gamma, \Gamma, \pi, \Pi, \phi, \varphi, \mu, \Phi\]

Parenthesis: \(y=mx+2\)
Double Dollar Signs:
$$y=mx+3$$
Hard Bracket:
\[y=mx+5\]
In a sentence:
When \(a \ne 0\) there are two solutions to \(ax^2 + bx + c = 0\) and they are$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$