Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/notebooks/Chapter 11 - Linear Transformation.ipynb
Views: 449
Linear Transformation
There are many new terminologies in this chapter, however they are not entirely new to us.
Let and be vector spaces. The mapping is called a linear transformation if an only if
for all and all . If , then is called a linear operator. For each , the vector is called the image of under .
Parametric Function Plotting
We need one tool for illustrating linear transformation.
We want to plot any line in vector space by an equation: . We need to know vector and to plot the line.
For instance, , and , subsitute them into our equation
We will create a plot to illustrate the linear transformation later.
A Simple Linear Transformation
Now we know the parametric functions in , we can show how a linear transformation acturally works on a line.
Let's say, we perform linear transformation on a vector ,
and substitute the parametric function into the linear operator.
The red line is transformed into blue line and point transformed into
Visualization of Change of Basis
Change of basis is also a kind of linear transformation. Let's create a grid.
We plot each row of again each row of
Let and be two bases in
If we want to use basis to represent , we can construct an augmented matrix like we did before.
We find the transition matrix
We can write
$$\big[x\big]_A = P_{A\leftarrow B}\big[u\big]_B\\ \left[ \begin{matrix} x_1\\x_2 \end{matrix} \right] = \left[ \begin{matrix} 1 & 1\\1 & -2 \end{matrix} \right] \left[ \begin{matrix} u_1\\u_2 \end{matrix} \right]\\$$Therefore
Let's plot original and transformed coordinates together.