calendarBack
Quant

/

Algebra

/

Linear Equations
ALL MODULES

CAT 2025 Lesson : Linear Equations - Integer Solutions

bookmarked

4.6 Integer solutions

These questions have one linear equation with 2 variables. We need to find the possible number of integral solutions that satisfy. These questions are not standard linear equations questions.

Type 1: In these we can represent one variable in terms of another such that the other variable is in the denominator and a constant in the numerator, and then find the values that satisfy. There will be a finite set of integral solutions in these questions.

Example 12

Where xx and yy are positive integers, how many solutions exist for xy+2x=24xy + 2x = 24?

Solution

xy+2x=24xy + 2x = 24
xy=242x xy = 24 - 2x
y=24x2 y = \dfrac{24}{x} - 2

To get integral solutions,
xx should perfectly divide 2424. Therefore, xx is a factor of 2424.

Number of positive factors of
2424 or 23×3=(3+1)×(1+1)=82^{3} \times 3 = (3 + 1) \times (1 + 1) = 8

However, the first
22 factors, i.e. x=1x = 1 and x=2x = 2 will result in a negative value of yy.

\therefore Number of positive integral solutions =82=6= 8 - 2 = \bm{6}

Answer:
66 solutions


Example 13

How many pairs of positive integers (m,n)(m, n) satisfy 1m+4n=112\dfrac{1}{m} + \dfrac{4}{n} = \dfrac{1}{12} where nn is an odd integer less than 6060?

(11) 66            (22) 44            (33) 77            (44) 55            (55) 33           

Solution

As
n\bm{n} should be an odd positive integer less than 60\bm{60}, we shall express m\bm{m} in terms of n\bm{n} and substitute.

1m+4n=112\dfrac{1}{m} + \dfrac{4}{n} = \dfrac{1}{12}1m=1124n\dfrac{1}{m} = \dfrac{1}{12} - \dfrac{4}{n}1m=n4812n\dfrac{1}{m} = \dfrac{n - 48}{12n}m=12nn48m = \dfrac{12n}{n - 48}

For
m\bm{m} to be positive, n\bm{n} can take values of 49,51,53,55,5749, 51, 53, 55, 57 and 5959.

12n12n is divisible by (n48)(n - 48) only for 3\bm{3} values of nn, i.e., 49,5149, 51 and 5757.

Answer: (
55) 33


Type 2: When the equation is of the form
ax+by=cax + by = c, where aa, bb and cc are constants, and xx and yy are given to be integers, then when one variable is written in terms of the other, the other variable is in the numerator. Therefore, there are infinite set of integral solutions here.

In these questions, we should
1) Simplify the equation to a form where the coefficients
aa and bb are co-prime.
2) Find the smallest integral value of
xx where yy is also an integer. (Apply the Chinese Remainder concept)
3) The next solution will be where
xx is increased by bb (the coefficient of yy) and yy is decreased by aa and so on.
4) Continue to do this till the values are within the range (in this case positive).

Example 14

Where xx and yy are positive integers, how many solutions exist for 9x+15y=2919x + 15y = 291?

Solution

We can begin by simplifying the equation as it is divisible by 33.
9x+15y=2919x + 15y = 291
3x+5y=97 3x + 5y = 97

y=973x5 y = \dfrac{97 - 3x}{5}

x=4x = 4 is the smallest xx-value where (973x)(97 - 3x) is divisible by 55
At
x=4x = 4, y=17y = 17.

As the sum is constant in the equation, an increase in
xx will result in a decrease in yy. And, xx-values will increase by the coefficient of yy, i.e. 55 and yy-values will decrease by the coefficient of xx, i.e. 33.

Next solution ⇒
x=4+5=9,y=173=14 x = 4 + 5 = 9, y = 17 - 3 = 14
Next solution ⇒
x=9+5=14,y=143=11 x = 9 + 5 = 14, y = 14 - 3 = 11

This process continues till
yy remains positive. Using this movement of xx and yy values, we get the following 6\bm{6} solutions for
(x,y)(x, y)(4,17);(9,14);(14,11);(19,8);(24,5);(29,2)(4, 17); (9, 14); (14, 11); (19, 8); (24, 5); (29, 2)

Answer:
66


Want to read the full content

Unlock this content & enjoy all the features of the platform

Subscribe Now arrow-right
videovideo-lock