3.3: Vectors
( \newcommand{\kernel}{\mathrm{null}\,}\)
The Use of Vectors in Physics
From the last section we have three important ideas about vectors:
- vectors can exist at any point P in space,
- vectors have direction and magnitude, and
- any two vectors that have the same direction and magnitude are equal no matter where in space they are located.
When we apply vectors to physical quantities it’s nice to keep in the back of our minds all these formal properties. However, from the physicist’s point of view, we are interested in representing physical quantities such as displacement, velocity, acceleration, force, impulse, and momentum as vectors. We can’t add force to velocity or subtract momentum from force. We must always understand the physical context for the vector quantity. Thus, instead of approaching vectors as formal mathematical objects we shall instead consider the following essential properties that enable us to represent physical quantities as vectors.
Vectors in Cartesian Coordinates
Vector Decomposition
Choose a coordinate system with an origin, axes, and unit vectors. We can decompose a vector into component vectors along each coordinate axis (Figure 3.14).
A vector →A at P can be decomposed into the vector sum,
→A=→Ax+→Ay+→Az
where →Ax is the x-component vector pointing in the positive or negative x-direction, →Ay is the y-component vector pointing in the positive or negative y-direction, and →Az is the z-component vector pointing in the positive or negative z-direction.
Vector Components
Once we have defined unit vectors (ˆi,ˆj,ˆk), we then define the components of a vector. Recall our vector decomposition, →A=→Ax+→Ay+→Az. We define the x-component vector, →Ax, as →Ax=Axˆi.
→Ay=Ayˆj,→Az=Azˆk.
A vector →A is represented by its three components (Ax,Ay,Az). Thus we need three numbers to describe a vector in three-dimensional space. We write the vector →A as
→A=Axˆi+Ayˆj+Azˆk
Magnitude
Using the Pythagorean theorem, the magnitude of →A is,A=√A2x+A2y+A2z
Direction
Let’s consider a vector →A=(Ax,Ay,0). Because the z-component is zero, the vector →A lies in the x−y plane. Let θ denote the angle that the vector →A makes in the counterclockwise direction with the positive x-axis (Figure 3.15).
Then the x -component and y -component are Ar=Acos(θ),Ay=Asin(θ)
→A=Acos(θ)ˆi+Asin(θ)ˆj
Once the components of a vector are known, the tangent of the angle θ can be determined by
AyAx=Asin(θ)Acos(θ)=tan(θ)
Clearly, the direction of the vector depends on the sign of Ax and Ay. For example, if both Ax>0 and Ay>0, then 0<θ<π/2. If Ax<0 and Ay>0 then π/2<θ<π. If Ax<0 and Ay<0 then π<θ<3π/2. If Ax>0 and Ay<0, then 3π/2<θ<2. Note that tanθ is a double valued function because
−Ay−Ax=AyAx, and Ay−Ax=−AyAx
Unit Vectors
Unit vector in the direction of →A: Let →A=Axˆi+Avˆj+A7ˆk. Let →A denote a unit vector in the direction of →A. Then, ˆA=→A|→A|=Axˆi+Ayˆj+Azˆk(A2x+A2y+A2z)1/2
Vector Addition
Let →A and →B be two vectors in the x−y plane. Let θA and θB denote the angles that the vectors →A and →B make (in the counterclockwise direction) with the positive x -axis. Then →A=Acos(θA)ˆi+Asin(θA)ˆj
From Figure 3.16, the components of →C are Cx=Ax+Bx,Cy=Ay+By
Cx=Ccos(θC)=Acos(θA)+Bcos(θB)Cy=Csin(θC)=Asin(θA)+Bsin(θB)
Example 3.1: Vector Addition
Given two vectors, →A=2ˆi+−3ˆj+7ˆkand→B=5ˆi+ˆj+2ˆk, find: (a) |→A|; (b) |→B|; (c) →A+→B; (d) →A−→B; (e) a unit vector ˆA pointing in the direction of →A; (f) a unit vector ˆB pointing in the direction of →B;
Solution
(a)
|→A|=(22+(−3)2+72)1/2=√62=7.87.
(b)
|→B|=(52+12+22)1/2=√30=5.48.
(c)
→A+→B=(Ax+Bx)ˆi+(Ay+By)ˆj+(Az+Bz)ˆk=(2+5)ˆi+(−3+1)ˆj+(7+2)ˆk=7ˆi−2ˆj+9ˆk
(d)
→A−→B=(Ax−Bx)ˆi+(Ay−By)ˆj+(Az−Bz)ˆk=(2−5)ˆi+(−3−1)ˆj+(7−2)ˆk=−3ˆi−4ˆj+5ˆk
(e)
A unit vector ˆA in the direction of →A can be found by dividing the vector →A by the magnitude of →A. Therfore ˆA=→A/|→A|=(2ˆi+−3ˆj+7ˆk)/√62
(f)
In a similar fashion, ˆB=→B/|→B|=(5ˆi+ˆj+2ˆk)/√30
Example 3.2 Sinking Sailboat
A Coast Guard ship is located 35 km away from a checkpoint in a direction 52∘ north of west. A distressed sailboat located in still water 24 km from the same checkpoint in a direction 18∘ south of east is about to sink. Draw a diagram indicating the position of both ships. In what direction and how far must the Coast Guard ship travel to reach the sailboat?
Solution
The diagram of the set-up is Figure 3.17.
Choose the checkpoint as the origin of a Cartesian coordinate system with the positive x -axis in the East direction and the positive y –axis in the North direction. Choose the corresponding unit vectors ˆi andˆj as shown in Figure 3.18. The Coast Guard ship is then a distance r=35 km at an angle θ1=180∘−52∘=128∘ from the positive x -axis, The position of the Coast Guard ship is then
→r1=r1(cosθ1ˆi+sinθ1ˆj)→r=−21.5kmˆi+27.6kmˆj
The relative position vector from the Coast Guard ship to the sailboat is (Figure 3.19) →r2−→r1=(22.8kmˆi−7.4kmˆj)−(−21.5kmˆi+27.6kmˆj)→r2−→r1=44.4kmˆi−35.0kmˆj
Example 3.3: Vector Addition
Two vectors →A and →B, such that |→B|=2|→A|, have a resultant →C=→A+→B of magnitude 26.5. The vector →C makes an angle θc=41∘ with respect to vector →A. Find the magnitude of each vector and the angle between vectors →A and →B.
Solution: We begin by making a sketch of the three vectors, choosing →A to point in the positive x-direction (Figure 3.20).
Denote the magnitude of →C by C≡|→C|=√(Cx)2+(Cy)2=26.5. The components of →C=→A+→B are given by
Cx=Ax+Bx=CcosθC=(26.5)cos(41∘)=20
Cy=By=CsinθC=(26.5)sin(41∘)=17.4.
From the condition that |→B|=2|→A|, the square of their magnitudes satisfy
(Bx)2+(By)2=4(Ax)2.
Using Equations (3.3.17) and (3.3.18), Equation (3.3.19) becomes (Cx−Ax)2+(Cy)2=4(Ax)2
(Cx)2−2CxAx+(Ax)2+(Cy)2=4(Ax)2
This is a quadratic equation
0=3(Ax)2+2CxAx−C2
which we solve for the component Ax:
Ax=−2Cx±√(2Cx)2+(4)(3)(C2)6=−2(20)±√(40))2+(4)(3)(26.5)26=10.0
where we choose the positive square root because we originally chose Ax>0. The components of →B are then given by Equations (3.3.17) and (3.3.18):
Bx=Cx−Ax=20.0−10.0=10.0
The magnitude of |→B|=√(Bx)2+(By)2=20.0 which is equal to two times the magnitude of |→A|=10.0. The angle between →A and →B is given by
θ=sin−1(By/|→B|)=sin−1(17.4/20.0N)=60∘
Example 3.4 Vector Description of a Point on a Line
Consider two points, P1 with coordinates (x1,y1) and P2 with coordinates (x1,y1) are separated by distance d . Find a vector →A from the origin to the point on the line connecting P1 and P2 that is located a distance a from the point P2 (Figure 3.21).
Solution
Let →r1=x1ˆi+y1ˆj be the position vector of P1 and →r2=x2ˆi+y2ˆj the position vector of P2. Let →r1−→r2 be the vector from P2 to P1 (Figure 3.22a). The unit vector pointing from P2 to P1 is given by
ˆr21=(→r1−→r2)/|→r1−→r2|=(→r1−→r2)/d, where d=((x2−x1)2+(y2−y1)2)1/2
The vector →s in Figure 3.22b connects →A to the point at →r1, points in the direction of →r12 and has length a. Therefore →s=aˆr21=a(→r1−→r2)/d. The vector →r1=→A+→s. Therefore →A=→r1−→s=→r1−a(→r1−→r2)/d=(1−a/d)→r1+(a/d)→r2
Transformation of Vectors in Rotated Coordinate Systems
Consider two Cartesian coordinate systems S and S′ such that the (x′,y′) coordinate axes in S′ are rotated by an angle θ with respect to the (x,y) coordinate axes in S, (Figure 3.23).
The components of the unit vector ^i′ in the ˆi and ˆj direction are given by
i′x=|ˆi′|cosθ=cosθ
and
i′y=|ˆi′|sinθ=sinθ.
Therefore
ˆi′=i′xˆi+i′yˆj=ˆicosθ+ˆjsinθ
A similar argument holds for the components of the unit vector ^j′. The components of ^j′ in the ˆi and ˆj direction are given by
j′x=−|ˆj′|sinθ=−sinθ
and
j′y=|ˆj′|cosθ=cosθ.
Therefore
^j′=j′xˆi+j′yˆj=ˆjcosθ−ˆisinθ
Conversely, from Figure 3.23 and similar vector decomposition arguments, the components of (\hat{\mathbf{i}}\) and (\hat{\mathbf{j}}\) in S′ are given by
ˆi=ˆi′cosθ−ˆj′sinθ
Consider a fixed vector →r=xˆi+yˆj with components (x,y) in coordinate system S. In coordinate system S′, the vector is given by →r=x′ˆi′+yˆ′ˆj′, where (x′,y′), where (x′,y′) are the components in S′, (Figure 3.24).
Using the Equations (3.3.20) and (3.3.21), we have that
→r=xˆi+yˆj=x(ˆi′cosθ−ˆj′sinθ)+y(ˆj′cosθ+ˆi′sinθ)→r=(xcosθ+ysinθ)ˆi′+(xsinθ−ycosθ)ˆj′
Therefore the components of the vector transform according to
x′=xcosθ+ysinθ
y′=xsinθ−ycosθ
We now consider an alternate approach to understanding the transformation laws for the components of the position vector of a fixed point in space. In coordinate system S, suppose the position vector →r has length r=|→r| and makes an angle ϕ with respect to the positive x-axis (Figure 3.25).
Then the components of →r in S are given by x=rcosϕ
x′=rcos(ϕ−θ)
Apply the addition of angle trigonometric identities to Equations (3.3.29) and (3.3.30) yielding
x′=rcos(ϕ−θ)=rcosϕcosθ+rsinϕsinθ=xcosθ+ysinθ
y′=rsin(ϕ−θ)=rsinϕcosθ−rcosϕsinθ=ycosθ−xsinθ
in agreement with Equations (3.3.25) and (3.3.26).
Example 3.5 Vector Decomposition in Rotated Coordinate Systems
With respect to a given Cartesian coordinate system S, a vector →A has components Ax=5, Ay=−3, Az=0. Consider a second coordinate system S′ such that the (x′,y′ coordinate axes in S′ are rotated by an angle θ=60∘ with respect to the (x,y) coordinate axes in S, (Figure 3.26).
- What are the components Ax and Ay of vector →A in coordinate system S′?
- Calculate the magnitude of the vector using the (Ax, Ay) components and using the (Ax, Ay) components. Does your result agree with what you expect?
Solution:
We begin by considering the vector decomposition of →A with respect to the coordinate system S, →A=Axˆi+Ayˆj
→A=Aˆi+Ayˆj=Ax(cosθˆi′−sinθˆj′)+Ay(sinθˆi′+cosθˆj′)=(Axcosθ+Aysinθ)ˆi′+(−Axsinθ+Aycosθ)ˆj′=Axˆi+Ayˆj
where
Ax′=Axcosθ+Aysinθ
We now use the given information that Ax=5, Ay=−3, and θ=60∘ to solve for the components of →A in coordinate system S′
Ax′=Axcosθ+Aysinθ=(1/2)(5−3√3)
Ay′=−Axsinθ+Aycosθ=(1/2)(−5√3−3)
b) The magnitude can be calculated in either coordinate system
|→A|=√(Ax)2+(Ay)2=√(5)2+(−3)2=√34
|→A|=√(Ax′)2+(Ay′)2=√((1/2)(5−3√3))2+((1/2)(−5√3−3))2=√34
This result agrees with what I expect because the length of vector →A independent of the choice of coordinate system.