MVC Lecture 3&4
MVC Lecture 3&4
Lecture 3,4
dated 17-02-2025
Course Title:- Multi-Variable Calculus
Class:- BS-Computer Science – Fall-23-A
Semester : Spring 25
1
12.2 Vectors
Vectors
The term vector is used by scientists to indicate a quantity
(such as displacement or velocity or force) that has both
magnitude and direction.
3
Vectors
For instance, suppose a particle moves along a line
segment from point A to point B.
Figure 1
Equivalent vectors
4
Vectors
Notice that the vector has the same length and the
same direction as v even though it is in a different position.
5
Combining Vectors
6
Combining Vectors
Suppose a particle moves from A to B, so its displacement
vector is . Then the particle changes direction and
moves from B to C, with displacement vector as in
Figure 2.
7
Combining Vectors
In general, if we start with vectors u and v, we first move v
so that its tail coincides with the tip of u and define the sum
of u and v as follows.
we see that u + v = v + u.
Figure 5
Solution:
First we translate b and place its tail at the tip of a, being
careful to draw a copy of b that has the same length and
direction.
10
Example 1 – Solution cont’d
11
Combining Vectors
It is possible to multiply a vector by a real number c. (In this
context we call the real number c a scalar to distinguish it
from a vector.)
12
Combining Vectors
This definition is illustrated in Figure 7.
Figure 7
Scalar multiples of v
u – v = u + (–v)
14
Combining Vectors
So we can construct u – v by first drawing the negative of
v, –v, and then adding it to u by the Parallelogram Law as
in Figure 8(a).
16
Components
For some purposes it’s best to introduce a coordinate
system and treat vectors algebraically.
Figure 11 17
Components
These coordinates are called the components of a and we
write
a = a1, a2 or a = a1, a2, a3
We use the notation a1, a2 for the ordered pair that refers
to a vector so as not to confuse it with the ordered pair
(a1, a2) that refers to a point in the plane.
19
Components
In three dimensions, the vector a = = a1, a2, a3 is the
position vector of the point P(a1, a2, a3). (See Figure 13.)
21
Example 3
Find the vector represented by the directed line segment
with initial point A(2, –3, 4) and terminal point B(–2, 1, 1).
Solution:
By , the vector corresponding to is
a = –2 – 2, 1 – (–3), 1 – 4
= –4, 4, –3
22
Components
The magnitude or length of the vector v is the length of
any of its representations and is denoted by the symbol | v |
or || v ||. By using the distance formula to compute the
length of a segment OP, we obtain the following formulas.
23
Components
How do we add vectors algebraically? Figure 14 shows that
if a = a1, a2 and b = b1, b2, then the sum is
a + b = a1 + b1, a2 + b2, at least for the case where the
components are positive.
Figure 14
24
Components
From the similar triangles in Figure 15 we see that the
components of ca are ca1 and ca2.
Figure 15
25
Components
26
Components
We denote by V2 the set of all two-dimensional vectors and
by V3 the set of all three-dimensional vectors.
where a1, a2, . . . , an are real numbers that are called the
components of a.
27
Components
Addition and scalar multiplication are defined in terms of
components just as for the cases n = 2 and n = 3.
28
Components
Three vectors in V3 play a special role. Let
Figure 17
a = a 1 i + a 2 j + a3 k
Figure 18 31
Components
A unit vector is a vector whose length is 1. For instance, i,
j, and k are all unit vectors. In general, if a 0, then the
unit vector that has the same direction as a is
| u | = | ca | = | c | | a | = =1
32
Applications
33
Applications
Vectors are useful in many aspects of physics and
engineering. Here we look at forces.
34
Example 7
A 100-lb weight hangs from two wires as shown in
Figure 19. Find the tensions (forces) T1 and T2 in both wires
and the magnitudes of the tensions.
Figure 19
35
Example 7 – Solution
We first express T1 and T2 in terms of their horizontal and
vertical components. From Figure 20 we see that
Figure 20
T1 + T2 = –w = 100 j
36
Example 7 – Solution cont’d
Thus
(–| T1 | cos 50 + | T2 | cos 32) I + (| T1 | sin 50 + | T2 | sin 32) j
= 100 j
and