Find a linear system of equations from the word problem?

Your definitions for x, y, and z are correct. And your equations and matrix setup are also correct. Good job!
  • #1
gmmstr827
86
1
The problem:

"A commercial customer orders 81 gallons of paint that contains equal amounts of red paint, green paint, and blue paint - and hence, could be prepared by mixing 27 gallons of each. However, the store wishes to prepare this order by mixing three types of paint that are already available in large quantity:
- a reddish paint that is a mixture of 50% red, 25% green, and 25% blue paint;
- a greenish paint that is 12.5% red, 75% green, and 12.5% blue paint; and
- a bluish paint that is 20% red, 20% green, and 60% blue paint.
How many gallons of each are needed to prepare the customer's order?"

What I need/how to solve:
I need to form a linear system of equations that I can put into a matrix and then take the rref of that matrix to find the answer. If someone could supply me with those equations, that would be great.

What I've attempted:
I have identified the following:
Let x=gallons of red paint, y=gallons of green paint, and z=gallons of blue paint.
I believe that the first equation I need to use is x+y+z=81
However, from there, I'm at a loss.
I have tried using the percentages given and setting them each equal to 21, with and without the first equation I've identified, and using both whole percentage numbers and converting them to decimals. This gives no solution.

Questions:
Is x+y+z=81 one of the equations I need?
If I use the percentage amounts, do I use whole percentages or convert them to decimals?
What do I set them equal to?

I shall try setting them equal to 1 to see if that gets me anywhere (as if setting them equal to 1x, 1y, and 1z) while I wait for a response...
EDIT: Nope, 1 doesn't work. Neither does 0.

Thanks!
 
Physics news on Phys.org
  • #2
gmmstr827 said:
Is x+y+z=81 one of the equations I need?

No, because you don't have pure red, blue, and green paint available to you. What you do have is reddish, blueish, and greenish paint. You want to mix some number of gallons of each to result in 81 gallons of paint that have equal concentrations of red, blue, and green paint.

If you want a mixture that contains 27 gallons of red paint, how much of each paint type (reddish, blueish, greenish) do you need? Since you know the concentration of red in each type you should be able to write a single equation that results in a mixture that has 27 gallons of red. Do the same for the other colors and you'll have 3 equations in 3 unknowns.
 
  • #3
Let x = gallons of reddish paint, y = gallons of bluish paint, and z = gallons of greenish paint.
I'm not sure if that definition makes sense, but the following equations do.
.5x+.125y+.2z=27
.25x+.75y+.2z=27
.25x+.125y+.6z=27
Put those values into a matrix.
[.5,.125,.2,27;.25,.75,.2,27;.25,.125,.6,27]
rref([.5,.125,.2,27;.25,.75,.2,27;.25,.125,.6,27])
= [1,0,0,40;0,1,0,16;0,0,1,25]
Therefore, there are 40 gallons of reddish paint, 16 gallons of greenish paint, and 25 gallons of bluish paint.
40+16+25=81
Therefore, the numerical answer is correct.

Are my x, y, and z definitions correct? They make sense as defining them as reddish, bluish, and greenish?
 
Last edited:
  • #4
Yep, you got it.
 

1. What is a linear system of equations?

A linear system of equations is a set of two or more equations that contain two or more variables. These equations can be graphed as straight lines and have a unique solution where the lines intersect.

2. Why would I need to find a linear system of equations from a word problem?

Linear systems of equations are often used in real-world situations to model relationships between variables. By finding a linear system of equations from a word problem, you can solve for the values of the variables and gain a better understanding of the problem.

3. How do I identify a linear system of equations in a word problem?

A word problem that involves two or more variables and their relationship can be represented by a linear system of equations. Look for keywords such as "per", "each", or "total" which indicate that there are multiple quantities involved in the problem.

4. What steps should I follow to find a linear system of equations from a word problem?

Step 1: Identify the variables and give them labels.Step 2: Write an equation for each variable or relationship mentioned in the problem.Step 3: Simplify the equations by combining like terms.Step 4: Use substitution or elimination to solve for the values of the variables.Step 5: Check your solution by plugging in the values into the original equations.

5. Can you provide an example of finding a linear system of equations from a word problem?

Sure, here's an example: A coffee shop sells small cups of coffee for $2 each and large cups of coffee for $3 each. If they sold a total of 150 cups of coffee and made $400, find the number of small and large cups of coffee sold. Let x be the number of small cups and y be the number of large cups.Equation 1: x + y = 150 (total cups sold)Equation 2: 2x + 3y = 400 (total revenue)Simplifying the equations, we get:Equation 1: x = 150 - yEquation 2: 2(150 - y) + 3y = 400Solving for y, we get y = 100.Substituting y = 100 into Equation 1, we get x = 50.Therefore, the coffee shop sold 50 small cups and 100 large cups of coffee.

Similar threads

  • Calculus and Beyond Homework Help
Replies
7
Views
822
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
28
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
878
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
Replies
4
Views
892
Back
Top