3x−y−z=0,−3x+z=0,−3x+2y+z=0
x,y,z∈Z
To find: number of points with x2+y2+z2≤100
Step 1: solve the system⇒all integer solutions (x,y,z)
Step 2: keep those with x2+y2+z2≤100
−3x+z=0⇒z=3x
3x−y−z=0⇒3x−y−3x=0
⇒y=0
−3x+2y+z=−3x+0+3x=0 ✓
(x,y,z)=(t,0,3t),t∈Z
line through the origin, direction (1,0,3)
x2+y2+z2≤100
t2+0+(3t)2=10t2≤100
t2≤10⇒∣t∣≤3
t∈{−3,−2,−1,0,1,2,3}
Number of values of t=7
(t,0,3t): t=−3,…,3⇒7 points
7