8.1 Linear Requires

Keys:

  1. A linear transformation T takes vectors v to vectors T(v). Linearity requires:

    \[T(cv +dw) = cT(v) + dT(w)
    \]
  2. The input vectors v and outputs T(v) can be in \(R^n\) or matrix space or function space.

  3. If A is m by n, \(T(x)=Ax\) is linear from the input space \(R^n\) to the output space \(R^m\).

  4. The derivative \(T(f)=\frac{df}{dx}\) is linear.The integral \(T^+(f)=\int^x_0f(t)dt\) is its pseudoinverse.

    Derivative: \(1,x,x^2 \rightarrow 1,x\)

    \[u = a + bx + cx^2 \\
    \Downarrow \\
    Au = \left [ \begin{matrix} 0&1&0 \\ 0&0&2 \end{matrix} \right]
    \left [ \begin{matrix} a \\ b \\ c \end{matrix} \right]
    =\left [ \begin{matrix} b \\ 2c \end{matrix} \right] \\
    \Downarrow \\
    \frac{du}{dx} = b + 2cx
    \]

    Integration: \(1,x \rightarrow x,x^2\)

    \[\int^x_0(D+Ex)dx= Dx + \frac{1}{2}Ex^2 \\
    \Downarrow \\
    input \ \ v \ \ (D+Ex) \\
    A^+v = \left[ \begin{matrix} 0&0 \\ 1&0 \\ 0&\frac{1}{2} \end{matrix} \right]
    \left[ \begin{matrix} D \\ E \end{matrix} \right]
    =\left[ \begin{matrix} 0 \\D \\ \frac{1}{2}E \end{matrix} \right] \\
    \Downarrow \\
    T^+(v) = Dx + \frac{1}{2}Ex^2
    \]
  5. The product ST of two linear transformations is still linear : \((ST)(v)=S(T(v))\)

  6. Linear : rotated or stretched or other linear transformations.

8.2 Matrix instead of Linear Transformation

We can assign a matrix A to instead of every linear transformation T.

For ordinary column vectors, the input v is in \(V=R^n\) and the output \(T(v)\) is in \(W=R^m\), The matrix A for this transformation will be m by n.Our choice of bases in V and W will decide A.

8.2.1 Change of Basis

if \(T(v) = v\) means T is the identiy transformation.

  1. If input bases = output bases, then the matrix \(I\) will be choosed.

  2. If input bases not equal to output bases, then we can construct new matrix \(B=W^{-1}V\).

    example:

    \[input \ \ basis \ \ [v_1 \ \ v_2] = \left [ \begin{matrix} 3&6 \\ 3&8 \end{matrix} \right] \\
    output \ \ basis \ \ [w_1 \ \ w_2] = \left [ \begin{matrix} 3&0 \\ 1&2 \end{matrix} \right] \\
    \Downarrow \\
    v_1 = 1w_1 + 1w_2 \\
    v_2 = 2w_1 + 3w_2 \\
    \Downarrow \\
    [w_1 \ \ w_2] [B] = [v_1 \ \ v_2] \\
    \Downarrow \\
    \left [ \begin{matrix} 3&0 \\ 1&2 \end{matrix} \right]
    \left [ \begin{matrix} 1&2 \\ 1&3 \end{matrix} \right]
    =
    \left [ \begin{matrix} 3&6 \\ 3&8 \end{matrix} \right]
    \]

    when the input basis is in the columns of V, and the output basis is in the columns of W, the change of basis matrix for \(T\) is \(B=W^{-1}V\).

    Suppose the same vector u is written in input basis of v's and output basis of w's:

    \[u=c_1v_1 + \cdots + c_nv_n \\
    u=d_1w_1 + \cdots + d_nw_n \\
    \left [ \begin{matrix} v_1 \cdots v_n \end{matrix} \right]
    \left [ \begin{matrix} c_1 \\ \vdots \\ c_n \end{matrix} \right]
    =
    \left [ \begin{matrix} w_1 \cdots w_n \end{matrix} \right]
    \left [ \begin{matrix} d_1 \\ \vdots \\ d_n \end{matrix} \right]
    \\
    Vc=Wd \\
    d = W^{-1}Vc = Bc \\
    \]

    c is coordinates of input basis, d is coordinates of output basis.

8.2.2 Construction Matrix

