Diophantine equations puzzle problem

  • Thread starter Thread starter PsychonautQQ
  • Start date Start date
  • Tags Tags
    Puzzle
Click For Summary

Homework Help Overview

The problem involves distributing 100 bushels of grain among 100 people, with specific amounts allocated to men, women, and children. The context relates to Diophantine equations and integer solutions.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the potential use of Diophantine equations and explore various methods for solving the problem, including substitution and conversion of variables. Some question the feasibility of finding a systematic approach given the number of variables.

Discussion Status

The discussion is active, with participants offering different perspectives on how to approach the problem. Some suggest converting variables or using relationships between them, while others express skepticism about the effectiveness of those methods. There is recognition of multiple potential solutions and the complexity of the relationships involved.

Contextual Notes

Participants note the challenge of having more variables than equations and the implications of integer constraints on the solution. There is also mention of possible real-world complexities affecting the relationships between men, women, and children.

PsychonautQQ
Messages
781
Reaction score
10

Homework Statement


One hundred bushels of grain are to be distrubuted amongst 100 people. Each man gets 3 bushels, each woman gets 2 bushels, and each child gets 1/2 bushels. How many men, women and children are there?

Homework Equations


GCD, euclidean algorithm, Diophantine equation

The Attempt at a Solution


I'm a bit thrown off, is their an algorithm way to find the answer here? I'm assuming I'm supposed to use the diophantine equation at some point since it's a question from that chapter, but I'm having difficulty finding out how to do it with 3 variables.

I tried solving for men in the persons equation and then substituting that value into the bushel equation, therefore having only 2 variables so I could use the diophanine equation, but I'm starting to think I'm going to need to do this in a guess and check sort of way? I don't mind doing this, it just seems inefficient. If there is an algorithmic way to find the answer I'd like to know it. Anyone care to shed some light?
 
Physics news on Phys.org
Can't you do it by converting the man and woman into children and solving for children units based on the bushels they receive?
 
  • Like
Likes   Reactions: PsychonautQQ
Since I have more variables than equations, I don't think that would work. Am I missing something obvious here?
 
Yes the relationship between men women and children gives you two more equations right?
 
  • Like
Likes   Reactions: PsychonautQQ
jedishrfu said:
Yes the relationship between men women and children gives you two more equations right?
Technically yes, but I don't believe the new equations would provide any new information, since they would be linearly dependent on the original's. Right?
 
There are multiple solutions
denote a solution as
(men,women,children)
start with
(20,0,80)
trade bunches of men for women and children (while satisfying both conditions) until you run out of men
that is
(20,0,80)|->(20-a,0+b,80-c)
with
a=b-c
3a=2b-c/2
with a,b,c positive integers and a as small as possible
 
  • Like
Likes   Reactions: PsychonautQQ
jedishrfu said:
Yes the relationship between men women and children gives you two more equations right?

There might not be any relationship between the numbers of men, women and children. Some men/women may be unmarried; some may be single parents; different families may have different numbers of children, etc.

Basically, if the variables are M, W and C (= numbers of men, women and children) the two equations allow one to solve for M and W as functions of C (for example). One can easily get an upper bound on C from the requirements M,W ≥ 0, and the requirements that all variables be integer-valued further reduces the possibilities. A search over the possible values of C is not too hard, although would be tedious if done by hand.
 
Okay, that's what I was planning on doing. I just wanted to make sure I wasn't seeing some bigger picture that would allow me to compute it more systematically.
 
The system is we easily see that the possible number of women is 0,5,10,15,20,25,30
and if we know the women we know the men and children as well.
 
  • Like
Likes   Reactions: PsychonautQQ
  • #10
lurflurf said:
The system is we easily see that the possible number of women is 0,5,10,15,20,25,30
and if we know the women we know the men and children as well.

Alternatively, we can solve for the numbers of men and women as functions of the number of children, and from the solution formulas can see that the number of children must be an even number between 68 and 80, inclusive.
 
  • Like
Likes   Reactions: PsychonautQQ
  • #11
three equivalent forms
men between 2 and 20,inclusive by 3's
women between 0 and 30,inclusive by 5's
children between 68 and 80,inclusive by 2's
 
  • Like
Likes   Reactions: PsychonautQQ
  • #12
Ray Vickson said:
There might not be any relationship between the numbers of men, women and children. Some men/women may be unmarried; some may be single parents; different families may have different numbers of children, etc.

Basically, if the variables are M, W and C (= numbers of men, women and children) the two equations allow one to solve for M and W as functions of C (for example).

I think you misunderstood my post. In post #2, I told the OP basically what you just said above without giving away too much of the answer.
 
  • Like
Likes   Reactions: PsychonautQQ

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K