If x+y=4 and xy=2, find the value of x2+y2.
x+y=4Squaring on both sides,(x+y)2=(4)2⇒ x2+y2+2xy=16⇒ x2+y2+2×2=16 (∵ xy=2)⇒ x2+y2+4=16⇒ x2+y2=16−4=12∴ x2+y2=12
If x2+xy+x=12 and y2+xy+y=18 then find the value of x-y is
If x+y=12 and xy=32, find the value of x2+y2.