[Math] How to derive the quadratic formula using calculus

calculuslinear algebraquadratics

The quadratic formula: $$f(x)=ax^2+bx+c=0$$

$$x=\frac{-b \pm \sqrt{b^2-4ac}}{2a}$$

I remember a tutor once showing me a method for deriving the quadratic formula using calculus somehow. This was around 20 years ago and I can't even remember the tutor's name. I'd really like to learn this method. Just to clarify, I do know how to derive it using the "Completing the square" method.

I was linked to the solution here: https://www.google.com/amp/s/threesixty360.wordpress.com/2008/10/19/using-calculus-to-generate-the-quadratic-formula/amp/

But I am stuck at one step.

Start with: $$f(x)=ax^2+bx+c$$

We want: $$f(x)=0$$

The first derivative gives: $$f'(x)=2ax+b$$

Which leads to this: $$f(x)=c+\int_0^x (2at+b)dt$$

I can't see why the $t's$ were introduced here.

If anyone has any other methods I'd really like to see them also.

Best Answer

If f is a polynomial of degree $n$ then for all $x, y$ we have $$f(x)=\sum_{j=0}^n(x-y)^jf^{(j)}(y)/j!$$ where $f^{(0)}=f$ and $f^{(j)}$ is the $j$th derivative of $f$ when $j>0.$... And with the usual convention that $0^0=1 $ (i.e. the term $(x-y)^j$ for $j=0$, when $x=y$).

When $f(x)=Ax^2 +Bx+C$ with $A \ne 0,$ then $f'(x)=2Ax+B$ is equal to $0$ when $x=x_0=-B/2A.$ For all $x$ we have $$f(x)=f(x_0)+(x-x_0)f'(x_0)+(x-x_0)^2f''(x_0)/2!.$$ But $f'(x_0)=0$ and $f''(x_0)=2A,$ so for all $x$ we have $$f(x)=f(x_0)+(x-x_0)^2\cdot A.$$ This "completes the square" for us.