We have:
7(y+y1)−2(y2+y21)=9
Note that y=0 since we have y1 terms.
Let t=y+y1
Squaring both sides:
t2=y2+2+y21
So,
y2+y21=t2−2
This is a classic substitution — whenever you see y+y1 and y2+y21 together, always try this.
Substituting into the original equation:
7(t)−2(t2−2)=9
7t−2t2+4=9
2t2−7t+5=0
(2t−5)(t−1)=0
t=25ort=1
Case 1: t=25
y+y1=25
Multiplying both sides by y:
2y2−5y+2=0
(2y−1)(y−2)=0
y=21ory=2
Only y=2 is an integer.
Case 2: t=1
y+y1=1
Multiplying both sides by y:
y2−y+1=0
Discriminant =(−1)2−4(1)(1)=1−4=−3<0
No real solutions exist for this case.
Verification for y=2:
7(2+21)−2(4+41)
=7(25)−2(417)
=235−217
=218=9✓
The number of integral solutions is 1.