Representing a transformation with a matrix

In summary, I was stuck on part 3) because I didn't know how to represent a vector in boldface vector notation. After some Google searches, I learned that you need to use the equation notation and use the matrix multiplication operator to convert it.
  • #1
MickeyBlue
26
2

Homework Statement



  1. Use matrix multiplication to find the 2×2 matrix P which represents projection onto the line y =√3x.
  2. Can you suggest another way of finding this matrix?
  3. Which vectors x∈R2 satisfy the equation Px = x?
  4. For which x is Px = 0?

Homework Equations


Dot product of vectors

The Attempt at a Solution


[/B]
1. I used matrix multiplication to get
(1 -√3) * ¼
(√3 3), which I know is correct

2. You can also determine this graphically, by following the same process and plotting it on a Cartesian plane.

3. This is where I'm stuck. I think my problem is notation, because is set up an equation:

(1 -√3) * ¼ °
(√3 3)
= (x)
(y)

=(x,y)

This means that (x, y) can be represented by the matrix:

¼ * (x -√3y)
(√3x 3y) ,
just using convention. However, the model answer is
(1)
λ(√3)
I know λ = x. Can someone please lead me through going from the 2x2 matrix to the vector?
 
Physics news on Phys.org
  • #2
You might like to try some latex so we can see what you're doing. If you reply to this post, you can cut and paste.

$$P = \pmatrix{a&b\\c&d} $$
 
  • Like
Likes MickeyBlue
  • #3
PeroK said:
You might like to try some latex so we can see what you're doing. If you reply to this post, you can cut and paste.

$$P = \pmatrix{a&b\\c&d} $$
This is where I'm stuck. I think my problem is notation, because I set up an equation:

$$P = ¼*\pmatrix{1&√3\\√3&3} $$*
$$x = \pmatrix{x&\\y&} $$

=(x,y)

This means that (x, y) can be represented by the matrix:

$$x = ¼*\pmatrix{x&-√3y\\√3x&3y} $$

just using convention. However, the model answer is
λ$$x = λ*\pmatrix{1&\\√3&} $$
I know λ = x. Can someone please lead me through going from the 2x2 matrix to the vector?
 
  • #4
For parts 3 and 4, the question is using the boldface vector notation: ##\mathbf{x} = (x, y)##. When you say "##(x, y)## is represented by the matrix ...", then you've lost me.
 
  • #5
I think I see now where you are going wrong. You should have:

$$P = \pmatrix{a&b\\c&d} \pmatrix{x \\ y} = \pmatrix{ax + cy \\ bx + dy} $$

Where the right-hand side is another vector, not a matrix.
 
  • #6
So my mistake was treating the problem as matrix multiplication instead of vector-matrix multiplication? I think I get it. Then the vector gets multiplied by the first and second colums of P respectively. Then that gets written as two linear equations. What I'm most confused about is why the final vector is represented the way it is. I'm retracting my last statement too; λ is just a variable parameter of the base vector.
 
  • #7
MickeyBlue said:
So my mistake was treating the problem as matrix multiplication instead of vector-matrix multiplication? I think I get it. Then the vector gets multiplied by the first and second colums of P respectively. Then that gets written as two linear equations. What I'm most confused about is why the final vector is represented the way it is. I'm retracting my last statement too; λ is just a variable parameter of the base vector.

You never posted your working for part 1) so I don't know how you did that. Also, I'm not sure your answer to part 2) is what is required. There are a number of methods of finding the matrix representation of an operator. In fact, when I looked at this problem, I took the answers to 3 & 4 to be the definition of the projection operator in this case! Did you define the projection by an inner product?

In any case, if you have an operator and a vector (or a matrix and a vector) then matrix multiplication still applies in the sense of multiplying a 2x2 matrix by a 2x1 matrix (which is the matrix representation of a vector) to give another 2x1 matrix (vector).
 
  • #8
MickeyBlue said:
Can someone please lead me through going from the 2x2 matrix to the vector?

