Valhalla Legends Archive

Member Forums => Yoni's Math Forum => Topic started by: Banana fanna fo fanna on March 01, 2004, 06:25 PM

Title: Factoring
Post by: Banana fanna fo fanna on March 01, 2004, 06:25 PM
Yeah...I have a math test tomorrow, and factoring is a bitch. What's the fastest/easiest way to do it? Can someone enlighten me here? It's just that I'm usually good at math, but factoring seems like sort of a guessing game to me.
Title: Re:Factoring
Post by: K on March 01, 2004, 06:41 PM
Quote from: St0rm.iD on March 01, 2004, 06:25 PM
Yeah...I have a math test tomorrow, and factoring is a bitch. What's the fastest/easiest way to do it? Can someone enlighten me here? It's just that I'm usually good at math, but factoring seems like sort of a guessing game to me.

Here are some good things to memorize:

x2 - a2 ==> (x + a) (x - a)
EX: x2 - 9 ==> (x + 3) (x - 3)

a2 + 2ab + b2 ==>(a + b)2
EX: x2 + 6x + 9 ==> (x + 3)2

a2 - 2ab + b2 ==>(a + b)2
EX: x2 - 6x + 9 ==> (x - 3)2

Edit: Accidentally posted instead of previewing.  Will post more.  Be patient.

You can figure out how the signs work thusly:
Ax2 + Bx + C  ==> (? + ?) * (? + ?)
Ax2 + Bx - C  ==> (? + ?) * (? - ?)
Ax2 - Bx + C  ==> (? - ?) * (? - ?)

Other than that, the method I use is fairly easy:
(x + #1)(x + #2) = Ax2 + Bx + C
What two numbers multiplied together give you C and added together give you B?  Multiply out these combinations.  If it doesn't work, try the next one.
Title: Re:Factoring
Post by: Banana fanna fo fanna on March 01, 2004, 07:48 PM
Thanks.
Title: Re:Factoring
Post by: Eibro on March 01, 2004, 10:18 PM
It seems like a guessing game at first, but after a while you begin to recognize factors almost instantly. Just practice more!
Title: Re:Factoring
Post by: Adron on March 02, 2004, 02:24 AM
An often useful technique is finding roots (just guessing a zero or so) for the polynomial and then dividing by the corresponding term.
Title: Re:Factoring
Post by: Yoni on March 02, 2004, 02:31 AM
It is a guessing game. You can remember the very frequent ones, and easily guess the less frequent but more obvious ones.
If there's something you can't guess, just use the root formula.

Ex:
x² + 10x + 6
A few seconds of thought wasted on guessing, you decide to turn to the formula.
x1, x2 = (-10 ± sqrt(10² - 4 * 1 * 6)) / 2 = -5 ± sqrt(19)
Therefore:
x² + 5x + 3 = (x + 5 - sqrt(19))(x + 5 + sqrt(19))

Ex:
x² + 4x + 8
A few more seconds of thought wasted on this one, and the formula seems attractive again.
x1, x2 = (-4 ± sqrt(4² - 4 * 8)) = ... Oops? The value inside the square root is negative.
Therefore, x² + 4x + 8 cannot be factored over the reals. (It can be factored over the complex numbers, but I'm guessing you aren't asked to do this.)

Note: The two examples I gave in this post can be solved in a quicker way by a method called "completing the square". Have you learned this yet?

Edit: Forum turned the 8) into a smily.
Title: Re:Factoring
Post by: Adron on March 02, 2004, 03:15 AM
A relevant question is: What degree of polynomials do you expect to be factoring? For second degree polynomials, the formula or completing the square are great methods. For higher degree polynomials, you'll have to use tricks, guessing, etc.

Typical solutions for polynomials of higher degrees than 2 on our tests have involved rather obvious guessable roots (0, 1, -1 etc).
Title: Re:Factoring
Post by: j0k3r on March 02, 2004, 06:35 AM
Quadratic Formula, Completing the Square, and Difference of Squares are the basic ones.

Completing the square would be like  x² - 9 --> (x - 3)(x + 3)
The two different signs add a 3x then subtract the 3x, effectively leaving you with "x² - 9" again.
Title: Re:Factoring
Post by: iago on March 02, 2004, 08:28 AM
Quote from: j0k3r on March 02, 2004, 06:35 AM
Quadratic Formula, Completing the Square, and Difference of Squares are the basic ones.

