Is there a positive integer solution to 1234x-4321y=1?

In summary: So yes, there are positive solutions.In summary, a positive integer solution to the equation 1234x-4321y=1 exists, with the smallest solution being x=-1082 and y=-309. This solution can be modified by adding any multiple of 4321 to x and 1234 to y to create other positive solutions. Therefore, there are multiple positive solutions to this equation.
  • #1
scottstapp
40
0

Homework Statement



Find a positive integer solution to 1234x-4321y=1, both x and y will be positive.

Homework Equations





The Attempt at a Solution



I created this array

4321 1234 619 615 4 3 1
3 1 1 153 1
1082 309 155 154 1 1 0

When plugging these (positive) values in I never get 1 I only get -1 when using x=1082 and y=309. Does this mean that no positive solution exists?

Thanks
 
Physics news on Phys.org
  • #2
You may just have an arithmetic error. I get x= 1182, not 1082.
 
  • #3
Can you explain to me how you got 1182? Is my entire bottom row incorrect?
 
  • #4
Oh, how embarassing! Your 1082 is completely correct. Apparently I made a silly arithmetic error myself.

You are correct, then, that 1082(1234)- 309(4321)= -1.

Multiplying through by -1 gives (-1082)(1234)- (-309)(4321)= 1.

But x= -1082 and y= -309 is not the only solution. If we were to add any multiple of 4321 to x and add the same multiple of 1234 to y, so that we have x+ 4321k and y- 1234k, then 1234(x+ 4321k)- 4321(y+ 1234k)= 1234x- 4321y+ ((1234)(4321)k- (4321)(1234)k)= 1234x- 4321y.

So just find k such that -1082+ 4321k and -309+ 1234k are positive. There are plenty of such solutions. Can you find the smallest?
 
  • #5
In this problem can I actually just multiply through by -1 though? I am supposed to have a positive x and a positive y. So doesn't that mean that there does not exist any positive x and y such that 1234x-4321y=1? I know this seems to be a very elementary question but by the terms of this problem I am not sure if that is a "legal" move.
 
  • #6
Multiplying by -1 gives negative solutions but my point was that you can then add any multiple of 4321 to the x value and 1234 to the y value and make the solutions positive.
 

Related to Is there a positive integer solution to 1234x-4321y=1?

1. What is the Euclidean Array problem?

The Euclidean Array problem is a mathematical problem that involves finding the shortest path between two points on a grid, where the path can only move horizontally or vertically. It is commonly used in computer science and engineering to optimize processes and solve complex problems.

2. How is the Euclidean Array problem solved?

The Euclidean Array problem is typically solved using algorithms such as the A* algorithm or Dijkstra's algorithm. These algorithms use a heuristic approach to find the shortest path between two points on a grid.

3. What are the applications of the Euclidean Array problem?

The Euclidean Array problem has a wide range of applications in various fields, including robotics, logistics, transportation, and computer graphics. It is used to optimize routes for delivery trucks, plan paths for robots, and create realistic graphics for video games.

4. What are some challenges of the Euclidean Array problem?

One of the main challenges of the Euclidean Array problem is dealing with complex and large grids, which can lead to longer computation times. Additionally, the problem becomes more challenging when obstacles are added to the grid, as the algorithm must find a path around these obstacles.

5. How can the Euclidean Array problem be applied in real-life situations?

The Euclidean Array problem has many real-life applications, such as optimizing transportation routes for delivery services, planning evacuation routes for emergency situations, and creating more efficient paths for robots in warehouses. It can also be used in urban planning to optimize traffic flow and reduce congestion.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
22
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
526
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Calculus and Beyond Homework Help
Replies
22
Views
2K
  • Calculus and Beyond Homework Help
Replies
25
Views
451
  • Calculus and Beyond Homework Help
Replies
11
Views
990
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
Back
Top