Maths WorkshopMaths problems with full solutions
Exercise 955Algebra › Equations and radicalsL1Added 3 Nov 2026

A symmetric system

#symmetric system#substitution#Vieta

Statement

Solve in R2\mathbb{R}^2 the system
{x+y+xy=5x2+y2+xy=7\begin{cases}x+y+xy=5\\ x^2+y^2+xy=7\end{cases}

Hint

Set S=x+yS=x+y and P=xyP=xy. Rewrite both equations in terms of SS and PP.

Show solutionHide solution

Solution

Rewrite. x2+y2=S2−2Px^2+y^2=S^2-2P, so the second equation becomes S2−P=7S^2-P=7. The first is S+P=5S+P=5.

Solve. From the first, P=5−SP=5-S. Substituting: S2−(5−S)=7S^2-(5-S)=7, i.e. S2+S−12=0S^2+S-12=0. Roots: S=3S=3 or S=−4S=-4.

Case S=3S=3: P=2P=2. Then x,yx,y are roots of t2−3t+2=0t^2-3t+2=0: t=1,2t=1,2. Solutions (1,2)(1,2) and (2,1)(2,1).

Case S=−4S=-4: P=9P=9. Then t2+4t+9=0t^2+4t+9=0, discriminant 16−36<016-36<0, no real solutions.

Conclusion. (x,y)∈{(1,2),(2,1)}(x,y)\in\{(1,2),(2,1)\}.