Solving quadratics and factorisation of polynomials using calculus

In summary: Otherwise, the discriminant is nonzero and x^2+6x+5 has two roots. I can picture the slope of the parabola at each of the two roots, but I'm not sure how to interpret the discriminant in this case. How might you describe the slope of the parabola at each root, and the relationship between the discriminant and these slopes?In summary, the conversation discusses a method of solving quadratic equations using calculus, specifically the discriminant of the quadratic formula and the first derivative of the original quadratic expression. It is mentioned that this method has not been seen in any other book and there is a simple relation between the first derivative of an expression and its factors. The proof for this
  • #1
WORLD-HEN
45
0
I just found this really old book. In it, I found a way of solving quadratic equations using calculus. I've never seen this method in any other book. Ok, here's 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 doesn't 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.
 
Mathematics news on Phys.org
  • #2
I think you are leaving out a crucial piece of information. Obviously, the derivative of a quadratic function is not a constant.
 
  • #3
WORLD-HEN said:
I just found this really old book. In it, I found a way of solving quadratic equations using calculus. I've never seen this method in any other book. Ok, here's 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 doesn't 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?? :confused: :tongue2:

Daniel.
 
  • #4
No, it was written in 1940, and printed in 1960
 
  • #5
dextercioby said:
Was it printed before 1650?? :confused: :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?
 
  • #6
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".
 
  • #7
Slow down fellow's!

We have:

[tex] f(x) = ax^2+ bx + c =0 [/tex]

is satisfied by

[tex] x = \frac { -b \pm \sqrt { b^2 - 4ac}} {2a} [/tex]

so it follows that

[tex] 2ax = -b \pm \sqrt { b^2 - 4ac} [/tex]

[tex] f'(x) = 2ax + b = \pm \sqrt { b^2 - 4ac} [/tex]

of course this would only hold for [itex] x [/itex] s.t. [itex] f(x) =0 [/itex]

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?
 
  • #8
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:
  • #9
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
 
  • #10
i suppose that on a cubic graph the tangent line would create two solutions.
 
  • #11
Well, the matter is really very simple, no derivative needed. Let[tex] \alpha, \beta [/tex]be the roots.

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

Thus -B/A =[tex] (\alpha+\beta); C/A =\alpha\beta.[/tex]

[tex](-B/A)^2-4C/A =(\alpha-\beta)^2[/tex]

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

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

So the sum of the roots is found from the coefficients.
 
Last edited:
  • #12
Integral said:
Slow down fellow's!

We have:

[tex] f(x) = ax^2+ bx + c =0 [/tex]

is satisfied by

[tex] x = \frac { -b \pm \sqrt { b^2 - 4ac}} {2a} [/tex]

so it follows that

[tex] 2ax = -b \pm \sqrt { b^2 - 4ac} [/tex]

[tex] f'(x) = 2ax + b = \pm \sqrt { b^2 - 4ac} [/tex]

of course this would only hold for [itex] x [/itex] s.t. [itex] f(x) =0 [/itex]

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!
 
  • #13
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 + ...)
 
  • #14
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.)
 
  • #15
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:
  • #16
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. :biggrin:

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:
  • #17
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 doesn't have symmetry like a quadratic
 
  • #18
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).

thiods is exactly Newtons answer/


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.
 
  • #19
that certainly is the problem, because there is no easy way of detecting the discriminant of higher degrees. Though i don't 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)
 
  • #20
a little mess
 
  • #21
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. that's all.
 
Last edited:
  • #22
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.
 
  • #23
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 statement 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".
 
  • #24
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.
 
  • #25
WORLD-HEN said:
I just found this really old book. In it, I found a way of solving quadratic equations using calculus. I've never seen this method in any other book. Ok, here's 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 doesn't 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.
 
  • #26
so the algebraic proof of deferentiation actually came about through trancendental numbers...way more complex then we have in our methods of differtiation.

so the dervative of a function is a just a plug and chug. its how newtion and leibnitz found the instantanious velocity of a falling object and do it again then you have where it is at a certain time then nothing.

but before all of this in the 1400's people were solving things at the same time and not knowing it because of the communication gap.

so the euclidians , bruts that they were and secretive, came across imaginary numbers i.e. irrational, 1/3 = .333333333333, pi etc. namely a right triangle with two equal sides it follows that 1^2 + 1^2 = (the hypotenuse)^2 yielding sqrt of 2 a never ending number.

well then later some people all over the world started working on this so
the theory of algebra or a line y=a +mb so let's try a+ib i= any imaginary number or formof imaginary irattional function)

a + ib (a +ib) + (id)= i(b+d) which is the same thing as a real function or real number

so they made a real number out of imaginary ones in a rational way

ttthhheennnn

they mutiplied them

(a + ib)(c + id)= ac + ibc +aid+idib = ac +i(bc +ad)+i^2(bd) which is a simple basic foundation of algebra turning an imaginary number (over 350 years of proving) into a real quadratic equation where you can find the slope of an imaginary function and make it real.

this gave rise to those "power series" written at first and convergencce and divergence of these numbers and then mandelbrot with his fractals. pretty long time to come down to just that.

forgot..they took the inverse power series too as greeks found number first only through comparison x/b was the first types of real numbers. the whole evolution of it is amazing especially how far we have come in the past 100 years (actually 106). BUT Newton and leibnitz, those guys knew how to party man. in their won't of a way to decribe how things worked they had to make up some pretty crazy stuff to explain everything "on the shoulders giants". the physics needed math to explain it. so the characters were less important then the part they played. yet how can a person be less important than the work they provided for us? yet...this is true. i would say THAT was the first thought of quantum theory...super position. they can both be true at the same time. d(Newtons work) < (the nature of things mathematically) and d(Newtons work) also> (the narture of things mathematically). Shroedingers Newton.
 

What is a quadratic equation?

A quadratic equation is a polynomial equation of degree 2, meaning it has at least one term with an exponent of 2. It can be written in the form ax^2 + bx + c = 0, where a, b, and c are constants and x is the variable.

How do you solve a quadratic equation using calculus?

To solve a quadratic equation using calculus, you can use the quadratic formula or complete the square. Another approach is to use the method of factoring, which involves finding two numbers that multiply to the constant term and add to the coefficient of the x-term.

What is the role of calculus in solving quadratics?

Calculus is used to find the roots or solutions of a quadratic equation. This is done by taking the derivative of the quadratic function, setting it equal to 0, and solving for the x-values that make the derivative equal to 0. These x-values will be the critical points of the function, and they represent the x-coordinates of the points where the function crosses the x-axis.

What is factorisation of polynomials?

Factorisation of polynomials is the process of breaking down a polynomial expression into its factors, which are simpler expressions that can be multiplied together to get the original polynomial. It is a useful technique for solving quadratic equations and simplifying complex algebraic expressions.

Can calculus be used to solve any type of polynomial equation?

No, calculus can only be used to solve polynomial equations of degree 2 or higher. For linear equations (degree 1), algebraic methods are sufficient, and for degree 3 or higher, more advanced techniques such as the cubic formula or numerical methods may be required.

Similar threads

Replies
19
Views
2K
Replies
8
Views
1K
  • General Math
Replies
16
Views
3K
Replies
3
Views
1K
Replies
2
Views
229
  • General Math
Replies
2
Views
1K
Replies
11
Views
987
  • General Math
Replies
11
Views
2K
  • General Math
Replies
7
Views
877
  • General Math
Replies
3
Views
744
Back
Top