Link to home
Start Free TrialLog in
Avatar of dagesi
dagesi

asked on

Factoring polynomials with five terms...

Ok, going to try this again... I'd posted a similar Q once but figured it out (maybe I'll be lucky and figure this one out after posting)... anyway...
First off, this is NOT homework, or more specifically it's homework I've assigned myself so I can learn this.

I know how to remove greatest common denominators, and I know how to factor trinomials, and I know how to group to allow factoring...

In this problem:
f(x) = 2x^4 + 14x^3 + 25x^2 - 4x - 28

I know that I can group the first two and the last two and go from here:
2x^3(x + 7) + 25x^2 - 4(x + 7)
to here:
(2x^3 - 4)(x + 7) + 25x^2

But since the stated intent of this problem is "State all possible rational zeros" and I assume that means values for x such that the end result IS zero, I'm stumped as to how to get from my last point to THAT point...
All the things I've found about "grouping" are based on grouping 2 things together.  

Understand, I'm interested in knowing HOW to do this, not the answer to this one specifically...

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dagesi
dagesi

ASKER

>ozo...
I've only glanced at that link so far but is it supposed to be easy to understand because it doesn't seem to be... (remember, I only glanced though)...

>InteractiveMind...
Is there a specific reason you picked the numbers to test you did or were you just trial and erroring...?

As I said, factoring fouth order polynomials in generalis not easy.
In some special cases, you can get lucky and find simple factors.
Newton-Raphson can find roots numerically
If you are oly looking for rational roots, for polynomials with integer coefficients, then there are a limited number of possibilities to try:
http://www.mathwords.com/r/rational_root_theorem.htm
> Is there a specific reason you picked the numbers to test you did or were you just trial and erroring

I used trial and error. The reason for this, is that usually if you are asked to solve a polynomial f(x)=0 in an exam, for example, then they usually make the factors fairly simple, such that a quick trial and error will allow you to solve it (as I did above).

Obviously, in the real world, polynomials rarely work out so easily - in which case, ozo's general solution would be the root you'd take..
Wow, I had never realised that "rational root theorem" before!
Thanks for that ozo :-)
>> Is there a specific reason you picked the numbers to test you did or were you just trial and erroring...?

It's partly guessing, partly deducing :

      f(x) = 2x^4 + 14x^3 + 25x^2 - 4x - 28

Since this is an exercise, there is most likely an easy solution, so since we can't spot a grouping at first sight, we'll start trying integer values.

Notice that positive values don't have to be checked, since there aren't enough negative terms to "counter" the positive terms. The 0 can be easily discarded too, since we have a constant term.
So, we try -1 which doesn't work. Then we try -2 ... and that one works.


It's not merely guessing, but it comes pretty close :)

As ozo said : luck often plays an important role too.
If you're looking for integer roots of
2x^4 + 14x^3 + 25x^2 - 4x - 28
the rational root theorem tells you that you only need to try factors of 28
Avatar of dagesi

ASKER

Ok, I'll take your guys word for it that what you've said is the right way (so as not to make you sit around waiting for the points while I get the chance to try to understand all of that... =]
Thanks for the help...

"guessing" is a valid technique in mathematics if it gives you the solution faster than the other techniques. It might sound a bit weird or "un-professional" at first, but in this case, it's the easiest way :)
Avatar of dagesi

ASKER

I know for simple trinomials, I can almost know it just by looking... like:
 4x^2 + 12xy + 9y^2
Not meaning it has to be that simple but the idea in general...
I just wasn't sure whether there was something I was missing... As I said, I was reading about grouping and thought, maybe in this case, the idea was to group one group of two and one group of three...
I'm guessing that could be the way to go sometimes but clearly this wasn't one of those times.  =]
Avatar of dagesi

ASKER

>ozo...
I don't suppose you could explain how that link you sent would work in this case, could you...?
I've been looking at it and it's just not making any sense whatsoever...
I mean it starts with
z^4 + a[sub3]z^3 + a[sub2]z^2 + a[sub1]z + a[sub0] = 0

then the next thing is all x's and a's with subs
and then after the next formula they're using nothing but z's with subs and exponents...

Scary because it says algebra and I thought algebra was not that advanced...
=]

>> I'm guessing that could be the way to go sometimes but clearly this wasn't one of those times.  =]

Indeed ... if you're lucky, you can easily spot a grouping. This time it wasn't that obvious ... but still doable if you can spot this grouping :

        (x^2 + 4 x + 4)(2x^2 + 6x - 7)

Which isn't entirely impossible :)
Avatar of dagesi

ASKER

>Infinity08...
I'm not sure we're talking about the same thing or not...
I meant for instance having:
qa^4 + rb^3 + sc^2 + tb + u
and being able to break it into:
(qa^4 + rb^3 + tb) + (sc^2 + u)
kind of thing... and having that actually be obvious for a breakdown...
>> and being able to break it into:
>> (qa^4 + rb^3 + tb) + (sc^2 + u)

That usually doesn't bring you a lot closer to factoring the polynomial. I say usually, because in certain cases it will help you :)

I know all of this sounds vague, but a lot of exercise can help you :)
Avatar of dagesi

ASKER

>Infinity08...
Yeah, from what you lot are saying it's a lot like just doing normal trinomials... enough practice and some of them become almost obvious at first look...
Though I love math, it SO should not involve guessing... =]
>> Though I love math, it SO should not involve guessing... =]

The problem is that the alternative to "guessing" in this case involves almost brute-force like operations (which isn't really better than guessing).

If you are lucky, you can see a pattern, and use that to solve the problem without guessing ... but usually, some level of guessing is needed.

Oh well, you get it :)
There can be general principles like the rational root theorem that can help you guess intelligently.