Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Everywhere I look, the $ax^2+bx+c$ portion of the quadratic formula is listed as given.

Does anyone know where this comes from?


How can we prove that (x+y)^2 = ax^2+bx+c?

share|cite|improve this question

marked as duplicate by Hakim, Dan Rust, lhf, mrf, Hans Lundmark Jun 13 '14 at 14:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Did you want something like this? – David Mitra Jun 13 '14 at 13:33
@DavidMitra I think he actually asks why we write the quadratic as $ax^2+bx+c$ – N. S. Jun 13 '14 at 13:49
The phrase "complete the square" should be worth a mention here, since that is precisely what the proof is doing. – Dustan Levenstein Jun 13 '14 at 13:58
Please read further than the question titles. This is not about how to prove the quadratic formula. Or at least, more information is needed. – Jack M Jun 13 '14 at 14:17

Let $ax^2+bx+c=0$, thus, $$x^2+\frac{b}{a} x+\frac{c}{a}=0$$ $$\Longrightarrow x^2+\frac{b}{a}x=-\frac{c}{a}$$ $$\Longrightarrow x^2+\frac{b}{a}x+\left(\frac{b}{2a}\right)^2=-\frac{c}{a}+\left(\frac{b}{2a}\right)^2.$$ We can factorise the left hand side, thus $$x^2+\frac{b}{a}x+\left(\frac{b}{2a}\right)^2=\left(x+\frac{b}{2a}\right)^2$$therefore $$\left(x+\frac{b}{2a}\right)^2=-\frac{c}{a}+\left(\frac{b}{2a}\right)^2$$ $$\Longrightarrow x+\frac{b}{2a}=\pm\sqrt{-\frac{c}{a}+\left(\frac{b}{2a}\right)^2}$$ $$\Longrightarrow x=-\frac{b}{2a}\pm\sqrt{-\frac{c}{a}+\left(\frac{b}{2a}\right)^2}$$ $$=-b\pm\frac{\sqrt{-\frac{c}{a}(2a)^2+\left(\frac{b}{2a}\right)^2(2a)^2}}{2a}$$ $$=\frac{-b\pm \sqrt{-4ac+b^2}}{2a}.$$

share|cite|improve this answer
For fun, check out the 'cubic formula' here. – M. Knight Jun 13 '14 at 13:46

If you are actually asking why we write quadratics in the form $$ax^2+bx+c$$ then we must note that a quadratic is a polynomial. A polynomial is of the form $$a_nx^n+a_{n-1}x^{n-1}+\cdot\cdot\cdot+a_2x^2+a_1x+a_0.$$ Thus, a linear equation $a_1x+a_0$ is a polynomial, as is a quartic, $a_4x^4+a_3x^3+a_2x^2+a_1x+a_0$. A polynomial, as shown above, is a sum of powers of a variable $x$ that are multlied by constants $a_0,a_1,...,a_n\in \Bbb{C}. $ A quadratic is a polynomial hence we write it in the form of a stand polynomial $ax^2+bx+c$.

share|cite|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.