Skip to main content

2018 AMC 12B Problem 17

Problem 17 of 25IntermediateAlgebra

Let pp and qq be positive integers such that 59<pq<47 \dfrac{5}{9}\lt\dfrac{p}{q}\lt\dfrac{4}{7} and qq is as small as possible. What is qp?q-p?

Answer choices

Show solution

Solution

From 59<pq\tfrac59\lt\tfrac pq we get 9p5q1,9p-5q\ge1, and from pq<47\tfrac pq\lt\tfrac47 we get 4q7p1.4q-7p\ge1. Now 163=4759=4q7p7q+9p5q9q17q+19q=1663q. \begin{gathered} \dfrac{1}{63}=\dfrac47-\dfrac59 \\ =\dfrac{4q-7p}{7q}+\dfrac{9p-5q}{9q} \\ \ge\dfrac{1}{7q}+\dfrac{1}{9q} \\ =\dfrac{16}{63q}. \end{gathered} Hence q16.q\ge16. With q=16,q=16, the fraction 916\tfrac{9}{16} lies strictly between 59\tfrac59 and 47,\tfrac47, so p=9p=9 and qp=169=7.q-p=16-9=7. Thus, the correct answer is A.

More practice

Concepts: fraction · inequality · bounding to limit cases

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.