6.11. Over-determined Systems and Vector ProjectionsΒΆ
The over-determined matrix equation of the form has more equations than unknown variables (). A common situation where an over-determined system occurs is in the results of an experiment. The experiment may be repeated many times as a control variable is adjusted. Thus a researcher may have many more equations relating the inputs to the outputs than unknown variables.
It is required that to find a solution. A unique solution exist when all row equations are consistent, which we formally describe as when is in the column space (span) of . But otherwise, we can only approximate the solution.
We can test if is in the column space of by comparing the rank of the augmented matrix of both and to the rank of , . If the rank of the augmented matrix and are the same, then is in the column space of .
When is not in the column space of , the only solution available is an approximation. In the following example, we use the rank test and see that is in the column space of . Then after a change to the matrix, we see from the rank test that is no longer in the column space of
>> A
A =
5 3
6 -3
-2 -1
6 2
>> b
b =
7
15
-3
10
% Rank test:
% b is in column space
>> rank([A b])
ans =
2
>> rank(A)
ans =
2
% Change A
>> A(4,:) = [5 1];
A =
5 3
6 -3
-2 -1
5 1
% Rank test:
% b is not in column space
>> rank([A b])
ans =
3
>> rank(A)
ans =
2
We find the approximation solution by projection, which is our next topic.