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

LinearSolve

Usage
Notes
Further Examples

This is the solution of the linear system m.s Equal v.

In[1]:=  

In[2]:=  

In[3]:=  

Out[3]=

This checks the result.

In[4]:=  

Out[4]=

LinearSolve with one argument gives a LinearSolveFunction object that corresponds to a given matrix.

In[5]:=  

Out[5]=

You can apply the LinearSolveFunction object repeatedly to vectors to get solutions.

In[6]:=  

Out[6]=

In[7]:=  

Out[7]=

We can also solve rectangular linear systems if a solution exists.

In[8]:=  

Out[8]=

This checks the result.

In[9]:=  

Out[9]=

In this case we have an infinite number of solutions. To get all the solutions we can use Solve.

In[10]:=  

Out[10]=

The set of solutions is one-dimensional.

In[11]:=  

Out[11]=

This checks the result.

In[12]:=  

Out[12]=

In[13]:=  

Out[13]=

The solution generated by LinearSolve corresponds to c Equal 0.

In[14]:=  

Out[14]=

There are systems of linear equations for which there are no solutions.

In[15]:=  

Out[15]=

In[16]:=  

Modular systems

You can solve matrix equations over the integers modulo  .

In[17]:=  

In[18]:=  

In[19]:=  

Out[19]=

This checks the result.

In[20]:=  

Out[20]=

This clears the variables.

In[21]:=  


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



 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: