Maths WorkshopMaths problems with full solutions
Exercise 1678Algebra › Equations and radicalsOlympiadAdded 3 Nov 2026

A system with an inequality

#system#inequality#integers

Statement

Find all integers (x,y)(x,y) satisfying
{x+y=5x2+y2≤13\begin{cases}x+y=5\\ x^2+y^2\le13\end{cases}

Hint

List possibilities for (x,y)(x,y) with x+y=5x+y=5, then check.

Show solutionHide solution

Solution

From x+y=5x+y=5: y=5−xy=5-x. Then
x2+(5−x)2≤13  ⟺  2x2−10x+25≤13  ⟺  2x2−10x+12≤0  ⟺  x2−5x+6≤0.x^2+(5-x)^2\le13\iff2x^2-10x+25\le13\iff2x^2-10x+12\le0\iff x^2-5x+6\le0.
This is (x−2)(x−3)≤0(x-2)(x-3)\le0, so x∈[2,3]x\in[2,3]. Integer x∈{2,3}x\in\{2,3\}.

Solutions. (2,3)(2,3) and (3,2)(3,2).

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