Reflection Matrix and Line Reflection Transformation (CAS)

Reflection Matrix and Line Reflection Transformation (CAS)
Loading the math board and drawing, please wait…
2014-05-29 00:44
This applet demonstrates how to compute and visualize the reflection matrix for a general line given by the equation ax + by + c = 0 using a Computer Algebra System (CAS). It seamlessly combines geometric constructions with algebraic calculations to provide an intuitive understanding of how points are reflected across an arbitrary line in the plane. The applet allows users to manipulate the coefficients a, b, and c of the line equation, observing in real time how changes to the line affect the reflected image of a point. As users adjust the line, the CAS computes the corresponding reflection matrix symbolically and displays its entries. This dynamic interplay between geometry and algebra helps learners see directly how the abstract matrix formula corresponds to the concrete geometric transformation. The reflection transformation maps every point P to its mirror image P' such that the line ax + by + c = 0 serves as the perpendicular bisector of the segment PP'. The applet illustrates this construction step by step, showing the perpendicular from the original point to the line, the foot of the perpendicular, and the reflected point on the opposite side at equal distance. From a linear algebra perspective, the applet derives the 2x2 reflection matrix for lines passing through the origin and then extends the result to lines not passing through the origin, which require a combination of translation, linear reflection, and inverse translation. This progression helps students understand why reflection across an arbitrary line is an affine transformation rather than a purely linear one. The applet is particularly useful for students studying linear algebra and coordinate geometry. It reinforces key concepts such as matrix transformations, orthogonality, vector projection, and geometric symmetry. By visually connecting the symbolic matrix output with the geometric behavior of reflected points, the applet bridges the gap between abstract algebraic manipulation and concrete spatial reasoning. Interactive controls let learners experiment with different lines and points, making it an effective tool for both classroom instruction and self-paced exploration. Whether used to introduce the concept of reflection matrices or to deepen understanding of their properties, this applet provides a rich, visual, and computationally supported learning experience.

GeoGebra Commands & Parameters

  1. Mirror(P, d) → Q
  2. Rotate(Q, 60*°) → R_1
  3. Midpoint(P, Q) → B
  4. Segment(B, P) → e
  5. Segment(B, Q) → f
  6. Segment((0, 0), Q) → g
  7. Segment((0, 0), R_1) → h
  8. Angle(Q, (0, 0), R_1) → β

AI Drawing Prompt Reference

Describe a geometric figure illustrating reflection transformation. The figure includes a line defined by the equation ax+by+c=0, a point P, and its reflection point P' across the line. The line serves as the perpendicular bisector of the segment PP', meaning it is perpendicular to PP' and bisects it. The figure also shows the foot of the perpendicular from P to the line, and the reflected point P' on the opposite side of the line at equal distance from P. Additionally, a 2x2 reflection matrix is displayed, representing the transformation that maps P to P'. The construction order: first draw the line, then draw point P, then construct the perpendicular to find the foot, then determine the reflection point P', and finally display the reflection matrix.
The prompt above was compiled from the original drawing commands and is for reference only.