Past exam question: 2082 Kartik (Back), Q3(b)
Open in the Padhaiko appReflect the object (2, 3), (4,3), (4,5) about the line y = x+1.
Solution
Decomposition of Reflection About an Arbitrary Line: The line of reflection is , which has slope , angle of inclination , and -intercept . To reflect an object about an arbitrary line , the composite sequence of transformations is:
- Translate the line vertically so it passes through the origin: .
- Rotate the line by to align it with the positive -axis: .
- Perform reflection about the -axis: .
- Apply the inverse rotation: .
- Apply the inverse translation: .
Derivation of Composite Reflection Matrix: The combined rotation-reflection-rotation sub-matrix aligns with reflection across the line :
Multiplying with the translation matrices:
Thus, for any input point , the reflected coordinates satisfy:
Reflection of Object Vertices: Applying the transformation matrix to each of the three vertices of the triangle:
- Vertex :
(Point lies directly on the mirror line since , hence it remains stationary).
- Vertex :
- Vertex :
(Point also lies directly on the mirror line since , so it remains stationary).
The transformation matrix for reflection about is:
The reflected coordinates of the object vertices are:
All past exam questions for Computer Graphics and Visualization