# Ma

posted by .

A building contractor is planning to build an apartment complex with one, two or three bedroom apartments. Let x,y,z respectively denote the number of apartments of each type to be built. Suppose that the builder will spend a total of \$8,277,000, and that the costs for the three types of apartments are \$25,000, \$35,000, and \$54,000 respectively. Then the 'cost equation' for the builder is:

?x + ?y + 54 z =?

Suppose he plans to build a total of 236 apartments, then complete the equation in x, y, and z which describes this:

x +(?)y +(?)z = 0.

Finally, find the solution to these equations: x =?, y =?, and z =?

• Math-diophantine -

If we express the cost in thousands of dollars, the costs are 25, 35 and 54 K\$.
So the budget is 8277 k\$.
The cost equation is then:
25x + 35y + 54z = 8277 .....(1)
The total number of apartments built
x+y+z = 236 ....(1)

Solve the system of equations (1) and (2) by eliminating x:
25x+35y+54z=8277 ....(1)
25x+25y+25z =5900 ....25*(2)
Subtract:
10y+29z=2377....(3)
Therefore, let z=t, then
x=236-y-t.....(1a)
y=(2377-29t)/10.....(2a)
z=t.......(3a)
where t is an integer such that x,y,z∈ℤ+.

with the only restriction that x,y,z are integers where x≥0, y≥0, and z≥0.

Equation (3) can be solved in integers y and z and 2377 with the help of the Euclid Algorithm applied to Diophantine equations to give
y=7131+29n
z=-2377-10n
Solving for n with 236≥y≥0 and 236≥z≥0, and such that 236≥x≥0, we get
8 possible answers for (x,y,z) as follows:
(4,229,3)
(23,200,13)
(42,171,23)
(61,142,33)
(80,113,43)
(99,84,53)
(118,55,63)
(137,26,73)
Check that each solution satisfies all the given conditions (cost and number of units).
For example:
25*137+35*26+54*73=8277
137+26+73=236.

If you have not done Diophantine equations before, then the answer is provided by 1a to 3a, with an appropriate choice of t to give x,y and z as integers, and satisfies x,y,z≥0.

Obvious choices for t are 10k+3 (because the last digit will end in a 7, which makes y an integer.

• Ma -

Thanks for trying. But what you just wrote does not help at all. Can someone else try?

• Math -

Sorry that it is not helping.

If no one answers in the next while, I suggest you repost your question, preferably indicating your subject, such as algebra, number theory, diophantine euqations, etc.

However, if you had read through the first six lines, you would have found the answer to the first two of the three questions. Correction:
x+y+z = 236 ....(1)
Above equation should have read equation (2), which is the answer to the second question.

The rest is at college or university level, but unfortunately I do not know if you are doing algebra or number theory. The solution (third question) is long because there are only two equations for three unknowns, and there are eight possible answers, for example x=4, y=229, z=3, etc.

Good luck!

## Similar Questions

1. ### Algebra

An office building containing 96,000 square feet of space is to be made into apartments. There will be at most 15 one-bedroom units, each with 800 square feet of space. The remaining units, each with 1200 square feet of space, will …
2. ### Probabilities

An apartment building has 140 apartments, all renting at the same price. It is know that all the apartments can be rented if the rent is \$250 per month, and that each increase in rent by \$5 will result in one additional apartment becoming …
3. ### New Age Math

A building contractor is planning to build an apartment complex with one, two or three bedroom apartments. Let x,y,z respectively denote the number of apartments of each type to be built. Suppose that the builder will spend a total …
4. ### New age Math

A building contractor is planning to build an apartment complex with one, two or three bedroom apartments. Let x,y,z respectively denote the number of apartments of each type to be built. Suppose that the builder will spend a total …
5. ### Math-Equations

A building contractor is planning to build an apartment complex with one, two or three bedroom apartments. Let x,y,z respectively denote the number of apartments of each type to be built. Suppose that the builder will spend a total …
6. ### Probability & Statistics

You want to rent an unfurnished one-bedroom apartment in Boston next year. The mean monthly rent for a random sample of 14 apartments advertised in the local newspaper is \$1200. Assume that the standard deviation is \$230. Find a 95% …
7. ### Stats

You want to rent an unfurnished one-bedroom apartment in Boston next year. The mean monthly rent for a random sample of 14 apartments advertised in the local newspaper is \$1200. Assume that the standard deviation is \$230. Find a 95% …
8. ### Math

The first- floor apartments in Jenna's building are numbered 100 to 110. How many apartments on that floor are a prime number?
9. ### MATH

1. Which is equivalent to this expression?
10. ### STATISTIC

You want to rent an unfurnished one-bedroom apartment in Dallas next year. The mean monthly rent for a random sample of 11 apartments advertised in the local newspaper is \$1050. Assume the monthly rents in Dallas follow a Normal distribution …

More Similar Questions