Poly function of degree n with no roots

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
Dafe
Messages
144
Reaction score
0

Homework Statement



(a) If n is even find a polynomial function of degree n with n roots.
(b) If n is odd find one with only one root.

Homework Equations


N/A


The Attempt at a Solution



If by no roots, they mean no real roots then I guess:
[tex]f(x) = x^n+1[/tex] would work for both even and odd n's.
The roots would be i and -i if n is even, and -1, and two complex roots if it's odd..

Suggestions are very welcome :)
 
Physics news on Phys.org
Yes, that looks to me to be a perfectly good answer. However, "The roots would be i and -i if n is even, and -1, and two complex roots if it's odd" is true only for n= 2 and 3. For general n, if n is even, then all n roots are non-real, i and -i being two of the. If n is odd, -1 is a root and the other n-1 roots are non-real.
 
Ah, I should have stated that, thank you.
You are usually the one that answers all questions I post around here. It's incredible that you do that for free..You should set up a paypal account :)
Thanks again.