Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get the augmented matrix of the system of linear equations
ResourceFunction["AugmentedMatrix"][eqns,vars] returns the augmented matrix of the system of equations eqns in the variables vars. |
Find the augmented matrix of a symbolic linear system:
| In[1]:= |
| Out[1]= |
Matrix equations are allowed:
| In[2]:= |
| Out[2]= |
When given a list of expressions, AugmentedMatrix assumes that the right-hand sides are 0:
| In[3]:= |
| Out[3]= |
A mixture of expressions and equations is allowed:
| In[4]:= |
| Out[4]= |
Find all 2×2 matrices whose eigenvectors are (1,2) and (2,-3) :
| In[5]:= | ![]() |
| Out[6]= | ![]() |
Solve the system:
| In[7]:= |
| Out[7]= | ![]() |
The resulting matrix is:
| In[8]:= |
| Out[8]= |
Check that the result satisfies the appropriate eigensystem equation:
| In[9]:= |
| Out[9]= |
Another check that the eigenvectors are as stated (up to scale):
| In[10]:= |
| Out[10]= |
This work is licensed under a Creative Commons Attribution 4.0 International License