On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Algebra Fundamentals · Grade 9-12

Vector Magnitude and Direction

A vector's magnitude ∥v∥ is its length, found by the Pythagorean-style v12+v22; its direction is the angle from the x-axis.

∥v∥=v12+v22+⋯+vn2. Unit vector: v^=v∥v∥. Direction angle: θ=arctan⁡(v2v1) when v1>0; add 180∘ when v1<0, and when v1=0 use θ=90∘ if v2>0 or 270∘ if v2<0.

Quick Answer

A vector's magnitude ∥v∥ is its length, found by the Pythagorean-style v12+v22; its direction is the angle from the x-axis. Use them to turn components like ⟨3,4⟩ into the description a person would give, "5 units at about 53∘", or to go the other way. A unit vector, the vector divided by its magnitude, keeps the direction and has length exactly 1. The inverse tangent of v2v1 gives the right direction only after you check which quadrant the vector points into.

Why This Matters

Components suit arithmetic, but distance, speed and heading are what people actually report: a ship 10 km away on a bearing, a ball kicked at 20 m/s. Magnitude and direction translate between the two descriptions. Without them you cannot answer "how far" or "how fast" from a vector, and adding the components instead of using Pythagoras makes ⟨6,8⟩ look 14 long when it is 10.

Intuitive Explanation

Draw v=⟨3,4⟩ from the origin. It goes 3 across and 4 up, so the arrow is the hypotenuse of a right triangle with legs 3 and 4, and its length is 32+42=25=5. That is all the magnitude formula says: square the components, add, take the square root. In three dimensions a third term joins in, so ∥⟨2,3,6⟩∥=4+9+36=7.

The direction is the angle the arrow makes with the positive x-axis. For ⟨3,4⟩, tan⁡θ=43, so θ≈53.1∘. A calculator's inverse tangent only returns angles between −90∘ and 90∘, so it cannot tell ⟨3,4⟩ from ⟨−3,−4⟩: both have ratio 43. The second vector points down and to the left, into the third quadrant, so its direction is 53.1∘+180∘=233.1∘. A quick sketch of the arrow settles which one you have.

Dividing a vector by its magnitude gives the unit vector, a length-1 arrow pointing the same way: 15⟨3,4⟩=⟨0.6,0.8⟩. A unit vector is pure direction, so multiplying it by a length builds a vector of that length: 10⟨0.6,0.8⟩=⟨6,8⟩ is 10 long and points the same way.

The distance between two points uses the same square root, applied to the difference of their coordinates: from (1,2) to (4,6) the distance is ∥⟨3,4⟩∥=5. Adding two vectors is a different job; it produces a new vector, not a length.

Think of it like this. Components are street directions, "3 blocks east, 4 blocks north"; magnitude and direction are the crow's flight, "5 blocks away, a little north of northeast". Both describe the same trip. The comparison stops at the angle: streets lock you to a grid, while a direction angle can be any value from 0∘ to 360∘.

Core idea. Magnitude is the arrow's length from v12+v22; direction is the angle it points.


When to Use

Use the magnitude when a question asks how far, how fast or how strong a vector quantity is, and the direction angle when it asks which way something points or for a heading. Build a unit vector when you need a direction with length 1, for example to make a vector of a chosen length. If the question combines two vectors into one, add or subtract them; if it asks for the angle between two vectors, use the dot product. The distance between two points is the magnitude of their difference.

Tip. Ask: Am I asked how long the arrow is or which way it points, rather than how to combine arrows?

How to Recognize It

Before measuring a vector, check whether you have components or a length-and-angle description, and which of the two the answer needs.

  1. Is there only one vector to measure?

    One vector means a length or an angle of its own. If two vectors are given and you want the angle between them, use the dot product; if they act together, add them first, then measure the sum.

  2. Are you given a length and an angle and asked for components?

    Then go the other way: v1=∥v∥cos⁡θ and v2=∥v∥sin⁡θ. A plane flying 200 km at 30∘ has components of about ⟨173,100⟩.

  3. Are two points' coordinates given rather than the vector itself?

    Subtract to get the vector from one point to the other, then find its magnitude. That is exactly the distance formula, so either name gives the same number.

  4. Does the vector point left of the y-axis, with a negative first component?

    Then the calculator's tan⁡−1 answer is off by 180∘. For ⟨−3,4⟩ it gives about −53∘, but the true direction is about 127∘.

Vector Magnitude and Direction compared with Vector operations, Dot product, and Distance formula

Each row turns vectors or points into numbers or new arrows, and two of them use the same square-root calculation. Ask whether you are measuring one vector, comparing the directions of two, combining several, or measuring the gap between two points.

Vector Magnitude and Direction

Meaning
Use this when you need a vector's length, its direction angle, or its unit vector.
Key test
Am I asked how long the arrow is or which way it points, rather than how to combine arrows?
Formula
∥v∥=v12+v22+⋯+vn2. Unit vector: v^=v∥v∥. Direction angle: θ=arctan⁡(v2v1).
Example
Find the magnitude and unit vector of v=⟨6,8⟩.

Vector operations

Meaning
Adds/subtracts/scales arrows to make new vectors.
Key test
Use when combining vectors, not measuring one.
Formula
u+v=⟨u1+v1,u2+v2⟩
Example
⟨1,2⟩+⟨3,4⟩=⟨4,6⟩

Dot product

Meaning
Gives a number from two vectors, used for the angle BETWEEN them.
Key test
Use when comparing two vectors' directions, not finding one's own angle.
Formula
u⋅v=∥u∥∥v∥cos⁡θ
Example
angle between two arrows

Distance formula

Meaning
Length between two points, the same computation in disguise.
Key test
Use when measuring point-to-point rather than a vector's length.
Formula
(x2−x1)2+(y2−y1)2
Example
distance from (0,0) to (3,4) is 5

Formula & Notation

∥v∥=v12+v22+⋯+vn2. Unit vector: v^=v∥v∥. Direction angle: θ=arctan⁡(v2v1) when v1>0; add 180∘ when v1<0, and when v1=0 use θ=90∘ if v2>0 or 270∘ if v2<0.
The Euclidean norm on Rn is ∥v∥=∑i=1nvi2. It satisfies: (1) ∥v∥≥0 with equality iff v=0; (2) ∥kv∥=∣k∣∥v∥; (3) ∥u+v∥≤∥u∥+∥v∥ (triangle inequality). The unit vector is v^=v/∥v∥ for v≠0.

How to read it: ∥v∥ or ∣v∣ denotes the magnitude (length) of a vector. v^ (with a hat) denotes the unit vector pointing in the same direction as v, and θ typically represents the direction angle measured from the positive x-axis.

Worked Examples

Example 1 — Magnitude and unit vector

Easy

Find the magnitude and unit vector of v=⟨6,8⟩.
Show the steps and the answer
  1. Square and add the components: 62+82=36+64=100.

    The components are the legs of a right triangle and the vector is its hypotenuse.

  2. Take the square root: ∥v∥=100=10.

    Pythagoras gives the hypotenuse as the square root of the sum of the squares.

  3. Divide each component by 10: v^=⟨610,810⟩=⟨0.6,0.8⟩.

    Dividing by the length shrinks the arrow to length 1 without turning it.

  4. Check: 0.62+0.82=0.36+0.64=1.

    A unit vector must have length exactly 1.

Answer: ∥v∥=10, v^=⟨0.6,0.8⟩

Takeaway: Magnitude is the square root of the sum of the squared components; dividing by it gives the unit vector.

Example 2 — Combining, not measuring

Standard

Given u=⟨6,8⟩ and w=⟨1,0⟩, find u+w.
Show the steps and the answer
  1. Read what is asked: u+w is a new vector, not the length of one.

    A plus sign between vectors calls for componentwise addition.

  2. Add the components: ⟨6+1, 8+0⟩=⟨7,8⟩.

    x-parts add to x-parts and y-parts to y-parts.

  3. Compare lengths afterwards: ∥⟨7,8⟩∥=113≈10.63, while ∥u∥+∥w∥=10+1=11.

    The length of a sum equals the sum of the lengths only when the vectors point the same way.

Answer: ⟨7,8⟩

Takeaway: Combining vectors gives a vector; its magnitude is a separate question you can ask afterwards.

Example 3 — Find the mistake: the quadrant of the angle

Application

Find the magnitude and direction angle of v=⟨−2,2⟩. Zoe writes: "∥v∥=8 and θ=tan⁡−1(2−2)=−45∘." Find the mistake and correct it.
Show the steps and the answer
  1. Confirm the magnitude: (−2)2+22=8=22≈2.83.

    Squaring removes the negative sign, so Zoe's length is right.

  2. Sketch the vector: 2 left and 2 up, so it points into the second quadrant.

    Its direction must lie between 90∘ and 180∘.

  3. Locate the error: −45∘ points right and down, into the fourth quadrant.

    Inverse tangent only returns angles between −90∘ and 90∘, so it can never reach the second quadrant.

  4. Correct it: −45∘+180∘=135∘.

    ⟨−2,2⟩ and ⟨2,−2⟩ share the ratio 2−2, and adding 180∘ switches to the opposite direction.

  5. Check: 22⟨cos⁡135∘, sin⁡135∘⟩=22⟨−22,22⟩=⟨−2,2⟩.

    Rebuilding the components from the length and angle returns the original vector.

