# Diophantine Equations (Algebra 2)

posted by .

A box contains two sizes of bolts. The small size weighs 33 grams. The large size weighs 103 grams. The total weight of the bolts is 6526 grams. How many of each size are there? Can you write and solve it with Diophantine Equations.

• Diophantine Equations (Algebra 2) -

number of smaller size : x
number of larger size : y

33x + 103y = 6526

There are several ways to solve these for positive integer solutions.
I use a method involving "continued fractions" , which I will not even attempt to show here.
With my method , I found that
x = 101 and y = 31 gives a solution

Here is a page which is very similar to what I do
http://www.wikihow.com/Solve-a-Linear-Diophantine-Equation

Professor Burris from the University of Waterloo (my old school) has written hundreds of little algorithms to solve these kind of problems.
here is one of them for our problem
http://www.math.uwaterloo.ca/~snburris/htdocs/linear.html
enter :
33 for a, 103 for b, and 6526 for c
This will give us an initial solution of
x = 163150 and y = -52208
Of course this is no good, since both our values must be positive, but ....
the slope of our linear equation is -33/103
which means that for every increase of 33 in -52208 we have to decrease 163150 by 103
so I increased and decreased by a factor of 1583

x = 163150 - 1583(103) = 101
y = -52208 + 1583(33) = 31

btw, I got the 1583 by using the lower integer value of 163150/103

• Diophantine Equations (Algebra 2) -

By successive reductions:

1--33x + 103y = 6526
2--Dividing by the lowest coefficient
---x + 3y + 4y/33 = 197 + 25/33
---(4y - 25)/33 = 197 - x - 3y
3--(4y - 25)/33 must be an integer.
4--Multiplying (3) by 25 and redividing
---(100y - 625)/33 =
---3y + y/33 -18 - 31/33
5--(y - 31)/33 must be an integer k ---making y = 33x + 31
6--Substituting back into (1) yields
---x = 101 - 103k
7--By inspection, the only possible ---value of k is zero making
---x = x = 101 and y = 31
8--Checking: 33(101) + 103(31) =
---3333 + 3193 = 6526

The Euclidian Algorithm is another approach to problems of this sort.

## Similar Questions

1. ### egg weight

Anyone know the weight of an egg. I need it to do some calculations for my science project. IT depends on the size of the egg. Eggs vary from 35 grams (small egg) to 75 grams (AA large).
2. ### bio stats

After a winter ice storm, 25 parrots are found sheltering in a tool shed. Ana traps the parrots, weighs them (average weight = 36 grams) and then feeds them. The next morning she find that 6 of the parrots have died. She weighs the …
3. ### Statistics

The USDA size standards for eggs are based on weight and are as follows: SMALL: greater than 43 grams, less than 50 grams MEDIUM: greater than 50 grams, less than 57 grams LARGE: greater than 57 grams, less than 64 grams EXTRA LARGE: …
4. ### MATH

4. 8 bolts and 6 nuts weigh 138 grams. 3 bolts and 5 nuts weigh 71 grams. Work out the weight of the following:- (a) 4 bolts and 3 nuts (b) 11 bolts and 11 nuts (c) 3 bolts and 3 nuts (d) 1 bolt
5. ### Math

Maggie's surprise gift weighs between 8.48 grams and 11.25 grams. Which of these weights could be the weight of the gift?
6. ### Math

A box of tacks weighs 120 grams when full, when half full it weighs 70 grams. How many grams does the box weigh when empty?
7. ### Math

A box of tacks weighs 120 grams when full, when half full it weighs 70 grams. How many grams does the box weigh when empty?
8. ### Math

A package of 12 hex bolts and 10 anchor bolts weighs 7 pounds. A second package of 5 hex bolts and 15 anchor bolts weighs 4 pounds. A single hex bolt weighs ___________pounds, rounded to one decimal place.
9. ### math

Small marbles weigh 3.6 grams each and large marbles weigh 4.6 grams each. A bag contains 40 marbles and weighs 156 grams. How many marbles of each size are in the bag ?
10. ### Math

A mechanic bought bolts in three sizes the smallest bolts cost 15 cents each the next larger sized bolts cost 20 cents each and the largest sized bolts cost 30 cents each the mechanic spent as little money as possible but spent the …

More Similar Questions