Linear Algebra. Please check my answers and help me find mistakes

Yes, you can ask me one more question. Just make sure it's related to the original conversation and not a completely new topic.
  • #1
maherelharake
261
0

Homework Statement


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


Homework Equations





The Attempt at a Solution





For the first part I got the bases for row(A) to be [1, 0, -7/2] and [0, 1, 1/2].
For the col(A) I got [1;0;1] and [1;2;-1]

For the null(A) I got [7/2;1/2;1]


For the second part I got bases for row(A) to be [1, 0, 0] and [0, 1, 0]. For the basis for col(A) I got [1; 0; 1] and [0; 1; -1]

My teacher did not explain these concepts because he ran out of time, and it is due tomorrow. Please let me know where I messed up at, if anywhere. Thanks
 
Physics news on Phys.org
  • #2
maherelharake said:
For the first part I got the bases for row(A) to be [1, 0, -7/2] and [0, 1, 1/2].
For the col(A) I got [1;0;1] and [1;2;-1]

For the null(A) I got [7/2;1/2;1]
The bases for row(A) and col(A) look fine, but you have a sign error for null(A).
For the second part I got bases for row(A) to be [1, 0, 0] and [0, 1, 0]. For the basis for col(A) I got [1; 0; 1] and [0; 1; -1]
Could you explain what you did to find these?
 
  • #3
I corrected the first null(A) to [7/2; -1/2; 1]

For the second part, I reduced the transposed matrix to [1, 0, 1; 0, 1, -1; 0, 0, 0]. I took the row(A) to be the first two columns of the transposed, reduced matrix, and I took the col(A) to be the first two rows of the transposed, reduced matrix.
 
  • #4
