# Solving quadratics and factorisation of polynomials using calculus

I just found this really old book. In it, I found a way of solving quadratic equations using calculus. Ive never seen this method in any other book. Ok, heres the method :

The discriminant of the quadratic formula i.e sqrt(b^2 - 4ac) is equal to the first derivative of the original quadratic expression. I am not sure how this is derived because the author doesnt give a derivation.

Theres also one simple relation between the first derivative of an expression and the factors of it in the form (x-a)(x-b)(x-c).... which is : The sum of the factors is equal to the first derivative. This is easy to prove but i have never seen this in any other calculus book or algebra book. Heres the proof :

Lets use a quadratic expression for simplicity,y, and its factors are (x+a)(x+b)

(d/dx)y = (x+a)((d/dx)*(x+b)) + (x+b)((d/dx)*(x+a)
= x+a + x+b

Using this, you can find the factors from the derivative or viceversa.

I think the first method I described can also be derived in a similar way, but the author didnt do it in the book.

Tide
Homework Helper
I think you are leaving out a crucial piece of information. Obviously, the derivative of a quadratic function is not a constant.

dextercioby
Homework Helper
WORLD-HEN said:
I just found this really old book. In it, I found a way of solving quadratic equations using calculus. Ive never seen this method in any other book. Ok, heres the method :

The discriminant of the quadratic formula i.e sqrt(b^2 - 4ac) is equal to the first derivative of the original quadratic expression. I am not sure how this is derived because the author doesnt give a derivation.
Theres also one simple relation between the first derivative of an expression and the factors of it in the form (x-a)(x-b)(x-c).... which is : The sum of the factors is equal to the first derivative. This is easy to prove but i have never seen this in any other calculus book or algebra book. Heres the proof :

Lets use a quadratic expression for simplicity,y, and its factors are (x+a)(x+b)

(d/dx)y = (x+a)((d/dx)*(x+b)) + (x+b)((d/dx)*(x+a)
= x+a + x+b

Using this, you can find the factors from the derivative or viceversa.

I think the first method I described can also be derived in a similar way, but the author didnt do it in the book.
Was it printed before 1650?? :tongue2:

Daniel.

No, it was written in 1940, and printed in 1960

cepheid
Staff Emeritus
Gold Member
dextercioby said:
Was it printed before 1650?? :tongue2:

Daniel.
lol...are you trying to say (in a tongue in cheek way) that nobody knew about "the calculus" before 1650, and since it seems to you that the author of this book was writing a load of bull****, that he certainly didn't know anything about calculus, so it's as though his work dates back to a more naive time?

Or did I misinterpret the joke entirely?

arildno
Homework Helper
Gold Member
Dearly Missed
Daniel is deep, cepheid. You cannot fathom him.

Apart from that, WORLD-HEN:
It makes absolutely no sense to say that the first derivative of a second-degree polynomial equals a constant.
So, you have misunderstood something!

The "sum of factors" you're talking about, is called the "trace".

Integral
Staff Emeritus
Gold Member
Slow down fellow's!

We have:

$$f(x) = ax^2+ bx + c =0$$

is satisfied by

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

so it follows that

$$2ax = -b \pm \sqrt { b^2 - 4ac}$$

$$f'(x) = 2ax + b = \pm \sqrt { b^2 - 4ac}$$

of course this would only hold for $x$ s.t. $f(x) =0$

Looks to me like his claim is a result of simple algebra. It is interesting that the slope of a quadratic at a root is given by the determinate.

Now what use is this?

Integral
Staff Emeritus
Gold Member
Been thinking about this. Back before graphing calculators, one of the things you often did was to create a quick sketch of a function without having to plot very many points. You could find the roots, the max and mins and then just free hand the function through those points. This shows that if you have used the quadratic formula to compute the roots, you have also got the SLOPE of the function at the roots. If you have ever done free hand function sketches I think you will agree that this is a nice bit of information. To bad it is only good for quadratics.

Last edited:
Here's the algebraic form of calculus (though a lot less impressive, and more tedious)

we are trying to find the derivative at (1,12) on the graph x^2+6x+5=y

x^2+6x+5=y
mx+b=y
where x has only one solution, we are trying to solve for m.

m(1)+b=12 b=12-m
x^2+6x+5=mx+(12-m)
x^2+6x-mx+5-(12-m)=0
we need the discriminant equal to zero to have one solution
(6-m)^2-4(5-12+m)=0
36-12m+m^2+28-4m=0
m^2-16m+64
(m-8)(m-8)=0 here m=8

i suppose that on a cubic graph the tangent line would create two solutions.

Well, the matter is really very simple, no derivative needed. Let$$\alpha, \beta$$be the roots.

By the nature of the polynomial $$X^2+(B/A)X + C/A = (X-\alpha)(X-\beta)=X^2-(\alpha +\beta)X+\alpha\beta$$.

Thus -B/A =$$(\alpha+\beta); C/A =\alpha\beta.$$

$$(-B/A)^2-4C/A =(\alpha-\beta)^2$$

Thus the quadratic formula separates out the roots,using first the plus sign:

$$-B/A + \frac{\sqrt{b^2-4AC}}{A} = 2\alpha.$$

So the sum of the roots is found from the coefficients.

Last edited:
cepheid
Staff Emeritus
Gold Member
Integral said:
Slow down fellow's!

We have:

$$f(x) = ax^2+ bx + c =0$$

is satisfied by

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

so it follows that

$$2ax = -b \pm \sqrt { b^2 - 4ac}$$

$$f'(x) = 2ax + b = \pm \sqrt { b^2 - 4ac}$$

of course this would only hold for $x$ s.t. $f(x) =0$

Looks to me like his claim is a result of simple algebra. It is interesting that the slope of a quadratic at a root is given by the determinate.

Now what use is this?
Very cool, and I agree useful for drawing parabolas by hand. It makes perfect sense: if the discriminant is zero, that slope is zero...which is exactly what happens when you have just one root...the graph intersects the x-axis at the vertex only. If the discriminant is positive, you have two slopes, one +ve on -ve, which correspond to the slopes of the graph at each of the two roots. If the discriminant is negative, the roots are complex. So with no real roots, I guess it's meaningless to talk of the slope of the graph there!

Actually , you can extend it to all polynomials.

for a cubic equation with factors a,b,c

The second derivative = 2!(a + b + c)

for a biquadratic expression with factors a,b,c,d
The thirds derivative = 3!(a + b + c + d)

Similarly, for a n-nomial
the (n-1)th derivative = (n-1)!( a + b + c + ....)

mathwonk
Homework Helper
2020 Award
thanks for the clever ideas. I thought the original post was nutty until integral slowed us down. As several of you have already pointed out, what is going on is a combination of two ancient algebraic ideas: first, the derivative is the slope of the line which intersects the curve doubly at the point, so that makes the difference of the two equations have a double root, i.e. makes the discriminant zero. this is merely descartes method of finding slopes of tangent lines, the algebraic form of calculus which greatly precedes newtons limiting method.

this old idea survives today as the zariski tangent space definition in abstract algebraic geometry.

from this point of view to find the tangent slope of f(x) a polynomial, one seeks the number m such that f(x)-(f(a) + m(x-a)) has a double root at x=a. i.e. such that the discriminant is zero. I.e. since this expression already has one root at x=a, one wants to divide out this root and them have another.

Dividing out gives the expression [f(x)-f(a)]/(x-a) - m. I.e. if f(x) is a polynomial then x-a divides into f(x)-f(a) evenly say, giving f(x)-f(a) = g(x)(x-a).

so to have [f(x)-f(a)]/(x-a) - m = g(x) - m equal zero at x=a, one needs of course to have m = g(a), where g(x) = [f(x)-f(a)]/(x-a). This is exactly newton's definition of the derivative of f at a. i.e. to evaluate the limit of [f(x)-f(a)]/(x-a) at x=a, one can first remove the discontinuity at x=a, by replacing the quotinet [f(x)-f(a)]/(x-a) by g(x), and then simply evaluate at x=a.

now what does this have to do with discriminants? well the original definition of a (squared) discriminant is as the product of the squares of the pairwise differences of all roots. this is why it equals zero if two roiots are the same.

then this is clearly a symmetric function oif the roots,m hence can be expressed as a polynomikla in the elementary symmetric functions, which are merely the coefficients opf the polynomial, e.g. b^a - 4ac for a quadratic.

as integrtal has pointed out, the squared discriminant easily gives the square of the slope at a root. now any f of course is normally transformed into one with a root at the interesting point by forming instead f(x) - f(u). so these two polynomials have thje same slope, and one of them has a root at the interesting point u. so one needs to relate the discriminants of f(x) and f(x)-f(u). but if we divide out f(x)-f(u) by x-u, we get for the other root (lets asume the leading coefficient a = 1, since this really is the egneral case) then the other root is -u-b. forming the discriminant by the classical definition we subtract u from this elaving -2u-b, and squaring gives the square of the original derivative. (2u+b)^2.

so indeed the discriminant of the modified quadratic polynomial f(x)-f(u), which integral shoiwed equals the slope of the modified polynomial, also equals the slope of the original one.

Interestingly too, if we form the further modified polynomial f(x)-f(u) - m(x-u), the polynomila which has a double root at u if and only if m = slope of f at u, we see that the discriminant of f(x)-f(u) - m(x-u) equals zero if and only if m = slope of f at u.

Indeed calculation shows that the (squared) discriminant of f(x)-f(u) - m(x-u), is just (m - f'(u))^2. where f'(u)^2 is the (squared) discriminant of f(x)-f(u).

Last fall I taught descartes method for derivatives to my class, as more intuitive than newtons and easier to understand. indeed newton's methois is not needed until one encounters the first case where the division of f(x)-f(u) by (x-u) cannot be carried out, i.e., for sin(x).

Kudoes to everyone here who persisted when a post seemed to be non sense, especially Integral. (Oh yes, for some of these calculations one needste diea given aboive that the sum of the roots is minus the linear coefficient of a monic quadratic, i.e. the coefficients are really the elementary symmetric functions of the roots.)

mathwonk
Homework Helper
2020 Award
by the way, descartes method for finding slopes occurs in the very obscure book, lectures on freshman calculus, by cruse and granberg, which i have recommended here before, although the authors state incorrectly that the method works only for quadratics. (I tried to correct the error as a paid "reviewer" but was ignored.)

Last edited:
mathwonk
Homework Helper
2020 Award
so to summarize, the discriminant tells when a polynomial has a repeated root, and descartes method for slopes says that m is the slope of y = f(x) at x=a, if and only if the polynomial f(x)-f(a) - m(x-a) has a repeated root at x=a, if and only if g(a) = m, where f(x) = (x-a)g(x).

this combined with the algebraic facts that the (squared) discriminant is the square of the product of the pairwise differences of the roots, and the fact that the second coefficient of a monic polynomial is (minus) the sum of the roots, explains all the phenomena above.

these results are ancient, and are among those which led fermat and descartes to the computation of slopes for polynomials before newton and leibniz. indeed the limiting method of newton is merely a technical trick for evaluating [f(x)-f(a)]/(x-a) at the point x=a, when we cannot directly divide it out.

moreover the method of descartes survives as the definition in algebraic geometry of the zariski cotangent space of an algebraic variety at a point p, i.e. as M/M^2, where M is the maximal ideal of functions regular at p and vanishing at p, and M^2 is therefore the ideal of functions vanishing twice at p. Hence M/M^2 is the vector space of functions vanishing at p, modulo those that vanish twice, i.e. modulo those which not only vanish at p but also have derivative zero at p. Hence the quotient space M/M^2 is the vector space of all (directional) derivatives at p, i.e. the dual space of the space of all directions at p.

from a more concrete point of view, imagine a function f which vanishes at p expanded in a taylor series, and then throw away all the terms of order two or higher. what is left is the derivative of f, i.e. the linear term of the taylor series, i.e. the part of the function which is left when we mod out by the part vanishing "twice" (or more).

Hence M/M^2 is called the Zariski cotangent space and its dual (M/M^2)* is called the Zariski tangent space.

Of course there are no dot products intrinsically present here so one must clearly distinguish between tangent spaces and their duals. by the way, to take the derivative of f this way, one merely passes from f to the equivalence class of f-f(p) in the quotient space M/M^2. i.e. [f-f(p)] = dfp, in M/M^2.

sheaf theory, meet fermat. i.e. "there is nothing new under the sun."

Last edited:
So you find the vertex, and you know the shape of the parabola based on the coefficient of the x^2 term. And do the sqrt of the y coordinate of the vertex from below the x-axis. And then do the x coordinate of the vertex plus and minus the sqrt of the y coordinate of the vertex. that should give the root, of a quadratic with the coeffient of the x^2 term being one. Can we use the same method on the cubic?, the problem is it that it doesnt have symmetry like a quadratic

mathwonk
Homework Helper
2020 Award
the descartes method for finding the derivative of a general polynomial f is to solve for the unique number m such that the polynomial [f(x)-f(a) - m(x-a)] has a double root at x=a.

by the root factor theorem, since x=a is a root of f(x)-f(a), one can factor

f(x)-f(a) as (x-a)g(x) for some polynomial g. then we have [f(x)-f(a) - m(x-a)]

= (x-a)[g(x) - m], hence f(x)-f(a) has a double root at x=a if and only if x=a is a root of g(x) - m. i.e. if and only if m = g(a).

e.g. trying it on f(x) = x^n, gives g(a) = n a^(n-1).

i.e. x^n - a^n = (x-a)[x^(n-1) + ax^(n-2) + ...+a^(n-1)] so g(a) = n a^(n-1).

it is not so easy to use only the discriminant in higher dergees, since it does not detect where the double root occurs, which is trivial for quadratics.

that certainly is the problem, because there is no easy way of detecting the discriminant of higher degrees. Though i dont think it is absolutly necessary for one to detect to the discriminant for higher degrees. I think that its easier to see where a cubic and a line have two roots rather than one or three. and then knind of factor your way to the answer.
For example, given a cubic polynomial:
x^3+2x^2-5x-10=y
trying to find the derivative at (1, -12)
mx+b=-12
b=-12-m
x^3+2x^2-5x-mx-10+12+m=0
x^3+2x^2-(5+m)x+m+2=0
where x has only two distinct solutions, then it must have a unique m.
so this can factor to (x-a)(x-a)(x-b)

a little mess

mathwonk
Homework Helper
2020 Award
tongos, let me try to explain myself better. it is no more practical to compute the derivative directly from the definition by descartes method any more than it is by newton's method. you use the method as i indicated above to derive the usual rules for derivatives. then you compute the derivative for x^3+2x^2-5x-10, exactly as you usually do.

if you want to see decartes method in action on an example like that one, it looks exactly like using newton's method would look.

i.e. the derivative of x^3+2x^2-5x-10 at (1,-12) by decartes method is the number m such that x^3+2x^2-5x+2 -m(x-1) has a double factor of (x-1). I.e. since x^3+2x^2-5x+2-m(x-1) = (x-1)(x^2 + 3x-2-m), it is the unique m such that (x-1) divides into (x^2 + 3x-2-m). But that is the same m such that setting x=1 in this expression gives 0, i.e. m = 1^2 +3(1) - 2 = 2.

Now doing this derivative by newton's method involves exactly the same operations.

i.e. the derivative of x^3+2x^2-5x-10, at x = 1, means finding the limiting value of

[x^3+2x^2-5x-10 - (-12)]/(x-1) = [x^3+2x^2-5x+2]/(x-1), as x approaches 1. But to find this limit one divides out, getting again, since [x^3+2x^2-5x+2]/(x-1) =
(x^2 + 3x-2), the result of plugging x=1 into (x^2 + 3x-2), i.e. the answer 2.

for polynomials the point is that decartes and newton's method are exactly the same. neither one is easier than the other, except decartes does not involve hard ideas like limits.

but by either method, the efficient way to do this derivative is to rpove first that the derivative is lienar, and that the derivative of x^n is n x^(n-1), and then by either method, the derivative of x^3+2x^2-5x-10, is just
3x^2 +2x -5. thats all.

Last edited:
mathwonk said:
the descartes method for finding the derivative of a general polynomial f is to solve for the unique number m such that the polynomial [f(x)-f(a) - m(x-a)] has a double root at x=a.

by the root factor theorem, since x=a is a root of f(x)-f(a), one can factor

f(x)-f(a) as (x-a)g(x) for some polynomial g. then we have [f(x)-f(a) - m(x-a)]

= (x-a)[g(x) - m], hence f(x)-f(a) has a double root at x=a if and only if x=a is a root of g(x) - m. i.e. if and only if m = g(a).

QUOTE]

Sorry i didnt read this portion of your post. I guess that made me look kind of dumb. Yeah, i understand it though, its not that complex!. I always try to go through math with proving everything and trying to find new ways of figuring things out. i've taken calculus. I don't think limits are hard btw.

mathwonk
Homework Helper
2020 Award
well you are probably a smart guy. I myself find limits the hardest idea I ever try to teach, and it took me a long time to become comfortable with them as well.

I admit however I have not had any more success trying to teach decartes method than newtons. i.e. most people don't understand either one.

but i suspect it is because many people are in the habit of not trying to understand what they see in a math class, they just try to repeat the calculations.

intrinsically though it seems to me that any statment involving quantifiers is hard for many people to grasp, and that is an essential ingredient of the definition of limits.

i.e. "for every e>0, there is some d>0 such that, whenever 0 <|x-a|<d, then |f(x)-L| < e."

that just throws em every time, and I have never succeeded in teaching it well in decades of trying.

I try everything i can think of, asking students how close a has to be to 8 and how close b has to be to 10 so that ab will be within 1 of 80, for example.

and i say that here e is 1, and I am asking them for the d's.

but even after checking it out with actual numbers, afterwards I still get people saying that the statement above with quantifiers is incomprehensible, and they would prefer something they can understand.

eventually we stop trying to teach limits carefully, and just say, well "if x gets close to a, (but not equal to it, if we dare) then f(x) is close to L".

I know how to solve quadratic equation using calculus. It is my research paper and I am the author. Please, if you want to know the derivation. I will give a talk about my research in 5/2/10 and you can come to see.

I just found this really old book. In it, I found a way of solving quadratic equations using calculus. Ive never seen this method in any other book. Ok, heres the method :

The discriminant of the quadratic formula i.e sqrt(b^2 - 4ac) is equal to the first derivative of the original quadratic expression. I am not sure how this is derived because the author doesnt give a derivation.

Theres also one simple relation between the first derivative of an expression and the factors of it in the form (x-a)(x-b)(x-c).... which is : The sum of the factors is equal to the first derivative. This is easy to prove but i have never seen this in any other calculus book or algebra book. Heres the proof :

Lets use a quadratic expression for simplicity,y, and its factors are (x+a)(x+b)

(d/dx)y = (x+a)((d/dx)*(x+b)) + (x+b)((d/dx)*(x+a)
= x+a + x+b

Using this, you can find the factors from the derivative or viceversa.

I think the first method I described can also be derived in a similar way, but the author didnt do it in the book.

I don't think you are right. I can't believe you saw it in old bock. This is my method and be honest next time when you tell someone about it. Say Mansour give me a method but I don't know where he gets it from.