Legacy Documentation

Mathematica® Teacher's Edition (2002)

This is documentation for an obsolete product.
Current products and services
 Documentation /  Mathematica Teacher's Edition /  Built-in Functions /  Lists and Matrices /  Matrix Operations /

LinearSolve

FilledSmallSquare LinearSolve[m, b] finds an x which solves the matrix equation m.x==b.

FilledSmallSquare LinearSolve works on both numerical and symbolic matrices.
FilledSmallSquare The argument b can be either a vector or a matrix.
FilledSmallSquare The matrix m can be square or rectangular.
FilledSmallSquare For underdetermined systems, LinearSolve will return one of the possible solutions; Solve will return a general solution.
FilledSmallSquare For sparse systems of linear equations, it will usually be much more efficient to use Solve than LinearSolve.
FilledSmallSquare LinearSolve[m, b, Modulus -> n] takes the matrix equation to be modulo n.
FilledSmallSquare See The Mathematica Book on the web: Section 3.7.8.
FilledSmallSquare Implementation Notes: see Sections A.9.4 and A.9.4.
FilledSmallSquare See also: Inverse, Solve, NullSpace.