Access this content offline
Omniguides
Skip to reading

Vector Math

Original textbook reading.

Use the component and tip-to-tail work for AP vectors. The cross-product and three-dimensional right-hand-rule material is extra exploration.

Being able to write out vectors is a useful first step, but now we need to be able to do something with those vectors.

When working with vectors, it is often necessary to add together different vectors to identify a resultant vectorⓘ.

Adding vectors together is the simplest aspect of vector math. We actually did a bit of vector addition in the previous section. By defining one vector by its components, we are actually defining that vector as a sum of each component vector.

The basic idea of adding vectors is to align them “head to tail” and then draw a vector from the tail of the first vector to the tip (or head) of the last. This method is shown in Gallery 1.2.1.

In a fixed coordinate system, add vectors by adding their signed components: (A + B)ₓ = Aₓ + Bₓ and (A + B)ᵧ = Aᵧ + Bᵧ. Negative components already represent the opposite direction.

Vector addition gets more complicated when introducing vectors that have an awkward angle between them. To add together those vectors, one ‘brute force’ approach is to identify the components of each vector, and then add each component vector.

As that approach is fairly intense, it is only recommended for cases where the vectors are given in their component forms. If the vectors are given in the form of a magnitude and direction, then it is potentially easier to use the laws of sines and cosines.

Explore the figure

Figure 1.2.1 Reference Triangle

Figure 1.2.1 Reference Triangle
Read all figure notes

Law of Cosines

If you recall the basic pythagorean theorem, that is just one instance of the law of cosines. In that case, the cos(γ) would always be 0.

Note:

For the given equations, the angles correspond to the side across from them. A and α, B and β, C and γ.

Figure 1.2.1 is a reference to the variables in the following equations. The important thing to note here is the location of each greek letter in comparison to is associated latin character (A, α; B, β; C, γ). Each angle corresponds to the side of the triangle opposite to it. That consistency is needed to successfully use these formulas.

C2=A2+B2-2ABcosγ (Equation 1.2.1)​
Asinα=Bsinβ=Csinγ (Equation 1.2.2)​
The first equation, the law of cosines will be the go-to equation for identifying the magnitude of the resultant vector.

The second equation, the law of sines, is used to identify the angles between the resultant vector and the original vector, for identifying the resultant vector’s direction.

These equations are together used to solve for the resultant vector, and this approach is one of the easiest ways of dealing with vector addition where the vector magnitudes and directions are given.

Pause & recall

Pop Quiz 1.2.1 Laws of Sines and Cosines

Question 1 of 5 · 0 correct

AP Topic 1.5 · Read the worked solution

What is the magnitude of the sum of the following two vectors?​
a→=41N at 145∘

b→=22N at 107∘​

 

Select one answer.
Read every full question without answers

Question 1

What is the magnitude of the sum of the following two vectors?​
a→=41N at 145∘

b→=22N at 107∘​

 

  1. 1454N

  2. 59.9N

  3. 40.1N

  4. 38.1N

Separate worked answer

Question 2

What is the magnitude of the sum of the following two vectors?​
a→=4m/s at 45∘

b→=7m/s at 23∘​

 

  1. 6.25m/s

  2. 7.38m/s

  3. 10.81m/s

  4. 54.5m/s

Separate worked answer

Question 3

In the following triangle, what is the value of β?

Question diagram; use the accompanying question and labels.
  1. 41.4∘

  2. 55.8∘

  3. 82.82∘

  4. More Information Needed

Separate worked answer

Question 4

In the following triangle, what is the value of A?

Question diagram; use the accompanying question and labels.
  1. 3.86m

  2. 5.64m

  3. 6.42m

  4. More Info ​
    Needed

Separate worked answer

Question 5

What is the magnitude of the sum of the following two vectors?​
a→=10m/s at 15∘

b→=21m/s at 65∘​

 

  1. 18.4m/s

  2. 19.5m/s

  3. 20.1m/s

  4. 28.5m/s

Separate worked answer

Scientific calculator

This calculator requires JavaScript. Use the physics formula sheets and show your working manually.

Calculation is unavailable without JavaScript.

+ − * / ^ ! · pi · e · sqrt · sin, cos, tan · asin, acos, atan · atan2(y,x) · ln, log · abs · exp · hypot(x,y). Use * between factors. Keep units in your written working.

A man is trying to cross a river that is flowing from west to east at 5m/s . The man has a velocity of 3m/s going north across the river. What is the man’s resulting velocity relative to the ground?

Step 1: Align the vectors

Line up the vectors that are being added, and make sure to place the vectors head to tail.

Step 2: Draw the resultant vector

Create a resultant vector by drawing an arrow that begins at the first vector’s tail, and finishes at the last vector’s tip.

Step 3: Determine the resultant vector’s magnitude

In this case, as the vectors are perpendicular to one other, the pythagorean theorem is sufficient to determine the resultant vector’s magnitude. In this case, we get 5.83m/s as the magnitude.

Step 4: Determine the resultant vector’s direction

