Please check this simple Linear Algebra problem

In summary: Vectors can also be multiplied by matrices - which is what you are doing when you carry out the multiplication in question.
  • #1
maherelharake
261
0

Homework Statement


Give bases for row(A), col(A), and null(A).
A= [2,-4,0,2,1;-1,2,1,2,3;1,-2,1,4,4]


Homework Equations





The Attempt at a Solution


My answers were: bases for row(A)...[1,-2,0,1,1/2] and [0,0,1,3,7/2]
col(A)...[2;-1;1] and [0;1;1]
null(A)...[2;1;0;0;0],[-1;0;-3;1;0] and [-1/2;0;-7/2;0;1]

If anyone can check this it would be greatly appreciated. I think I know what I am doing, I just want someone to make sure. Thanks
 
Physics news on Phys.org
  • #2
Please, if anyone can find the time to help, it will be greatly appreciated.
 
  • #3
It's a good idea for you to learn how to check your own work. For all of these, go back over your row-reduction work and see if you have made an arithmetic mistake somewhere.

For row(A), you apparently found that one of the rows was a linear combination of the other two. The two vectors you have for row(A) are clearly linearly independent, so if you can show which linear combinatation of the two vectors makes up the third, then your work is correct.

For col(A), pretty much the same thing. You have determined that three of the columns are linear combinations of the other two. Can you demonstrate the three separate pairs of constants that generate the three missing columns from your two basis vectors?
 
  • #4
For row(A), Row 1 + Row 2= Row 3.
For col(A), Col 1 + 3(Col 3) = Col 4.
4(Col 1) + 0(Col 3)= Col 2
1/2(Col 1) + 7/2(Col 3)= Col 5

What exactly do I have to do besides this to prove that the answer is correct? Thanks.
 
  • #5
Check that each vector in your nullspace actually maps to the zero vector in R5.

I've checked your results and don't see anything wrong. Good work!
 
  • #6
Do you mean set up a matrix with the columns set as the null space vectors, and set them to 0? Like this...
[2, -1, -1/2,0; 1,0,0,0;0,-3,7/2,0;0,1,0,0;0,0,1,0]
Thanks again.
 
  • #7
No, that's not what I mean. Just carry out these multiplications.
A * [2;1;0;0;0]^T
A * [-1;0;-3;1;0]^T
A * [-1/2;0;-7/2;0;1]^T

Each product should be [0 0 0 0 0]^T.
 
  • #8
Sorry, I am a bit confused. If you transpose those vectors, like you said above, then it wouldn't be possible to carry out that multiplication. 'A' will have 5 columns, and after you tranpose thos vectors, the next matri will have 1 row and 5 columns. Am I overlooking something simple? Thanks
 
  • #9
A is 3 x 5 (i.e., 3 rows and 5 columns). Each of the vectors I showed is 5 x 1. Each product will be 3 x 1, that is, a vector in R3.
What I said before about this matrix mapping to R5 was incorrect. This matrix maps vectors in R5 to vectors in R3. Is that clear?
 
  • #10
But when you put A * [2;1;0;0;0]^T, doesn't that mean you are transposing A?

And do you care to explain that last sentence a little bit more? Thanks
 
  • #11
No, only the vector is transposed. If I wanted the transpose of A, I would write AT.

Think of A as a kind of function. (Actually, it is what is called a linear transformation.) The inputs to this function are vectors in five-dimension space -- R5. The outputs from this function are vectors in three-dimension space -- R3. The matrix A establishes a relationship between the input space and the output space. That's what is meant by a "mapping."

You probably haven't seen it yet, but there's a theorem about the rank and nullity of a matrix. It says that the dimensions of the column space and null space add up to the dimension of the input space. For your problem dim(column space) + dim(null space) = 2 + 3 = 5 = dim(input space).
 
  • #12
If you transpose those vectors, wouldn't the vectors become 5 x 1?
 
  • #13
Yes - they have to have 5 rows in order to be multiplied by a 3 x 5 matrix.
 
  • #14
Oh right. So final question, how did you know to transpose it?
 
  • #15
You have to. You can't have a 3 x 5 matrix multiplying a row vector (1 x 5 matrix). In general for a matrix product AB to be defined, the number of columns of A has to equal the number of rows of B. If A is an m x n matrix, and B is an n x p matrix, then the product AB is defined, and AB will be m x p.

In one sense, vectors are special cases of matrices, having either one row (row vectors) or one column (column vectors). In another sense, matrices are special cases of vectors, in that all of the matrices of a given size form a particular vector space.
 
  • #16
Yeah I understand that, I just didn't know you could transpose whenever it was convenient.
 
  • #17
It wasn't at all about convenience; it was that I can't multiply a 3 x 5 matrix and a 1 x 5 row vector. Many times people will be a little sloppy and write it without indicating that they're doing the transpose of the vector, but it should be clearly understood that the multiplication is defined only if the vector on the right is a column vecto
 
  • #18
I just wasn't aware that transposing it was allowed in that situation. I understand it must be transposed to be able to be multiplied, I just thought there must be some other requirement for transposition to be able to be carried out.
 

1. What is Linear Algebra and why is it important?

Linear Algebra is a branch of mathematics that deals with linear equations and their representations in vector spaces. It is important because it provides a fundamental framework for understanding many other areas of mathematics, as well as applications in science, engineering, and computer science.

2. What is a simple Linear Algebra problem?

A simple Linear Algebra problem is one that involves solving for the values of unknown variables in linear equations, using methods such as elimination, substitution, or matrix operations. It may also involve finding the inverse of a matrix or determining the rank and nullity of a matrix.

3. How do I check if my solution to a Linear Algebra problem is correct?

To check if your solution to a Linear Algebra problem is correct, you can substitute the values you found for the unknown variables back into the original equations and see if they satisfy all of the equations. You can also use online tools or software to verify your solution.

4. Can I use a calculator to solve Linear Algebra problems?

Yes, you can use a calculator to solve Linear Algebra problems. However, it is important to understand the underlying concepts and methods to ensure that your calculator is giving accurate results.

5. Is Linear Algebra only used in mathematics?

No, Linear Algebra has many practical applications in various fields such as physics, engineering, computer science, economics, and data analysis. It is used to model and solve real-world problems involving linear relationships and systems of equations.

Similar threads

  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
615
  • Calculus and Beyond Homework Help
Replies
3
Views
917
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
13
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
32
Views
831
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
Back
Top