how to set this up

allegansveritatem

Full Member
Joined
Jan 10, 2018
Messages
962
Here is the problem:
matrixprob.PNG

This is to be solved by employing a system of equations in a matrix form. Here is the best I could do for equations:

matrix sol.PNG

This won't do, I know. How to proceed?
 
A = 0.9A + 0.05C

B = 0.1A + 0.8B

C = 0.2B + 0.95C

A + B + C = 35k
 
A = 0.9A + 0.05C

B = 0.1A + 0.8B

C = 0.2B + 0.95C

A + B + C = 35k
Thanks for reply. What puzzles me here is how to set up a matrix with these components. This problem comes from the exercises after the section of the text that introduces the use of matrices. All the members of the matrices so far have been monomials. Well, I will copy the expressions here down and see what I can figure out later today.
 
one thing I forgot to add: As yet I have not dealt with matrices with variables in the last far right column.
 
Thanks for reply. What puzzles me here is how to set up a matrix with these components. This problem comes from the exercises after the section of the text that introduces the use of matrices. All the members of the matrices so far have been monomials. Well, I will copy the expressions here down and see what I can figure out later today.
one thing I forgot to add: As yet I have not dealt with matrices with variables in the last far right column.

Rewrite each equation in standard form (variables on the left, constants on the right). You have presumably learned how to put that into matrix form. (And the elements of the matrix will be numbers, not monomials.)
 
Rewrite each equation in standard form (variables on the left, constants on the right). You have presumably learned how to put that into matrix form. (And the elements of the matrix will be numbers, not monomials.)
Here is what I did today before I read the above post from Dr Peterson:
matrix sol2.PNG
I don't know if the results are correct but I doubt the means I obtained them are exactly what the author of the exercise had in mind.
I will try what you suggest. I think in the above image you may find something like that was attempted.
 
[MATH] \begin{bmatrix} 1 & 1 & 1\\ 0.1 &-0.2 & 0\\ 0 & 0.2 & -0.05 \end{bmatrix} \cdot \begin{bmatrix} A\\ B\\ C \end{bmatrix}=\begin{bmatrix} 35\\ 0\\ 0 \end{bmatrix} [/MATH]
A = 10k, B = 5k , C = 20k
 
[MATH] \begin{bmatrix} 1 & 1 & 1\\ 0.1 &-0.2 & 0\\ 0 & 0.2 & -0.05 \end{bmatrix} \cdot \begin{bmatrix} A\\ B\\ C \end{bmatrix}=\begin{bmatrix} 35\\ 0\\ 0 \end{bmatrix} [/MATH]
A = 10k, B = 5k , C = 20k
I will have to work through this to make sure I understand it. Thanks.
 
Rewrite each equation in standard form (variables on the left, constants on the right). You have presumably learned how to put that into matrix form. (And the elements of the matrix will be numbers, not monomials.)
I tried to put these into standard form so that I would have the variables on one side and the following is the best I could do:
matrix 10-19.PNG
But how to use these in a matrix?
 
Here is the best I can do with this and I know it is not what is being asked for but I tried to understand what Skeeter was doing with his matrix (see #10 above) and couldn't find quite where he was coming from:
matrix 10-19 2.PNG
 
I tried to put these into standard form so that I would have the variables on one side and the following is the best I could do:
View attachment 22438
But how to use these in a matrix?

I see nothing there that is what I meant by "standard form (variables on the left, constants on the right)".

One example is "x + y + z = 35000".

Another is "0.1A - 0.05C = 0". To get the matrix more directly from the equation, you could write it as "0.1A + 0B - 0.05C = 0".

Perhaps you need to show us what you have learned about how to turn a system of equations into a matrix. I thought this would be the first thing they would teach you.
 
I see nothing there that is what I meant by "standard form (variables on the left, constants on the right)".

One example is "x + y + z = 35000".

Another is "0.1A - 0.05C = 0". To get the matrix more directly from the equation, you could write it as "0.1A + 0B - 0.05C = 0".

Perhaps you need to show us what you have learned about how to turn a system of equations into a matrix. I thought this would be the first thing they would teach you.
Well, now that I look at it...I see what you are getting at. I don't know exactly what I was thinking...I looked at the system of equations that Skeeter suggested and, instead of replacing the A and C with 10000 and 20000 and thus seeing that they were obviously true, I somehow assumed that they had to be impossible. I knew that what I did was not what was asked for but...OK. I will go back now and do it right. Thanks for pointing it out. Sometimes in doing an exercise I get stuck in a loop of error and just don't see the elephant in the room.
 
so I went at it again today long and strong. I made numerous attempts, full of small errors and some big ones and finally hit on what seemed like the right combination of equations, namely these:matrix 10-20.PNG
and working with these I completed the exercise and came up with...the wrong answers! But I don't seem to be able to find anything wrong with my calculations. Can anyone point out my mistake?:
matrix 10-20 2.PNG
[MATH] \begin{bmatrix} 1 & 1 & 1\\ 0.1 &-0.2 & 0\\ 0 & 0.2 & -0.05 \end{bmatrix} \cdot \begin{bmatrix} A\\ B\\ C \end{bmatrix}=\begin{bmatrix} 35\\ 0\\ 0 \end{bmatrix} [/MATH]
A = 10k, B = 5k , C = 20k
Isn't there a mistake in the third row of this? Shouldn't it be -.1 .2 0 0?
 
no mistake ...
the last row represents the equation [math]C = 0.2B + 0.95C \implies 0A + 0.2B - 0.05C = 0[/math]
View attachment 22480
when I said "3rd row", I meant 2nd row--mainly because I have been using a matrrx with 4 rows so the equation I was referring to was my 3rd and your 2nd, sorry. And I think that it should be -.1 +.2+0 because it is derived from B= .1A +.8B. No? How could it be otherwise? I mean: B-.8B=.2B and combine that with with -.1A and you get -.1A+.2B=0. Am I wrong here?
 
A = 0.9A + 0.05C didn't use this equation

[math]B = 0.1A + 0.8B \implies 0.1A - 0.2B + 0C = 0[/math] ... row 2

[math]C = 0.2B + 0.95C \implies 0A + 0.2B - 0.05C = 0[/math] ... row 3

[math]A + B + C = 35k[/math] ... row 1


[MATH] \begin{bmatrix} 1 & 1 & 1\\ 0.1 &-0.2 & 0\\ 0 & 0.2 & -0.05 \end{bmatrix} \cdot \begin{bmatrix} A\\ B\\ C \end{bmatrix}=\begin{bmatrix} 35\\ 0\\ 0 \end{bmatrix} [/MATH]
A = 10k, B = 5k , C = 20k





 
I see it. Good. The funny thing is that It occurred to me after I had posted my last entry that it wouldn't matter anyway. Both forms are the same thing,, no? Anyway, I worked this exercise out finally today and got the right answer. I realized that my problem last time was using 20 instead of 20000 when I came after B (y). Here is the final working out (I have an OCD-like urge to get the right answer to every exercise):
matrix 10-21.PNG
 
Top