If x+1x=3, then find the value of x2+1x2.
x+1x=3
Squaring both sides,
(x+1x)2=(3)2⇒ x2+1x2+2=9⇒ x2+1x2=9−2=7∴ x2+1x2=7