Finding the matrix for a reflection about a plane in R^3

In summary: I don't remember exactly what I did but I think I switched the signs of the coefficients of the first and last rows of the matrix C. So if C is the matrix with the following coefficients:C=Now if you reflect C across the plane, you would get the following:C'=Since the last row of C' is the same as the first row of C, C' is now orthonormal.
  • #1
74
1

Homework Statement


Let L: R^3 -> R^3 be the linear transformation that is defined by the reflection about the plane P: 2x + y -2z = 0 in R^3. Namely, L(u) = u if u is the vector that lies in the plane P; and L(u) = -u if u is a vector perpendicular to the plane P. Find an orthonormal basis for R^3 and a matrix A such that A is diagonal and A is the matrix representation of L with respect to the orthonormal basis.


Homework Equations





The Attempt at a Solution


Basically I tried this problem the only way I knew how, and it was very long and tedious and didn't come out right. I am hoping someone can either (or both) see where I went wrong, or suggest a more streamlined approach.

First off, I was a little unsure by what was meant towards the end of the question about an orthonormal basis. Specifically, is it referring to an orthonormal basis in terms of the domain of L or the range of L?

I chose to assume if was referring to the domain since this fit in with the only way I knew how to approach this problem. The standard basis for R^3 is of course orthonormal. My attempt was to use the theorem that a matrix can be found by applying the transformation to each basis vector, then the columns are the coefficients of this transformation written as a linear combination of the basis vectors of the space being transformed to.

So first off I chose a basis of R^3 in terms of the plane. I choose (1 -2 0) since it satisfies the equation of the plane, the normal vector (2 1 -2), and the cross product of the normal vector and the first vector which is (-4 2 -5). Let's call this set of vectors B

