I was reading how to make use MATLAB to solve a linear equations.
In this chapter, we deal with several numerical schemes for solving a system of equations
a11x1 + a12x2 + ·· ·+a1NxN = b1
a21x1 + a22x2 + ·· ·+a2NxN = b2
. . . . . . . . . = .
aM1x1 + aM2x2 + ·· ·+aMNxN = bM
which can be written in a compact form by using a matrix–vector notation as
A X = b
mxn
where:
a11 a12 · · a1N
AM×N = a21 a22 · · a2N
· · · · ·
M1 aM2 · · aMN
x1
x= x2
·
xN
b1
b = b2
·
bM
In which we have 3 cases : M=N;M<N;M>N
I was not able to understand the below block:
The Nonsingular Case (M = N)
x = A^−1 b
so long as the matrix A is not singular
>>A = [1 2;2 4]; b = [-1;-1];
>>x = A^-1*b
Warning: Matrix is singular to working precision.
x = -Inf
-Inf
This is the case where some or all of the rows of the coefficient matrix A are
dependent on other rows and so the rank of A is deficient, which implies that
there are some equations equivalent to or inconsistent with other equations. If
we remove the dependent rows until all the (remaining) rows are independent of
each other so that A has full rank (equal to M), it leads to the case of M <N,
which will be dealt with in the next section.
What does 'rank of A is deficient' means and implies thereon?