<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Transformations_of_Functions</id>
	<title>Transformations of Functions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Transformations_of_Functions"/>
	<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Transformations_of_Functions&amp;action=history"/>
	<updated>2026-05-20T02:14:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Transformations_of_Functions&amp;diff=3870&amp;oldid=prev</id>
		<title>Khanh at 23:58, 14 November 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Transformations_of_Functions&amp;diff=3870&amp;oldid=prev"/>
		<updated>2021-11-14T23:58:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:58, 14 November 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l200&quot; &gt;Line 200:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 200:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;More complicated perspective projections can be composed by combining this one with rotations, scales, translations, and shears to move the image plane and center of projection wherever they are desired.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;More complicated perspective projections can be composed by combining this one with rotations, scales, translations, and shears to move the image plane and center of projection wherever they are desired.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Licensing == &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Content obtained and/or adapted from:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://en.wikipedia.org/wiki/Transformation_matrix Transformation matrix, Wikipedia] under a CC BY-SA license&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Transformations_of_Functions&amp;diff=3463&amp;oldid=prev</id>
		<title>Khanh at 20:23, 5 November 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Transformations_of_Functions&amp;diff=3463&amp;oldid=prev"/>
		<updated>2021-11-05T20:23:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:23, 5 November 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l133&quot; &gt;Line 133:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 133:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Reflection===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Reflection===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To reflect a point through a plane &amp;lt;math&amp;gt;ax + by + cz = 0&amp;lt;/math&amp;gt; (which goes through the origin), one can use &amp;lt;math&amp;gt;\mathbf{A} = \mathbf{I}-2\mathbf{NN}^\mathrm{T} &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mathbf{I}&amp;lt;/math&amp;gt; is the 3×3 identity matrix and &amp;lt;math&amp;gt;\mathbf{N}&amp;lt;/math&amp;gt; is the three-dimensional &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/del&gt;unit vector&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/del&gt;for the vector normal of the plane.  If the L2 norm of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is unity, the transformation matrix can be expressed as:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To reflect a point through a plane &amp;lt;math&amp;gt;ax + by + cz = 0&amp;lt;/math&amp;gt; (which goes through the origin), one can use &amp;lt;math&amp;gt;\mathbf{A} = \mathbf{I}-2\mathbf{NN}^\mathrm{T} &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mathbf{I}&amp;lt;/math&amp;gt; is the 3×3 identity matrix and &amp;lt;math&amp;gt;\mathbf{N}&amp;lt;/math&amp;gt; is the three-dimensional unit vector for the vector normal of the plane.  If the L2 norm of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is unity, the transformation matrix can be expressed as:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;\mathbf{A} = \begin{bmatrix} 1 - 2 a^2  &amp;amp; - 2 a b &amp;amp; - 2 a c \\ - 2 a b  &amp;amp; 1 - 2 b^2 &amp;amp; - 2 b c  \\ - 2 a c &amp;amp; - 2 b c &amp;amp; 1 - 2c^2 \end{bmatrix}&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;\mathbf{A} = \begin{bmatrix} 1 - 2 a^2  &amp;amp; - 2 a b &amp;amp; - 2 a c \\ - 2 a b  &amp;amp; 1 - 2 b^2 &amp;amp; - 2 b c  \\ - 2 a c &amp;amp; - 2 b c &amp;amp; 1 - 2c^2 \end{bmatrix}&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l200&quot; &gt;Line 200:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 200:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;More complicated perspective projections can be composed by combining this one with rotations, scales, translations, and shears to move the image plane and center of projection wherever they are desired.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;More complicated perspective projections can be composed by combining this one with rotations, scales, translations, and shears to move the image plane and center of projection wherever they are desired.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==References==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Rafael Artzy (1965) Linear Geometry&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# J. W. P. Hirschfeld (1979) Projective Geometry of Finite Fields, Clarendon Press&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Gentle, James E. (2007). &amp;quot;Matrix Transformations and Factorizations&amp;quot;. Matrix Algebra: Theory, Computations, and Applications in Statistics. Springer. ISBN 9780387708737.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Nearing, James (2010). &amp;quot;Chapter 7.3 Examples of Operators&amp;quot; (PDF). Mathematical Tools for Physics. ISBN 978-0486482125. Retrieved January 1, 2012.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Nearing, James (2010). &amp;quot;Chapter 7.9: Eigenvalues and Eigenvectors&amp;quot; (PDF). Mathematical Tools for Physics. ISBN 978-0486482125. Retrieved January 1, 2012.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# http://ocw.mit.edu/courses/aeronautics-and-astronautics/16-07-dynamics-fall-2009/lecture-notes/MIT16_07F09_Lec03.pdf&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Szymanski, John E. (1989). Basic Mathematics for Electronic Engineers:Models and Applications. Taylor &amp;amp; Francis. p. 154. ISBN 0278000681.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Cédric Jules (February 25, 2015). &amp;quot;2D transformation matrices baking&amp;quot;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Transformations_of_Functions&amp;diff=1456&amp;oldid=prev</id>
		<title>Khanh: Created page with &quot;In linear algebra, linear transformations can be represented by matrices.  If &lt;math&gt;T&lt;/math&gt; is a linear transformation mapping &lt;math&gt;\mathbb{R}^n&lt;/math&gt; to &lt;math&gt;\mathbb{R}^m...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Transformations_of_Functions&amp;diff=1456&amp;oldid=prev"/>
		<updated>2021-09-25T20:24:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;In linear algebra, linear transformations can be represented by matrices.  If &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is a linear transformation mapping &amp;lt;math&amp;gt;\mathbb{R}^n&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\mathbb{R}^m...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In linear algebra, linear transformations can be represented by matrices.  If &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is a linear transformation mapping &amp;lt;math&amp;gt;\mathbb{R}^n&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\mathbb{R}^m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf x&amp;lt;/math&amp;gt; is a column vector with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; entries, then&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;T( \mathbf x ) = A \mathbf x&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for some &amp;lt;math&amp;gt;m \times n&amp;lt;/math&amp;gt; matrix &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, called the '''transformation matrix''' of &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt;. Note that &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; has &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; rows and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; columns, whereas the transformation &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is from &amp;lt;math&amp;gt;\mathbb{R}^n&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\mathbb{R}^m&amp;lt;/math&amp;gt;.  There are alternative expressions of transformation matrices involving row vectors that are preferred by some authors.&lt;br /&gt;
