Chapter 2 Flashcards
in the transformation y = Ax, what is A?
the (coefficient) matrix of the transformation
identity matrix
denoted by I sub n, it’s the n by n matrix whose main diagonal consists of 1s, and the rest is 0s; it’s the coefficient of the identity transformation
what makes a linear transformation linear?
T(v + w) = T(v) + T(w) for all vectors v and w in R^m
T(kv) = kT(v) for all vectors v in R^m and all scalars k
T(0) = 0
distribution vector
a vector organized such that its components add up to 1 and are all positive or 0
transition/stochastic matrix
a square matrix organized such that all of its columns are distribution vectors - all of its entries are positive or zero and every column sums to 2.
scaling
a linear transformation that changes the length of a vector. For any positive constant k, the matrix
[k 0
0 k]
defines a scaling by k. When k > 1, it’s a dilation. When k < 1, it’s a contraction.
orthogonal projection
definition
the shadow that the vector casts on some line running through the origin if a light were shined right on that line, denoted by projL(x).
orthogonal projection
components
the vector x is the sum of that shadow and a line perpendicular to that shadow completing a triangle to it
x = projL(x) + perpendicular(x)
orthogonal projection
equation and
transformation matrix
if w is a nonzero vector parallel to L, then
projL(x) = [(x * w)/(w * w)]w
if u is a unit vector in R^2 parallel to L, then
projL(x) = (x * u) * u.
The transformation T(x) = projL(x) is linear with matrix P = 1/(w1^2 = w2^2) * [w1^2 w1w2 w1w2 w2^2] = [u1^2 u1u2 u1u2 u2^2]
reflection
denoted by refL(x), is the reflection about some line L running through the origin.
x = (some line parallel to L) + (perpendicular line connection that parallel line and x)
so
refL = (that parallel line) - (that perpendicular line connecting that parallel line and x)
matrix is
[a b
b -a] where a^2 + b^2 = 1. Any matrix of this form represents a reflection about some line.
formula relating reflections with orthogonal projections
refL(x) = 2projL(x) - x = 2(x * u)u - x
orthogonal projections and reflections in space
if the plane is perpendicular to a line L, then
projV(x) = x - projL(x) = x - (x * u) * u
refL(x) = projL(x) - projV(x) = 2projL(x) - x = 2(x * u) * u - x
refV(x) = projV(x) - projL(x) = -refL(x) = x - 2(x * u) * u
rotation
transformation that rotates a vector x through a fixed angle Z (expressed in polar terms) in the counterclockwise direction.
The matrix in R^2 through an angle Z is
[ cosZ -sinZ
sinZ cosZ ]
it’s of the form
[a -b
b a] where a^2 + b^2 = 1.
Any matrix of this form represents a rotation.
rotations combined with a scaling
if r and Z are the polar coordinates of vector [a b] then
[a -b
b a]
represents a rotation through Z combined with a scaling by r.
[a
b] =
[r cos Z
r sinZ ].
r = sqrt(a^2 + b^2)
so Z = arccos[a / sqrt(a^2 + b^2)] and so forth
shear
transformation that sort of changes the reference angle of the axis that the shear occurs. Vertical shears change the directioning of things depending on how horizontal they are, and horizontal shears change the directioning of vertical things.
the matrix of a horizontal shear is of the form [1 k 0 1] and vertical, [1 0 k 1],
where k is an arbitrary constant reflecting the magnitude of the shear somehow, the slope of the “ruler” after transformation.