If a and b are roots of the equations x2−x+1=0, then write the value of a2+b2
The given equation is
x2−x+1=0 ...(i)
a and b are the roots of (i)
∴ a + b =-1 ...(ii)
and ab = 1 Now a2+b2=(a+b)2−2ab=(−1)2−2.1=1−2=−1
If a, b are the roots of the equation x2+x+1=0, then a2+b2=
If a and b are the roots of the equation, x2 – 6x + 1 = 0, then the value of a2 + b2 is __