Have you ever done the type of problem where you have an underdetermined systems of equations and the solution is given as a set of values involving an arbitrary parameter? One way to work such a problem is do manipulations of the coefficient matrix of the equations. Another way to work it is to use the equations themselves and the elementary algebra techniques of trying to eliminate some of the unknowns. Do you course materials expect you do the problem using matrix manipulations?

For example, the simultaneous equations:
1) ##x + 3y = 2 ##
2) ##2x + 6y = 4 ##

are an undetermined system because equation 2) is just a multiple of equation 1). So the problem amounts to finding solutions to equation 1).

A solution set to ## x + 3y = 2## can be expressed as "any pair of numbers of the form ##( x, (2-x)/3 )##"
It could also be expressed as "any pair of numbers of the form ##(\lambda, (2-\lambda)/3)##".
It could also be expressed as "any pair of numbers of the form ##(2-3y, y)##"
It could also be expressed as "any pair of numbers of the form ##(2 - 3\lambda, \lambda)##.
Taking for granted that an ordered pair is to be denoted ##(x,y)##, it could also be expressed as "##x = 2 - 3\lambda## and ##y = \lambda##".
 
  • Like
Likes MickeyBlue
  • #9
Stephen Tashi said:
Have you ever done the type of problem where you have an underdetermined systems of equations and the solution is given as a set of values involving an arbitrary parameter? One way to work such a problem is do manipulations of the coefficient matrix of the equations. Another way to work it is to use the equations themselves and the elementary algebra techniques of trying to eliminate some of the unknowns. Do you course materials expect you do the problem using matrix manipulations?

For example, the simultaneous equations:
1) ##x + 3y = 2 ##
2) ##2x + 6y = 4 ##

are an undetermined system because equation 2) is just a multiple of equation 1). So the problem amounts to finding solutions to equation 1).

A solution set to ## x + 3y = 2## can be expressed as "any pair of numbers of the form ##( x, (2-x)/3 )##"
It could also be expressed as "any pair of numbers of the form ##(\lambda, (2-\lambda)/3)##".
It could also be expressed as "any pair of numbers of the form ##(2-3y, y)##"
It could also be expressed as "any pair of numbers of the form ##(2 - 3\lambda, \lambda)##.
Taking for granted that an ordered pair is to be denoted ##(x,y)##, it could also be expressed as "##x = 2 - 3\lambda## and ##y = \lambda##".

Oh, so it's just a matter of defining the second coordinate in terms of λ
 

FAQ: Representing a transformation with a matrix

1. What is a transformation matrix?

A transformation matrix is a mathematical representation of a transformation that can be applied to a vector or coordinate system. It is typically represented as a square matrix with numbers that define the amount and direction of transformation in each dimension.

2. How is a transformation represented with a matrix?

A transformation can be represented with a matrix by multiplying the transformation matrix with the vector or coordinates that are being transformed. The resulting vector will have new values that have been transformed according to the matrix.

3. What are the advantages of representing a transformation with a matrix?

Representing a transformation with a matrix allows for easy and efficient computation of transformations, as well as the ability to combine multiple transformations by multiplying the corresponding matrices. It also allows for easy visualization of the transformation in a graph or grid.

4. Can any transformation be represented with a matrix?

Yes, any linear transformation can be represented with a matrix. This includes transformations such as translation, rotation, scaling, and shearing. However, non-linear transformations may require more complex mathematical representations.

5. How do you determine the matrix for a specific transformation?

The matrix for a transformation can be determined by first identifying the type of transformation (e.g. translation, rotation, etc.) and then following the appropriate formula for constructing the transformation matrix. For example, a translation in the x-direction would have a matrix of [1 0 tx; 0 1 0; 0 0 1], where tx is the amount of translation in the x-direction.

Similar threads

Replies
69
Views
5K
Replies
11
Views
1K
Replies
13
Views
2K
Replies
31
Views
2K
Replies
32
Views
1K
Replies
4
Views
3K
Replies
8
Views
782
Replies
3
Views
1K
Replies
1
Views
1K
Back
Top