Magnitude of a Vector

Pythagoras on the two components.

The vector is a hypotenuse

The vector a = (3, 4) goes 3 across and then 4 up. The step across is horizontal and the step up is vertical, so they meet at a right angle. The two steps and the arrow itself make a right triangle, and the arrow is its hypotenuse, the side facing the right angle.

The length of a vector is called its magnitude. The magnitude of a is written |a|, with a straight bar on each side. The same bars write the absolute value of a number, |−3| = 3, which is its size without its sign; the magnitude of a vector is its size without its direction.

xya

The vector a = (3, 4): 3 squares across and 4 squares up from its start.

Pythagoras on the components

The legs of the right triangle are the components, 3 and 4. By Pythagoras, |a|² = 3² + 4² = 9 + 16 = 25, so |a| = √25 = 5.

The same holds for any vector in two dimensions: |(p, q)| = √(p² + q²). Square each component, add the squares, and take the square root.

Most lengths are not whole numbers. The vector (2, 5) has length √(2² + 5²) = √(4 + 25) = √29, which is 5.39 to 2 decimal places.

435

The right triangle under a = (3, 4): legs of 3 and 4, and a hypotenuse of √(9 + 16) = 5, the magnitude of a.

θ = 60°hide the unit tiles

at 60° the term −2ab cos θ is −12, so a² + b² and c² are not equal

Find the angle where a² + b² = c²

Two sides of 3 and 4, with the angle between them as the handle. At 60° the square on the third side is 13, not 9 + 16 = 25. Turn the angle to 90°, the angle between the two components of (3, 4): only there is the square on the third side 25, and the third side, the length of the vector, 5. Pythagoras gives the magnitude because the components are perpendicular.

Negative components

A negative component makes no difference to the length, because each component is squared. |(−5, 12)| = √((−5)² + 12²) = √(25 + 144) = √169 = 13. The vectors (5, 12), (−5, 12), (5, −12) and (−5, −12) all have length 13; they differ only in direction.

The square of a negative number is positive: (−5)² = 25, not −25.

The distance between two points

To find how far apart two points are, find the vector from one to the other and then its magnitude. With A at (1, 2) and B at (7, 10), the vector from A to B is B minus A: (7 − 1, 10 − 2) = (6, 8). Its magnitude is √(6² + 8²) = √(36 + 64) = √100 = 10.

The vector from B to A is (−6, −8), which points the other way but has the same length, 10. A distance does not depend on which end it is measured from.

xyAB

From A(1, 2) to B(7, 10) is 6 across and 8 up, so the distance AB is √(36 + 64) = 10.

The usual mistakes

Adding the components. For (3, 4), 3 + 4 = 7 is the distance walked across and then up; the straight arrow is shorter, 5.

Multiplying the components. 3 × 4 = 12 is twice the area of the triangle, not a length.

Stopping at the square. 3² + 4² = 25 is the square of the length; the length is √25 = 5.

Giving the vector instead of its length. The vector from A to B is a pair, (6, 8); its magnitude is one number, 10.

Speed is the magnitude of a velocity

A velocity is a vector: a speed in a direction. Its magnitude is the speed alone. A velocity of (3, 4) m/s, 3 m/s east and 4 m/s north, has magnitude √(9 + 16) = 5, so the speed is 5 m/s.

In the application below, a boat is moved by its engine and by the current at the same time. Its velocity is the sum of the two, and the speed it really travels at is the magnitude of that sum.

Worked example: A Boat Crossing a River While the Current Carries It Downstream

Question A river is 60 m wide and flows due east at 3 m/s. A boat sets off from a point O on the south bank and steers due north, straight across, at 4 m/s through the water. (a) Find the resultant velocity of the boat as a column vector, and its speed. (b) How long does the crossing take, and how far downstream of the point opposite O does the boat land?

  1. 1.Take the components east and north. The boat's own velocity is 04 m/s and the current's velocity is 30 m/s.

    204060153045meters east of Ometers northriver4 m/s north3 m/s eastOboat04, current30each arrow drawn is 15 seconds of that velocity
    204060153045meters east of Ometers northriver4 m/s north3 m/s eastOboat04, current30each arrow drawn is 15 seconds of that velocity
    With east and north as the components, the boat's own velocity is 04 m/s and the current's is 30 m/s. Each arrow is drawn as 15 seconds of its velocity.
  2. 2.The boat moves with both at once, so its resultant velocity is the sum: 04 + 30 = 34 m/s.

    204060153045meters east of Ometers northriver4 m/s north3 m/s east(3, 4) m/sOresultant =04+30=34
    204060153045meters east of Ometers northriver4 m/s north3 m/s east(3, 4) m/sOresultant =04+30=34
    The boat moves with both at once, so its velocity is the sum 04 + 30 = 34 m/s: the third side of the triangle.
  3. 3.(a) The speed is the magnitude of the resultant: √32 + 42 = √25 = 5 m/s.

    204060153045meters east of Ometers northriver4 m/s north3 m/s east5 m/sO32+ 42= 25, so the speed is√25= 5 m/s
    204060153045meters east of Ometers northriver4 m/s north3 m/s east5 m/sO32+ 42= 25, so the speed is√25= 5 m/s
    (a) The speed is the magnitude of the resultant: √32 + 42 = 5 m/s.
  4. 4.Only the north component carries the boat across. The river is 60 m wide, so the crossing takes 604 = 15 s.

    204060153045meters east of Ometers northriver4 m/s for 15 s3 m/s east5 m/sOonly the 4 m/s north carries it across60 m divided by 4 m/s = 15 s
    204060153045meters east of Ometers northriver4 m/s for 15 s3 m/s east5 m/sOonly the 4 m/s north carries it across60 m divided by 4 m/s = 15 s
    Only the north component carries the boat across, so the crossing takes 604 = 15 s.
  5. 5.(b) In those 15 s the current carries the boat 3 × 15 = 45 m east, so it lands 45 m downstream after 15 s. Check: the boat travels 5 × 15 = 75 m along its path, and 452 + 602 = 2025 + 3600 = 5625 = 752.

    204060153045meters east of Ometers northriver4 m/s for 15 s45 m5 m/slands hereOdrift = 3 × 15 = 45 m downstreamcheck: 452+ 602= 752, and 5 × 15 = 75
    204060153045meters east of Ometers northriver4 m/s for 15 s45 m5 m/slands hereOdrift = 3 × 15 = 45 m downstreamcheck: 452+ 602= 752, and 5 × 15 = 75
    (b) In 15 s the current carries the boat 3 × 15 = 45 m east: it lands 45 m downstream.

Answer: (a) 34 m/s, a speed of 5 m/s; (b) 15 s, landing 45 m downstream

Common mistakes

  • Dividing the width by the speed of 5 m/s to get 12 s. The 5 m/s is along the slanting path, which is longer than 60 m; only the 4 m/s straight across brings the far bank nearer.
  • Expecting the boat to land opposite O because it steers due north. The current acts for the whole crossing, so the boat drifts east all the way over.

More vectors in the plane problems, worked step by step →

Practice Magnitude of a Vector in the app