If $a$ and $b$ are the roots of the equation $x^2-x+1=0$, then $a^{2009}+b^{2009}$ is
One way to solve this is to multiply the equation by $x+1$ and obtain the cubic $x^3+1=0$ and then the roots will be $-1$, $-w$, $-w^{2}$ where $w$ is the cube root of unity, so $a$ and $b$ will be equal to $-w$, and $-w^{2}$.
I wanted to solve this using a method which did not involve complex numbers but couldn't think of any, can anybody please help me.
You can't choose the roots of a polynomial . There may be no roots in the real numbers. if you look at the equation you can get $$x^2-x=-1 \implies (x-1)x=-1 \implies \text {x is negative or x-1 is negative}$$ if x is negative so is x-1 so that's out, as a negative times a negative is a positive. x-1 being negative shows that x is in the half open interval from 0 to 1, x=0 implies 0=-1 , which is false. x=1 causes both x and x-1 to be non-negative (slightly different from positive, and x=1 wouldn't be in the half open interval). if x is rational then we have that the absolute values of x and x-1 are flipped fractions ( aka $x={a\over b}, x-1 = -{b\over a}$). otherwise the solutions would have to be irrational ( which then begs the question can two irrational numbers multiplied together equal a rational). if this last ditch effort fails ( admittedly I don't know) then there would be no solutions in the reals ( the set union of the rationals and irrationals)