Download 2 - UCSD Math Department

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Bivector wikipedia , lookup

Linear least squares (mathematics) wikipedia , lookup

Laplace–Runge–Lenz vector wikipedia , lookup

Rotation matrix wikipedia , lookup

Vector space wikipedia , lookup

Exterior algebra wikipedia , lookup

Euclidean vector wikipedia , lookup

Cross product wikipedia , lookup

Eigenvalues and eigenvectors wikipedia , lookup

Jordan normal form wikipedia , lookup

Matrix (mathematics) wikipedia , lookup

Covariance and contravariance of vectors wikipedia , lookup

Determinant wikipedia , lookup

System of linear equations wikipedia , lookup

Perron–Frobenius theorem wikipedia , lookup

Non-negative matrix factorization wikipedia , lookup

Orthogonal matrix wikipedia , lookup

Singular-value decomposition wikipedia , lookup

Gaussian elimination wikipedia , lookup

Cayley–Hamilton theorem wikipedia , lookup

Four-vector wikipedia , lookup

Matrix calculus wikipedia , lookup

Matrix multiplication wikipedia , lookup

Transcript
Lecture 2: 1.3. The vector or cross product of the two vectors a = (a1 , a2 , a3 )
and b = (b1 , b2 , b3 ) is the vector
a × b = (a2 b3 − a3 b2 )i + (a3 b1 − a1 b3 )j + (a1 b2 − a2 b1 )k.
The geometric interpretation is kak kbk sin θ n, where n is a unit vector, knk = 1,
that is perpendicular to both a and b and pointing in the direction so that a, b
and n form a positively oriented system.
Note that a × b = 0 if and only if a and b are parallel.
To remember the definition of vector product we introduce so called determinants.
A determinant of order 2 is defined by
¯
¯
¯a b¯
¯
¯
(2)
¯ c d ¯ = ad − bc
Its magnitude is the area of the parallelogram with vectors (a, b) and (c, d) as edges.
A determinant of order 3 is defined by
¯
¯
¯
¯
¯
¯
¯
¯
¯ a1 a2 a3 ¯
¯ b2 b3 ¯
¯ b1 b3 ¯
¯ b1 b2 ¯
¯
¯
¯
¯
¯
¯
¯
¯ b1 b2 b3 ¯ = a1 ¯
(3)
¯
¯ c2 c3 ¯ − a2 ¯ c1 c3 ¯ + a3 ¯ c1 c2 ¯
¯
¯ c1 c2 c3 ¯
Its magnitude is the volume of the parallelepiped with vectors a = a1 i + a2 j + a3 k,
b = b1 i + b2 j + b3 k and c = c1 i + c2 j + c3 k as edges.
The cross product (2) is
(4)
¯
¯a
a × b = ¯¯ 2
b2
¯
¯
¯a
a3 ¯¯
i − ¯¯ 1
¯
b3
b1
¯
¯
¯a
a3 ¯¯
j + ¯¯ 1
¯
b3
b1
Because of the similarity with (3), to remember
¯
¯ i
j
¯
¯
(5)
a × b = ¯ a1 a2
¯ b1 b2
¯
a2 ¯¯
k
b2 ¯
this we symbolically write
¯
k ¯¯
a3 ¯¯
b3 ¯
We skipped the example below and the equations of a plane.
Equations of planes. a(x − x0 ) + b(y − y0 ) + c(z − z0 ) = 0,
where (x0 , y0 , z0 ) is a point in the plane and n = (a, b, c) is normal to the plane.
In fact, if (x, y, z) is a point in the plane then the vector (x − x0 , y − y0 , z − z0 ) is in
the plane so its perpendicular to the normal: (x − x0 , y − y0 , z − z0 ) · (a, b, c) = 0.
Ex Find the equation of a plane passing through (1, 0, 0), (2, 2, 3),(0, 2, 4).
Sol a = (2, 2, 3) − (1, 0, 0) = i + 2j + 3k and b = (0, 2, 4) − (1, 0, 0) = −i + 2j + 4k
are parallel to the plane and a normal to the plane is given by
¯
¯
¯ i
¯
¯
¯
¯
¯
j k ¯¯ ¯¯
¯
¯
¯ 1 3¯
¯ 1 2¯
2
3
¯i − ¯
¯
¯
¯
n = a × b = ¯¯ 1 2 3 ¯¯ = ¯¯
¯
¯ −1 4 ¯ j + ¯ −1 2 ¯ k
2
4
¯ −1 2 4 ¯
¡
¢
¡
¢
¡
¢
= 2 · 4 − 3 · 2 i − 1 · 4 − 3 · (−1) j + 1 · 2 − 2 · (−1) k = 2i − 7j + 4k
Let (x0 , y0 , z0 ) = (1, 0, 0). Hence the equation of the plane is 2(x − 1) − 7y + 4z = 0.
Note that a · n = b · n = 0 as it should be.
Parametric equations of a plane If (x0 , y0 , z0 ) is a point in the plane and
a = (a1 , a2 , a3 ) and b = (b1 , b2 , b3 ) are two vectors in the plane then any point in the
plane is given by (x, y, z) = (x0 , y0 , z0 )+(a1 , a2 , a3 ) t+(b1 , b2 , b3 ) s, −∞ < s, t < ∞.
1
2
1.5 Matrix algebra. An m × n matrix A = [aij ] is a collection of m · n numbers
j th column

