Sunteți pe pagina 1din 8

Lecture 2 - Wednesday, April 2

VECTORS (§12.2)
Given two points P = (x1, y1) and Q = (x2, y2), their differ-
−→
ence PQ = (x2 − x1, y2 − y1) is called a vector.

Example:
4 Q = (5, 4)
3
B = (1, 2)
2 P = (4, 2)
1
A = (0, 0)
−1 1 2 3 4 5
−1
−→
PQ = (5 − 4, 4 − 2) = (1, 2)
−→
AB = (1 − 0, 2 − 0) = (1, 2)
−→ −→
The vectors PQ and AB are equivalent.

7
Adding vectors
~ = (b1, b2) define
~ = (a1, a2) and b
For a
~+b
a ~ = (a1 + b1, a2 + b2).


→ −
→ b2
a + b −
→ a2 + b2
b


→ a2
a

a1 b1

a1 + b1

8
Subtracting vectors
~ = (b1, b2) define
~ = (a1, a2) and b
For a
~−b
a ~ = (a1 − b1, a2 − b2).

Example:


→ →

a − b



a


b

~ = (3, 4) we have
~ = (−2, 6), b
For a
~−b
a ~ = (−2 − 3, 6 − 4) = (−5, 2)

9
Scaling:
~ = (a1, a2) and a scalar c ∈ R, the
For a vector a
scalar product is defined as c~
a = (ca1, ca2).

Example:

2−

a



a

−2−

a

~ = (2, 3), we have 2~


For a a = (4, 6) and −2~
a = (−4, −6)

10
p
~ = (x, y) is |~
The magnitude of a vector a a| = x 2 + y2
The magnitude is the distance between the start point and
the end point of the vector.
1
~ is
The direction of a vector a ~.
a
|~
a|

~ = (0, 0).
In R2 the zero vector is 0
The zero vector has magnitude 0, but no direction.

Some observations:
1
•| a ~| = 1
|~
a|
• |c~ a| = |c| · |~a|
|{z} |{z} |{z}
magnitude abs.val magnitude

• If c > 0, then c~ ~ have same direction


a and a
• If c < 0, then c~ ~
a has the opposite direction to a

11
Now everything in 3D
• For P = (x1, y1, z1) and Q = (x2, y2, z2), the vector from
−→
P to Q is PQ = (x2 − x1, y2 − y1, z2 − z1).
p
a| = x 2 + y2 + z 2
~ = (x, y, z) has magnitude |~
• A vector a
~ = (0, 0, 0)
• The zero vector is 0
~ = (b1, b2, b3) gives
~ = (a1, a2, a3) and b
• Adding a
(a1 + b1, a2 + b2, a3 + b3)
• etc..

12
THE STANDARD BASIS
In R3, the vectors ~i = (1, 0, 0), ~j = (0, 1, 0), k~ = (0, 0, 1) are
called the standard basis vectors.
Every vector in R3 can be written as a linear combination
of the standard basis vectors.
Example:

(4, −2, 9) = (4, 0, 0) + (0, −2, 0) + (0, 0, 9)


= 4 (1, 0, 0) − 2 (0, 1, 0) + 9 (0, 0, 1)
= 4~i − 2~j + 9k~

~ = ~i − ~j + 2k~ and b = 3~i − k.


Example: Given a ~ How large
is |~ ~
a − 2b|?
~ −2b
We have a ~ = (1−2·3)~i+(−1)~j+(2+2·1)k~ = (−5, −1, 4)
p √
and |~ ~ 2 2 2
a − 2b| = (−5) + (−1) + 4 = 42.

13
Exercise (Spring 2013 Midterm 1, ex 4)
Let ℓ be the line in R3 that passes though the points (1, 2, 3)
and (4, 1, −1). Find the coordinates of the point where ℓ
intersects the xz-plane.

Solution: Let P = (1, 2, 3), Q = (4, 1, −1).


−→
PQ = (4 − 1, 1 − 2, −1 − 3) = (3, −1, −4)
The line ℓ is
−→
{P + t PQ : t ∈ R} = {(1, 2, 3) + t(3, −1, −4) : t ∈ R}
Which point on it has the form (x, 0, z)?
Calculate 2 − t = 0 ⇔ t = 2.
The point is (1, 2, 3) + 2(3, −1, −4) = (7, 0, −5)

14

S-ar putea să vă placă și