Professional Documents
Culture Documents
Example: Consider two real numbers x1 and x2 . If you subtract two times
x2 from eight times x1 , you get five. Also, x1 plus 3 times x2 gives you −6.
Set up the 2 × 2 system in matrix form and use Cramer’s rule to solve for x1
and x2 .
(Answer: x1 = − 34
13
, x2 = − 10
13
.)
1
Example: Use Cramer’s Rule to find the value of x3 for the system below.
x1 + 2x2 − 2x3 = 2
−x1 + x3 = −2
2x1 + 4x2 − 5x3 = 4
(a) A is invertible.
(g) det(A) 6= 0.
2
Example: If we know that det(A) = 5, then which of the following are true?
A is invertible
Ax = b must be consistent
3
Definition: If n is a positive integer, then an ordered n-tuple is a sequence
of n real numbers (a1 , a2 , . . . an ). The set of all ordered n-tuples is called
n-space and is denoted Rn .
n = 1: R; all real numbers
n = 2: R2 ; ordered pairs
n = 3: R3 ; ordered triples
etc.
sum: v + w = (v1 + w1 , v2 + w2 , . . . , vn + wn )
scalar multiple: kv = (kv1 , kv2 , . . . , kvn )
negative: −v = (−v1 , −v2 , . . . , −vn )
difference: w − v = (w1 − v1 , w2 − v2 , . . . , wn − vn )
4
Theorem. Properties of vectors in Rn : If u = (u1 , u2 , . . . , un ), v =
(v1 , v2 , . . . , vn ), and w = (w1 , w2 , . . . , wn ) are vectors in Rn , and k and l are
scalars, then
(a) u + v = v + u
(b) u + (v + w) = (u + v) + w
(c) u + 0 = 0 + u = u
(d) u + (−u) = u − u = 0
(f) k(u + v) = ku + kv
(g) (k + l)u = ku + lu
(h) 1u = u
Proof of (a):
w = k1 v1 + k2 v2 + · · · + kr vr
5
Norm, Dot Product, and Distance in Rn (Section 3.2)
Definition: If u = (u1 , u2 , . . . , un ) and v = (v1 , v2 , . . . , vn ) are any two
vectors in Rn , then the dot product (also called the Euclidean inner
product), denoted u · v is defined by
u · v = u1 v1 + u2 v2 + · · · un vn .
Application (from our text): Most books published in the last 25 years have a
10-digit ISBN (International Standard Book Number) on them. The last of these
digits is a check digit c to ensure that an ISBN has been recorded/transmitted
error-free. If a is the vector a = (1, 2, 3, 4, 5, 6, 7, 8, 9), and b is the vector in Rn
composed of the first nine digits of the ISBN, then the check-digit c is calculated
as follows:
Compute a · b.
6
Definition: We define the Euclidean norm (or Euclidean length) of a
vector u = (u1 , u2 , . . . , un ) in Rn bu
q
1
kuk = (u · u) 2 = u21 + u22 + · · · + u2n .
kuk = 1.
7
Definition: The standard unit vectors in Rn are the vectors with one
component equal to one and all other components equal zero.
(a) kuk ≥ 0
Explanation of (d) in R2 :
8
Theorem. Properties of distance in Rn . If u, v, and w are vectors in
Rn , then:
(a) d(u, v) ≥ 0
Example: Given u = (2, 0, −1) and v = (4, 0, 1), then which of the following
are true?
(c) kvk = 5
(d) u · v = 7
u · v = kukkvk cos(θ)
where θ is the angle between u and v (and 0 ≤ θ ≤ π). In words, the dot product
u · v depends on the size of u and v and the angle between them.
Example: Find the angle between the vectors u = (5, 3) and v = (4, −1).