I was given a question in an exam where it asked to get the reflection of a line through the points (6,2) and (4,1).
I know you have to translate it to the origin then rotate it to lie on the origin and then reflect it but I dont know how to get the translation vector, and also unsure of how to get the angle of rotation to the axis before i reflect it( i think it could be tan inverse of the slope??)
thanks in advance:)
May 9th 2011, 02:04 PM
the easiest way (conceptually, at least), is to translate one of the points to the origin. you can pick either one. suppose you chose to translate (6,2) to the origin. we are thus moving the point (6,2) to (0,0): that is, we are sending (x,y) --> (x-6,y-2). this transformation sends (4,1) to (-2,-1).
so now, we have translating the original problem of reflecting through the line that goes from (6,2) to (4,1), to one of reflecting through the line that goes from (0,0) to (-2,-1).
this is the line y = x/2 (it has slope -1/(-2) = 1/2). in terms of the angle θ this line makes with the x-axis we have: