Unit 3 Math
Unit 3 Math
Tech/Semester-I/2024-2025
this new point of view, solving the equation Ax = b indicates finding all
1
2
vectors x in R4 that are transformed into the vector b in R2 under the action
of multiplication by A.
2. MATRIX TRANSFORMATIONS
3. LINEAR TRANSFORMATIONS
Note:
1. Every matrix transformation is a linear transformation, not vice versa.
5
T (0) = 0 (3.1)
and
T (cu + dv) = cT (u) + dT (v), (3.2)
∀ vectors u, v in the domain of T and all scalars c, d. The condition
(3.2) is a combination of properties (1) and (2). If a transformation
satisfies (3.2), it must be linear. If we set c = d = 1, we get preser-
vation of addition and if we set d = 0, we get property (2). Repeated
application of condition (3.2) produces a useful generalization;
Practice
Problems-I
1/3 0 0 3 a
1. Let A =
0 1/3
0 , u = 6 and v = b . Define
0 0 1/3 −9 c
3 3
T : R → R by T (x) = Ax. Find T (u) and T (v).
2. Find a vector x whose image
T is
under b, where T (x) = Ax;
1 0 −3 −2
a) A = −3 1 6 , b = 3
2 −2 −1 −1
1 −2 3 −6
b) A = 0 1 −3 , b = −4
2 −5 6 −5
1 −3 5 −5 −1
3. Let A = 0 1 −3 5 , b = 1 . Is b in the range of the
2 −4 4 −4 0
linear transformation
x → Ax?
3 2 10 −6 −1
1 0 2 −4 3
4. Let A = , b = . Is b in the range of the
0 1 2 3 −1
1 4 10 8 4
linear transformation x → Ax?
5. Define a linear transformation T : R2 → R2 by
" #" #
2 0 x1
T (x) =
0 2 x2
. ! !
5 −2
Find the images under T of u = , and v = .
2 4
***************
8
The matrix A, known as the standard matrix for the linear transforma-
tion T , is a m × n matrix whose jth column is the vector T (ej ), where ej
is the jth column of the identity matrix in Rn .
mapping is implemented.
Theorem:
1. Let T : Rn → Rm be a linear transformation. Then T is one-to-one
iff T (x) = 0 has only the trivial solution.
2. Let T : Rn → Rm be a linear transformation and let A be the stan-
dard matrix for T . Then
a) T maps Rn onto Rm iff the columns of A span Rm .
b) T is one-to-one iff the columns of A are linearly independent.
Solution:
3x1 + x2 3 1 !
x1
T (x) =
5x1 + 7x2 = 5 7
x2
x1 + 3x2 1 3
∴ T is linear transformation.
The columns of A are linearly independent because they are not multiples.
By above theorem,T is one-to-one.
∵ A is 3 × 2 matrix, the columns of A span R3 iff A has 3 pivot positions
by theorem 2.b). This is impossible since A has only 2 columns. So the
columns of A do not span R3 and the linear transformation is not onto R3 .
Practice Problems-II
1. Find the standard matrix of T ;
a) T : R2 → R4 by T (e1 ) = (3, 1, 3, 1) and T (e2 ) = (−5, 2, 0, 0) where
e1 = (1, 0) and e2 = (0, 1).
b) T : R3 → R2 by T (e1 ) = (1, 4), T (e2 ) = (−2, 9), and T (e3 ) = (3, −8)
where e1 = (1, 0, 0), e2 = (0, 1, 0), and e3 = (0, 0, 1).
2. Let T : R2 → R2 be a linear transformation such that T (x1 , x2 ) =
(x1 + x2 , 4x1 + 5x2 ). Find x such that T (x) = (3, 8).
x1 2x1 − 4x2
3. Find the standard matrix for the transformation T
x 2
= x1 − x3 .
x3 −x2 + 3x3
4. Let T be the linear transformation whose standard matrix is
−5 6 −5 −6
8 3 −3 8
A=
2 9 5 −12
−3 2 7 −12
Is T a one-to-one mapping?
5. Show that the transformation T defined by T (x1 , x2 ) = (x1 − 2x2 , x1 −
3, 2x1 − 5x2 ) is not linear.
12
5. INNER PRODUCT
Note:
1. For any scalar c, the length of cv is | c | times the length of v, i.e.,
∥ cv ∥=| c |∥ v ∥.
(Compute ∥ cv ∥2 = (cv) · (cv) = c2 v · v = c2 ∥ v ∥2 and take square
roots)
2. A vector whose length is 1 is called a unit vector. If we divide a non-
zero vector v by its length (i.e. v/ ∥ v ∥), we obtain a unit vector u.
The process of creating u from v is sometimes called normalizing v
and we say that u is in the same direction as v.
Example 2: Let v = (1, −2, 2, 0). Find a unit vector u in the same direc-
tion as v.
Solution: ∥ v ∥2 = v · v = (1)2 + (−2)2 + (2)2 + (0)2 = 9, ∴ ∥ v ∥= 3.
Now, u = v
∥v∥
= ( 31 , − 32 , 23 , 0).
Definition 5.3. Distance between two vectors: For u and v in Rn , the dis-
tance between u and v, written as dist(u, v), is the length of the vector u−v,
i.e., dist(u, v) =∥ u − v ∥.
14
6. ORTHOGONALITY
∥ u + v ∥2 =∥ u ∥2 + ∥ v ∥2 .
Definition 6.2.
Example 1:
" # " # 4/3 5
−2 −3
Let a = ,b= ,c= −1 , and d = 6 .
1 1
2/3 −1
a) Compute a·b a·b
a·a
and a·a
a.
b) Find a unit vector u in the direction of c.
c) Show that d is orthogonal to c. " #
a·b 7 a·b
−14/5
Solution: a) a · b = 7, a · a = 5. Hence, a·a
= 5
and a·a
a= .
7/5
√
4/ 29
√ c
√
b) ∥ c ∥= 29/3. Hence, u = ∥c∥ = −3/ .
29
√
2/ 29
5 4/3
c) d is orthogonal to c because d · c =
6 · −1
= 0.
−1 2/3
15
Solution: Let us consider the three possible pairs of distinct vectors, namely
{u1 , u2 }, {u1 , u3 }, and {u2 , u3 }.
Solution:
√ √ √
v1 · v2 = −3/ 66 + 2/ 66 + 1/ 66 = 0
√ √ √
v1 · v3 = −3/ 726 − 4/ 726 + 7/ 726 = 0
√ √ √
v2 · v3 = 1/ 396 − 8/ 396 + 7/ 396 = 0
ORTHOGONAL PROJECTION
y = ŷ + z (6.1)
v1 = x1
x2 · v1
v2 = x2 − v1
v1 · v1
x3 · v1 x3 · v2
v3 = x3 − v1 − v2
v1 · v1 v2 · v2
.. xp · v1 xp · v2 xp · vp−1
.vp = xp − v1 − v2 − · · · − vp−1
v1 · v1 v2 · v2 vp−1 · vp−1
3
Example 1: Let W = Span {x1 , x2 }, where x1 = 6 and
0
1
2 . Construct an orthogonal basis {v1 , v2 } for W .
x2 =
2
21
Practice Problems-IV
" #
1
1. Compute the orthogonal projection of onto the line through
−1
" #
−1
and the origin.
3
" # " #
2 7
2. Let y = and u = . Write y as the sum of a vector in
6 1
Span {u} and a vector orthogonal to u.
3. Find the closest point
to y in the W spanned
subspace byv1 and v2 ,
3 3 1
1 1 −1
where y = , v1 = , and v2 = .
5 −1 1
1 1 −1
2 4
4. −5 −1 is a given set of basis for a subspace W . Use the
,
1 2
Gram-Schmidt
process
to produce an orthogonal basis for W .
0 5
5. 4 6 is a given set of basis for a subspace W . Use the
,
2 −7
Gram-Schmidt process to produce an orthogonal basis for W .