To start, click the "enter a matrix" button on the right. Then type in matrix operations in the textbox below. Read the help pages by clicking on the link in the upper right corner to read all the operations that can be performed.
Entered Matrices:
Enter a matrix name and matrix:
= |
|
This page provides basic operations on matrices including addition, subtraction, mutiplication and powers. Determinants are also available.
In order to start, enter a matrix by clicking on the button "Enter a matrix" on the right side of the page. Type in a name for the matrix in the first box, and the matrix in the second (larger) box. Type each element of the matrix separated by spaces and each row of the matrix should be on a separate line. For example, the matrix: \[ \left[\begin{array}{rrr} 1 & 2 & 3 \\ 4 & 5 & 6 \\7 & 8 & 9 \end{array} \right] \]
Should be entered like:
1 2 3 4 5 6 7 8 9
Once entered, the matrix will appear in the right column. These are the matrices available for use.
A column vector should be entered as a single entry per line. For example, the column vector \[ \left[\begin{array}{r} 1\\ 2 \\3 \end{array} \right]\]
Should be entered like:
1 2 3
Matrices may contain fractional entries. To include a fraction enter it with the "/". For example 1/2 should be entered as "1/2".
The operations of addition, subtraction and multiplication are performed with two matrices and use the symbols: +, -, * respectively. For example, suppose that two matrices called "A" and "B" have been entered. Then "A*B" will return the product.
Scalar multiplication of numbers is also defined. Entering 2*A returns a matrix in which each element of A is mutiplied by two.
Note:Although it is common to leave out the multiplication sign * when writing matrix operations, like AB, you must explicitly put in the multiplication sign.
The determinant can be found using the function det. If A is a square matrix, then det(A) will return its determinant. Note: the matrix must be square or an error will be generated.
The inverse can be found using the function inv. If A is a square matrix, then inv(A) will return its inverse, if it exists. If not, an error will be shown. An error will also be generated if the matrix is not square.
Gauss-Jordon Elimination or row reduction take a matrix and returns a matrix in reduced row echelon form. A matrix is in row echelon form if the leading element in each row (the leading element in a row is the left-most non-zero element) has zeros both below it and to its right. A reduce row echelon form also requires that a leading element is a 1 and it is the only non zero element in its column.
To perform row reduction on a matrix A, type rowreduce(A).
A number of error can occur while using this page. All errors will give a pop up window indicating what is wrong. Here is a list of most possible errors: