Solve a system of 4 equations: w+x+y+z=1 2w+x-y-z=4 w-x-2y+2z=2 3w+2x+y+z=7 The answer is supposed to be 7. How do I get there?
Oops. not 7
just 7?...interesting
haha
w is supposed to equal 7
canceling out variables.
I need to find w z y & z
i mean: w x y and z
7 -8 4.25 -2.25
Whoa. how did you get to the answers that quickly?
use excel and Minverse, (array result requires you hold command when press enter), then MMult with the solution vector. Your TI-83 can also do matrices. Don't bother with elimination, it takes too long, there's better things to do.
I need the steps. I'm working on a project.
do you know how to build a matrix from a set of equations?
@Tonks No I don't.
hello?
Ok, take the co-efficient of each term, if there isn't one, then it is 1: 2w+x-y-z=4 becomes 2, 1, -1, -1 in a coefficient matrix and the 4 goes in your solution vector (a matrix that is only one column wide is called a vector) w+x+y+z=1 2w+x-y-z=4 w-x-2y+2z=2 3w+2x+y+z=7 becomes: 1, 1, 1, 1 2, 1, -1, -1 1, -1, -2, 2 3, 2, 1, 1 for your coefficient matrix your solution vector is: 1 4 2 7
So far so good?
Exact solutions from Mathematica:\[\left\{w = 7,x = -8,y = \frac{17}{4},z = -\frac{9}{4}\right\} \]
That might be a little complicated for the level I am on. I was thinking more in the direction of adding them together to eliminate variables.
oof, the problem with using elimination is that there are so many opportunities for errors, while there are only opportunities for entry errors with the matrix method.
That's what my teacher wants us to do...
The following is a matrix solution using Mathematica. LinearSolve finds an x which solves the matrix equation m.x==b. \[\text{LinearSolve}\left[\left( \begin{array}{cccc} 1 & 1 & 1 & 1 \\ 2 & 1 & -1 & -1 \\ 1 & -1 & -2 & 2 \\ 3 & 2 & 1 & 1 \\ \end{array} \right),\left( \begin{array}{c} 1 \\ 4 \\ 2 \\ 7 \\ \end{array} \right)\right]\to \left\{7,-8,\frac{17}{4},-\frac{9}{4}\right\} \]
Well I have to go. Thanks for your help!
Join our real-time social learning platform and learn together with your friends!