Problem:
In the xy-plane, how many lines whose x-intercept is a positive prime number and whose y-intercept is a positive integer pass through the point (4,3)?
Answer Choices:
A. 0
B. 1
C. 2
D. 3
E. 4
Solution:
Write the equation of the line in the two-intercept form:
pxβ+byβ=1, where p is prime and integer b>0
Substitute x=4 and y=3 to obtain
p4β+b3β=1 or b=pβ43pβ=3+pβ412β
There are only two primes, p=5 and p=7, which yield a positive integer b. Therefore, there are two lines with the requested properties,
5xβ+15yβ=1 and 7xβ+7yβ=1
OR
Let p and b be the x- and y-intercepts of such a line. Then p>4. Since the points (p,0),(4,3) and (0,b) are collinear, by computing the slope of the line in two different ways, we find β4bβ3β=pβ4β3β, or (pβ4)(bβ3)=12. Thus, (pβ4) must be one of 1,2,3,4,6 or 12 and p must be an odd prime. There are only two such primes, p=4+1=5 and p=4+3=7.
OR
Since both intercepts must be positive, the lines pxβ+byβ=1 with the desired properties must have negative slope. Thus, the integer b is larger than 3, so bβ₯4. Similarly, pβ₯5. Draw the line from (0,4) through (4,3) to see that pβ€16.
There are four primes between 4 and 16:p=5,7,11 and 13. From p4β+b3β=1 it follows that b=pβ43pβ, which is an integer only when p=5 or p=7. Thus there are two such lines.