Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Math and Science (http://www.chiefdelphi.com/forums/forumdisplay.php?f=70)
-   -   Need help factoring a 3rd Degree polynomial (http://www.chiefdelphi.com/forums/showthread.php?t=48864)

Floydlax 05-09-2006 22:41

Need help factoring a 3rd Degree polynomial
 
having trouble factoring the following problem

x^3-10x+3

I have done many like this before but misplaced my notes and ahve no way of familiarizing myself with the processes needed in order to factor this.

Can anyone help me...

much appreciated thanks

Karthik 05-09-2006 22:59

Re: Need help factoring a 3rd Degree polynomial
 
Use the factor theorem: for a polynominal f, if f(a) = 0 --> (x-a) is a factor

In this case, f: x^3 - 10x + 3
f(3) = 3^3 - 10(3) + 3 = 27 - 30 + 3 = 0

Therefore, (x-3) is a factor of f.

Using synthetic division (I'll leave this step to you), you can see that f = (x-3)(x^2 + 3x - 1)

Dave Scheck 06-09-2006 02:39

Re: Need help factoring a 3rd Degree polynomial
 
I used to know a trick to solve cubic polynomials, but that has long since escaped me.

Here's a pretty complex formula that will give you your roots directly.

You can also take a brute force approach that you can use is the Rational Root Theorem. Essentiallty what it says is that for any polynomial, each rational root will have the property that x = p/q wher q is a factor of your x^0 term and q is a factor of your x^n term.

In your case, it's pretty easy.
p has to be +-1 or +-3 and q has to be +=1

So all combinations will give you the following values of x. Once you have those, you plug them into your original equation and find the ones that make the roots.

Code:

x = 1 ==> f(1) = 1 - 10 + 3 => -6
x = -1 ==> f(-1) = -1 + 10 + 3 => 12
x = 3 ==> f(3) = 27 - 30 + 3 => 0 <-- Rational root
x = -3 ==> f(-3) = -27 + 30 + 3 => 6

So as Karthik pointed out, since 3 is a root, (x - 3) is a factor. From there you should follow his other suggestion of using synthetic division.

I also came across this page which has some pretty good examples. In particular, you may want to take note of the Intermediate Value Theorem. They also talk about synthetic division if you need a refresher.


All times are GMT -5. The time now is 12:12.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi