X and Y are positive integers which $x^3 + 90\sqrt{xy} + y^3 = 1000$ and $x - \sqrt{xy} + y = 7$; what is the value of $(x^2 + xy + y^2)$ !
let's take the second equation :
$x - \sqrt{xy} + y = 7$
squared on both side and get :
$(x - \sqrt{xy} + y)^2 = 7^2$
$x^2 + xy + y^2 - 2x\sqrt{xy} +2xy - 2y\sqrt{xy} = 7$
$x^2 + xy + y^2 - 2\sqrt{xy}(x +\sqrt{xy} - y) = 7$
$x^2 + xy + y^2 - 2\sqrt{xy}(7)= 7$
$x^2 + xy + y^2 = 14\sqrt{xy} + 7$
Up until here, I confused what should I do to solve the problem.
I've also tried to cubed the second equation :
$x - \sqrt{xy} + y = 7$
$(x - \sqrt{xy} + y)^3 = 7^3$
$x^{3}-3x^{2}\sqrt{xy}+6x^{2}y-3y^{2}\sqrt{xy}+6xy^{2}-7xy\sqrt{xy}+y^{3} = 343$
I cannot relate my calculation with the problem. It seems that I made a wrong approach.
Can someone guide me ?
From the second identity you find that $$\sqrt{xy}=x+y-7,\tag{1}$$ which in particular shows that $x+y>7$. Plugging $(1)$ into the first equation yields $$1000=x^3+90\sqrt{xy}+y^3=x^3+90x+90y-630+y^3,$$ from which it follows that $$1630=x^3+90x+90y+y^3=(x+y)(x^2-xy+y^2+90),\tag{2}$$ where $1630=2\times5\times163$. Because $x$ and $y$ are positive we have $$x^2-xy+y^2>x^2-2xy+y^2=(x-y)^2\geq0,$$ and so the second factor in $(2)$ is greater than $90$, so it must be divisible by $163$. It follows that $x+y$ divides $10$. We already saw that $x+y>7$ and so we get $x+y=10$ and hence $x^2-xy+y^2+90=163$. Then $$x^2-xy+y^2=73\qquad\text{ and }\qquad \sqrt{xy}=x+y-7=3,$$ from which it follows that $$x^2+xy+y^2=(x^2-xy+y^2)+2\cdot\sqrt{xy}^2=73+2\cdot3^2=91.$$