LinearSolve
[matrix, right]matrix . x = right
LinearSolve[{{1, 1, 0}, {1, 0, 1}, {0, 1, 1}}, {1, 2, 3}]
Test the solution:
{{1, 1, 0}, {1, 0, 1}, {0, 1, 1}} . {0, 1, 2}
If there are several solutions, one arbitrary solution is returned:
LinearSolve[{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}, {1, 1, 1}]
Infeasible systems are reported:
LinearSolve[{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}, {1, -2, 3}]