&lt;br /&gt;
==Uses==&lt;br /&gt;
&lt;br /&gt;
Matrices allow arbitrary linear transformations to be displayed in a consistent format, suitable for computation. This also allows transformations to be composed easily (by multiplying their matrices).&lt;br /&gt;
&lt;br /&gt;
Linear transformations are not the only ones that can be represented by matrices.  Some transformations that are non-linear on an n-dimensional Euclidean space '''R'''&amp;lt;sup&amp;gt;''n''&amp;lt;/sup&amp;gt; can be represented as linear transformations on the ''n''+1-dimensional space '''R'''&amp;lt;sup&amp;gt;''n''+1&amp;lt;/sup&amp;gt;. These include both affine transformations (such as translation) and projective transformations. For this reason, 4×4 transformation matrices are widely used in 3D computer graphics. These ''n''+1-dimensional transformation matrices are called, depending on their application, ''affine transformation matrices'', ''projective transformation matrices'', or more generally ''non-linear transformation matrices''.  With respect to an ''n''-dimensional matrix, an ''n''+1-dimensional matrix can be described as an augmented matrix.&lt;br /&gt;
&lt;br /&gt;
In the physical sciences, an active transformation is one which actually changes the physical position of a system, and makes sense even in the absence of a coordinate system whereas a passive transformation is a change in the coordinate description of the physical system (change of basis). The distinction between active and passive transformations is important. By default, by ''transformation'', mathematicians usually mean active transformations, while physicists could mean either.&lt;br /&gt;
&lt;br /&gt;
Put differently, a ''passive'' transformation refers to description of the ''same'' object as viewed from two different coordinate frames.&lt;br /&gt;
&lt;br /&gt;
==Finding the matrix of a transformation==&lt;br /&gt;
&lt;br /&gt;
If one has a linear transformation &amp;lt;math&amp;gt;T(x)&amp;lt;/math&amp;gt; in functional form, it is easy to determine the transformation matrix ''A'' by transforming each of the vectors of the standard basis by ''T'', then inserting the result into the columns of a matrix. In other words,&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;A = \begin{bmatrix} T( \mathbf e_1 ) &amp;amp; T( \mathbf e_2 ) &amp;amp; \cdots &amp;amp; T( \mathbf e_n ) \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, the function &amp;lt;math&amp;gt;T(x) = 5x&amp;lt;/math&amp;gt; is a linear transformation.  Applying the above process (suppose that ''n'' = 2 in this case) reveals that&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;T( \mathbf{x} ) = 5 \mathbf{x} = 5I\mathbf{x} = \begin{bmatrix} 5 &amp;amp; 0 \\ 0 &amp;amp; 5 \end{bmatrix} \mathbf{x}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The matrix representation of vectors and operators depends on the chosen basis; a similar matrix will result from an alternate basis. Nevertheless, the method to find the components remains the same.&lt;br /&gt;
&lt;br /&gt;
To elaborate, vector &amp;lt;math&amp;gt;\mathbf v&amp;lt;/math&amp;gt; can be represented in basis vectors, &amp;lt;math&amp;gt;E = \begin{bmatrix}\mathbf e_1 &amp;amp; \mathbf e_2 &amp;amp; \cdots &amp;amp; \mathbf e_n\end{bmatrix}&amp;lt;/math&amp;gt; with coordinates &amp;lt;math&amp;gt; [\mathbf v]_E = \begin{bmatrix}v_1 &amp;amp; v_2 &amp;amp; \cdots &amp;amp; v_n\end{bmatrix}^\mathrm{T}&amp;lt;/math&amp;gt;:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\mathbf v = v_1 \mathbf e_1 + v_2 \mathbf e_2 + \cdots + v_n \mathbf e_n = \sum v_i \mathbf e_i = E [\mathbf v]_E&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, express the result of the transformation matrix ''A'' upon &amp;lt;math&amp;gt;\mathbf v&amp;lt;/math&amp;gt;, in the given basis:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{align}&lt;br /&gt;
  A(\mathbf v)&lt;br /&gt;
    &amp;amp;= A \left(\sum_i v_i \mathbf e_i \right)&lt;br /&gt;
     = \sum_i {v_i A(\mathbf e_i)} \\&lt;br /&gt;
    &amp;amp;= \begin{bmatrix}A(\mathbf e_1) &amp;amp; A(\mathbf e_2) &amp;amp; \cdots &amp;amp; A(\mathbf e_n)\end{bmatrix} [\mathbf v]_E&lt;br /&gt;
     = A \cdot [\mathbf v]_E \\[3pt]&lt;br /&gt;
    &amp;amp;= \begin{bmatrix}\mathbf e_1 &amp;amp; \mathbf e_2 &amp;amp; \cdots &amp;amp; \mathbf e_n \end{bmatrix}&lt;br /&gt;
       \begin{bmatrix}&lt;br /&gt;
         a_{1,1} &amp;amp; a_{1,2} &amp;amp; \cdots &amp;amp; a_{1,n} \\&lt;br /&gt;
         a_{2,1} &amp;amp; a_{2,2} &amp;amp; \cdots &amp;amp; a_{2,n} \\&lt;br /&gt;
          \vdots &amp;amp;  \vdots &amp;amp; \ddots &amp;amp;  \vdots \\&lt;br /&gt;
         a_{n,1} &amp;amp; a_{n,2} &amp;amp; \cdots &amp;amp; a_{n,n} \\&lt;br /&gt;
       \end{bmatrix}&lt;br /&gt;
       \begin{bmatrix} v_1 \\ v_2 \\ \vdots \\ v_n\end{bmatrix} &lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;a_{i,j}&amp;lt;/math&amp;gt; elements of matrix ''A'' are determined for a given basis ''E'' by applying ''A'' to every &amp;lt;math&amp;gt;\mathbf e_j = \begin{bmatrix}0 &amp;amp; 0 &amp;amp; \cdots &amp;amp; (v_j=1) &amp;amp; \cdots &amp;amp; 0\end{bmatrix}^\mathrm{T}&amp;lt;/math&amp;gt;, and observing the response vector&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;A \mathbf e_j = a_{1,j} \mathbf e_1 + a_{2,j} \mathbf e_2 + \cdots + a_{n,j} \mathbf e_n = \sum_i a_{i,j} \mathbf e_i.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This equation defines the wanted elements, &amp;lt;math&amp;gt;a_{i,j}&amp;lt;/math&amp;gt;, of ''j''-th column of the matrix ''A''.&lt;br /&gt;
