Solve the system of equations:x+3y−z+13x−10y+2z−72x+2y+2z−6=0=0=0
MathBot Answer:
The system of equations has one solution.x=1y=0z=2
Solve by substitution:
Solve x+3y−z+1=0 for x. x=−3y+z−1
Substitute −3y+z−1 for x in each of the remaining equations and simplify. 3x−10y+2z−73(−3y+z−1)−10y+2z−719y−5z=0=0=−102x+2y+2z−62(−3y+z−1)+2y+2z−6y−z=0=0=−2
Solve 19y−5z=−10 for y. y=195z−1910
Substitute 195z−1910 for y in y−z=−2 and simplify. y−z(195z−1910)−zz=−2=−2=2
Use substitution of the numerical value of z to get the values of x and y. yyy=195z−1910=−1910+5⋅2⋅191=0xxx=−3y+z−1=(−1)1−0+2=1
Solve by Gauss-Jordan Elimination:
Begin by writing the augmented matrix of the system of equations. 1323−102−122−176
Then use a series of elementary row operations to convert the matrix into reduced-row echelon form. The three elementary row operations are:
1. Swap the positions of any two rows.
2. Multiply any row by a nonzero scalar.
3. Multiply a row by a nonzero scalar and add it to any other row.
First, switch the rows in the matrix such that the row with the leftmost non-zero entry with the greatest magnitude is at the top.
312−10322−127−16
Multiply row 1 by scalar 31 to make the leading term 1.
112−3103232−1237−16
Multiply row 1 by scalar −1 and add it to row 2.
102−310319232−35237−3106
Multiply row 1 by scalar −2 and add it to row 3.
100−31031932632−353237−31034
Switch the rows in the matrix such that the row with the next leftmost non-zero entry with the next greatest magnitude is the next row from the top.
100−3103263193232−353734−310
Multiply row 2 by scalar 263 to make the leading term 1.
100−310131932131−3537132−310
Multiply row 2 by scalar 310 and add it to row 1.
100013191312131−351337132−310
Multiply row 2 by scalar −319 and add it to row 3.
1000101312131−13281337132−1356
Multiply row 3 by scalar −2813 to make the leading term 1.
1000101312131113371322
Multiply row 3 by scalar −1312 and add it to row 1.
1000100131111322
Multiply row 3 by scalar −131 and add it to row 2.
100010001102
Once the matrix is in reduced-row echelon form, convert the matrix back into linear equations to find the solution. 1⋅x+0⋅y+0⋅z=1x=10⋅x+1⋅y+0⋅z=0y=00⋅x+0⋅y+1⋅z=2z=2
Solve by matrix inversion:
In cases where the coefficient matrix of the system of equations is invertible, we can use the inverse to solve the system. Use this method with care as matrix inversion can be numerically unstable for ill-conditioned matrices.
Express the linear equations in the form A×X=B where A is the coefficient matrix, X is the matrix of unknowns, and B is the constant matrix.1323−102−122×xyz=−176
The product of A and its inverse A−1 is the identity matrix. Any matrix multiplied by the identity matrix remains unchanged, so this yields the matrix of unknowns on the left hand side of the equation, and the solution matrix on the right. A×XA−1×A×XI×XX=B=A−1×B=A−1×B=A−1×B
Using a computer algebra system, calculate A−1. 73281−281371−141−1411415655619
Multiply both sides of the equation by the inverse. 73281−281371−141−1411415655619×1323−102−122×xyz=73281−281371−141−1411415655619×−176xyz=102