Step 1: find the equation of the line satisfying the 2 points
Slope = m = (1,000 - 1) / (100 - 1) = 999/99 = 111/11
Y = (111/11) X + B
Plugging in the coordinates (1 , 1) which fall on the line we find that the
The Y intercept = B = (-)(100/11)
Equation of given line is:
Y = (111/11)X - (100/11)
—multiply both sides by 11 and you have the Linear Indeterminate Equation of:
11Y + 100 = 111X
We are asked for the Integer Coordinate Pairs of (X , Y) that fall in between the 2 given points (1 , 1) and (100 , 1,000)
Step 2: we know that when X = 1 and Y = 1 the equation of: 11y + 100 = 111x : will be satisfied
Concept: because the variables appear on each side of the equation, the Corresponding Integer Pairs that Satisfy the Equation will follow this pattern
When you have a linear indeterminate equation such as:
(1)
a(X) + b(Y) = c
Where a and b and c = constant number values and X and Y = unknown Integer Values
(1st) find the first integer X, Y pair that satisfies the equation. Then each consecutive integer pair that satisfies the equation can be found by:
X + b (add the coefficient in front of the Y unknown variable)
And
Y - (a) (subtract the coefficient in front of the X unknown variable)
(2)
for a linear indeterminate equation of the form:
a(X) + c = b(Y)
find each consecutive pair of Integer (X , Y) values that satisfy the equation by:
X + b (add the coefficient in front of the Y variable)
And
Y + a (add the coefficient in front of the X variable)
For:
11y + 100 = 111x
First integer pair is (1 , 1)
X = 1 ———> each consecutive X Integer Value that satisfies the equation will increase by the Coefficient in front of the Y variable —-> (+11)
Y = 1 ———-> each consecutive corresponding Y Integer value that satisfies the equation will increase by the Coefficient in front of the X variable (+111)
Thus, the next pair of Integer coordinate values that will satisfy the equation:
Start: (X = 1) and (Y = 1)
(X= 12) and (Y = 112)
Then: add (+11) to the X value again —-and —- and add (+111) to the Y value again
(X = 23) and (Y = 123)
....
This will continue until
(X = 100) and (Y = 1,000)
We can use the X integer values to determine how many Pairs of (X, Y) integer values satisfy the equation:
We need to count the integer values in between [1 thru 100], NON- inclusive, when the Increment or spacing between each consecutive value is (+11)
Non-inclusive Count = [ (100 - 1) / 11 ] - 1
= (99/11) - 1
= 9 - 1
8
Posted from my mobile device