&lt;br /&gt;
===Eigenbasis and diagonal matrix===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Yet, there is a special basis for an operator in which the components form a diagonal matrix and, thus, multiplication complexity reduces to n. Being diagonal means that all coefficients &amp;lt;math&amp;gt;a_{i,j} &amp;lt;/math&amp;gt; but &amp;lt;math&amp;gt;a_{i,i}&amp;lt;/math&amp;gt; are zeros leaving only one term in the sum &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\sum a_{i,j} \mathbf e_i&amp;lt;/math&amp;gt; above. The surviving diagonal elements, &amp;lt;math&amp;gt;a_{i,i}&amp;lt;/math&amp;gt;, are known as '''eigenvalues''' and designated with &amp;lt;math&amp;gt;\lambda_i&amp;lt;/math&amp;gt; in the defining equation, which reduces to &amp;lt;math&amp;gt;A \mathbf e_i = \lambda_i \mathbf e_i&amp;lt;/math&amp;gt;. The resulting equation is known as '''eigenvalue equation'''. The eigenvectors and eigenvalues are derived from it via the '''characteristic polynomial'''.&lt;br /&gt;
&lt;br /&gt;
With diagonalization, it is often possible to translate to and from eigenbases.&lt;br /&gt;
&lt;br /&gt;
==Examples in 2 dimensions==&lt;br /&gt;
&lt;br /&gt;
Most common geometric transformations that keep the origin fixed are linear, including rotation, scaling, shearing, reflection, and orthogonal projection; if an affine transformation is not a pure translation it keeps some point fixed, and that point can be chosen as origin to make the transformation linear.  In two dimensions, linear transformations can be represented using a 2×2 transformation matrix.&lt;br /&gt;
&lt;br /&gt;
===Stretching===&lt;br /&gt;
A stretch in the ''xy''-plane is a linear transformation which enlarges all distances in a particular direction by a constant factor but does not affect distances in the perpendicular direction. We only consider stretches along the x-axis and y-axis. A stretch along the x-axis has the form &amp;lt;var&amp;gt;x'&amp;lt;/var&amp;gt; = &amp;lt;var&amp;gt;kx&amp;lt;/var&amp;gt;; &amp;lt;var&amp;gt;y'&amp;lt;/var&amp;gt; = &amp;lt;var&amp;gt;y&amp;lt;/var&amp;gt; for some positive constant &amp;lt;var&amp;gt;k&amp;lt;/var&amp;gt;. (Note that if &amp;lt;var&amp;gt;k&amp;lt;/var&amp;gt; is &amp;amp;gt; 1, then this really is a &amp;quot;stretch&amp;quot;; if &amp;lt;var&amp;gt;k&amp;lt;/var&amp;gt; is &amp;amp;lt; 1, it is technically a &amp;quot;compression&amp;quot;, but we still call it a stretch. Also, if &amp;lt;var&amp;gt;k&amp;lt;/var&amp;gt;=1, then the transformation is an identity, i.e. it has no effect.)&lt;br /&gt;
&lt;br /&gt;
The matrix associated with a stretch by a factor &amp;lt;var&amp;gt;k&amp;lt;/var&amp;gt; along the x-axis is given by:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix} k &amp;amp;  0 \\ 0 &amp;amp; 1 \end{bmatrix} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, a stretch by a factor &amp;lt;var&amp;gt;k&amp;lt;/var&amp;gt; along the y-axis has the form &amp;lt;var&amp;gt;x'&amp;lt;/var&amp;gt; = &amp;lt;var&amp;gt;x&amp;lt;/var&amp;gt;; &amp;lt;var&amp;gt;y'&amp;lt;/var&amp;gt; = &amp;lt;var&amp;gt;ky&amp;lt;/var&amp;gt;, so the matrix associated with this transformation is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix} 1 &amp;amp;  0 \\ 0 &amp;amp; k \end{bmatrix} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Squeezing===&lt;br /&gt;
If the two stretches above are combined with reciprocal values, then the transformation matrix represents a squeeze mapping:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix} k &amp;amp;  0 \\ 0 &amp;amp; 1/k \end{bmatrix} .&amp;lt;/math&amp;gt;&lt;br /&gt;
A square with sides parallel to the axes is transformed to a rectangle that has the same area as the square. The reciprocal stretch and compression leave the area invariant.&lt;br /&gt;
&lt;br /&gt;
===Rotation===&lt;br /&gt;
&lt;br /&gt;
For rotation by an angle θ '''clockwise''' (negative direction) about the origin the functional form is &amp;lt;math&amp;gt;x' = x \cos \theta + y \sin \theta&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y' =  - x \sin \theta + y \cos \theta&amp;lt;/math&amp;gt;.  Written in matrix form, this becomes:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} \cos \theta &amp;amp;  \sin\theta \\ -\sin \theta &amp;amp; \cos \theta \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, for a rotation '''counterclockwise''' (positive direction) about the origin, the functional form is &amp;lt;math&amp;gt;x' = x \cos \theta - y \sin \theta&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y' = x \sin \theta + y \cos \theta&amp;lt;/math&amp;gt; the matrix form is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} \cos \theta &amp;amp;   -\sin\theta \\ \sin \theta &amp;amp; \cos \theta \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These formulae assume that the ''x'' axis points right and the ''y'' axis points up.&lt;br /&gt;
&lt;br /&gt;
===Shearing===&lt;br /&gt;
&lt;br /&gt;
For shear mapping (visually similar to slanting), there are two possibilities.&lt;br /&gt;
&lt;br /&gt;
A shear parallel to the ''x'' axis has &amp;lt;math&amp;gt;x' = x + ky&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y' = y&amp;lt;/math&amp;gt;. Written in matrix form, this becomes:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} 1 &amp;amp; k \\ 0 &amp;amp; 1 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A shear parallel to the ''y'' axis has &amp;lt;math&amp;gt;x' = x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y' = y + kx&amp;lt;/math&amp;gt;, which has matrix form:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} 1 &amp;amp; 0 \\ k &amp;amp; 1 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reflection===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For reflection about a line that goes through the origin, let &amp;lt;math&amp;gt;\mathbf{l} = (l_x, l_y)&amp;lt;/math&amp;gt; be a vector in the direction of the line. Then use the transformation matrix:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\mathbf{A} = \frac{1}{\lVert\mathbf{l}\rVert^2} \begin{bmatrix} l_x^2 - l_y^2 &amp;amp; 2 l_x l_y \\ 2 l_x l_y &amp;amp; l_y^2 - l_x^2 \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Orthogonal projection===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To project a vector orthogonally onto a line that goes through the origin, let &amp;lt;math&amp;gt;\mathbf{u} = (u_x, u_y)&amp;lt;/math&amp;gt; be a vector in the direction of the line.  Then use the transformation matrix:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\mathbf{A} = \frac{1}{\lVert\mathbf{u}\rVert^2} \begin{bmatrix} u_x^2 &amp;amp; u_x u_y \\ u_x u_y &amp;amp; u_y^2 \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As with reflections, the orthogonal projection onto a line that does not pass through the origin is an affine, not linear, transformation.&lt;br /&gt;
&lt;br /&gt;
Parallel projections are also linear transformations and can be represented simply by a matrix.  However, perspective projections are not, and to represent these with a matrix, homogeneous coordinates can be used.&lt;br /&gt;
&lt;br /&gt;
==Examples in 3D computer graphics==&lt;br /&gt;
&lt;br /&gt;
===Rotation===&lt;br /&gt;
The matrix to rotate an angle ''θ'' about any axis defined by unit vector (''l'',''m'',''n'') is &lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix}&lt;br /&gt;
ll(1-\cos \theta)+\cos\theta &amp;amp; ml(1-\cos\theta)-n\sin\theta &amp;amp; nl(1-\cos\theta)+m\sin\theta\\&lt;br /&gt;
lm(1-\cos\theta)+n\sin\theta &amp;amp; mm(1-\cos\theta)+\cos\theta &amp;amp; nm(1-\cos\theta)-l\sin\theta \\&lt;br /&gt;
ln(1-\cos\theta)-m\sin\theta &amp;amp; mn(1-\cos\theta)+l\sin\theta &amp;amp; nn(1-\cos\theta)+\cos\theta&lt;br /&gt;
\end{bmatrix}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Reflection===&lt;br /&gt;
&lt;br /&gt;
To reflect a point through a plane &amp;lt;math&amp;gt;ax + by + cz = 0&amp;lt;/math&amp;gt; (which goes through the origin), one can use &amp;lt;math&amp;gt;\mathbf{A} = \mathbf{I}-2\mathbf{NN}^\mathrm{T} &amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mathbf{I}&amp;lt;/math&amp;gt; is the 3×3 identity matrix and &amp;lt;math&amp;gt;\mathbf{N}&amp;lt;/math&amp;gt; is the three-dimensional [[unit vector]] for the vector normal of the plane.  If the L2 norm of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is unity, the transformation matrix can be expressed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\mathbf{A} = \begin{bmatrix} 1 - 2 a^2  &amp;amp; - 2 a b &amp;amp; - 2 a c \\ - 2 a b  &amp;amp; 1 - 2 b^2 &amp;amp; - 2 b c  \\ - 2 a c &amp;amp; - 2 b c &amp;amp; 1 - 2c^2 \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that these are particular cases of a Householder reflection in two and three dimensions.  A reflection about a line or plane that does not go through the origin is not a linear transformation — it is an affine transformation — as a 4×4 affine transformation matrix, it can be expressed as follows (assuming the normal is a unit vector):&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix} x' \\ y' \\ z' \\ 1 \end{bmatrix} = \begin{bmatrix} 1 - 2 a^2  &amp;amp; - 2 a b &amp;amp; - 2 a c &amp;amp; - 2 a d \\ - 2 a b  &amp;amp; 1 - 2 b^2 &amp;amp; - 2 b c &amp;amp; - 2 b d \\ - 2 a c &amp;amp; - 2 b c &amp;amp; 1 - 2c^2 &amp;amp; - 2 c d \\ 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 1 \end{bmatrix} \begin{bmatrix} x \\ y \\ z \\ 1 \end{bmatrix} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;d = -\mathbf{p} \cdot \mathbf{N}&amp;lt;/math&amp;gt; for some point &amp;lt;math&amp;gt;\mathbf{p}&amp;lt;/math&amp;gt; on the plane, or equivalently, &amp;lt;math&amp;gt;ax + by + cz + d = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the 4th component of the vector is 0 instead of 1, then only the vector's direction is reflected and its length remains unchanged, as if it were mirrored through a parallel plane that passes through the origin. This is a useful property as it allows the transformation of both positional vectors and normal vectors with the same matrix.  See homogeneous coordinates and affine transformations below for further explanation.&lt;br /&gt;
&lt;br /&gt;
==Composing and inverting transformations==&lt;br /&gt;
&lt;br /&gt;
One of the main motivations for using matrices to represent linear transformations is that transformations can then be easily composed and inverted.&lt;br /&gt;
&lt;br /&gt;
Composition is accomplished by matrix multiplication. Row and column vectors are operated upon by matrices, rows on the left and columns on the right. Since text reads from left to right, column vectors are preferred when transformation matrices are composed:&lt;br /&gt;
&lt;br /&gt;
If '''A''' and '''B''' are the matrices of two linear transformations, then the effect of first applying '''A''' and then '''B''' to a column vector &amp;lt;math&amp;gt;\mathbf{x}&amp;lt;/math&amp;gt; is given by:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\mathbf{B}(\mathbf{A} \mathbf x) = (\mathbf{BA}) \mathbf x.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In other words, the matrix of the combined transformation '''''A''' followed by '''B''''' is simply the product of the individual matrices.&lt;br /&gt;
&lt;br /&gt;
When '''A''' is an invertible matrix there is a matrix '''A'''&amp;lt;sup&amp;gt;−1&amp;lt;/sup&amp;gt; that represents a transformation that &amp;quot;undoes&amp;quot; '''A''' since its composition with '''A''' is the identity matrix. In some practical applications, inversion can be computed using general inversion algorithms or by performing inverse operations (that have obvious geometric interpretation, like rotating in opposite direction) and then composing them in reverse order.  Reflection matrices are a special case because they are their own inverses and don't need to be separately calculated.&lt;br /&gt;
&lt;br /&gt;
==Other kinds of transformations==&lt;br /&gt;
&lt;br /&gt;
===Affine transformations===&lt;br /&gt;
[[File:2D affine transformation matrix.svg|thumb|250px|right|Effect of applying various 2D affine transformation matrices on a unit square. Note that the reflection matrices are special cases of the scaling matrix.]]&lt;br /&gt;
&lt;br /&gt;
To represent affine transformations with matrices, we can use homogeneous coordinates.  This means representing a 2-vector (''x'', ''y'') as a 3-vector (''x'', ''y'', 1), and similarly for higher dimensions.  Using this system, translation can be expressed with matrix multiplication.  The functional form &amp;lt;math&amp;gt;x' = x + t_x; y' = y + t_y&amp;lt;/math&amp;gt; becomes:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix} x' \\ y' \\ 1 \end{bmatrix} = \begin{bmatrix} 1 &amp;amp; 0 &amp;amp; t_x \\ 0 &amp;amp; 1 &amp;amp; t_y \\ 0 &amp;amp; 0 &amp;amp; 1 \end{bmatrix} \begin{bmatrix} x \\ y \\ 1 \end{bmatrix}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All ordinary linear transformations are included in the set of affine transformations, and can be described as a simplified form of affine transformations. Therefore, any linear transformation can also be represented by a general transformation matrix. The latter is obtained by expanding the corresponding linear transformation matrix by one row and column, filling the extra space with zeros except for the lower-right corner, which must be set to 1. For example, ''the '''counter-clockwise''' rotation matrix from above'' becomes:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix} \cos \theta &amp;amp;  -\sin \theta &amp;amp; 0 \\ \sin \theta &amp;amp; \cos \theta &amp;amp; 0 \\ 0 &amp;amp; 0 &amp;amp; 1 \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using transformation matrices containing homogeneous coordinates, translations become linear, and thus can be seamlessly intermixed with all other types of transformations. The reason is that the real plane is mapped to the ''w'' = 1 plane in real projective space, and so translation in real Euclidean space can be represented as a shear in real projective space. Although a translation is a non-linear transformation in a 2-D or 3-D Euclidean space described by Cartesian coordinates (i.e. it can't be combined with other transformations while preserving commutativity and other properties), it becomes, in a 3-D or 4-D projective space described by homogeneous coordinates, a simple linear transformation (a shear).&lt;br /&gt;
&lt;br /&gt;
More affine transformations can be obtained by composition of two or more affine transformations. For example, given a translation '''T'''' with vector &amp;lt;math&amp;gt;(t'_x, t'_y),&amp;lt;/math&amp;gt; a rotation '''R''' by an angle θ '''counter-clockwise''', a scaling '''S''' with factors &amp;lt;math&amp;gt;(s_x, s_y)&amp;lt;/math&amp;gt; and a translation '''T''' of vector &amp;lt;math&amp;gt;(t_x, t_y),&amp;lt;/math&amp;gt; the result '''M''' of '''T'RST''' is:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
s_x \cos \theta &amp;amp; - s_y \sin \theta &amp;amp; t_x s_x \cos \theta - t_y s_y \sin \theta + t'_x \\&lt;br /&gt;
s_x  \sin \theta &amp;amp; s_y \cos \theta &amp;amp; t_x s_x \sin \theta + t_y s_y \cos \theta + t'_y \\&lt;br /&gt;
0      &amp;amp; 0 &amp;amp; 1&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When using affine transformations, the homogeneous component of a coordinate vector (normally called ''w'') will never be altered.  One can therefore safely assume that it is always 1 and ignore it.  However, this is not true when using perspective projections.&lt;br /&gt;
&lt;br /&gt;
===Perspective projection===&lt;br /&gt;
&lt;br /&gt;
[[File:Perspective transformation matrix 2D.svg|thumb|Comparison of the effects of applying 2D affine and perspective transformation matrices on a unit square.]]&lt;br /&gt;
Another type of transformation, of importance in 3D computer graphics, is the perspective projection.  Whereas parallel projections are used to project points onto the image plane along parallel lines, the perspective projection projects points onto the image plane along lines that emanate from a single point, called the center of projection.  This means that an object has a smaller projection when it is far away from the center of projection and a larger projection when it is closer (see also reciprocal function).&lt;br /&gt;
&lt;br /&gt;
The simplest perspective projection uses the origin as the center of projection, and the plane at &amp;lt;math&amp;gt;z = 1&amp;lt;/math&amp;gt; as the image plane.  The functional form of this transformation is then &amp;lt;math&amp;gt;x' = x / z&amp;lt;/math&amp;gt;; &amp;lt;math&amp;gt;y' = y / z&amp;lt;/math&amp;gt;.  We can express this in homogeneous coordinates as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix} x_c \\ y_c \\ z_c \\ w_c \end{bmatrix} = \begin{bmatrix} 1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 \\ 0 &amp;amp; 1 &amp;amp; 0 &amp;amp; 0 \\ 0 &amp;amp; 0 &amp;amp; 1 &amp;amp; 0 \\ 0 &amp;amp; 0 &amp;amp;  1 &amp;amp; 0 \end{bmatrix} \begin{bmatrix} x \\ y \\ z \\ 1 \end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After carrying out the matrix multiplication, the homogeneous component &amp;lt;math&amp;gt;w_c&amp;lt;/math&amp;gt; will be equal to the value of &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; and the other three will not change. Therefore, to map back into the real plane we must perform the '''homogeneous divide''' or '''perspective divide''' by dividing each component by &amp;lt;math&amp;gt;w_c&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{bmatrix} x' \\ y' \\ z' \\ 1 \end{bmatrix} = \frac{1}{w_c} \begin{bmatrix} x_c \\ y_c \\ z_c \\ w_c \end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More complicated perspective projections can be composed by combining this one with rotations, scales, translations, and shears to move the image plane and center of projection wherever they are desired.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
# Rafael Artzy (1965) Linear Geometry&lt;br /&gt;
# J. W. P. Hirschfeld (1979) Projective Geometry of Finite Fields, Clarendon Press&lt;br /&gt;
# Gentle, James E. (2007). &amp;quot;Matrix Transformations and Factorizations&amp;quot;. Matrix Algebra: Theory, Computations, and Applications in Statistics. Springer. ISBN 9780387708737.&lt;br /&gt;
# Nearing, James (2010). &amp;quot;Chapter 7.3 Examples of Operators&amp;quot; (PDF). Mathematical Tools for Physics. ISBN 978-0486482125. Retrieved January 1, 2012.&lt;br /&gt;
# Nearing, James (2010). &amp;quot;Chapter 7.9: Eigenvalues and Eigenvectors&amp;quot; (PDF). Mathematical Tools for Physics. ISBN 978-0486482125. Retrieved January 1, 2012.&lt;br /&gt;
# http://ocw.mit.edu/courses/aeronautics-and-astronautics/16-07-dynamics-fall-2009/lecture-notes/MIT16_07F09_Lec03.pdf&lt;br /&gt;
# Szymanski, John E. (1989). Basic Mathematics for Electronic Engineers:Models and Applications. Taylor &amp;amp; Francis. p. 154. ISBN 0278000681.&lt;br /&gt;
# Cédric Jules (February 25, 2015). &amp;quot;2D transformation matrices baking&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
</feed>