If $x^2 + y^2 - xy = 19$ and $\frac{x}{y} + \frac{y}{x} = \frac{29}{10}$, find $(x - y)^2$.
Answer and solution
Correct answer: 9
Solution
1. $\frac{x}{y} + \frac{y}{x} = \frac{x^2 + y^2}{xy} = \frac{29}{10}$, so $x^2 + y^2 = 2.9\,xy$.
2. Substitute: $2.9\,xy - xy = 19$, so $1.9\,xy = 19$ and $xy = 10$.
3. $x^2 + y^2 = 29$, so $(x-y)^2 = 29 - 2 \times 10 = 9$.
Quick check: $(x, y) = (5, 2)$: $25 + 4 - 10 = 19$ and $\frac{5}{2} + \frac{2}{5} = 2.9$; $(5-2)^2 = 9$.
Answer: 9
2. Substitute: $2.9\,xy - xy = 19$, so $1.9\,xy = 19$ and $xy = 10$.
3. $x^2 + y^2 = 29$, so $(x-y)^2 = 29 - 2 \times 10 = 9$.
Quick check: $(x, y) = (5, 2)$: $25 + 4 - 10 = 19$ and $\frac{5}{2} + \frac{2}{5} = 2.9$; $(5-2)^2 = 9$.
Answer: 9