Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Lists and Matrices / Matrix Operations /

Further Examples: RowReduce

A non-singular matrix can be row-reduced to the identity matrix.

In[1]:=

Out[1]//MatrixForm=

For non-zero singular matrices, the last row reduces to zero and the last column cannot be zeroed (if not zero from the start).

In[2]:=

Out[2]//MatrixForm=

This performs row reduction modulo on mm.

In[3]:=

Out[3]//MatrixForm=

You can use RowReduce to solve a system of linear equations. The matrix nn corresponds to the linear system {x + y - z == 1, x + 2y + 5z == 1, 2x + y + 3z == -2}.

In[4]:=

The solution of the system is x = , y = , and z = .

In[5]:=

Out[5]//MatrixForm=

This checks the answer.

In[6]:=

Out[6]=

In[7]:=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: