Vectors
Vectors
Definitions
2.a + b
3.e - b - a
Answer:
1.e
2.-c
3.-d
Multiplication by scalars
We can multiply vectors by scalars (i.e. numbers).
When p > 0, pa is defined to be the vector
vector.
When we multiply a vector by a scalar it is called "scaling"
following in terms of a, b
and c.
1.
Sample problem 2 -answer
1. =c
2. =-a
3. ( = b+ c ( XCZ) or –a+2c ( AXC)
4. =b-a ( ZXB)or 2b-c ( ZBC) or -2a+c
( ABZ)
5. Z =2c
X
B a b
)
c
Vector Components
a = is a position vector P
of the point P
ax and ay - the Cartesian
coordinates of P.
By Pythagoras' Theorem
=. √ a x 2 + ay 2 O
The unit vectors in 2D
corresponding to line
segments of length one
along the positive x and y
axes are denoted by i and j.
It follows from the triangle rule that we can write the position vector
of the point P with Cartesian coordinates (ax; ay) as
a= axi + ayj
3D Vectors
The position vector a = of a point P
P in 3D with Cartesian coordinates
(x; y; z) is:
a = = a i + a j + a k; O
x y z
By 3D version of Pythagoras'
Theorem:
= √ a x 2 + ay 2 + az 2
Any 3D vector v can be written as a column matrix or a row
a.b= cos()
direction (a.b=
If they are in opposite directions then , cos = -1
and a.b= -
If a and b are orthogonal, then and cos =0 Hence,
a.b = 0:
Conversely, if a.b = 0 and a and b are non-zero
0 · 0 = 0
· (a v)
Distributive Property : (au + bv) · w = (au) · w +
(bv) · w
Scalar Dot Product in terms of vectors’ components
−2) perpendicular to a?
Solution:
be zero. Since:
a.b=6*4+c*(-1) +3*(-2) = -c+18=0;
c=18
Example 2
Determine the angle between ν =(2, 5, 3) and ω =(1, - 2, 4)
Solution:
= ===0.1416
=1.5359rad
Vector (Cross) Product
Suppose that a and b are non-zero 3D vectors (the
vector product is only defined for 3D vectors).
They determine a plane in which each lies. The vector
product (or cross product) is defined by
a b = sin()n;
where 0 is the
angle between the positive
directions of a and b, and
n is the unit vector
perpendicular to the plane
of a and b, with direction
determined by the
right-hand-rule.
(right handed screw)
Vector Product properties
We can summarise the vector product properties as
follows:(here a , b and c are vectors and is a scalar):
a b = sin()n
| a × b| = |a||b| sin θ
a a=0
And conversely :
a×b=0
a × b = −b × a - the vector product is anti-commutative
a × (b + c) = a × b + a × c –distributive property
(a + b) × c = a × c + b × c
Vector Product in terms of vectors’ components
For two vectors a and b defined by their components
where,
Vector Product in terms of vectors’ components
-2D
Two 2D vectors a and b can be defined by
⃗
❑
1)
2)
Geometrical interpretation of the Cross product
magnitude
We can give a geometrical interpretation to the
magnitude of the vector product if we consider the
parallelogram below.
The area of this parallelogram is
sin() = h= v
Geometrical interpretation of the Cross product
magnitude - example
Find the area of triangle with P2
vertices: P1(-1,0,1); P2(0,2,2); P 2
P1
⃗
P3 (0,-1,2); P2 3 P3
P1 ⃗
P 1 P
Solution:
We have to build vectors ,which describe the triangle
=(1,2,1); =(1;-1;1)
=Area of the parallelogram they enclose.
=(3-3)
= ; Area of P1P2P3 =
The Scalar Triple Product
• The volume V of
this object is the
base area B times
the height h = cos.
• B= ,
• points up from the
right-hand-rule. ° Base area B
• Hence, we have:
The scalar product of three
Volume=Bh=
vectors a,b and c like the dot
=∥a×b∥ ∥c∥ |cosϕ|=
product evaluates to a single
|(a×b)⋅c|.
number.
Its absolute value is the
volume of the parallelepiped
spanned by a,b and c.