How do you derive the quadratic formula using calculus?

3.9k Views Asked by At

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.

2

There are 2 best solutions below

6
On

Let $\alpha,\beta$ be the two roots. Then we have by comparing coefficients$$\alpha+\beta=\frac{-b}{a}$$ and also you get $$\alpha.\beta=\frac{c}{a}$$. From here you immediately get $(\alpha-\beta)^2=(\frac{b}{a})^2-4.\frac{c}{a}$ and then you solve for $\alpha, \beta$

Note: $(\alpha+\beta)^2=(\alpha-\beta)^2+4.\alpha.\beta$

0
On

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.