The angle of the resulting velocity relative to east is θ = atan(3/5) ≈ 31.0°. Both components are positive: 5 m/s east and 3 m/s north.

Step 5: Present the resultant vector

v⃗ = (5î + 3ĵ) m/s = 5.83 m/s at 31.0° north of east.

Scientific calculator

This calculator requires JavaScript. Use the physics formula sheets and show your working manually.

Calculation is unavailable without JavaScript.

+ − * / ^ ! · pi · e · sqrt · sin, cos, tan · asin, acos, atan · atan2(y,x) · ln, log · abs · exp · hypot(x,y). Use * between factors. Keep units in your written working.

Vector subtraction can be done just like vector addition so it is still a resultant vector, with the only difference being that one vector is reversed, as that is what happens when a vector is multiplied by -1. This means that you take the given vector, swap the tip and the tail, and then add them normally. Even for subtraction, vectors are always aligned tip to tail, because it is still addition, just with one vector reversed .

Pause & recall

Pop Quiz 1.2.2 Vector Addition

Question 1 of 5 · 0 correct

AP Topic 1.5 · Read the worked solution

When lining up vectors for vector addition, what orientation is used?

Select one answer.
Read every full question without answers

Question 1

When lining up vectors for vector addition, what orientation is used?

  1. Tip-to-Tip

  2. Tip-to-Tail

  3. Tail-to-Tail

Separate worked answer

Question 2

Which of the following situations shows the vectors correctly aligned for addition?

  1. Image 1
  2. Image 2
  3. Image 3
  4. Image 4

Separate worked answer

Question 3

What is the sum of the two vectors:

a→=4iˆ+5jˆ

b→=5iˆ+5jˆ

  1. c→=9iˆ

  2. c→=9iˆ+5jˆ

  3. c→=9iˆ+10jˆ

  4. c→=5iˆ+5jˆ

Separate worked answer

Question 4

If two nonzero vectors point in the same direction, their sum points in that direction.

  1. True

  2. False

Separate worked answer

Question 5

What is the magnitude of the displacement of a man if he walks 4mi North, 3mi East, and then 2mi North?

  1. 5 miles

  2. 7 miles

  3. 6.7 miles

  4. 7.3 miles

Separate worked answer

Sometimes a scalar is multiplied by a vector. Say you wanted to find out what you would get if you doubled your velocity.

That would look like:

2⋅v→=?

Multiplying a vector by a scalar changes its magnitude by the absolute value of that scalar. A positive scalar preserves its direction; a negative scalar reverses it; multiplying by zero gives the zero vector.

2⋅(4m/s at 40∘)=8m/s at 40∘

2⋅⟨3,4⟩=⟨6,8⟩

2⋅(6iˆ+9jˆ)=12iˆ+18jˆ

Vector multiplication with other vectors occurs in two forms, the dot product and the cross product. The dot product of vectors s→ and t→ is depicted as s→•t→, and their cross product is depicted as s→×t→.

The dot product can be calculated in two ways: by magnitude or by components. The first equation is the magnitude equation, with θ being the angle between the two vectors:

a→•b→=|a→||b→|cosθ (Equation 1.2.3)​

Next is the component equation:

a→•b→=a→xb→x+a→yb→y+a→zb→z (Equation 1.2.4)​

Key Point: Dot products are scalars, and have no direction. Therefore, the order the vectors are multiplied does not matter, so b→•a→=a→•b→.

The goal of a cross product is to identify a vector that is perpendicular to the two vectors being multiplied, and which has a magnitude equal to the area of a parallelogram made by the vectors, as shown below.

Image1.2.1 — details in the accompanying text.

The calculation of a cross product is fairly simple if the magnitudes and directions of the vectors in question are known. The cross product is found via the following formula:

a→×b→=(|a→||b→|sinθ)uˆ (Equation 1.2.5)​
The unit vector uˆ in the equation is a unit vector whose direction is determined via the right-hand ruleⓘ. This rule is shown below.

Image%201.2.2 — details in the accompanying text.

Key Point: A nonzero cross product is perpendicular to both input vectors. If the vectors are parallel or either is zero, their cross product is the zero vector and has no direction.

What is the cross product, a→×b→, if the vectors are defined as:

a→=5m/s North​
b→=10m at 45∘ N of E

Step 1: Identify the magnitude of the cross product

The magnitude is found by the basic cross product definition in Equation 1.2.5. This gives us a value of 35.35m2/s.

Step 2: Identify the direction of the cross product

Take east as +x, north as +y, and upward as +z. Then a⃗ × b⃗ points downward (−k̂) by the right-hand rule.

Step 3: Present the cross product

a⃗ × b⃗ = −35.36 k̂ m²/s.

Pause & recall

Pop Quiz 1.2.3 Right-Hand Rule

Question 1 of 5 · 0 correct

Extra exploration · Read the worked solution

The cross product of two parallel vectors is always 0.

Select one answer.
Read every full question without answers

Question 1

