1.a/b=2
(a^2-ab+b^2)/(a^2+b^2)
=(a^2/b^2-a/b+1)/(a^2/b^2+1)
=(4-2+1)/(4+1)=3/5.
2.a+1/a=5
(a^4+a^2+1)/a^2
=a^2+1/a^2+1
=a^2+2·a·(1/a)+(1/a)^2-1
=(a+1/a)^2-1
=25-1
=24.
1.a/b=2
(a^2-ab+b^2)/(a^2+b^2)
=(a^2/b^2-a/b+1)/(a^2/b^2+1)
=(4-2+1)/(4+1)=3/5.
2.a+1/a=5
(a^4+a^2+1)/a^2
=a^2+1/a^2+1
=a^2+2·a·(1/a)+(1/a)^2-1
=(a+1/a)^2-1
=25-1
=24.