Answer: ∥v∥=22 and θ=135∘

Takeaway: When the x-component is negative, add 180∘ to the inverse-tangent angle; a sketch tells you which quadrant to expect.

Where You'll See It

  • A drone's distance from home

    A drone flies 120 m east and 50 m north. Its displacement ⟨120,50⟩ has magnitude 14400+2500=16900=130 m and direction tan⁡−150120≈22.6∘ north of east, the distance and heading its return-home feature needs.

  • Speed of a kicked football

    A ball leaves the foot with velocity ⟨15,8⟩ m/s, horizontal and vertical. Its speed is 225+64=289=17 m/s, and its launch angle is tan⁡−1815≈28.1∘ above the ground.

  • Steering a game character at a target

    To move a character 5 pixels per frame toward a target 30 pixels right and 40 pixels down, a game takes the unit vector 150⟨30,−40⟩=⟨0.6,−0.8⟩ and multiplies it by 5, giving ⟨3,−4⟩ per frame. Using the unit vector keeps the speed the same in every direction.

Common Mistakes

  1. The slip: Adding components for length

    Instead: magnitude squares, sums, then square-roots; it is not v1+v2.

  2. The slip: Forgetting to normalize for a unit vector

    Instead: divide the whole vector by its magnitude so the length becomes exactly 1.

  3. The slip: Ignoring the quadrant for the direction angle

    Instead: arctan⁡(v2/v1) may need an adjustment depending on the signs of the components.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find the magnitude of ⟨−8,15⟩.

    Hint: Square each component, add, then take the square root.

  2. Find the magnitude of ⟨−2,3⟩.

    Hint: A negative component still gives a positive square.

  3. Find the unit vector in the direction of ⟨3,−4⟩.

    Hint: Divide each component by the magnitude.

  4. Find the direction angle of ⟨−1,3⟩, measured from the positive x-axis.

    Hint: Check which quadrant the vector points into before trusting the calculator.

  5. A plane's velocity is ⟨300,400⟩ km/h. Asked for its speed, do you add the components or find the magnitude?

    Hint: Speed is the length of the velocity arrow.

  6. A student writes the unit vector of ⟨12,5⟩ as ⟨1217,517⟩. Find the mistake.

    Hint: What should you divide by, and does the result have length 1?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Can a vector have a negative magnitude?

No. A magnitude is a length, the square root of a sum of squares, so it is always 0 or positive, and it is 0 only for the zero vector. A negative sign belongs to direction instead: −v-\mathbf{v} has the same magnitude as v\mathbf{v} but points the opposite way. If a calculation gives a negative length, a square root or a sign was lost along the way.

Why does the magnitude formula work in 3D?

It is the Pythagorean theorem used twice: once across the floor of a box, and once from that floor diagonal up to the far top corner. So ∥⟨2,3,6⟩∥=4+9+36=49=7\|\langle2,3,6\rangle\|=\sqrt{4+9+36}=\sqrt{49}=7. A single direction angle is no longer enough in 3D, so directions there are usually given as a unit vector, here ⟨27,37,67⟩\langle\frac27,\frac37,\frac67\rangle.

Why does a compass bearing differ from the direction angle in math?

They start in different places and turn opposite ways. Math angles start from the positive xx-axis (east) and turn anticlockwise, so north is 90∘90^\circ. Compass bearings start from north and turn clockwise, so east is 090∘090^\circ. A vector at 30∘30^\circ in math points 30 degrees north of east, a bearing of 060∘060^\circ. Convert with bearing =90∘−θ=90^\circ-\theta, adding 360∘360^\circ if the result is negative.

What are i and j?

They are the unit vectors along the axes: i=⟨1,0⟩\mathbf{i}=\langle1,0\rangle points one unit east and j=⟨0,1⟩\mathbf{j}=\langle0,1\rangle points one unit north. Any 2D vector can be built from them, so ⟨3,−4⟩=3i−4j\langle3,-4\rangle=3\mathbf{i}-4\mathbf{j}, a form physics books use often. The vector ⟨cos⁡θ,sin⁡θ⟩\langle\cos\theta,\sin\theta\rangle also has magnitude 1 for every angle θ\theta, which is why that pair describes a pure direction.

Learning Path

Vector Magnitude and Direction

You are here

You need Vector Addition, Subtraction, and Scalar Multiplication (working in components) and Simplifying Radicals (answers such as 20=25) first. This concept adds a vector's length, its direction angle and its unit vector. Next, the Dot Product uses magnitudes to find the angle between two vectors, and the Cross Product produces a vector whose magnitude is an area.

See Also