How can I reflect a vector in a line without using the origin?

In summary, to reflect a vector in a line that does not pass through the origin, you can use a 3x3 transformation matrix with a translation to make the line pass through the origin, then apply the reflection matrix, and finally translate back to the original position. This methodology can also be applied to rotating around a point other than the origin.
  • #1
Gregg
459
0

Homework Statement



To find a transformation that reflects a vector in a line that does not pass through the origin.


The Attempt at a Solution



I've been trying to work this out for a little while and I found that I can do it if I use the vector for the 2d transformation with a 3x3 matrix for x = a (below) and y=a similarly. But y=ax + b I cannot do. I cannot see a way to do this just as I can't see a way to rotate around a point other than the origin.

[itex] \left[ \begin{array}{ccc} -1 &0 &2a \\0 &1 &0 \\0 &0 &1 \\ \end{array}\right] \left[ \begin{array}{c} x \\ y \\ 1 \end{array} \right] = \left[ \begin{array}{c} -x+2a \\ y \\ 1 \end{array} \right][/itex]


Where do I start?
 
Physics news on Phys.org
  • #2
I'll give you a hint for rotating around a point other than the origin: The origin is just that, a point. You can perform a coordinate transformation to reduce the case of a point not at the origin to the case at the origin. If you understand that methodology, you should also be able to reflect about lines that don't pass through the origin.
 
  • #3
ie as wretchosoft is implying first apply a translation to make your line pass through the origin
[tex] \textbf{x'} = T_a(\textbf{x}) = \textbf{x} + \textbf{a} [/tex]
then apply your reflection matrix
[tex] R_f(\textbf{x'}) = R.\textbf{x'} [/tex]

and translate back, then your whole tranformation should be something like
[tex] T_{-a} \circ R_f \circ T_a(\textbf{x}) [/tex]
 

FAQ: How can I reflect a vector in a line without using the origin?

1. What is a reflection in a line in matrix?

A reflection in a line in matrix is a geometric transformation that involves flipping an object over a line of reflection. This results in the object being mirrored across the line.

2. How is a reflection in a line represented in matrix form?

A reflection in a line can be represented in matrix form by using a specific transformation matrix. This matrix has values that correspond to the line of reflection and the direction of the reflection.

3. What are the properties of a reflection in a line?

The properties of a reflection in a line include:

  • The line of reflection is the perpendicular bisector of the line joining each point of the original object and its corresponding point on the reflected object.
  • The distance between each point and the line of reflection is the same for the original object and the reflected object.
  • The angle of incidence is equal to the angle of reflection.

4. How does a reflection in a line affect the orientation of an object?

A reflection in a line affects the orientation of an object by flipping it over the line of reflection. This changes the direction in which the object is facing, but does not change its size or shape.

5. What are some real-life examples of a reflection in a line?

Some real-life examples of a reflection in a line include:

  • Viewing your reflection in a mirror, where the line of reflection is the mirror's surface.
  • The reflection of light in a pool of water, where the line of reflection is the water's surface.
  • Seeing your reflection in a car's side mirror, where the line of reflection is the mirror's surface.
Back
Top