You are Here: Home >< Maths

# Vectors to matrix watch

1. Does it matter how you change vectors into a matrix?

Let's say you were given
(2,1,1), (3,5,9),(5,4,3)

and you had to figure out the inverse or L.I
would it matter if you made the matrix into:
(2,1,1)
(3,5,9)
(5,4,3)

rather than:
(2,3,5)
(1,5,4)
(1,9,3)

So for one I turned the vectors into the columns of the matrix and the other into rows. In my example book it does it in different ways and keeps interchanging
2. (Original post by 0range)
Does it matter how you change vectors into a matrix?

Let's say you were given
(2,1,1), (3,5,9),(5,4,3)

and you had to figure out the inverse or L.I
would it matter if you made the matrix into:
(2,1,1)
(3,5,9)
(5,4,3)

rather than:
(2,3,5)
(1,5,4)
(1,9,3)

So for one I turned the vectors into the columns of the matrix and the other into rows. In my example book it does it in different ways and keeps interchanging
Yes it does matter, I would say that the second method is more common. I can't think when you would need to do this (I am a bit rusty though).
3. (Original post by lizard54142)
Yes it does matter, I would say that the second method is more common. I can't think when you would need to do this (I am a bit rusty though).
I keep getting conflicting answers I use different resources when I study and it seems that they do it differently.

You'd do this, say, to find the kernal of a set of vectors or the columnspace or whatever
4. I may be wrong but think about it this way,

You have co-ordinates (1,2,3), (4,5,6) and (7,8,9). If you put them into the matrix
(1,2,3)
(4,5,6)
(7,8,9)

You then multiply the matrix by (X)
(Y)
(Z)
You will find that that you will end up with 1X+2Y+3Z, I know this a line equation not a vector but it shows how the X y and z dimensions are mapped to each column. You could do it vice versa, so you have

(1,4,7)
(2,5,8)
(3,6,9)

Then multiply (X,Y,Z) by this matrix and you will end up with the same 1X+2Y+3Z

So it can be either way as long as you are consistent throughout.

I didn't explicitly do vectors to matrix but I think this should help you understand better.

Good luck

Posted from TSR Mobile
5. You can do everything perfectly sensibly both ways. To explain things, I'm going to have to go over the fundamentals of what matrices are properly, since you probably didn't do it properly at school:

A matrix is a way of representing a linear map. A linear map is a function between two spaces (in our case, from to itself) such that for all in the space, and for all (you can do this with complex numbers instead, but I'll stick to the reals since everything that I'll talk about is exactly the same in both cases), , and .

The three vectors that you are constructing your matrix out of are the images of your basis vectors (we'll choose our basis to be , since we can just relabel things to make any other sensible (meaning orthonomal, for the pedants out there) basis the same as this anyway, and it makes everything neater.

There choice between the two was that you have constructed your matrix basically comes down to whether you prefer left-multiplication (with row vectors), or right-multiplication (with column vectors).

To explain that better: your two matrices represent the same linear map, but written differently. With being our matrix, and the linear map that it represents, putting the vectors in as columns is , whereas putting them in as rows is . Everything else will be the same: you'll get the same determinant (since it's the same linear map), the same kernel (since it's the same linear map), and the inverse (should it exist) will be the matrix of the inverse map written in each of these different ways (in particular, the inverse obtained in one way will be the transpose of the one obtained the other way).

Most people prefer putting them in as columns because looks more natural than
6. (Original post by 0range)
would it matter if you made the matrix into:
(2,1,1)
(3,5,9)
(5,4,3)

rather than:
(2,3,5)
(1,5,4)
(1,9,3)
Note that your matrices are transposes of each other. It is a result of linear algebra that:

if is invertible. So it doesn't matter whether you write the vectors in column or row form when you create the matrix since if you decide, after finding the inverse, that you really want the inverse of the transposed matrix, you can just take the transpose of the inverse to get it.

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: August 23, 2015
Today on TSR

### University open days

• University of East Anglia (UEA)
Could you inspire the next generation? Find out more about becoming a Secondary teacher with UEA… Postgraduate
Thu, 18 Oct '18
• University of Warwick
Sat, 20 Oct '18
• University of Sheffield
Sat, 20 Oct '18
Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams