Solution to linear system of equations Notation. Let y , a , and b be n &#x0

Llubanipo

Llubanipo

Answered question

2022-06-06

Solution to linear system of equations
Notation. Let y, a, and b be n × 1, p × 1, and q × 1 real vectors. Let also X and Z be n × p and n × q real matrices.
Suppose that there is no solution, a, to y = X a.
Question. What are the conditions on Z such that y = X a + Z b has no solution for each choice of b?
Context. I came across this problem in the context of linear regression. The fact that y = X a has no solution can be interpreted as "no hyperplane can perfectly fit the data". I am analysing an extension of this problem which has lead me to the need of finding something similar for " y = X a + Z b has no solution".

Answer & Explanation

Lamont Adkins

Lamont Adkins

Beginner2022-06-07Added 11 answers

You are essentially asking, when does y = [ X   Z ] b have no solution b? Or in other words, when is y not in the direct sum of the column spaces of X and Z?
An obvious necessary, but not sufficient, condition on Z is that y = Z u has no solution u. I don't think there's a nice complete set of conditions on Z; in practice you can row-reduce [ X   Z ] and see if y = [ X   Z ] b is a consistent linear system, or equivalently, solve the least-squares problem
[ X T X X T Z Z T X Z T Z ] b = [ X T Z T ] y
for b and see if the residual is zero.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?