Lesson Relatively prime numbers help to solve problems

Algebra ->  Divisibility and Prime Numbers -> Lesson Relatively prime numbers help to solve problems      Log On


   


This Lesson (Relatively prime numbers help to solve problems) was created by by ikleyn(52921) About Me : View Source, Show
About ikleyn:

Relatively prime numbers help to solve problems


Problem 1

A group of boys and girls sit a test.  Exactly  2/3  of the boys and  3/4  of the girls pass the test.
If an equal number of boys and girls passed the test,  what fraction of the entire group passed the test?

Solution

Let  b = the number of boys and  g = the number of girls in the class.

Then we have  %282%2F3%29%2Ab = %283%2F4%29%2Ag,  according to the condition.

Let us write it using the common denominator: %288%2F12%29%2Ab = %289%2F12%29%2Ag, or, which is the same, %288b%29%2F12 = %289g%29%2F12. 

It implies that 8b = 9g.     (1)

Next, since the numbers 8 and 9 are relatively primes, (1) implies that b is multiple of 9 and g is multiple of 8:

b = 9*n, g = 8*m             (2)

with integer n and m. 

Then you can re-write (1) in the form

8*9n = 9*8m,   or   72n = 72m.

It implies that n = m and, hence, 

b = 9n, g = 8n               (3)

with some integer n.

Now, the number of those students who passed the test is 


%282%2F3%29%2Ab+%2B+%283%2F4%29%2Ag = %288b%29%2F12+%2B+%289g%29%2F12 = %288%2A9n%29%2F12+%2B+%289%2A8n%29%2F12 = %2872n%29%2F12+%2B+%2872%2An%29%2F12 = %28144%2F12%29%2An = 12n.  (5)

The total number of students in the class is 

b + g = 9n + 8n = 17n.                                                          (6)

Now it is easy to calculate the ratio of those who passed the test to the total number of students in the class. It is (5) divided by (6):

%2812n%29%2F%2817n%29 = 12%2F17.

Answer.  The ratio of those who passed the test to the total number of students in the class is 12%2F17.

Problem 2

The numerator of a fraction is increased by  8  and the denominator is decreased by  1,  the resulting fraction
is the reciprocal of the original fraction.  What is the original fraction?

Solution

The basic equation is

%28n%2B8%29%2F%28d-1%29 = d%2Fn.

It implies after cross multiplying

n^2 + 8n = d^2 -d  ====>

n^2 - d^2 = -8n - d  ====>

(n+d)*(n-d) = -8n - d  ====>

(n+d)*(d-n) = 8n + d  ====>

(n+d)*(d-n) = (8n - 8d) + (8d + d)  ====>

(n+d)*(d-n) = -8*(d-n) + 9d  ====>  divide both sides by (d-n)  ====>

n + d = -8 + %289d%29%2F%28d-n%29.   (1)


     By the way (as an aside notice) it follows from the last formula that d > n.


Now, from the very beginning we can assume that our ratio/fraction is  just REDUCED, so n and d have no common factors 
and are relatively prime numbers.

Then "d" and "d-n" in (1) are relatively prime TOO.

Then, since  %289d%29%2F%28d-n%29  in (1) is an integer number,  it implies that (d-n) divides 9.


So, the only possible cases are

    a) d-n = 1;
    b) d-n = 3;
    c) d-n = 9.


Case a) d-n = 1 implies (through (1)) that  n+d = -8 + 9d. Then you have this system of two eqns 
                d-n = 1  and  n+d = -8+9d. It has the only solution n=0, d=1, 
                but this solution DOESN't work for global problem.


case b) d-n = 3 implies (through (1) )  n+d = -8 + %289%2Ad%29%2F3 = -8+3d. Then you have this system of two eqns  
                d-n = 3 and n+d = -8+3d.  It has the only solution n=2, d=5. 

                Then the fraction is  n%2Fd = 2%2F5, and you can easily check that it works for the global problem.


Case c) d-n = 9 implies (through (1) ) n+d = -8 + %289%2Ad%29%2F9 = -8+d.  Then you have this system of two eqns 
                d-n = 9  and  n+d = -8+d.
                but this solution DOESN't work for global problem.

Thus the only solution for global problem is  n = 2,  d = 5  with the fraction  2/5  =  2%2F5.



My other lessons in this site on miscellaneous problems on divisibility of integer numbers are
    - Light flashes on a Christmas tree and a Least Common Multiple
    - The number that leaves a remainder 1 when divided by 2, by 3, by 4, by 5 and so on until 9
    - The number which gives remainder 4 when divided by 7, remainder 5 when divided by 8 and remainder 6 when divided by 9
    - Introductory problems on divisibility of integer numbers
    - Finding Greatest Common Divisor of integer numbers
    - Solving equations in integer numbers
    - Quadratic polynomial with odd integer coefficients can not have a rational root
    - Proving an equation has no integer solutions
    - Composite number of the form (4n+3) must have a prime divisor of the form (4n+3)
    - Problems on divisors of a given number
    - How many three-digit numbers are multiples of both 5 and 7?
    - How many 3-digit numbers are not divisible by 2; not divisible by 3; not divisible by either 2 or 3
    - How many integer numbers in the range 1-300 are divisible by at least one of the integers 4, 6 and 15 ?
    - Find the remainder of division
    - Why 3^n + 7^n - 2 is divisible by 8 for all positive integer n ?
    - What is the last digit of the number a^n ?
    - Find the last three digits of these numbers
    - Find the last two digits of the number 3^123 + 7^123 + 9^123
    - Find the last two digits of (1! + 2! + 3! + ... + 2024!)^2024
    - Find n-th term of a sequence
    - Solving Diophantine equations
    - How many integers of the form n^2 + 18n + 13 are perfect squares
    - Miscellaneous problems on divisibility numbers
    - Find the sum of digits of integer numbers
    - Two-digit numbers with digit "9"
    - Find a triangle with integer side lengths and integer area
    - Math circle level problem on the hundred-handed monster Briareus
    - Math Circle level problem on lockers and divisors of integer numbers
    - Nice entertainment problems related to divisibility property
    - Solving problems on modular arithmetic
    - Using the little Fermat's theorem to solve a problem on modular arithmetic
    - OVERVIEW of miscellaneous solved problems on divisibility of integer numbers


This lesson has been accessed 2577 times.