Ma1522 Impt Info Cheatsheet
Ma1522 Impt Info Cheatsheet
SU
CH
GO
OD
FR
IEN
DS
RREF
>
-
only unique
Acha
not be square
may
>
-
this is P
= [5 ]c 5
-- only
in RREF
n -
k
-
>
notForthiscor
a
-
0 = positive
>
-
O rector
CE
~
v -
Proj
Proj
Ex not As a
must
be lin
A
indest to un !
Topic: Linear Algebra basics
operations
T
&
(cA) = cA
T T
⑧ (A+B) = A + B
⑧
kT
(A ) = (A )
-
K
A = A ->…—> A -> B
8 K
T O
·
A = 90 rotate of A
and then invert
- k
A = (A )
-
I k
A= (a)
(i)
⑧
&
m+n
A =AA
M n
then
, A" =
mn mn
·
(A ) = A
(cA) = +A-
-
&
1 - 1 -
1
(AB) = B A
-
&
I
AM = I; M = A
-
&
LU Decomp
Algorithim:
1. RREF to form a upper triangular R
2. Use same elementary operations in
reverse with signs inverted on identity
matrix to get L
Can find y
Form
-
⑧
I .
AA=I
1
! 2. Non-Invertible (singular)
-
(AB) = A B
- -
Singular Matrix:
. RREF A
2 At
⑳
In to In
• Not Row Equiv. To I
(A ) = inverse of A
- 1T T
·
turn At
• Do not have n pivot positions
A into
I to foul
(A A … A ) = A A … A
I 1 1
I
-
- -
-
due to matrices of
being products
*0
·
!
Note: Zero matrix is not invertible. In face, any matrix with zero row/
column is not invertible due to Lin dependence
· ifad-b=0, is
not inverteare
( = 1 - 1) Azl
is
-> For n > 2 type ass matrix: ignore ithrow adi (A) (Ajiman) =
(Aijnen) =
= a a
-
Adjoin Prop:
*
+.... t -
1 Ain det (Ain)
1 decides + o-
r
A[B]
-> det = (I, j)-th minor of A
·
.
=
AxB
ij
-
·
ATadj(A)] =
det (A) I
-> if A is triangular matrix:
h = order of matrix [adj(A)] A def(A) I
det(A) = product of main diagonal entries
· =
Properties: start
ent
e
abs
↓ value ·
A" =
[de + (A)]"x adj (A)
Row ops. applied and how det (A) changes (A- B) >
R2
· -
::
· R, c R2
:: det(B) = -
detCA) ·
BAB" -
> A- A
f
· adjA =
(detA)"
·
kxR , :: def(B) =
k det (A) ·
if haveo color
o row
·
adj(adjA) =
(detA)" A
then def (A)
det (AT) det (A) det (A) dith
=
·
=
;
=
Recall
x ,
· -
x =
"in Creamers is to find :
Value !
,
det[ b)
-
x =
:
i
vector spaces!
Implicit Form: & vEIR")v fulfills some conditions?
• Implicit -> Explicit is to find its general
System implicit
solution !
linear -
> furn
Gr
911x + 02ket ...
+ Anan =
z3 and + an in
:Slatbya
+
x
y
= =
unique solution
.
am Amman
implicit from
, 32 + ameiizt .. - + =
bm
4) In u prom
• Explicit -> Implicit is to find T in terms
of params like x y and z. Then it forms a
[Ct -2
Explicit Form: General sol. To Lin. System
xample : line is -2 + + 3 , t + 1) +ER3
linear system of T. RREF and solve to
,
Step 1 : t in terms of x,
Y z
S Paramsh
sol.
general x= t 2
y 2t + 3 z t+
implicit like 0 = 2x + y - 3z
-
= -
=
, ,
in restor form
·
this is a linear
< +2 + O
System ! Pivotant :
·
·
system is the set of solution
- A subset V = IR" is a subspace if: our vectors to the system
Sk 21/2 ea
(a) Contains the origin (0 vector) Whatitmore thana
+ 1 0 and -x + z-3
03 *
: 3,
= =
OEU
~
I
(b) Closed under addition
U +V f for any n
,
ver What is a homogenous linear system?
(c) Closed under scalar multiplication
Suppose, Ax = b if b = 0 then it is homo (contain
sector (
Cue
frangueV ,
COR
↑ Solution sets to non-homo systems do not True false Shit
spil contain the origin or 0. Intersection of any collection of subspaces of V is also a subspace of V
OR
⑨
d&
V is a linear span for some finite set S Dim of intersection of 2 subspaces U and W of V is always Sum of dim
⑨ 2
Key Ideas: ⑧
Span is a collection of vectors which are
⑳
Span can have many vectors the ‘building’ blocks for the space
&
Span vectors may not all be independent of each other ⑧
v is in the span if it is a Linear combination
①
When forming basis check to see any vectors in the span ⑨
If RREF a linear system and it is consistent
are a linear combination of any other vectors. then it is a linear combination
⑧
Linear independent means all vectors are CANNOT be
Dim of the span of a set of vectors is
formed by linear combination of the other vectors.
⑨
(a)
(w) spand s) a Span
* if Span(s) = Span
but
if
the Spansul
spancs) /
>
-
- S C
w-
VI We U , 12 Us
SEIRM
isespan To show Linear independence
u
see
1. Write the linear combi equation
-
Key Formulas:
like M
QR decorp
⑧
n = Rank(A) + Nullity(A)
⑧
Rank(A) = n = dim(A) if A is full rank
⑨ n - rank(A) = dim(solution space) Ax = b
number of cols of A = n
· dim(row space) = dim(col space) = rank(A)
just
add
non
zeroe te
rank(A) = rank(A ) Consistency Theory
↓dsincere
T
·
23
to be
:
-
ais
="
V =
aju ,+... +
AjU = u
; [v] akj
PQ =
I
a -dik
P Q
P 1
(aij)km [v]s -[v]s
= = -
S -
> T -
> S
Akk then QP =
I
waV
, [W]g =
PIN] +
if S -
> T
thn
( +(s)-
defining Us in terms of
Row and Column Space > ith row vector
r
ST
-
...
v
SpanEs, ....
Cm3
Vector
dist
d(u , v)
* d(u , w) =
+ d(r, w)
1. In rI .
ll411 VIVII
v11a1(all + 1v1
. (lu
2 +
Topic: Orthogonality and Orthonormal Orthogonal set of nonzero vectors is linear independent
A A = I => A is invertible Orthonormal Set is a orthogonal set and all vectors are unit vectors
T -
⑧ &
-
orthonormal set
If S contains n non-zero vectors in R , it is orthogonal basis
How to find orthogonal basis?
Or tho
> Orthogonal
normal
of
If S contains k non-zero vectors in V,
subset
> S = Orthonorm
S is orthogonal basis of V
70ES
S
Or tho
gonal >Subdetrogonal
algro
> SUS03 :
orthogonal
by
t
Form 7
system produc
-&
solution
general
Orthogonal Matrix
&
Suppose A is orthogonal. Suppose B is also orthogonal
⑧
AA=I
T -
⑨ -
k
⑧
Cols of A form orthonormal basis for R
Rows of A form orthonormal basis for R
More on orthogonal matrix props
⑨
&
Orthogonal Matrices represent linear transformations
Pre-multiplication of an orthogonal matrix
that preserve lengths and angles of vectors
⑧
PROJECTION VISUASL
ORTOGONAL PROJECTION
Topic: Least Sum Squared Solutions
Key formulas Key Ideas
A Ax = A b The projection is best approx, minimize the difference in ||Ax - b||
T T
⑧
⑨
(A A | A b) —> to find u is to minimize the squares in distance formula so its called least
T T RREF
O
⑨
u = L.S.S sum of squares to minimize!
U is a Least Sq. Solution to Ax = b iff A Ax = A b AAu
T T
Au = projection of b onto V
⑧ =
⑧
-1
A(A A) A w = projection of w
T T
⑧
Basic info
Usually if no eq given
Example of use Typically problems will give you an Using Method 1: Ax = b here is inconsistent!
equation which ‘minimizse’ the square vector not
Substant
①
in Space
r2
P-
i ② GS
known so roles are reversed! Find Orthonormal basis via
5)
8
(
0 .
5 .. vi = ,
3 ,
,
Ve = - ....
,
>
T : -
2
=
111
psE70
(
·
11 1..
0 3
4
-
Solve
AkA
.
012-
812 --
1 .
6
Ax =
O u, +
Uz
23/6
.
p =
!
)
0 -
= 0 .
9225 also • For any choice of LSS,
3150 Projection Au always is unique
0
• False -> Ax = b has unique LSS
-
equations
irix >
-
-
Topic: QR Decomp Deep Dive
Key Formulas Key Ideas
·
A = QR
⑧
Can use orthonormal property to get an upper triangular matrix via dot product
⑧
Rx = Q b
⑨
Rx = Q b has unique solution so Ax = b has unique LSS which is the unique
(Q is orthonormal basis solution to this equation
and R is upper triangular) ⑨
Good for geometric representation of geometric transformations! As
orthonormal basis -> new axis -> as relative coordinate vectors
Ax = b => x = Q b
Orthogonal and QR decomposition geometric representation find Orthogonal complement and add it
W = Nul(A )
-
T
231 I 5/17
-
Cz =
free variable
Spend
A = QR => Q A = Q AR = R
A is m x n matrix with L.I columns
-> A A is invertible
-> A has a left inverse in B s.t BA = I
Topic: Diagonalization and Eigenvalues
Key Formulas ·
K
Key Definitions
k
K -1
A = PD P
-1 k 1
D = P AP
Av =Xv eigenvector v is associated with A and Eigenvalue lambda EigenVector: vector associated with Eigenvalue via EQ.
n
EigenSpace: nullspace of input the value
2
x n = Ax n-1=A x n-2= … = A x 0 Recurssive Formula (stats)
det ( XI- A) -
P = { u u … unj
} U >
Ali
EigenVectors are all non-zero vectors in Eigenspace
eigenvect Xi4i/
is - =
<
1
7 Vectors
G(x) 1 A(x)
for X
6. Compare Algebraic and Geometric Multiplicity to see if can diagonalize IF G(x) JA(x) then not diagonizable
7. Define A in terms of A to find Matrix A for recurssive
I g
8. When dealing with n -> C with recursive; find terms without power n less than 1 x, = 0 .
7 = 0 .
) =0
linear factors
Topic: Orthogonal Diag + SVD
Key formulas Key ideas
⑧
Orthogonal (Symmetric matrix A) ⑧
If A is orthogonal diagonalizable THEN A = A . Therefore A must be symmetrical.
I
P =P
T
IF A is symmetrical its eigenspaces are orthogonal to each other.
-
⑨ A = UIVT ·
Sym !
7 Found eigenvalues
for each X :
space
corresponding Eigen
-
or thogonal
matrix
P
-
of where U order m
ATA X is square
Orthogonal
=
so Matrix
their ,
values
V =
Order n Orthogonal matrix
D Orx(n r)
2
-
D =
order r diagonal matrix ,
v = min (m , n)
Example of SVD:
SVD Algorithm
exter
App
inerecte
Diagonal
0 !
rest
Av U
is
<— Example 2
=
uAv =
[
Scaling factor
Topic: Linear Transformations
T is onto iff R(T) = R
Onto is for every vector in Rm the equation T(x) = b
Key Ideas
has at least one sol in R n
Key formulas ·
f: R -> R is a linear transformation
⑧
Linear transformation is like map. It maps each parameter and transform it via
⑧
T(x) = Ax s.t A is the standard matrix for T scalar multiplication.
Linear Transform is all about transforming the vectors to another vector similar to
-I Bis similar
A = BP => B = AP => B = P AP
-
I :
⑧
⑨
to D
change of base.
I (x) = x B = CP
-
Err
=
Tv . . . &
⑨
O(x) = 0 => T(0) = A0 = 0
&
Standard Matrix is the matrix A when T(x) = Ax. It holds the coefficients to x
> 13 [w]s =
T(r) ⑧
Identity operator is when your map(x -> x) a.k.a I(x) = x.
T(u + v) = T(u) + T(v)
Zero transformation is T(x) = 0 for all x. 0. Is the standard matrix here.
⑨
[W]s
⑧ T(cv) = cT(v) ⑧
A is a new basis after transformation. Therefore B = A x trans matrix
⑨
T(c v + … c v ) = c T(v ) +… c T(v )
11 kk . +
... ) T() ...
T(r)
Example on finding standard matrix with no formula
O
nullity(T) = dim( Ker(T) ) = dim(null space of A) = nullity(A)
[VJ +
kind
of vibes
If I linearly transform a basis it still is a basis recall span C span
2 Bases
I
P[r]S C[w] +
PLn]s
< =
=
[w] + =
)
tran matrif
= T (v)
p =
from -Base
Contra/dialation
B
-
p
p =
(T O
S)(u) = T( S(u) ) = T(Au) Linear transformations can be seen as functions. As such,
= B(Au) = BA(u) have a range and codomain.
T S
S != S O
T Range is like the new span after transform as a span is the
building blocks of a vector space of vectors that satisfy wtv
R(T) = Span{T(v ) … T(v )}
conditions. This is basically B
R(T) = B
Range is set of all images of T
rank + nullity = n Kernel is the null space of the range. Wtv values from x -> 0
Basically B.
Collection of {T(v ) … T(v )}
T(r) =
Av : Auto
How Ker
to find !
-
Ivans & extra shit
Onto and one to one type beat