Reading history

Vectors: Components, Magnitude and the Dot Product

4 min read 0 views

Learn scalars and vectors, i and j components, vector addition and scaling, magnitude and unit vectors, and the dot product and angle between vectors.

Some quantities need only a size: a mass of 5 kg or a temperature of 30 °C. Others also need a direction: a boat moving at 10 km/h towards the north, or a force of 20 newtons pushing to the left. Quantities with both size and direction are called vectors. They are essential in physics, engineering, navigation and computer graphics. This lesson covers vector notation, addition and subtraction, scalar multiplication, components, magnitude and the dot product.

In this lesson you will learn

  • The difference between scalars and vectors
  • Writing vectors as arrows, in column form and with i and j
  • Adding and subtracting vectors, and the triangle and parallelogram laws
  • Magnitude, unit vectors and position vectors
  • The dot product and the angle between two vectors

You should know coordinate geometry and trigonometric ratios.

Scalars and Vectors

Scalars (size only)Vectors (size and direction)
Distance, speed, mass, time, temperature, energyDisplacement, velocity, acceleration, force, momentum

A vector is drawn as an arrow: its length shows the size (magnitude) and its arrowhead shows the direction. The vector from point A to point B is written AB with an arrow over it, or as a bold letter such as a; in handwriting, underline the letter.

Components

In two dimensions, every vector can be split into a horizontal and a vertical part. With unit vectors i (one unit along the x-axis) and j (one unit along the y-axis):

a = 3i + 4j    also written as the column vector (3, 4)

From A(1, 2) to B(4, 6):  AB = (4 − 1)i + (6 − 2)j = 3i + 4j
The position vector of a point P(x, y) is OP = xi + yj, the vector from the origin.

Adding, Subtracting and Scaling

a = 3i + 4j      b = i − 2j

a + b  = 4i + 2j               add matching components
a − b  = 2i + 6j               subtract matching components
2a − 3b = (6 − 3)i + (8 + 6)j = 3i + 14j
−a     = −3i − 4j              same size, opposite direction
  • Triangle law: place the tail of b at the head of a; the sum a + b runs from the tail of a to the head of b. So AB + BC = AC.
  • Parallelogram law: draw both vectors from the same point and complete the parallelogram; the diagonal from that point is the sum.
  • Multiplying by a number k (a scalar) stretches the vector by k; a negative k also reverses it. Two vectors are parallel when one is a scalar multiple of the other.
-1123456-3-2-1123456xy0aba + b34

Magnitude and Unit Vectors

|a| = √(x² + y²)

|3i + 4j|  = √(9 + 16) = 5
|5i − 12j| = √(25 + 144) = 13

Unit vector in the direction of a:  â = a / |a|
For a = 3i + 4j:  â = (3/5)i + (4/5)j = 0.6i + 0.8j   (its length is 1)

The Dot (Scalar) Product

Two ways to calculate a · b

a · b = x₁x₂ + y₁y₂ = |a| |b| cos θ, where θ is the angle between the vectors.

a = 3i + 4j,  b = i − 2j
a · b = 3(1) + 4(−2) = −5
|a| = 5,  |b| = √5
cos θ = −5 / (5√5) = −1/√5   →   θ ≈ 116.6°

Perpendicular test: (2i + j) · (i − 2j) = 2 − 2 = 0, so they are at right angles.

The result of a dot product is a number, not a vector. A dot product of zero (with non-zero vectors) means the vectors are perpendicular. In physics, the work done by a force is the dot product of force and displacement.

Common Mistakes

  1. Writing AB as A − B. AB = B − A (end minus start).
  2. Adding magnitudes: |a + b| is usually not |a| + |b|.
  3. Treating a · b as a vector. It is a scalar.
  4. Forgetting direction: −a is the same length as a but points the opposite way.

Practice Exercises

Exercise 1. Given P(−2, 3) and Q(4, −5), find PQ and |PQ|.

Show answer

PQ = 6i − 8j; |PQ| = √(36 + 64) = 10.

Exercise 2. Find k if (k i + 3j) is perpendicular to (2i − 4j).

Show answer

2k − 12 = 0, so k = 6.

Exercise 3. A boat heads east at 12 km/h while the current flows north at 5 km/h. Find its actual speed.

Show answer

The velocity is 12i + 5j, so the speed is √(144 + 25) = 13 km/h.

Frequently Asked Questions

Are vectors used in three dimensions too?

Yes. A third unit vector, k, points along the z-axis, so a vector is written xi + yj + zk and its magnitude is √(x² + y² + z²). HSC mathematics and physics use 3D vectors.

What is the cross product?

A second way to multiply vectors in 3D. Unlike the dot product, it gives a vector, perpendicular to both originals; it is used for torque and magnetic force.

Summary

  • Vectors have size and direction; scalars have size only.
  • Write vectors with components: a = xi + yj; AB = B − A.
  • Add, subtract and scale component by component; |a| = √(x² + y²).
  • a · b = x₁x₂ + y₁y₂ = |a||b|cos θ; zero means perpendicular.

Next: Matrices and Determinants.

Lessons are also marked complete when you click Next.

Leave a Reply

Your email address will not be published. Required fields are marked *