The cross product of two parallel vectors is always 0.

  1. True

  2. False

Separate worked answer

Question 2

If vector a→ was directed northwards, and vector b→ was directed eastwards, where would:

the vector a→×b→ be directed?

the vector b→×a→ be directed?

  1. To the sky; to the sky

  2. To the sky; into the ground

  3. Into the ground; to the sky

  4. Into the ground; into the ground

Separate worked answer

Question 3

Is the following coordinate system right-handed? That is, is the kˆ vector in the direction of the cross product iˆ×jˆ?

Question diagram; use the accompanying question and labels.
  1. Yes

  2. No

Separate worked answer

Question 4

Two nonzero vectors have dot product zero. What is the angle between them?

  1. 0∘

  2. 60∘

  3. 90∘

  4. 180∘

Separate worked answer

Question 5

What is the dot product of the following vectors?

a→=5mi at 45∘ North of West

b→=10mi at 45∘ North of East

  1. 150 mi²

  2. 75 mi²

  3. 50 mi²

  4. 0 mi²

Separate worked answer

Scientific calculator

This calculator requires JavaScript. Use the physics formula sheets and show your working manually.

Calculation is unavailable without JavaScript.

+ − * / ^ ! · pi · e · sqrt · sin, cos, tan · asin, acos, atan · atan2(y,x) · ln, log · abs · exp · hypot(x,y). Use * between factors. Keep units in your written working.

IMG 0092 cropped — details in the accompanying text.
103017569c — details in the accompanying text.
Reviewed physics notes (12)

These corrections keep the original lesson’s purpose while fixing errors in the source edition.

  • Prevents subtracting a negative component twice. — Reference 1
  • Original says direction always remains unchanged. — Reference 1
  • Zero cross product has no perpendicular direction. — Reference 1
  • Original rounds incorrectly to 30° and fails to specify the east reference. — Reference 1
  • The river flows west to east; north of west is the wrong quadrant. — Reference 1
  • Specifies axes for the otherwise ambiguous word down. — Reference 1
  • Correct rounding and explicitly states vector direction. — Reference 1
  • Parallel can include oppositely directed vectors; revised prompt preserves the native True key. — Reference 1
  • Dot product zero does not force a 90° angle if either vector is zero. — Reference 1
  • Dot product of two displacement vectors has units of length squared. — Reference 1
  • Use the unrounded source inputs to prevent accumulated rounding error. — Reference 1
  • The caption omits the magnitude and the raster result accumulates rounding error. — Reference 1

About this edition and its source ↗

Glossary and deeper reading · 9 refreshers

These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.

  • Vector

    A vector is a quantity with a magnitude and a direction, represented by an arrow or by components along chosen axes. Vectors add by adding corresponding components rather than simply adding their magnitudes. For example, an eastward displacement followed by a northward displacement produces a resultant pointing northeast. The zero vector has zero magnitude and no unique direction.

    Read more: Vector components and addition →

  • Resultant vector

    A resultant vector is the vector sum of two or more vectors. Its components are the sums of the corresponding components of the vectors being combined. For example, two equal forces in opposite directions have a zero resultant even though both forces are present.

    Read more: Resultant vector in detail →

  • Vector component

    A vector component describes the part of a vector along a chosen axis. Its signed value changes when the axes change, even though the physical vector remains the same. For example, a diagonal launch velocity can be resolved into horizontal and vertical components that share the same elapsed time.

    Read more: Vector component in detail →

  • Magnitude

    Magnitude is the nonnegative size of a vector quantity. It does not specify direction, and it differs from a signed component. For example, a westward velocity can have a negative x component while its speed, the velocity magnitude, stays positive.

  • Scalar

    A scalar is a quantity described by a value and unit without a spatial direction. A scalar can have a sign when its definition or reference permits one; scalar does not mean always positive. For example, mass is a scalar, whereas the velocity of that mass also needs a direction.

    Read more: Scalars and vectors →

  • Velocity

    Velocity describes how position changes with time and includes direction. Instantaneous velocity describes one moment, while average velocity is displacement divided by elapsed time. For example, a car turning a corner can change velocity while maintaining the same speed.

    Read more: Variables of motion →

  • Cross product

    A cross product combines two vectors to form a vector perpendicular to both. Its magnitude depends on both magnitudes and the sine of their included angle, while reversing input order reverses its direction. For example, a force whose line of action passes through the pivot gives zero torque cross product about that pivot.

    Read more: Cross product in detail →

  • Unit vector

    A unit vector has magnitude one and specifies a direction. Multiplying it by a signed component gives the vector contribution along that direction. For example, the Cartesian unit vectors identify the positive x, y, and z directions.

  • Right-hand rule

    A right-hand rule is a convention for determining the direction of a vector cross product or a current-produced magnetic field. The chosen gesture must use the correct input vectors in their correct order, with reversal when a negative charge requires it. For example, the thumb-and-curl rule around a straight wire uses conventional current as the thumb direction.

    Read more: Right-hand rule in detail →

Search lessons, terms and problems