Beruflich Dokumente
Kultur Dokumente
n
X
i=1
x
i
y
i
!
=
n
X
i=1
(kx
i
)y
i
= (kx)
0
y =
n
X
i=1
x
i
(ky
i
) = x
0
(ky)
Therefore the statement is true for all real numbers k and all n vectors x
and y.
2.2. CLASS 1 QUIZ 7
Class 1 quiz question 3
Think about the n vectors t, u, v and w, and the scalars a, b, c, d. Click the
correct statements
1.
t
0
(u +v) = t
0
u +t
0
v for all t, u, v and w
2. (u +v)
0
t 6= t
0
(u +v) for some t, u, v and w.
3.
(t +w)
0
(u +v) = t
0
u +w
0
u +t
0
v +w
0
v for all t, u, v and w.
4. (t +w)
0
(u +v) 6= u
0
t +u
0
w+v
0
t +v
0
w for some t, u, v and w.
5.
(at+bw)
0
(cu+dv) = act
0
u+bcw
0
u+adt
0
v+bdw
0
v for all a, b, c, d, t, u, v and w.
Answer: Statements 1, 3 and 5 are correct. They are implied by the
denitions of vector addition, inner products and scalar multiplication as
t
0
(u +v) =
n
X
i=1
t
i
(u
i
+ v
i
) =
n
X
i=1
t
i
u
i
+
n
X
i=1
t
i
v
i
= t
0
u +t
0
v =
n
X
i=1
(u
i
+ v
i
) t
i
= u
0
t +v
0
t
and
(t +w)
0
(u +v) =
n
X
i=1
(t
i
+ w
i
) (u
i
+ v
i
) =
n
X
i=1
(t
i
u
i
+ w
i
u
i
+ t
i
v
i
+ w
i
v
i
)
= t
0
u +w
0
u +t
0
v +w
0
v
= u
0
t +u
0
w+v
0
t +v
0
w.
Similarly
(at+bw)
0
(cu+dv) = (at)
0
(cu) +(bw)
0
(cu) +(at)
0
(dv) +(bw)
0
(dv)
= act
0
u+bcw
0
u+adt
0
v+bdw
0
v.
Class 1 quiz question 4
If y and x are n vectors and b a scalar, click the correct statements.
1. (ybx)
0
(ybx) = y
0
y +x
0
xb
2
.
2. (ybx)
0
(ybx) = y
0
y+bx
0
y+by
0
x +x
0
xb
2
.
3.
(ybx)
0
(ybx) = y
0
y x
0
yby
0
xb+x
0
xb
2
.
4. (ybx)
0
(ybx) = y
0
y+2x
0
yb+x
0
xb
2
.
5.
(ybx)
0
(ybx) = y
0
y2x
0
yb+x
0
xb
2
.
Answer: Statements 3 and 4 are correct because, as x
0
y = y
0
x
(ybx)
0
(ybx) = y
0
y x
0
yby
0
xb+x
0
xb
2
= y
0
y2x
0
yb+x
0
xb
2
.
8 CHAPTER 2. QUIZ FOR CLASS 1
2.3 Length (essential topic, questions 5-7)
Class 1 quiz question 5
What is the length of the vector (x
1
, x
2
) in 2 dimensional space?
1. x
2
1
+ x
2
2
2. x
1
+ x
2
3. x
1
x
2
4. (x
1
+ x
2
)
1
2
5.
x
2
1
+ x
2
2
1
2
6. none of the above
7. I dont know.
Answer: Pythagoras Theorem implies that answer 5 is correct.
Class 1 quiz question 6
What is the length of the vector (x
1
, x
2
, x
3
) in 3 dimensional space?
1. x
2
1
+ x
2
2
+ x
2
3
2. x
1
+ x
2
+ x
3
3. x
1
x
2
x
3
4. (x
1
+ x
2
+ x
3
)
1
2
5.
x
2
1
+ x
2
2
+ x
2
3
1
2
6. none of the above
7. I dont know
Answer: Pythagoras Theorem implies that answer 5 is correct.
2.4. THE LEASTSQUARES PROBLEM(USEFUL TOPIC, QUESTIONS 8-10)9
Class 1 quiz question 7
By denition x
0
x =
P
n
i=1
x
2
i
.
As x
2
i
0 for all i, x
0
x 0.
If x = 0, then x
i
= 0 for all i so x
0
x = 0.
Thus x
0
x 0 and x =0 implies that x
0
x = 0.
If x
0
x = 0 what does this tell you about x?
1.
x 0
2.
x 0
3.
x
1
x
2
x
3
..... x
n
4. x = 0
5. none of the above
6. I dont know.
Answer: If x
0
x =
P
n
i=1
x
2
i
= 0 then as x
i
is real number x
2
i
0 for all i
and x
2
i
= 0 if and only if x
i
= 0. Thus x
0
x 0 for all x and x
0
x =0 if and only
if x
i
= 0 for all i, that is if x =0. If x = 0 so statement 4 holds then statements
1, 2, and 3 also hold.
2.4 The Least Squares Problem (useful topic,
questions 8-10)
Class 1 quiz question 8
Let
x =
0
1
and y =
4
3
Find the value of the scalar b that minimizes kybxk . Note that this is the
same as the value of b that minimizes kybxk
2
, which is easier to work with.
Show x, y, bx and ybx on an accurate diagram. Which of the following
statements are true?
1. b = 2
2. b = 3
3. b = 4
4. x
0
(ybx) = (ybx)
0
x =1.
10 CHAPTER 2. QUIZ FOR CLASS 1
8 6 4 2 0
8
6
4
2
0
x
y
x
y
x
1
x
2
y - 3x
y
3x
x
Figure 2.1: Question 8
5.
x
0
(ybx) = (ybx)
0
x =0.
6. The vectors x and ybx are parallel.
7.
The vectors x and ybx are at 90
to each other.
Answer:
ybx =
4
3
0
1
4
3 b
so
kybxk
2
= 4
2
+ (3 b)
2
which is minimized by setting b = 3, so
ybx =
4
3
0
1
4
0
x
0
(ybx) = (ybx)
0
x =
2
X
i=1
(y
i
bx
i
) x
i
= (0 4) + (1 0) = 0.
From Figure 2.1 the vectors x and ybx are at 90
to each other.
Class 1 quiz question 9
Let
x =
1
2
and y =
10
5
to each other.
Answer:
ybx =
10
5
1
2
10 b
5 2b
so
kybxk
2
= (10 b)
2
+ (5 2b)
2
= 125 40b + 5b
2
.
Completing the square
125 40b + 5b
2
= 5 (b 4)
2
+ 45
which is minimized by setting b = 4, and has a minimum value of 45.
ybx =
10
5
1
2
6
3
x
0
(ybx) = (ybx)
0
x =
2
X
i=1
(y
i
bx
i
) x
i
= (1 6) + (2 (3)) = 0.
From the diagram the vectors x and ybx are at 90
x
1
x
2
.
.
x
n
y =
y
1
y
2
.
.
y
n
Assume that x 6=0. Find the value of the scalar b that minimizes kybxk.
Note that the value b that minimizes kybxk is the same as the value of b that
minimizes kybxk
2
, which is a quadratic function of b. If possible nd the
minimum by completing the square.
Note also that bx is a vector that is a scalar multiple of x so lies on the same
line as x. The vector ybx joins a point on this line y. Thus bx is the point
on the line through x that is closest to y. Draw a pair of vectors x and y and
use this property to nd bx.
Which of the following statements are true?
1. b = (x
0
x) x
0
y =
P
n
i=1
x
2
i
(
P
n
i=1
x
i
y
i
) .
2. b = (x
0
x) x
0
y =
P
n
i=1
x
2
i
(
P
n
i=1
x
i
y
i
) .
3.
b = (x
0
x)
1
x
0
y =
P
n
i=1
x
2
i
1
(
P
n
i=1
x
i
y
i
) .
4. x
0
(ybx) = (ybx)
0
x =1.
5.
x
0
(ybx) = (ybx)
0
x =0.
2.5. INEQUALITIES FORVECTORS (USEFUL TOPIC, QUESTIONS 11-12)13
6. The vectors x and ybx are parallel.
7.
The vectors x and ybx are at 90
to each other.
Answer b = (x
0
x)
1
x
0
y =
P
n
i=1
x
2
i
1
(
P
n
i=1
x
i
y
i
), x
0
(ybx) = (ybx)
0
x =0
and the vectors x and ybx are at 90
to each other.
2.5 Inequalities for Vectors (useful topic, ques-
tions 11-12)
Class 1 quiz question 11: the Cauchy-Schwarz Inequality
Click the statements that hold for all vectors x and y.
1. x
0
y
1
kxk kyk
2. x
0
y (x
0
x) (y
0
y)
3.
x
0
y (x
0
x)
1
2
(y
0
y)
1
2
4. x
0
y (x
0
x)
1
(y
0
y)
1
5.
x
0
y kxk kyk
6.
|x
0
y| kxk kyk
Answer: Statements 3, 5 and 6 are correct. Statement 6 is the Cauchy-
Schwarz inequality.
The Cauchy-Schwarz inequality states that
|x
0
y| (y
0
y)
1
2
(x
0
x)
1
2
= kxk kyk .
Class 1 quiz question 12: the Triangle Inequality
Click the statements that hold for all vectors x and y.
1. kx +yk < kxk + kyk
2.
kx +yk kxk + kyk
3. kx +yk = kxk + kyk
4. kx +yk > kxk + kyk
5. kx yk < kxk kyk
6.
kx yk kxk + kyk
Answer: statements 2 and 5 are correct. This is the triangle inequality,
(see notes on vectors).
14 CHAPTER 2. QUIZ FOR CLASS 1
2.6 The Angle Between Two Vectors (essential
topic, questions 13-15)
Class 1 quiz question 13
Which of the following statements is true?
1. x
0
y =
cos
kxk kyk
2. x
0
y = (x
0
x) (y
0
y) cos
3.
x
0
y = (x
0
x)
1
2
(y
0
y)
1
2
cos
4. x
0
y = (x
0
x)
1
(y
0
y)
1
cos
5.
x
0
y =kxk kyk cos
6. dont know.
Answer: The notes on vectors show that
x
0
y = (x
0
x)
1
2
(y
0
y)
1
2
cos = kxk kyk cos .
Given this statements 1, 2, and 4 can only hold for particular values of kxk and
kyk .
2.6.1 Class 1 quiz question 14
If x
0
y = 0 what is the angle between x and y?
1. 0
2. 45
3. 90
4. 135
5. 180
.
2.6. THE ANGLE BETWEENTWOVECTORS (ESSENTIAL TOPIC, QUESTIONS 13-15)15
45
1
1
2
Figure 2.3: Question 15
Class 1 quiz question 15
If x
0
= (3, 4) and y
0
= (
2, 7
2. 45
3. 90
4. 135
5. 180
2, 7
2) so k y k=
(2 + 98)
1
2
= 10. Moreover x
0
y = 3
2 + 28
2 = 25
2. As x
0
y = k x k
k y k cos where is the angle between x and y we have
cos =
x
0
y
k x kk y k
=
25
2
50
=
2
2
=
1
2
which implies that = 45
.
To see why cos 45
=
1
2
think about the triangle in Figure 2.3. The vertical
and horizontal sides of this triangle both have length to 1 . From Pythagoras
Theorem the hypotenuse of this right angled triangle is
1
2
+ 1
2
=
2 so
cos 45
=
1
2
.
16 CHAPTER 2. QUIZ FOR CLASS 1
x
0
x
1
x
2
p( x - x
0
) = 0
a
d
a
c
b
Figure 2.4:
2.7 Vectors, Lines, Planes and Hyperplanes (es-
sential topic, questions 16-17)
Class 1 quiz question 16
Figure 2.4 shows the line p
0
(x x
0
) = 0 and four vectors a, b, c and d. Which
of these vectors could not be p?
1. a
2. b
3. c
4. d
Answer The vector p must be orthogonal (at 90
1
n
,
1
n
, or in open ball
notation B (0, 1/n) where n = 1, 2..... Each of these intervals is an open set,
but their intersection {0} is not open.
2.9. CLOSEDSETS, BOUNDEDSETS ANDCONTINUOUS FUNCTIONS (MORE CHALLENGINGTOPIC, QUE
2.9 Closed Sets, Bounded Sets and Continuous
Functions (more challenging topic, questions
21-24)
Class 1 quiz question 21
Which of the following intervals are closed? Come to class ready to explain
your answer using the denition of a closed set as one whose complement is
open, and the denition of an open set in terms of open balls.
1. (10, 11)
2. (12, )
3. [10, 11)
4.
[12, )
5.
[10, 11]
Answer
1. (10, 11) is not closed because 10 is not in the interval, but elements of
B (10,) are in the interval for any > 0. Thus the complement is not
open and the set is not closed.
2. (12, ) is not closed because 12 is not in the interval, but elements of
B (12,) are in the interval for any > 0. Thus the complement is not
open and the set is not closed.
3. [10, 11) is not closed because 11 is not in the interval, but elements of
B (11,) are in the interval for any > 0. Thus the complement is not
open and the set is not closed.
4. [12, ) is closed because its complement (, 12) is open. To see this
note that x < 12 for all x in (, 12) which implies that x <
12+x
2
< 12
so the open ball B
x,
12x
2
is a subset of (, 12).
5. [10, 11] is closed because its complement is open. To see this note that
if x < 10 then x <
10+x
2
< 10 so the open ball B
x,
10x
2
is a subset of
(, 10) so (, 10) is open. Similarly if x > 11 then x >
11+x
2
> 11 so
the open ball B
x,
11x
2