A question about the solution of linear equation

  • Context: Undergrad 
  • Thread starter Thread starter whodsow
  • Start date Start date
  • Tags Tags
    Linear Linear equation
Click For Summary
SUMMARY

The discussion centers on the integer solutions of the linear equation ax + by = (a-1)(b-1) under the condition that gcd(a, b) = 1. It is established that solutions exist for this equation when q = 1, as demonstrated by the example 3x + 7y = 12, which yields the solution (x, y) = (4, 0). Conversely, the equation ax + by = (a-1)(b-1) - 1 does not have non-negative integer solutions, as shown with 3x + 7y = 11. The participant confirms their conjecture through verification with various values of a and b, although they seek further proof.

PREREQUISITES
  • Understanding of linear Diophantine equations
  • Knowledge of the greatest common divisor (gcd) and its properties
  • Familiarity with modular arithmetic
  • Basic concepts from number theory, particularly related to integer solutions
NEXT STEPS
  • Study the properties of linear Diophantine equations in detail
  • Explore the implications of the gcd condition on integer solutions
  • Learn about modular arithmetic and its applications in number theory
  • Investigate theorems related to integer solutions of linear equations, such as those in Hardy & Wright
USEFUL FOR

Mathematicians, students of number theory, and anyone interested in solving linear equations with integer constraints.

whodsow
Messages
12
Reaction score
0
I found a rule that the equation ax + by = (a-1)(b-1), for gcd(a, b)=1, has a solution in integers x and y with x ≥ 0 and y≥0, but the equation ax + by = (a-1)(b-1) - 1 don't.
For example, the equation 3x + 7y = 12 has such soluntion (x, y) = (4, 0), but 3x + 7y = 11 has no such solutions that x and y are integers with x ≥ 0 and y≥0.
I have verified more a and b, which show my conjecture is correct, but I cann't prove that.
please help me, thanks.
 
Physics news on Phys.org
You wish to prove that a solution x,y with non-negative x,y, for the equation ax+by = n = ab-a-b+q exists when q=1, and does not exist when q=0. Note that, since gcd(a,b)=1, an integer solution (with x,y possibly negative) always exists (Hardy & Wright, chapter 2, theorem 25).

If x,y is an integer solution, then y = (n-ax)/b = (ab-a-b+q-ax)/b,
so that a(x+1)=q (mod b). You might try to play with values of x that yield y >= 0.

Also, if x,y is a solution, then x+bs, y-as are all solutions, for all integers 's'. So you can pick a pair of 'representative' solutions, one with x in the range 0..b-1, and other with y in the range 0..a-1, and see how this affects the proposal in the previous paragraph.
 
Last edited:
well, thank your hint, I have proved that.
 

Similar threads

  • · Replies 23 ·
Replies
23
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 23 ·
Replies
23
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K