How to factor fourth order polynomials?

  • Thread starter Thread starter kougou
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around the factoring of fourth-order polynomials, specifically the polynomial X^4 + X^5 + 4. Participants are exploring methods for factoring polynomials of various degrees, including cubic, quartic, and quintic expressions.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss attempts to factor the polynomial and question the correctness of identified factors. There is inquiry into systematic methods for factoring higher-order polynomials, with references to numerical methods and the role of roots in the factoring process.

Discussion Status

The discussion is ongoing, with participants providing insights into potential methods for factoring and expressing uncertainty about the original poster's factorization. Some participants suggest that guessing and long-division may be more practical approaches, while others mention the complexity of finding roots for higher-order polynomials.

Contextual Notes

There are indications of potential typos in the original factorization attempt, and participants are considering the implications of complex roots in the context of polynomial factoring. The discussion also touches on the use of computational tools for finding roots and factoring polynomials.

kougou
Messages
80
Reaction score
0
[how to factor!] X^ 4

Homework Statement


hello guys

we are doing partial fraction, and I have trouble factoring.


Homework Equations



for instance, this one: X^4 +X^5 +4

how do I factor this polynomials?

The Attempt at a Solution



After several attempts, I figure out its factors are (x^2 +1) (x^2 +4)
is there a systematic ways to factor x^3 or x^4 or even x^5?

than you
 
Physics news on Phys.org


kougou said:

Homework Statement


hello guys

we are doing partial fraction, and I have trouble factoring.


Homework Equations



for instance, this one: X^4 +X^5 +4

how do I factor this polynomials?

The Attempt at a Solution



After several attempts, I figure out its factors are (x^2 +1) (x^2 +4)
is there a systematic ways to factor x^3 or x^4 or even x^5?

than you
Well, (x2 + 1)(x2+4) = x4 +5x2 + 4.

So you must have a typo or two or three somewhere !
 


SammyS said:
Well, (x2 + 1)(x2+4) = x4 +5x2 + 4.

So you must have a typo or two or three somewhere !


Than you for your reply

Is there a systematic ways of doing these factoring?
 


kougou said:

Homework Statement


hello guys

we are doing partial fraction, and I have trouble factoring.
X^4 +X^5 +4

how do I factor this polynomials?
"factorize" is, perhaps, a more common term for this, or "expand".

This one?

is there a systematic ways to factor x^3 or x^4 or even x^5?
... you mean for 4th and 5th order polynomials?
Factorizing amounts to finding the roots of the polynomials - for an arbitrary polynomial this is non-trivial ... for instance, there is a numerical method involving eigenvalues... Order 5 is called a quintic and order 4 is a quartic. The links discuss how to solve them in gerneral.

You can see that it is actually going to be easier just to guess and use long-division.

Note: a polynomial of degree n has form:[tex]P_n=a_0x^0+a_1x^1+a_2x^2+ \cdots + a_{n-1}x^{n-1}+a_nx^n[/tex]... and it can be factorized into form:[tex](x-p_1)(x-p_2)\cdots (x-p_{n-1})(x-p_n)[/tex]... where pn is the nth root of the polynomial. Bear in mind that some or all of these roots may be zero.

For example: [itex]x^3-x = x(x^2-1)=(x+0)(x+1)(x-1)[/itex]

Over time you gain experience working these out.

Your example looks to have only one (real) root (between -1.5 and -1.75).

It is very useful to guide your guesses by graphing the polynomial. For hard ones like this, you can get a close estimate and use the Newton-Raphson method to refine it.
eg. N-R gives: p = -1.60411409672500
Code:
ans = -1.50000000000000
octave:341> ans-((ans^4+ans^5+4)/(4*ans^3 + 5*ans^4))
ans = -1.62433862433862
octave:342> ans-((ans^4+ans^5+4)/(4*ans^3 + 5*ans^4))
ans = -1.60473066865962
octave:343> ans-((ans^4+ans^5+4)/(4*ans^3 + 5*ans^4))
ans = -1.60411468800661
octave:344> ans-((ans^4+ans^5+4)/(4*ans^3 + 5*ans^4))
ans = -1.60411409672554
octave:345> ans-((ans^4+ans^5+4)/(4*ans^3 + 5*ans^4))
ans = -1.60411409672500
octave:346> ans-((ans^4+ans^5+4)/(4*ans^3 + 5*ans^4))
ans = -1.60411409672500
octave:347> ans-((ans^4+ans^5+4)/(4*ans^3 + 5*ans^4))
ans = -1.60411409672500

Analytically, I suppose you could try long division in general - assume p is a root of f(x), then use long division to compute f(x)/(x-p) ... which will give you a quartic in p whose roots are also roots of the quintic. Then repeat for f(p)/(x-q) to get a cubic in q, and again for f(r)/(x-r) to get a quadratic which you can solve. This will give you 2 roots for f(r) (which may be complex) which you can use to get the roots of f(q) which you can use to get the remaining root of f(p) and so get p.

I've never done it - anyone see a problem with this?

Anyway - this is the sort of thing we give to a computer:
Code:
octave:403> p=[1 1 0 0 0 4]
p =

   1   1   0   0   0   4

octave:404> polyout(p,'x')
1*x^5 + 1*x^4 + 0*x^3 + 0*x^2 + 0*x^1 + 4
octave:405> roots(p)
ans =

  -1.604114096724996 + 0.000000000000000i
  -0.607996790143070 + 1.190333776161391i
  -0.607996790143070 - 1.190333776161391i
   0.910053838505568 + 0.753362200265109i
   0.910053838505568 - 0.753362200265109i
... you have two pairs of complex roots, the factorization will have the form of the product of two quadratics and a line.

The function does this by computing the companion matrix for the polynomial then finding it's eigenvalues.
May be a bit ahead of you perhaps?
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 18 ·
Replies
18
Views
6K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
9
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K