Simple question;
How do you factor a third degree polynomial such as
x^3 - x^2 + x - 2 = 4
Without going through extraordinary measures and taking cube roots and square roots everywhere?
Derp derp. You just gotta use your p's over q's.
Teach Me Mogster Lesson π: p's and q's
A p is any factor of the constant term, in this case, -6.
A q is any factor of the lead coefficient, in this case, 1.
You put your p's over q's and then try out EVERY one of those in trial division until you find one which results in zero.
Factors of p: {-1, -2, -3, -6, 1, 2, 3, 6}
Factors of q: {-1, 1}
Teach Me Mogster Lesson φ: Trial Division:
x
3 - x
2 + x - 6 = 0
Change this to look like so:
_| 1 -1 1 -6
In the upper left box, you put in the test number, say 2.
[U]2[/U]| 1 -1 1 -6
[U]- +2 +2 +6[/U]
1 1 3 0
[spoiler=More spelled out for explanatory purposes]
Drop the first number down to below the line.
[U]2[/U]| 1 -1 1 -6
[U]- [/U]
1
Multiply the most
recent number below the line by your
trial number (2) and add
it to the
NEXT number in line. (Note: 1*2=2) Write the
result below the line.
[COLOR=RoyalBlue][U]2[/U][/COLOR]| 1 [COLOR=Yellow]-1[/COLOR] 1 -6
[U]- +[COLOR=DarkOrchid]2[/COLOR] [/U]
[COLOR=Red]1[/COLOR] [COLOR=White]1[/COLOR]
Repeat this process for the next number in line.
[COLOR=RoyalBlue][U]2[/U][/COLOR]| 1 -1 [COLOR=Yellow]1[/COLOR] -6
[U]- +2 +[COLOR=DarkOrchid]2[/COLOR] [/U]
1 [COLOR=Red]1[/COLOR] [COLOR=White]3[/COLOR]
Repeat for the next number in line.
[COLOR=RoyalBlue][U]2[/U][/COLOR]| 1 -1 1 [COLOR=Yellow]-6[/COLOR]
[U]- +2 +2 +[COLOR=DarkOrchid]6[/COLOR] [/U]
1 1 [COLOR=Red]3[/COLOR] [COLOR=White]0[/COLOR]
Because the
result of the FINAL step is 0, you found a root of the equation.
[/spoiler]
Uh, tbh, I actually just picked one and it worked. I guess that's a Math Major for you. Anyway~
With this, you now know that x=2 is a zero of the function, so now you have a new function:
(x-2)(x
2 + x + 3) = 0
Then you would continue and do another trial division on the second bit (or just factor it), to find that it is a prime polynomial. HOW I KNOW THIS BY LOOKING!?
1
2 - 4(1)(3) [Discriminant]
is a negative value, meaning that the polynomial is never equal to zero (has imaginary roots). Another way to see this is that you are adding x
2 + x. No matter how largely negative x is, x
2 will always be larger and positive, thus the quantity x
2 + x is always positive. Add to that a positive integer (3) and you will always have a positive value, never zero.
So, in summation, the factored form of
x
3 - x
2 + x - 6 = 0
is
(x-2)(x
2 + x + 3) = 0
QED, bitches.