Undergrad The Complete Solution to the matrix equation Ax = b

  • Thread starter Thread starter rtareen
  • Start date Start date
  • Tags Tags
    Complete Matrix
Click For Summary
The discussion clarifies the complete solution to the matrix equation Ax = b, where A is an m x n matrix and b is a non-zero vector. The solution is expressed as x = xp + xn, where xp is a particular solution and xn represents any vector from the nullspace of A. The inclusion of the nullspace is justified since adding any nullspace vector to a particular solution still satisfies the equation Ax = b. It is highlighted that if two particular solutions exist, their difference lies in the nullspace of A. Ultimately, all solutions can be represented as xp plus any vector from the nullspace, confirming the completeness of the solution set.
rtareen
Messages
162
Reaction score
32
TL;DR
We are trying to find the complete solution to the matrix equation Ax = b where A in an m x n matrix and m is not equal to n.
We are trying to find the complete solution to the matrix equation ##A\vec x = \vec b## where A is an m x n matrix and ##\vec b## can be anything except the zero vector. The entire solution is said to be:
##\vec x = \vec x_p + \vec x_n##
where ##\vec x_p## is the solution for a particular ##\vec b## and ##\vec x_n## is the entire nullspace.

I don't understand this. Why is the nullspace included in the solution, when it is defined to be the solution when ##\vec b = \vec 0##? Or else what is this equation really saying?
 
Physics news on Phys.org
We have for any x:
##Ax= A(x_n+x_p)= b##
Note that ##x_n## can always be added to the solution since ##Ax_n=0## and ##Ax_p=b##
 
  • Like
Likes DaveE and rtareen
If we have two particular solutions ##\vec{x}_p## and ##\vec{x}_q## then ##A\vec{x}_p-A\vec{x}_q=\vec{b}-\vec{b}=\vec{0}##. Thus ##\vec{x}_p-\vec{x}_q \in \operatorname{null}(A)##. Now
##A\vec{x}_p =\vec{b}=A\vec{x}_q + A(\vec{x}_p-\vec{x}_q)=A\vec{x}_p+A\vec{x}_n.##

On the other hand, if we start with any ##\vec{x}_n\in \operatorname{null}(A)##, and have one particular solution ##\vec{x}_p,## then ##A(\vec{x}_p+\vec{x}_n)=\vec{b}+\vec{0}=\vec{b}.## So we may add any vector from the nullspace and get another particular solution ##\vec{x}_p+\vec{x}_n.##

This mean that all vectors in the set ##\vec{x}_p +\operatorname{null}(A)## are all possible solutions to ##A\vec{x}=\vec{b}.##
 
  • Like
Likes rtareen and Abhishek11235
These answers make sense. Thanks guys.
 

Similar threads

Replies
27
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K