Professional Documents
Culture Documents
Matrlt
Matrlt
Krishnan
e.krshnan@gmail.com
Matrices
Matrices
Matrices introduced in higher secondary classes
Reflections
Rotations
Matrices
Visualization
Multiplication
Other Products
Invertibility
Computation
Matrices
Matrices
Matrices introduced in higher secondary classes
Reflections
Rotations
Matrices
What is a matrix?
Visualization
Multiplication
Other Products
Invertibility
Computation
Matrices
Matrices
Matrices introduced in higher secondary classes
Reflections
Rotations
Matrices
What is a matrix?
Visualization
Multiplication Other questions
Other Products
Invertibility
Computation
Matrices
Matrices
Matrices introduced in higher secondary classes
Reflections
Rotations
Matrices
What is a matrix?
Visualization
Multiplication Other questions
Other Products
Invertibility Why do we study matrices?
Computation
Matrices
Matrices
Matrices introduced in higher secondary classes
Reflections
Rotations
Matrices
What is a matrix?
Visualization
Multiplication Other questions
Other Products
Invertibility Why do we study matrices?
Computation
What are the uses of matrices?
Matrices
Matrices
Matrices introduced in higher secondary classes
Reflections
Rotations
Matrices
What is a matrix?
Visualization
Multiplication Other questions
Other Products
Invertibility Why do we study matrices?
Computation
What are the uses of matrices?
Why are matrices “multiplied” in a peculiar way?
Reflections
Invertibility 1
Computation
-2 -1 1 2
-1
b
-2
Reflections
Invertibility 1
Computation
-2 -1 1 2
-1
b
(x, −y)
-2
Multiplication
Other Products 1
Invertibility (x′ , y ′ )
b
Computation
-2 -1 1 2
-1
x
=
-2
y
Reflections
Multiplication
Other Products 1
Invertibility (x′ , y ′ )
b
Computation
-2 -1 1 2
-1
x
=
-2
y
Slopes : y ′ − y = x − x′
Reflections
Multiplication
Other Products 1
Invertibility (x′ , y ′ )
b
Computation
-2 -1 1 2
-1
x
=
-2
y
Slopes : y ′ − y = x − x′
Reflections
Multiplication
Other Products 1
Invertibility (x′ , y ′ )
b
Computation
-2 -1 1 2
-1
x
=
-2
y
Slopes : y ′ − y = x − x′
Distances : x′2 + y ′2 = x2 + y 2
Reflections
Multiplication
Other Products 1
Invertibility (x′ , y ′ )
b
Computation
-2 -1 1 2
-1
x
=
-2
y
Slopes : y ′ − y = x − x′
Distances : x′2 + y ′2 = x2 + y 2
x′ = y y′ = x
Reflections
Multiplication
Other Products 1
Invertibility (x′ , y ′ )
b
Computation
-2 -1 1 2
-1
x
=
-2
y
t(x, y) = (y, x)
Reflections
Matrices (x′ , y ′ )
b
Visualization
Multiplication
Other Products 1
Invertibility
Computation
-2 -1 1 2
-1
2x
y= -2
Reflections
Matrices (x′ , y ′ )
b
Visualization
Multiplication
Other Products 1
Invertibility
Computation
-2 -1 1 2
-1
2x
y= -2
Slopes : y ′ − y = − 12 (x − x′ )
Reflections
Matrices (x′ , y ′ )
b
Visualization
Multiplication
Other Products 1
Invertibility
Computation
-2 -1 1 2
-1
2x
y= -2
Slopes : y ′ − y = − 12 (x − x′ )
Distances : x′2 + y ′2 = x2 + y 2
Reflections
Matrices (x′ , y ′ )
b
Visualization
Multiplication
Other Products 1
Invertibility
Computation
-2 -1 1 2
-1
2x
y= -2
Slopes : y ′ − y = − 12 (x − x′ )
Distances : x′2 + y ′2 = x2 + y 2
Matrices (x′ , y ′ )
b
Visualization
Multiplication
Other Products 1
Invertibility
Computation
-2 -1 1 2
-1
2x
y= -2
Matrices
Reflections
Rotations
Matrices
Visualization
Multiplication
Other Products
Invertibility
Computation
Rotations
Matrices
2
Reflections (x′ , y ′ )
b
Rotations
Matrices
Visualization 1
Multiplication (x, y)
b
Other Products
Invertibility
Computation
-2 -1 1 2
-1
-2
Rotations
Matrices
2
Reflections (x′ , y ′ )
b
Rotations
Matrices
Visualization 1
Multiplication (x, y)
b
Other Products
Invertibility
Computation
-2 -1 1 2
-1
-2
Rotations
Matrices
2
Reflections (x′ , y ′ )
b
Rotations
Matrices
Visualization 1
Multiplication (x, y)
b
Other Products
Invertibility
Computation
-2 -1 1 2
-1
-2
x′ = −y y′ = x
Rotations
Matrices
2
Reflections (x′ , y ′ )
b
Rotations
Matrices
Visualization 1
Multiplication (x, y)
b
Other Products
Invertibility
Computation
-2 -1 1 2
-1
-2
x′ = −y y′ = x
t(x, y) = (−y, x)
Rotations
Matrices
Reflections
2 (x′ , y ′ )
b
Rotations
Matrices
Visualization 1
Multiplication (x, y)
b
Other Products α
Invertibility
Computation
-2 -1 1 2
-1
-2
Rotations
Matrices
Reflections
2 (x′ , y ′ )
b
Rotations
Matrices
Visualization 1
Multiplication r (x, y)
b
Other Products α r
Invertibility
θ
Computation
-2 -1 1 2
-1
-2
Rotations
Matrices
Reflections
2 (x′ , y ′ )
b
Rotations
Matrices
Visualization 1
Multiplication r (x, y)
b
Other Products α r
Invertibility
θ
Computation
-2 -1 1 2
-1
-2
x = r cos θ y = r sin θ
Rotations
Matrices
Reflections
2 (x′ , y ′ )
b
Rotations
Matrices
Visualization 1
Multiplication r (x, y)
b
Other Products α r
Invertibility
θ
Computation
-2 -1 1 2
-1
-2
x = r cos θ y = r sin θ
x′ = r cos(θ + α) y ′ = r sin(θ + α)
Rotations
Matrices
Reflections
2 (x′ , y ′ )
b
Rotations
Matrices
Visualization 1
Multiplication r (x, y)
b
Other Products α r
Invertibility
θ
Computation
-2 -1 1 2
-1
-2
x = r cos θ y = r sin θ
x′ = r cos(θ + α) y ′ = r sin(θ + α)
Matrices
Reflections
2 (x′ , y ′ )
b
Rotations
Matrices
Visualization 1
Multiplication r (x, y)
b
Other Products α r
Invertibility
θ
Computation
-2 -1 1 2
-1
-2
x = r cos θ y = r sin θ
x′ = r cos(θ + α) y ′ = r sin(θ + α)
Matrices
Reflections
2 (x′ , y ′ )
b
Rotations
Matrices
Visualization 1
Multiplication (x, y)
b
Other Products α
Invertibility
Computation
-2 -1 1 2
-1
-2
Summary
Matrices
Reflections
Rotations
Matrices
Visualization
Multiplication
Other Products
Invertibility
Computation
Matrices
Summary
Matrices
Reflections
Reflections
Rotations
Matrices
Visualization
Multiplication
Other Products
Invertibility
Computation
Matrices
Summary
Matrices
Reflections
Reflections
Rotations About x-axis : t(x, y) = (x, −y)
Matrices
Visualization About y = x : t(x, y) = (y, x)
Multiplication
− 53 x 4
y, 54 x 3
Other Products About y = 2x : t(x, y) = + 5
+ 5
y
Invertibility
Computation
Matrices
Summary
Matrices
Reflections
Reflections
Rotations About x-axis : t(x, y) = (x, −y)
Matrices
Visualization About y = x : t(x, y) = (y, x)
Multiplication
− 53 x 4
y, 54 x 3
Other Products About y = 2x : t(x, y) = + 5
+ 5
y
Invertibility
Computation
Rotations about origin through angle α
Matrices
Summary
Matrices
Reflections
Reflections
Rotations About x-axis : t(x, y) = (x, −y)
Matrices
Visualization About y = x : t(x, y) = (y, x)
Multiplication
− 53 x 4
y, 54 x 3
Other Products About y = 2x : t(x, y) = + 5
+ 5
y
Invertibility
Computation
Rotations about origin through angle α
t(x, y) = (cos α)x − (sin α)y, (sin α)x + (cos α)y
Matrices
Summary
Matrices
Reflections
Reflections
Rotations About x-axis : t(x, y) = (x, −y)
Matrices
Visualization About y = x : t(x, y) = (y, x)
Multiplication
− 53 x 4
y, 54 x 3
Other Products About y = 2x : t(x, y) = + 5
+ 5
y
Invertibility
Computation
Rotations about origin through angle α
t(x, y) = (cos α)x − (sin α)y, (sin α)x + (cos α)y
Generally
t(x, y) = (ax + by, cx + dy)
Matrices
Summary
Matrices
Reflections
Reflections
Rotations About x-axis : t(x, y) = (x, −y)
Matrices
Visualization About y = x : t(x, y) = (y, x)
Multiplication
− 53 x 4
y, 54 x 3
Other Products About y = 2x : t(x, y) = + 5
+ 5
y
Invertibility
Computation
Rotations about origin through angle α
t(x, y) = (cos α)x − (sin α)y, (sin α)x + (cos α)y
Generally
t(x, y) = (ax + by, cx + dy)
Represented by the matrix
!
a b
M(t) =
c d
Matrices
Matrices !
1 0
Reflections Reflection about x-axis t(x, y) = (x, −y)
Rotations 0 −1
Matrices
Visualization
Multiplication !
Other Products 0 1
Reflection about y = x t(x, y) = (y, x)
Invertibility 1 0
Computation
−3
5
4
5
Reflection about y = 2x 3 x + 4 y, 4 x + 3 y
t(x, y) = − 5
5 5 5
4 3
5 5
!
cos α − sin α
Rotation through α t(x, y) = (x cos α − y sin α, x sin α + y cos α)
sin α cos α
Visualization
GeoGebra
Matrices
Reflections
Rotations
Matrices
Visualization
Multiplication
Other Products
Invertibility
Computation
Visualization
GeoGebra
Matrices
Reflections
Rotations
Reflections and rotations
Matrices
Visualization
Multiplication
Other Products
Invertibility
Computation
Visualization
GeoGebra
Matrices
Reflections
Rotations
Reflections and rotations
Matrices
Visualization
General linear transformations
Multiplication
Other Products
Invertibility
Computation
Visualization
GeoGebra
Matrices
Reflections
Rotations
Reflections and rotations
Matrices
Visualization
General linear transformations
Multiplication
Other Products Scaling
Invertibility
Computation
Visualization
GeoGebra
Matrices
Reflections
Rotations
Reflections and rotations
Matrices
Visualization
General linear transformations
Multiplication
Other Products Scaling
Invertibility !
Computation a 0
t(x, y) = (ax, by) M(t) =
0 b
Visualization
GeoGebra
Matrices
Reflections
Rotations
Reflections and rotations
Matrices
Visualization
General linear transformations
Multiplication
Other Products Scaling
Invertibility !
Computation a 0
t(x, y) = (ax, by) M(t) =
0 b
Animation
Visualization
GeoGebra
Matrices
Reflections
Rotations
Reflections and rotations
Matrices
Visualization
General linear transformations
Multiplication
Other Products Scaling
Invertibility !
Computation a 0
t(x, y) = (ax, by) M(t) =
0 b
Animation
Zoom
Visualization
GeoGebra
Matrices
Reflections
Rotations
Reflections and rotations
Matrices
Visualization
General linear transformations
Multiplication
Other Products Scaling
Invertibility !
Computation a 0
t(x, y) = (ax, by) M(t) =
0 b
Animation
Zoom
!
x 0
with variable x
0 x
Visualization
GeoGebra
Matrices
Reflections
Rotations
Reflections and rotations
Matrices
Visualization
General linear transformations
Multiplication
Other Products Scaling
Invertibility !
Computation a 0
t(x, y) = (ax, by) M(t) =
0 b
Animation
Zoom
!
x 0
with variable x
0 x
Oscillation
Visualization
GeoGebra
Matrices
Reflections
Rotations
Reflections and rotations
Matrices
Visualization
General linear transformations
Multiplication
Other Products Scaling
Invertibility !
Computation a 0
t(x, y) = (ax, by) M(t) =
0 b
Animation
Zoom
!
x 0
with variable x
0 x
Oscillation
!
cos x − sin x
with variable x
sin x cos x
Multiplication
M(u ◦ t) = M(u)M(t)
Other Products
Hadamard product
Matrices
Reflections ! ! !
Rotations a b p q ap bq
Matrices
◦ =
c d r s cr ds
Visualization
Multiplication
Other Products
Invertibility
Computation
Other Products
Hadamard product
Matrices
Reflections ! ! !
Rotations a b p q ap bq
Matrices
◦ =
c d r s cr ds
Visualization
Multiplication
Other Products Used in compression algorithms, machine learning
Invertibility
Computation
Other Products
Hadamard product
Matrices
Reflections ! ! !
Rotations a b p q ap bq
Matrices
◦ =
c d r s cr ds
Visualization
Multiplication
Other Products Used in compression algorithms, machine learning
Invertibility
Computation
https://en.wikipedia.org/wiki/Hadamard_product_(matrices)
Other Products
Hadamard product
Matrices
Reflections ! ! !
Rotations a b p q ap bq
Matrices
◦ =
c d r s cr ds
Visualization
Multiplication
Other Products Used in compression algorithms, machine learning
Invertibility
Computation
https://en.wikipedia.org/wiki/Hadamard_product_(matrices)
Hadamard product
Matrices
Reflections ! ! !
Rotations a b p q ap bq
Matrices
◦ =
c d r s cr ds
Visualization
Multiplication
Other Products Used in compression algorithms, machine learning
Invertibility
Computation
https://en.wikipedia.org/wiki/Hadamard_product_(matrices)
Useful in robotics
Other Products
Hadamard product
Matrices
Reflections ! ! !
Rotations a b p q ap bq
Matrices
◦ =
c d r s cr ds
Visualization
Multiplication
Other Products Used in compression algorithms, machine learning
Invertibility
Computation
https://en.wikipedia.org/wiki/Hadamard_product_(matrices)
Useful in robotics
https://en.wikipedia.org/wiki/Kronecker_product
Other Products
Hadamard product
Matrices
Reflections ! ! !
Rotations a b p q ap bq
Matrices
◦ =
c d r s cr ds
Visualization
Multiplication
Other Products Used in compression algorithms, machine learning
Invertibility
Computation
https://en.wikipedia.org/wiki/Hadamard_product_(matrices)
Useful in robotics
https://en.wikipedia.org/wiki/Kronecker_product
Scaling
Invertibility
Scaling
1 1
t(x, y) = (ax, by) with a 6= 0 and b 6= 0 and s(x, y) = a
x, b
y
s(t(x, y)) = t(s(x, y)) = (x, y)
Invertibility
Scaling
1 1
t(x, y) = (ax, by) with a 6= 0 and b 6= 0 and s(x, y) = a
x, b
y
s(t(x, y)) = t(s(x, y)) = (x, y)
Scaling
1 1
t(x, y) = (ax, by) with a 6= 0 and b 6= 0 and s(x, y) = a
x, b
y
s(t(x, y)) = t(s(x, y)) = (x, y)
Scaling
1 1
t(x, y) = (ax, by) with a 6= 0 and b 6= 0 and s(x, y) = a
x, b
y
s(t(x, y)) = t(s(x, y)) = (x, y)
Matrices
t(x, y) = (ax + by, cx + dy) invertible
Reflections
Rotations
Matrices
Visualization
Multiplication
Other Products
Invertibility
Computation
Inverse computation
Matrices
t(x, y) = (ax + by, cx + dy) invertible
Reflections
Rotations
Matrices How do we compute t−1 ?
Visualization
Multiplication
Other Products
Invertibility
Computation
Inverse computation
Matrices
t(x, y) = (ax + by, cx + dy) invertible
Reflections
Rotations
Matrices How do we compute t−1 ?
Visualization
Multiplication Suppose t−1 (x, y) = (a′ x + b′ y, c′ x + d′ y)
Other Products
Invertibility
Computation
Inverse computation
Matrices
t(x, y) = (ax + by, cx + dy) invertible
Reflections
Rotations
Matrices How do we compute t−1 ?
Visualization
Multiplication Suppose t−1 (x, y) = (a′ x + b′ y, c′ x + d′ y)
Other Products
Invertibility M(t)M(t−1 ) = I
Computation
Inverse computation
Matrices
t(x, y) = (ax + by, cx + dy) invertible
Reflections
Rotations
Matrices How do we compute t−1 ?
Visualization
Multiplication Suppose t−1 (x, y) = (a′ x + b′ y, c′ x + d′ y)
Other Products
Invertibility M(t)M(t−1 ) = I ! ! !
Computation ′ ′
a b a b 1 0
=
c d c′ d′ 0 1
Inverse computation
Matrices
t(x, y) = (ax + by, cx + dy) invertible
Reflections
Rotations
Matrices How do we compute t−1 ?
Visualization
Multiplication Suppose t−1 (x, y) = (a′ x + b′ y, c′ x + d′ y)
Other Products
Invertibility M(t)M(t−1 ) = I ! ! !
Computation ′ ′
a b a b 1 0
=
c d c′ d′ 0 1
Matrices
(1) aa′ + bc′ = 1
Reflections
Rotations (2) ab′ + bd′ = 0
Matrices
Visualization (3) ca′ + dc′ = 0
Multiplication
Other Products (4) cb′ + dd′ = 1
Invertibility
Computation
Inverse computation
Matrices
(1) aa′ + bc′ = 1
Reflections
Rotations (2) ab′ + bd′ = 0
Matrices
Visualization (3) ca′ + dc′ = 0
Multiplication
Other Products (4) cb′ + dd′ = 1
Invertibility
Computation
(1) × d − (3) × b gives (ad − bc)a′ = d
Inverse computation
Matrices
(1) aa′ + bc′ = 1
Reflections
Rotations (2) ab′ + bd′ = 0
Matrices
Visualization (3) ca′ + dc′ = 0
Multiplication
Other Products (4) cb′ + dd′ = 1
Invertibility
Computation
(1) × d − (3) × b gives (ad − bc)a′ = d
(2) × d − (4) × b gives (ad − bc)b′ = −b
Inverse computation
Matrices
(1) aa′ + bc′ = 1
Reflections
Rotations (2) ab′ + bd′ = 0
Matrices
Visualization (3) ca′ + dc′ = 0
Multiplication
Other Products (4) cb′ + dd′ = 1
Invertibility
Computation
(1) × d − (3) × b gives (ad − bc)a′ = d
(2) × d − (4) × b gives (ad − bc)b′ = −b
(3) × a − (1) × c gives (ad − bc)c′ = −c
Inverse computation
Matrices
(1) aa′ + bc′ = 1
Reflections
Rotations (2) ab′ + bd′ = 0
Matrices
Visualization (3) ca′ + dc′ = 0
Multiplication
Other Products (4) cb′ + dd′ = 1
Invertibility
Computation
(1) × d − (3) × b gives (ad − bc)a′ = d
(2) × d − (4) × b gives (ad − bc)b′ = −b
(3) × a − (1) × c gives (ad − bc)c′ = −c
(4) × a − (2) × c gives (ad − bc)d′ = a
Inverse computation
Matrices
(1) aa′ + bc′ = 1
Reflections
Rotations (2) ab′ + bd′ = 0
Matrices
Visualization (3) ca′ + dc′ = 0
Multiplication
Other Products (4) cb′ + dd′ = 1
Invertibility
Computation
(1) × d − (3) × b gives (ad − bc)a′ = d
(2) × d − (4) × b gives (ad − bc)b′ = −b
(3) × a − (1) × c gives (ad − bc)c′ = −c
(4) × a − (2) × c gives (ad − bc)d′ = a
Matrices
(1) aa′ + bc′ = 1
Reflections
Rotations (2) ab′ + bd′ = 0
Matrices
Visualization (3) ca′ + dc′ = 0
Multiplication
Other Products (4) cb′ + dd′ = 1
Invertibility
Computation
(1) × d − (3) × b gives (ad − bc)a′ = d
(2) × d − (4) × b gives (ad − bc)b′ = −b
(3) × a − (1) × c gives (ad − bc)c′ = −c
(4) × a − (2) × c gives (ad − bc)d′ = a
ad − bc 6= 0
Inverse computation
Matrices
(1) aa′ + bc′ = 1
Reflections
Rotations (2) ab′ + bd′ = 0
Matrices
Visualization (3) ca′ + dc′ = 0
Multiplication
Other Products (4) cb′ + dd′ = 1
Invertibility
Computation
(1) × d − (3) × b gives (ad − bc)a′ = d
(2) × d − (4) × b gives (ad − bc)b′ = −b
(3) × a − (1) × c gives (ad − bc)c′ = −c
(4) × a − (2) × c gives (ad − bc)d′ = a
ad − bc 6= 0
!
1 d −b
M(t−1 ) =
ad − bc −c a