# Matrix question

The question im attempting to understand (my book absolutely sux) is this:

Give the standard matrix of the linear transformation T: R2--R2 which switches the two coordinates of every point?

Just not understanding what i am trying to accomplish here

Find a,b,c,d such that

| a b |
| c d | < x, y> = <y, x>

matt grime
Homework Helper
Let us think about what matrix multiplication encodes. It is linear, so to understand what it does you just need to understand what it does to a basis (i.e. A(x+y)=Ax + Ay, so knowing what happens to x and y tells you what happens to x+y).

What happens if I multiply a matrix A into the column vector (1,0)^t? I get out the first column of A (check this!). Now find out what you get from multiplying into (0,1)^t

So if I know that A sends (1,0)^t to c and (0,1)^t to d, then I can write down A's matrix immediately.

HallsofIvy
Homework Helper
Here is the simplest way to find the matrix of a linear tranformation, in a given basis.

Apply the transformation to the first basis vector: write the result in terms of the basis. The coefficients are the first column in the matrix.

Now do the same to the second basis vector. That gives the second column.

I notice, now, that this is exactly what matt grime said!

That is, write the matrix, as you do:
$$\begin{bmatrix}a & b \\ c & d\end{bmatrix}$$
and apply it to [1 0].
$$\begin{bmatrix}a & b \\ c & d\end{bmatrix}\begin{bmatrix}1 \\ 0\end{bmatrix}= \begin{bmatrix}a \\ c\end{bmatrix}$$
But since this transformation "swaps the two coordinates", [1 0] is taken to [0 1] so you must have [a c]= [0 1].

ok so my answer should be a 2x2 matrix?

I am to someway use the standard matrix
|1 0 |
|0 1 |