Suppose T transforms the space V to space W. We choose a basis \(v_1,v_2,...,v_n\) for V and a basis \(w_1,w_2,...,w_n\) for W.

\[T(v_j) = combination \ \ of \ \ output \ \ basis \ \ vectors \\
=a_{1j}w_1 + \cdots + a_{mj}w_m
\]

The \(a_{ij}\) are into A.

\[v = c_1 + c_2x + c_3x^2 + c_4x^3 \\
T(v) =\frac{dv}{dx} = 1c_2 + 2c_3x + 3c_4x^2 \\
Ac=\left[ \begin{matrix} 0&1&0&0 \\ 0&0&2&0\\ 0&0&0&3 \end{matrix} \right]
\left[ \begin{matrix} c_1 \\ c_2 \\ c_3 \\ c_4 \end{matrix} \right]
=\left[ \begin{matrix} c_2 \\ 2c_3 \\ 3c_4 \end{matrix} \right]
\]

T takes the derivative, A is "derivative matrix".

8.2.3 Choosing the Best Bases

The same T is represented by different matrices when we choose different bases.

Perfect basis

Eigenvectors are the perfect basis vectors.They produce the eigenvalues matrix \(\Lambda = X^{-1}AX\)

Input basis = output basis

The new basis of b's is similar to A in the standard basis:

\[A_{b's \ \ to \ \ b's} = B^{-1}_{standard \ \ to \ \ b's} A_{standard} B^{-1}_{b's \ \ to \ \ strandard}
\]

Different basis

Probably A is not symmetric or even square, we can choose the right singular vectors (\(v_1,...,v_n\)) as input basis and the left singular vectors(\(u_1,...,u_n\)) as output basis.

\[B_{out}^{-1}AB_{in} = U^{-1}AV=\Sigma \ \ (singular \ \ values)
\]

\(\Sigma\) is "isometric" to A.

Definition : \(C=Q^{-1}_1AQ_{2}\) is isometric to A if \(Q_1\) and \(Q_2\) are orthogonal.

8.2.4 The Search of a Good Basis

Keys: fast and few basis.

  1. $B_{in} = B_{out} = $ eigenvector matrix X . Then \(X^{-1}AX\)= eigenvalues in \(\Lambda\).
  2. $B_{in} = V \ , \ B_{out} = U $ : singular vectors of A. Then \(U^{-1}AV\)= singular values in \(\Sigma\).
  3. $B_{in} = B_{out} = $ generalized eigenvectors of A . Then \(B^{-1}AB\)= Jordan form \(J\).
  4. $B_{in} = B_{out} = $ Fourier matrix F . Then \(Fx\) is a Discrete Fourier Transform of x.
  5. The Fourier basis : \(1,sinx,cosx,sin2x,cos2x,...\)
  6. The Legendre basis : \(1, x, x^2 - \frac{1}{3},x^3 - \frac{3}{5},...\)
  7. The Chebyshev basis : \(1, x, 2x^2 - 1,4x^3 - 3x,...\)
  8. The Wavelet basis.

8. Linear Transformations的更多相关文章

  1. Linear transformations. 线性变换与矩阵的关系

    0.2.2 Linear transformations. Let U be an n-dimensional vector space and let V be an m-dimensional v ...

  2. 线性代数导论 | Linear Algebra 课程

    搞统计的线性代数和概率论必须精通,最好要能锻炼出直觉,再学机器学习才会事半功倍. 线性代数只推荐Prof. Gilbert Strang的MIT课程,有视频,有教材,有习题,有考试,一套学下来基本就入 ...

  3. transformations 变换集合关系 仿射变换

    http://groups.csail.mit.edu/graphics/classes/6.837/F03/lectures/04_transformations.ppt https://group ...

  4. paper 128:奇异值分解(SVD) --- 线性变换几何意义[转]

    PS:一直以来对SVD分解似懂非懂,此文为译文,原文以细致的分析+大量的可视化图形演示了SVD的几何意义.能在有限的篇幅把这个问题讲解的如此清晰,实属不易.原文举了一个简单的图像处理问题,简单形象,真 ...

  5. 特征向量-Eigenvalues_and_eigenvectors#Graphs

    https://en.wikipedia.org/wiki/Eigenvalues_and_eigenvectors#Graphs A               {\displaystyle A} ...

  6. 转载:奇异值分解(SVD) --- 线性变换几何意义(上)

    本文转载自他人: PS:一直以来对SVD分解似懂非懂,此文为译文,原文以细致的分析+大量的可视化图形演示了SVD的几何意义.能在有限的篇幅把这个问题讲解的如此清晰,实属不易.原文举了一个简单的图像处理 ...

  7. (转) Deep Learning in a Nutshell: Core Concepts

    Deep Learning in a Nutshell: Core Concepts Share:   Posted on November 3, 2015by Tim Dettmers 7 Comm ...

  8. We Recommend a Singular Value Decomposition

    We Recommend a Singular Value Decomposition Introduction The topic of this article, the singular val ...

  9. A geometric interpretation of the covariance matrix

    A geometric interpretation of the covariance matrix Contents [hide] 1 Introduction 2 Eigendecomposit ...

  10. <转>机器学习笔记之奇异值分解的几何解释与简单应用

    看到的一篇比较好的关于SVD几何解释与简单应用的文章,其实是有中文译本的,但是翻译的太烂,还不如直接看英文原文的.课本上学的往往是知其然不知其所以然,希望这篇文能为所有初学svd的童鞋提供些直观的认识 ...

