# In the equation x+y=5, the value for x is a whole number greater than 2 but less than 6. How do you determine the possible solutions for y?

Apr 8, 2017

y ∈ {0,1,2}

#### Explanation:

If $2 < x < 6$ , it means that x ∈ {3,4,5}.

For x = 3
$3 + y = 5 \implies y = 2$
For x = 4
$4 + y = 5 \implies y = 1$
For x = 5
$5 + y = 5 \implies y = 0$

Therefore y ∈ {0,1,2}