a11
...




A =  ai1



...
am1
...
a1j
.
.
aij
.
.
amj
...
a1n
...
ain
...
amn









i th row
A special case are the 1 × n matrices which are row vector (x1 , ..., xn ) or the
 
x1
 · 
n × 1 matrices which are column vectors  . Another important case are the
·
xn


¸
·
1 2 7
1 2
square n × n matrices, e.g. a 2 × 2 matrix
or a 3 × 3 matrix  5 4 1 .
5 4
3 9 2
The matrix multiplication of an m×n matrix A = [aij ] by an n×k matrix B = [bij ]
is the m×k matrix C = [cij ] whose entries are given by cij = ai1 b1j + · · · + aim bmj .
The cij entry is the dot product between the i th row of A and the j th column of B














 ai1




.
.
.




ain 



b1j
.
.
.
.
.
bnj
cij


















Any m × n matrix A determines a mapping Rn 3 x → Ax ∈ Rm defined by
  

a11 . . . a1n
x1
a11 x1 + . . . + a1n xn
·
·

 ·  

Ax = 
  = 
.
·
·
·
am1 . . . amn
xn
am1 x1 + . . . + amn xn

The map is seen to be linear:
A(x + y) = Ax + Ay,
A(αx) = αAx
Conversely, a linear map is exactly one given by matrix multiplication.
3
If B is an n × k matrix then multiplication first by B and then A
multiply by B
multiply by A
x −−−−−−−−−→ Bx −−−−−−−−−→ A(Bx)
defines a map Rk 3 x → A(Bx) ∈ Rm . The matrix product AB is constructed so
that multiplying by the matrix AB
multiply by AB
x −−−−−−−−−−−−−−−−−→ (AB)x
is the same as first multiplying by B and then by A, i.e. (AB)x = A(Bx).
Let us· conclude
¸ · the discussion
¸ · ¸ ·by some
¸ examples.
x1
x1
0 −1
−x2
Ex 1
→
=
rotates vectors an angle π/2 counterclockwise.
x2
1 0
x2
x1
· ¸ ·
¸· ¸ ·
¸
x1
3 0
x1
3x1
Ex 2
→
=
scales vectors by a factor 3.
x
0
3
x
3x
2
2
2
¸· ¸ ·
¸· ¸ ·
· ¸ ·
¸·
¸
x1
x1
x1
3 0
0 −3
−3x2
0 −1
Ex 3
=
=
→
scales and rotates
0 3
x2
3 0
x2
x2
1 0
3x1
vectors.