+91 9600 121 800

Plans

Dashboard

Daily & Speed

Quant

Verbal

DILR

Compete

Free Stuff

calendarBack
Quant

/

Algebra

/

Linear Equations

Linear Equations

MODULES

Basics of Equations
Graph, Dependent & Inconsistent Equations
Solving Equations
Age, Digits & Fraction Based Questions
Wrong Calculation and Exam Based Questions
Integer Solutions
2 Equations & 3 Variables
Items Measured in Groups of 2 or more
Transposed & Multiple Variables
Past Questions

CONCEPTS & CHEATSHEET

Concept Revision Video

SPEED CONCEPTS

Linear Equations 1
-/10
Linear Equations 2
-/10

PRACTICE

Linear Equations : Level 1
Linear Equations : Level 2
Linear Equations : Level 3
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 xxx and yyy are positive integers, how many solutions exist for xy+2x=24xy + 2x = 24xy+2x=24?

Solution

xy+2x=24xy + 2x = 24xy+2x=24
⇒
xy=24−2x xy = 24 - 2xxy=24−2x
⇒
y=24x−2 y = \dfrac{24}{x} - 2y=x24​−2

To get integral solutions,
xxx should perfectly divide 242424. Therefore, xxx is a factor of 242424.

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

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

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

Answer:
666 solutions


Example 13

How many pairs of positive integers (m,n)(m, n)(m,n) satisfy 1m+4n=112\dfrac{1}{m} + \dfrac{4}{n} = \dfrac{1}{12}m1​+n4​=121​ where nnn is an odd integer less than 606060?

(111) 666            (222) 444            (333) 777            (444) 555            (555) 333           

Solution

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

1m+4n=112\dfrac{1}{m} + \dfrac{4}{n} = \dfrac{1}{12}m1​+n4​=121​ ⇒ 1m=112−4n\dfrac{1}{m} = \dfrac{1}{12} - \dfrac{4}{n}m1​=121​−n4​ ⇒ 1m=n−4812n\dfrac{1}{m} = \dfrac{n - 48}{12n}m1​=12nn−48​ ⇒ m=12nn−48m = \dfrac{12n}{n - 48}m=n−4812n​

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

12n12n12n is divisible by (n−48)(n - 48)(n−48) only for 3\bm{3}3 values of nnn, i.e., 49,5149, 5149,51 and 575757.

Answer: (
555) 333


Type 2: When the equation is of the form
ax+by=cax + by = cax+by=c, where aaa, bbb and ccc are constants, and xxx and yyy 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
aaa and bbb are co-prime.
2) Find the smallest integral value of
xxx where yyy is also an integer. (Apply the Chinese Remainder concept)
3) The next solution will be where
xxx is increased by bbb (the coefficient of yyy) and yyy is decreased by aaa and so on.
4) Continue to do this till the values are within the range (in this case positive).

Example 14

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

Solution

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

⇒
y=97−3x5 y = \dfrac{97 - 3x}{5}y=597−3x​

x=4x = 4x=4 is the smallest xxx-value where (97−3x)(97 - 3x)(97−3x) is divisible by 555
At
x=4x = 4x=4, y=17y = 17y=17.

As the sum is constant in the equation, an increase in
xxx will result in a decrease in yyy. And, xxx-values will increase by the coefficient of yyy, i.e. 555 and yyy-values will decrease by the coefficient of xxx, i.e. 333.

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

This process continues till
yyy remains positive. Using this movement of xxx and yyy values, we get the following 6\bm{6}6 solutions for
(x,y)(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)(4,17);(9,14);(14,11);(19,8);(24,5);(29,2)

Answer:
666


Want to read the full content

Unlock this content & enjoy all the features of the platform

Subscribe Now arrow-right
videovideo-lock