So then I need to reflect the standard basis (let's call it A) across the plane. Rather than calculate out the reflections of A, I thought I could go straight to writing the standard basis as a linear combination of B and then switch the sign of the coefficient of (2 1 -2) since this is the portion (or the projection of the vector onto the normal vector) that will be reflected direction across. In other words, any vector will be equal to its projection into the plane + it's projection onto the normal of the plane. Then reflecting it is changing the sign of the projection onto the normal vector.

So if the matrix C is the B as column vectors:

1 -4 2
-2 2 1
0 -5 -2

I solved Cx = e1, Cx = e2, Cx = e3. (I checked these x's a few times so I am pretty confident about this part). Then I put these x's as the column vectors of a matrix and switched the sign of the last row (again thinking this was writing the reflection of the standard basis across the plane in terms of B). This yielded

18 -36 0
-8 -4 -10
-20 -10 20

all times (1/90). I thought this was the answer but I check multiplying the normal vector but did not get the negative of the normal vector as output.

So, where did I go wrong? And or, what is a streamlined approach. This method seemed way to long, not to mention just incorrect.

PS. I can't figure out how to add matrices officially on this. Is it listed in the Latex Reference button popup?
 
Physics news on Phys.org
  • #2
You have the right idea. You're just doing more work than is necessary.

You seem to have a sign error in your second basis vector. It should also satisfy the equation for the plane, but it doesn't. So you need to fix that. So let's assume you've done that. You will have constructed an orthogonal basis for R3. Now you just need to make it orthonormal.

If B={b1, b2, b3} is your basis, you found these vectors so that they satisfy

L(b1) = b1
L(b2) = b2
L(b3) = -b3

Now based on this, what is the matrix representing L relative to your basis B?
 
  • #3
vela said:
You have the right idea. You're just doing more work than is necessary.

You seem to have a sign error in your second basis vector. It should also satisfy the equation for the plane, but it doesn't. So you need to fix that. So let's assume you've done that. You will have constructed an orthogonal basis for R3. Now you just need to make it orthonormal.

If B={b1, b2, b3} is your basis, you found these vectors so that they satisfy

L(b1) = b1
L(b2) = b2
L(b3) = -b3

Now based on this, what is the matrix representing L relative to your basis B?

Hmm, well the second vector was the vector normal to the plane. I presumed that I needed this one to span R^3. That is, there are only two orthogonal vectors in a plane. Is that not the case? I don't see what else I could do. Also, it is not clear to me why they need to be orthonormal, unless you are saying that because that is what the question specified (I was unsure and thought maybe they meant starting from the standard basis that is orthonormal). So are you saying

L(b1) = b1
L(b2) = b2
L(b3) = -b3

implies that if A (the transformation matrix I'm trying to find) =

a1 a2 a3
a4 a5 a6
a7 a8 a9

then the first one says

a1b11 + a2b12 + a3b13 = b11
a3b21 etc ..

and I could solve for the ai's since there would be a total of 9 equations and 9 unkowns? Thanks a bunch this is really helpful!
 
  • #4
I meant second according to the order you used them to construct matrix C. The vector was the cross product of the first vector and the normal. (-4, 2, -5) doesn't lie in the plane as it should.

Your idea for how to construct this basis is fine. You just need to get the calculation right. My other point was that you're asked to find an orthonormal basis, but you've only found an orthogonal basis. You still need to normalize the basis vectors you found.

As far as finding the matrix representing L, you're doing too much work. The n-tuples (1, 2, 0), (2, 1, -2), and whatever the other one works out to be are representations of b1, b3, and b2, relative to the canonical basis {e1, e2, e3}. If you solve all of those linear equations using those n-tuples, you'll find a matrix that represents L, but it will be relative to the canonical basis. Once you have this, you can calculate what the matrix should be relative to B by doing a change of basis. But this would be the long and painful way to do it.

The problem is asking you to find the matrix relative to basis B. You should be able to simply write down what that matrix is without doing any work. Think about the representation of b1, b2, and b3 relative to the basis B.
 
Last edited:
  • #5
Sorry, I missed the sign. It is (-4, -2, -5). So are you saying that it is only asking for the matrix that takes a vector input in terms of the basis B? As in (1, 2, 4) really means 1b1 + 2b2 + 43? Then it would just be:

1 0 0
0 1 0
0 0 -1

I think I have a hard time understanding how a question specifies both the basis of the vectors being inputed and the basis of the output. So if we wanted the matrix that took as input vectors in basis B and output in that standard basis it would just be:

1 -4 -2
2 -2 -1
0 -5 2

I had thought it was asking about taking input in terms of the standard basis and output in the standard basis. I am still unclear on how I would find that. What is the efficient approach? Thanks so much Vela. I think I have had a fundamental misunderstanding about transformations and bases but hopefully I am beginning to see the light at the end of the tunnel.
 
  • #6
I have been thinking about it more. So to find the matrix to take input in the form of the standard basis, reflect about the plane and output in terms of the standard matrix I could find the change of basis matrix for the standard basis to B (call it X), then find the matrix for reflecting a vector given in B about the axis and out putting it in the standard basis (which I think you led me to above? Let's call it Y). Then YX would be the desired matrix?
 
  • #7
Fractal20 said:

Homework Statement


Let L: R^3 -> R^3 be the linear transformation that is defined by the reflection about the plane P: 2x + y -2z = 0 in R^3. Namely, L(u) = u if u is the vector that lies in the plane P; and L(u) = -u if u is a vector perpendicular to the plane P. Find an orthonormal basis for R^3 and a matrix A such that A is diagonal and A is the matrix representation of L with respect to the orthonormal basis.


Homework Equations





The Attempt at a Solution


Basically I tried this problem the only way I knew how, and it was very long and tedious and didn't come out right. I am hoping someone can either (or both) see where I went wrong, or suggest a more streamlined approach.

First off, I was a little unsure by what was meant towards the end of the question about an orthonormal basis. Specifically, is it referring to an orthonormal basis in terms of the domain of L or the range of L?

I chose to assume if was referring to the domain since this fit in with the only way I knew how to approach this problem. The standard basis for R^3 is of course orthonormal. My attempt was to use the theorem that a matrix can be found by applying the transformation to each basis vector, then the columns are the coefficients of this transformation written as a linear combination of the basis vectors of the space being transformed to.

So first off I chose a basis of R^3 in terms of the plane. I choose (1 -2 0) since it satisfies the equation of the plane, the normal vector (2 1 -2), and the cross product of the normal vector and the first vector which is (-4 2 -5). Let's call this set of vectors B

So then I need to reflect the standard basis (let's call it A) across the plane. Rather than calculate out the reflections of A, I thought I could go straight to writing the standard basis as a linear combination of B and then switch the sign of the coefficient of (2 1 -2) since this is the portion (or the projection of the vector onto the normal vector) that will be reflected direction across. In other words, any vector will be equal to its projection into the plane + it's projection onto the normal of the plane. Then reflecting it is changing the sign of the projection onto the normal vector.

So if the matrix C is the B as column vectors:

1 -4 2
-2 2 1
0 -5 -2

I solved Cx = e1, Cx = e2, Cx = e3. (I checked these x's a few times so I am pretty confident about this part). Then I put these x's as the column vectors of a matrix and switched the sign of the last row (again thinking this was writing the reflection of the standard basis across the plane in terms of B). This yielded

18 -36 0
-8 -4 -10
-20 -10 20

all times (1/90). I thought this was the answer but I check multiplying the normal vector but did not get the negative of the normal vector as output.

So, where did I go wrong? And or, what is a streamlined approach. This method seemed way to long, not to mention just incorrect.

PS. I can't figure out how to add matrices officially on this. Is it listed in the Latex Reference button popup?

If [itex] \vec{a} = (a_x,a_y,a_z)[/itex] is a unit normal to the plane, the equation of the plane can be written as [itex] \vec{a}\cdot \vec{r} = 0, [/itex], where [itex] \vec{r} = (x,y,z) \in R^3.[/itex] (Here, [itex] \cdot [/itex] denotes the inner product opertion.) In your case,
[tex] \vec{a} = \frac{(2,1,-2)}{\sqrt{2^2 + 1^2 + 2^2}} = \frac{(2,1,-2)}{3}.[/tex]

We can write [itex] \vec{r} = \vec{u} + \vec{v} [/itex] for any vector [itex] \vec{r} [/itex], where [itex] \vec{u} [/itex] is the part of [itex] \vec{r}[/itex] that lies in the plane and [itex] \vec{v}[/itex] is the component perpendicular to the plane. We have
[tex] \vec{u} =\vec{r} - (\vec{a} \cdot \vec{r}) \vec{a},\; \vec{v} = (\vec{a} \cdot \vec{r}) \vec{a}.[/tex] The vector [itex] \vec{r}^\prime [/itex] obtained by reflecting [itex] \vec{r}[/itex] in the plane is
[tex] \vec{r}^\prime = \vec{r} - 2 (\vec{a} \cdot \vec{r}) \vec{a}.[/tex]
You can write this out in terms of x, y and z, so obtain the linear transformation.

RGV
 
  • #8
Ray Vickson said:
If [itex] \vec{a} = (a_x,a_y,a_z)[/itex] is a unit normal to the plane, the equation of the plane can be written as [itex] \vec{a}\cdot \vec{r} = 0, [/itex], where [itex] \vec{r} = (x,y,z) \in R^3.[/itex] (Here, [itex] \cdot [/itex] denotes the inner product opertion.) In your case,
[tex] \vec{a} = \frac{(2,1,-2)}{\sqrt{2^2 + 1^2 + 2^2}} = \frac{(2,1,-2)}{3}.[/tex]

We can write [itex] \vec{r} = \vec{u} + \vec{v} [/itex] for any vector [itex] \vec{r} [/itex], where [itex] \vec{u} [/itex] is the part of [itex] \vec{r}[/itex] that lies in the plane and [itex] \vec{v}[/itex] is the component perpendicular to the plane. We have
[tex] \vec{u} =\vec{r} - (\vec{a} \cdot \vec{r}) \vec{a},\; \vec{v} = (\vec{a} \cdot \vec{r}) \vec{a}.[/tex] The vector [itex] \vec{r}^\prime [/itex] obtained by reflecting [itex] \vec{r}[/itex] in the plane is
[tex] \vec{r}^\prime = \vec{r} - 2 (\vec{a} \cdot \vec{r}) \vec{a}.[/tex]
You can write this out in terms of x, y and z, so obtain the linear transformation.

RGV
So that is kind of reminiscent of the Gram-Schmidt process in that you are finding the projection onto the plan and subtracting that from the vector and then just flipping what is left?

Thanks, it is really helpful to see an efficient way to go straight to the transformation all in terms of the standard basis. Thanks Vela too!
 
  • #9
Fractal20 said:
Sorry, I missed the sign. It is (-4, -2, -5). So are you saying that it is only asking for the matrix that takes a vector input in terms of the basis B? As in (1, 2, 4) really means 1b1 + 2b2 + 43? Then it would just be:

1 0 0
0 1 0
0 0 -1

I think I have a hard time understanding how a question specifies both the basis of the vectors being inputed and the basis of the output. So if we wanted the matrix that took as input vectors in basis B and output in that standard basis it would just be:

1 -4 -2
2 -2 -1
0 -5 2

I had thought it was asking about taking input in terms of the standard basis and output in the standard basis. I am still unclear on how I would find that. What is the efficient approach? Thanks so much Vela. I think I have had a fundamental misunderstanding about transformations and bases but hopefully I am beginning to see the light at the end of the tunnel.
The question asked you to "Find an orthonormal basis for R^3 and a matrix A such that A is diagonal and A is the matrix representation of L with respect to the orthonormal basis." Your first matrix is exactly what's asked for: it's diagonal (because of the way you chose the basis vectors) and it represents L with respect to basis B.

I think the intent of this question is really a conceptual one. You can find the answer dealing with the standard basis and then transforming to the B basis, but if you understand what the question is asking for and think about it in terms of B, you can simply write down the answer, like you did.

Still, it's good practice to be able to find the matrix representing L in the standard basis.

Fractal20 said:
I have been thinking about it more. So to find the matrix to take input in the form of the standard basis, reflect about the plane and output in terms of the standard matrix I could find the change of basis matrix for the standard basis to B (call it X), then find the matrix for reflecting a vector given in B about the axis and out putting it in the standard basis (which I think you led me to above? Let's call it Y). Then YX would be the desired matrix?
Let's use the unnormalized basis for right now to avoid having to write a lot of fractions, and let's say X is given by
$$ X = \begin{pmatrix}
1 & -4 & 2 \\
-2 & -2 & 1 \\
0 & -5 & -2
\end{pmatrix}$$ which takes a coordinate vector relative to B and maps it to the coordinate vector relative to the standard basis. Then ##X^{-1}## goes in the other direction. The diagonal matrix A maps between coordinate vectors relative to B.

If you want to go from a standard-basis representation to a standard-basis representation with L, you first use ##X^{-1}## to convert from the standard basis to B. If ##\vec{x}## is the coordinate vector relative to the standard basis, ##X^{-1}\vec{x}## is the representation relative to B. Now you apply A to get ##AX^{-1}\vec{x}##, which gives you the reflected vector represented in basis B. Finally, you apply X to convert that result back to the standard basis, which gives you ##XAX^{-1}\vec{x}##. So the matrix C for the linear transformation L relative to the standard basis is given by ##C=XAX^{-1}##.
 

1. What is a reflection about a plane in R^3?

A reflection about a plane in R^3 is a transformation in three-dimensional space that flips an object or point across a given plane. This creates a mirror image of the object or point in relation to the plane.

2. How do I find the matrix for a reflection about a plane in R^3?

To find the matrix for a reflection about a plane in R^3, you will need to first determine the normal vector of the plane. Then, you can use this normal vector to construct a reflection matrix using the formula:

M = I - 2 * n * nT

where I is the identity matrix and n is the normal vector. Once you have the reflection matrix, you can apply it to any point or object to reflect it across the plane.

3. How do I determine the normal vector of a plane?

The normal vector of a plane can be determined by taking the cross product of two non-parallel vectors that lie on the plane. This will give you a vector that is perpendicular to the plane and can be used to construct the reflection matrix.

4. Can a reflection about a plane in R^3 be represented as a transformation matrix?

Yes, a reflection about a plane in R^3 can be represented as a transformation matrix. This matrix can be used to reflect any point or object across the given plane, allowing for easy visualization and manipulation of the reflected object.

5. Are there any special properties of a reflection about a plane in R^3?

Yes, there are a few special properties of a reflection about a plane in R^3. One is that the distance between any point and its reflected image is equal to the distance between the point and the plane. Additionally, the angle between the normal vector of the plane and the reflected object or point is equal to the angle between the original object or point and the plane.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
716
  • Calculus and Beyond Homework Help
Replies
14
Views
492
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
16
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
533
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Linear and Abstract Algebra
Replies
26
Views
2K
Back
Top