How many solutions to this linear diaphontine equation ?

Algebra Level 2

How many pairs of values of ( x,y) satisfy the equation 3x + y <= 6 , given that x and y are positive integers.


The answer is 3.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Mahdi Raza
Jul 18, 2020
  • The least values of ( x , y ) (x,y) should be ( 1 , 1 ) (1,1) . So we can let x = p + 1 x = p+1 and y = q + 1 y = q+1 . So now we can reframe p , q p,q be non-negative and the problem to:

3 ( p + 1 ) + ( q + 1 ) 6 3 p + q 2 3(p+1)+ (q+1) \leq 6 \quad \implies \quad 3p+q \leq 2

  • Now it is obvious to see that p p has to be 0, hence we are left to check non-negative integers q q for

q 2 q { 0 , 1 , 2 } q \leq 2 \quad \implies \quad q \in \{0, 1, 2\}

  • Hence we get three total cases. In terms of ( p , q ) (p,q) they are ( 0 , 0 ) , ( 0 , 1 ) , ( 0 , 2 ) (0,0), (0,1), (0,2) . They can be transformed to in terms of ( x , y ) (x,y) by adding 1 to each od the entries. ( 1 , 1 ) , ( 1 , 2 ) , ( 1 , 3 ) 3 (1,1), (1,2), (1,3) \quad \implies \quad \boxed{3}

Note: Using this method is a good practice to solve linear Diophantine equations

Mahdi Raza - 10 months, 4 weeks ago

We both posted a solution at the same time!

Vinayak Srivastava - 10 months, 4 weeks ago

y 3 ( 2 x ) y\leq 3(2-x) , since both x x and y y are positive integers, therefore the only permitted value of x x is 1 1 , and the only possible pairs are determined by y 3 y\leq 3 , the pairs are ( x , y ) = ( 1 , 1 ) , ( 1 , 2 ) , ( 1 , 3 ) (x, y) =(1,1),(1,2),(1,3) . So, there are 3 \boxed 3 pairs.

x , y > 0 , 3 x + y 6 x,y>0, 3x+y\leq 6 x y 1 1 , 2 , 3 , 4 ( 3 x + y 6 ) 2 0 ( > 0 ) \begin{array}{l|c}x&y\\\hline\\1&1,2,3,{\cancel{\color{#D61F06}{4}}(3x+y\leq 6)}\\{\cancel{\color{#D61F06}{2}}}&{\cancel{\color{#D61F06}{0}}(>0)}\end{array} Total pairs of ( x , y ) = 3 \text{Total pairs of }(x,y) =\boxed{3}

Srinivasa Gopal
Jul 18, 2020

Equations of these types are known as Diaphontine's eqution. Diaphontine's equation wiki link Since x and y are linear these are called as linear diaphontine's equation. The possible values of (x,y) which satisfy the equation 3x+ y <= 6 given that x and y are integers, are (1,1) (1,2) and (1,3). So there are 3 solutions to this linear diaphontine's equation.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...