Objective: In most introductory linear algebra courses, prominent applications of transformations or mappings are moving (rotating, reflecting, translating), resizing (contracting, expanding), changing the shape (shearing, projecting) objects in the plane. A typical problem in such courses is to write the matrix of a transformation Level: A beginning linear algebra course after calculus or possibly precalculus. (The calculus requirement is simply so that students will have a good source of plane curves upon which to call and a modest level of mathematical maturity.) Prerequisites:
To use this demo, students should know how to form a matrix of a linear
transformation Platform: The activity of this demo is supported by software in MATLAB, Excel, and LiveMath. The routines in these environments share many of the same features. Further details are given in the Instructor's Notes below. Instructor's Notes: This demo can be used whenever the modest prerequisites outlined below have been discussed in your linear algebra class. The demo can be used by the instructor as part of class discussion, for student assignments, or in a lab setting. The demo as part of a lecture. We assume that the students have been
introduced to the algebra and basic properties of matrices. In addition, the
basic properties of linear transformations Depending upon the text used in your course you
may want to develop the relationship between linear transformations Example 1. Let
and
It follows from the linearity property that
Thus the matrix associated with linear transformation T is
Once the connection between a linear transformation T and its associated matrix is made, it
is not difficult to construct matrices to carry out a specific geometric tasks
for In order to perform the translation operation using matrix multiplication we introduce the notion of homogeneous coordinates for vectors in R2 and the modification of the required matrices to be of size 3 by 3. This can be done relatively painlessly using several examples. For a brief overview of this topic click here. In the software to accompany this demo students are prompted to use the correct matrix form for translations. The goal of this demo is to help students visualize changes of plane figures brought about by applying a linear transformation. The following animations illustrate such changes and were chosen to show a sequential transition from the original figure to the final image. The transition steps are included for emphasis; the action of a linear transformation is usually represented by showing only the initial and final figures. (The animations were captured from a MATLAB routine which is discussed below. The displays from the supported software are similar.) Animation 1 illustrates rotating a parabola. The frames show entering a parametric expression for the parabola, an interval for the parameter, and the entries of the rotation matrix in terms of sines and cosines with radian arguments.
Animation 2 illustrates shearing an ellipse.
As the animations illustrate, students will be able to see graphically the geometric effects of applying transformations to plane curve and figures. The equations of the parametric representation of the curve or figure are specified in in expressions x(t) and y(t), along with an applicable domain for parameter t. The transformation matrix M is then entered. The demo then plots the original figure as a set of ordered pairs (x(t), y(t)) and the image of the transformed figure. A progression of images shows a step-by-step transition from the original figure to the final image. Uses for the demo.
Software There three programs that can be used to illustrate the ideas in this demo. Programs in MATLAB, LiveMath, and Excel, each with similar (but not the same) functionality. In the MATLAB and LiveMath versions the transition actions are animated automatically. In Excel, the student controls the animated movement manually by dragging a slider with a mouse.
To help your students prepare for data entry the following form is easy to use. It contains the features outlined above and can be used for any of the three platforms with minor adjustments. Click here for a pdf file containing this form.
![]()
![]() Examples:
The MATLAB version will accept polygonal figures defined by the coordinates of the vertices. See Animation 3 for an example. Click here for a pdf file describing the MATLAB program. The Excel version has its directions embedded in the display when the file executes. The transition from original to final figure requires the user to drag sliders. To use the LiveMath version you need to download the LiveMath Viewer. (A free download; click here.) The contents of the LiveMath notebook can be changed to perform various operations. Click in the appropriate box to download a version of software that accompanies this demo.
Credits: This demo was submitted by James Uebelacker juebelacker@newhaven.edu
and at the University of New Haven, West Haven, CT, and is included in Demos with Positive Impact with their permission. The MATLAB routine was written by David R. Hill, Temple University, and is included with his permission. |
![]() |
DRH 1/24/2003 Last updated 5/16/2006 (DRH)
Since 1/24/2003