Completing the square would be like  x² - 9 --> (x - 3)(x + 3)
The two different signs add a 3x then subtract the 3x, effectively leaving you with "x² - 9" again.

I *Always* use the quadratic formula (unless it's an obvious one).  Then you aren't guessing at all.

x=(-b +/- sqrt(b2-4ac))/2a

This will give you two answers, like -4 and 7 for instance, then the roots are (x+4) and (x-7).  If you do it like this, and it's one of the hard ones, you won't have wasted your time looking for integral factors.
Title: Re:Factoring
Post by: Adron on March 02, 2004, 12:32 PM
Quote from: iago on March 02, 2004, 08:28 AM
I *Always* use the quadratic formula (unless it's an obvious one).  Then you aren't guessing at all.

x=(-b +/- sqrt(b2-4ac))/2a

This will give you two answers, like -4 and 7 for instance, then the roots are (x+4) and (x-7).  If you do it like this, and it's one of the hard ones, you won't have wasted your time looking for integral factors.

But that depends on the polynomial not having a higher degree than 2. Those never require any guessing, but if you can guess an obvious solution, sure. It's when you reach higher degrees that you need to start guessing...
Title: Re:Factoring
Post by: iago on March 02, 2004, 01:40 PM
That's true.  There's probably Quadratic formulas for any degree if somebody bothered to invent them.  I want a Quintatic or Sextatic formula :(
Title: Re:Factoring
Post by: Yoni on March 02, 2004, 03:53 PM
Quote from: iago on March 02, 2004, 01:40 PM
That's true.  There's probably Quadratic formulas for any degree if somebody bothered to invent them.  I want a Quintatic or Sextatic formula :(
NO!!! Have you never heard of Abel's Impossibility Theorem?
http://mathworld.wolfram.com/AbelsImpossibilityTheorem.html

There are formulas for 3rd and 4th degree, both insanely complicated.

Edit: Oops, missed obvious opportunity for joke, so here it is:
I'm sure you would like a sextatic formula.
Ok, this post is now complete.
Title: Re:Factoring
Post by: iago on March 02, 2004, 07:33 PM
Quote from: Yoni on March 02, 2004, 03:53 PMHave you never heard of Abel's Impossibility Theorem?

I think it's pretty obvious that I haven't :P
Title: Re:Factoring
Post by: Eibro on March 02, 2004, 08:44 PM
We always used synthetic division to factor polynominals with a degree greater than 2. It usually took awhile to find the roots of 4th and 5th+ degree functions, but it's pretty straightforward.
Title: Re:Factoring
Post by: Banana fanna fo fanna on March 02, 2004, 08:55 PM
Yes, we do factor over complex numbers :)

And I got an 81%...not bad...
Title: Re:Factoring
Post by: Adron on March 03, 2004, 10:50 AM
Quote from: Eibro on March 02, 2004, 08:44 PM
We always used synthetic division to factor polynominals with a degree greater than 2. It usually took awhile to find the roots of 4th and 5th+ degree functions, but it's pretty straightforward.

Well having a root it's straightforward. It's finding the root that is the only problem, that's where guesswork comes in.
Title: Re:Factoring
Post by: Eibro on March 03, 2004, 03:37 PM
There's a bit of guess work, yeah. We learned to find possible rational roots by taking factors of the constant, and dividing them by factors of the leading coefficient. Ex.
f(x) = 2x^3 + 3x^2 + 2x + 10;

c = +- 1, 2, 5, 10
l = +- 1, 2

Possible rational roots are therefore: +- 1, 1/2, 2, 5, 5/2, 10. Just keep plugging them into the eq. until you come out with 0. It's quick if you have a graphing calculator you can program the function into. Though it does get ugly when you get constants/coefficients with a lot of factors.
Title: Re:Factoring
Post by: CrAzY on April 12, 2004, 08:03 AM
St0rm, you should of just down x=(-b+-root(-b+4ac))/2a

I've proved the formula ;-)
Title: Re:Factoring
Post by: Banana fanna fo fanna on April 25, 2004, 06:56 PM
Yes, but that doesn't work in reverse :)
Title: Re:Factoring
Post by: AntiVirus on May 05, 2004, 08:35 PM
St0rm you in Alg I ?  And If you need help with alg I just aim me at ThePsychoJoker18, math is very easy for me.  But I am only in alg II, cause I am in 10th grade.  So if you need help just halla  ;)