The first basis you found for the row space allows a non-zero z-component, but the second basis you found doesn't, which means their spans are different. So something went wrong there since the two bases are supposed to be spanning the same space. I think if you double-check your method carefully, you'll find your error. (Hint: Your reduced matrix is fine. That's not where the problem is.)

Can you think of a way to check if your bases for the column space are consistent with each other?
 
  • #5
I see what you are saying, but I don't see where I went wrong. My notes tell me that for the row(A) of a transposed matrix I have to look at the reduced form and use the columns as my answer. I am a bit confused.
 
  • #6
maherelharake said:
I see what you are saying, but I don't see where I went wrong. My notes tell me that for the row(A) of a transposed matrix I have to look at the reduced form and use the columns as my answer. I am a bit confused.
Just to make sure, when you say "row(A) of the transposed matrix," you mean the basis of the row space of the untransposed matrix A found via working with the transposed matrix, right? I think that's what you mean but what you wrote could be interpreted a bit differently.

When you found the column space of A, you looked at the reduced matrix, located which columns contained the pivots, and then selected the corresponding columns of the original matrix A. When you find the basis for the column space of AT, you have to do the same thing.
 
  • #7
Yes that is what I mean.

When you find the column space of the transposed matrix, don't you have to look at the rows rather than the columns since it is transposed?
 
  • #8
Yes, what you're saying is that row(A)=col(AT). You're just not finding the basis vectors correctly.

In the first part, you found a basis for col(A) to be {(1,0,1), (1,2,-1)}. From which matrix did you get those vectors? Now, when looking for a basis for the column space of AT, which is the row space of A, where are you grabbing the vectors from? You're not following the same process, which is why it's not working out.
 
  • #9
I got those vectors from the pivots of the reduced form. I took note of what columns those were, and took the original numbers from A.
I am getting the vectors for the second part from the reduced form of the transposed matrix.
 
  • #10
Would the col(A) be [1;0;1] and [1;2;-1] for the second method as well? If I look back at the way I solved the first one?
 
  • #11
Are you talking about col(A) or col(AT)?
 
  • #12
I meant col(A) using the AT method.
When I look at AT, I selected the top two rows, so that these correspond to the first two columns. The result this gave me is the same col(A) that I had for the first example that didn't require the use of AT
 
  • #13
maherelharake said:
I meant col(A) using the AT method.
In other words, row(AT).
When I look at AT, I selected the top two rows, so that these correspond to the first two columns. The result this gave me is the same col(A) that I had for the first example that didn't require the use of AT
Forget that AT is the transpose of A. Just think of it as another matrix. Find bases for AT's row and column space (making no reference to A).

Now how are row(A), col(A), row(AT), and col(AT) related?
 
  • #14
Right.

row(A)=col(AT)...col(A)=row(AT)

So row(AT)= [1,0,1] and [0,1,-1]
and col(AT)= [1;1;-3] and [0,2,1]
??
 
  • #15
maherelharake said:
Right.

row(A)=col(AT)...col(A)=row(AT)

So row(AT)= [1,0,1] and [0,1,-1]
and col(AT)= [1;1;-3] and [0,2,1]
??
Yup!
 
  • #16
Ok so in summary:

First part: row(A)=[1,0,-7/2] and [0,1,1/2]
col(A)= [1;0;1] and [1;2;-1]
null(A)= [7/2;-1/2;1]

Second part: row(A)= [1,1,-3] and [0,2,1]
col(A)= [1;0;1] and [0,1,-1]

All good?
 
  • #17
Is there any way I can ask you one more question? It shouldn't take as long as this last one took, but you seem helpful and I would really appreciate it.
 
  • #18
Looks good. You should check your answers are consistent. You should be able to write the vectors in one basis as a linear combination of the vectors in the other basis of that space.
 
  • #19
maherelharake said:
Is there any way I can ask you one more question? It shouldn't take as long as this last one took, but you seem helpful and I would really appreciate it.
Sure, just start up another thread with your new question. If I can't help, someone else likely can.
 
  • #20
I am a little confused about how to check if they are consistent. I set up a matrix to test if a linear combination is present, but it didn't work
 
  • #21
You can solve them by inspection. Take, for example,

(1,1,-3) = a (1,0,-7/2) + b (0,1,1/2)

You should be able to see what a and b have to equal for the first two slots to work out. All you have to do is verify that the third slot works out.

First part: row(A)=[1,0,-7/2] and [0,1,1/2]
Second part: row(A)= [1,1,-3] and [0,2,1]
 
  • #22
It does work out when a=b=1. What about when you use [0,2,1] instead of [1,1,-3]?
 
  • #23
I guess my questions would be better phrased as...
how did you know which combination to select, because it seems like other combos don't work.
 
  • #24
It has to work for both vectors, though you'll get different values for a and b when you have a different vector on the LHS. If it doesn't work, that means the vectors don't have the same span, so they can't both be a basis for row(A).
 
  • #25
It doesn't work for [0,2,1] though does it?
 
  • #26
It does.
 
  • #27
Ohhhhhh I see how it works now. For col(A) though, I don't see a combo for
[0;1;-1]=a[1;0;1]+[1;2;-1]. Does it have to check for col(a) too?
 
  • #28
Yes, it should. The basis vectors are in the subspace, so if you have another basis of the subspace, you have to be able to express the vectors in the first basis in terms of the second. If you can't, there's a problem with the bases somewhere, which means you made a mistake somewhere finding them.

By the way, you need a coefficient b on the second vector.
 
  • #29
AHHHH sorry I forgot that the coefficients can be fractions. Sorry long night. Thanks for all your help. I think I am going to make one short thread similar to my other one, if you can help out great. If not, you have helped me tremendously. Thanks a lot.
 

FAQ: Linear Algebra. Please check my answers and help me find mistakes

What is Linear Algebra?

Linear Algebra is a branch of mathematics that deals with linear equations, matrices, vector spaces, and linear transformations. It is used to solve systems of linear equations and to study the properties of linear transformations.

Why is Linear Algebra important?

Linear Algebra is important because it has many practical applications in fields such as engineering, physics, computer science, economics, and statistics. It also provides the foundation for more advanced math courses such as differential equations and multivariate calculus.

What are the basic concepts of Linear Algebra?

The basic concepts of Linear Algebra include vectors, matrices, vector spaces, linear transformations, determinants, and eigenvalues and eigenvectors. These concepts are used to solve systems of linear equations and to study the properties of linear transformations.

What are some real-life applications of Linear Algebra?

Linear Algebra has many real-life applications, such as image and signal processing, data compression, computer graphics, machine learning, and optimization problems. It is also used in economic and social sciences to analyze relationships between variables.

What are some common misconceptions about Linear Algebra?

Some common misconceptions about Linear Algebra include thinking that it is only used in advanced math courses or that it is only useful for mathematicians. In reality, Linear Algebra has many practical applications and is used in various fields. Another misconception is that it is only about solving equations, whereas it also involves studying the properties and structures of vector spaces and linear transformations.

Similar threads

Replies
15
Views
2K
Replies
1
Views
877
Replies
3
Views
2K
Replies
2
Views
2K
Replies
25
Views
3K
Replies
7
Views
2K
Replies
6
Views
1K
Back
Top