随机推荐

  1. c# rdkafka 设置偏移量(offset)

    参考资料: librdkafka: 如何设置Kafka消费者订阅消息的起始偏移位置 领导要求kafka消费者端消费最新的数据. 不知道怎么设置偏移量,查了资料. 用惯了封装好的东西,都不知道怎么设置了 ...

  2. 【LeetCode贪心#03】最大子序和

    最大子序和 力扣题目链接 给你一个整数数组 nums ,请你找出一个具有最大和的连续子数组(子数组最少包含一个元素),返回其最大和. 子数组 是数组中的一个连续部分. 示例 1: 输入:nums = ...

  3. ABP Suite模块项目中设置菜单及其多语言

    1.Blazor的菜单构造的类 ABP Suite自动生成的是这样: 2.从Study.Trade.Web的Menus下拷贝内容过来后 3.TradeMenus中增加一个常量 4.启动程序 单击Tra ...

  4. 【Azure Redis】Redis服务负载达到100%后的影响及有何优化方法

    问题描述 Redis服务负载达到100%后的影响及有何优化方法 问题解答 Redis的负载达到100% 意味着 Redis 服务器繁忙,无法跟上请求,导致客户端发送出来的请求超时. 常规情况下有一下几 ...

  5. Java 小练习(2) 利用面向对象的编程方法 设计类Circle计算圆的面积

    1 package com.bytezero.exer; 2 /*** 3 * 4 * @Description 5 * @author Bytezero·zhenglei! Email:420498 ...

  6. Advanced .Net Debugging 3:基本调试任务(对象检查:内存、值类型、引用类型、数组和异常的转储)

    一.介绍 这是我的<Advanced .Net Debugging>这个系列的第四篇文章.今天这篇文章的标题虽然叫做"基本调试任务",但是这章的内容还是挺多的.由于内容 ...

  7. centos 添加 公钥,root不用输入密码 ssh-keygen

    centos 添加 公钥,root不用输入密码 ssh-keygen -t rsa -C "yourEmail" 一通回车后,生成 C:\Users\Reciter/.ssh/id ...

  8. 专访OV组亚军|30岁的我,如何从码农转CG且获奖?

    "新锐先锋,玩转未来"--首届实时渲染3D动画创作大赛由瑞云科技主办,英伟达.青椒云.3DCAT实时渲染云协办,戴尔科技集团.Reallusion.英迈.万生华态.D5渲染器.中视 ...

  9. npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\shuzi\Desktop\保密文件项目\test-ui/package.json npm ERR! errno -4058

    打开一个新的项目,因为当前项目文件夹下没有npm,"dev": "npm run start:dev",所以所以没有展示对应的运行图,如下图: 打开一个新的前端 ...

  10. 记录--a标签跳转新地址无法访问,但手动输入新地址可以访问

    这里给大家分享我在网上总结出来的一些知识,希望对大家有所帮助 问题描述 最近遇到一个有意思的问题,项目中有一个地方,点击需要跳转到一个新的域名地址 笔者使用a标签做跳转,跳是跳过去了,可是跳过去以后, ...