Book A Free Math Class

# What Is a Vector? Definition, Magnitude & Examples

TL;DR

A vector is a quantity that has both a size (magnitude) and a direction — like a velocity of 60 km/h heading north. This article defines the term, shows how vectors are written and drawn, gives the magnitude formula, walks the basic operations, works six examples, and clears up the vector-versus-scalar confusion.

## What Exactly Is a Vector?

A **vector** is a quantity defined by both a size and a direction. Two vectors are equal only when they match on _both_ — same length and same way of pointing. Move an arrow around the page without rotating or stretching it and it stays the same vector; that freedom is what makes vectors so useful for describing motion and force.

Vectors are written a few standard ways, and you should recognise all of them:

- **Bold letter:** v — common in print.
- **Arrow overhead:** v⃗ — common in handwriting and Indian textbooks.
- **Component form:**⟨3,4⟩ or (3,4) — the horizontal and vertical amounts.

The two numbers in component form are the vector's **components**: how far it reaches across (the xxx-component) and how far up (the yyy-component) on the [coordinate plane](/content/math/geometry/coordinate-plane/index.html). A vector that starts at the origin and ends at a point is a _position vector_ of that point. The same components are just the [variables](/content/math/terms/variable/index.html) xxx and yyy you already use to name a point.

## How Do You Find the Magnitude and Direction of a Vector?

The **magnitude** of a vector is its length, and it comes straight from the Pythagorean theorem. For a vector v=⟨x,y⟩:

∣v∣=x²+y².

The vertical bars mean "the magnitude of." The **direction** is the angle θ the vector makes with the positive xxx-axis:

θ=tan⁡−1!(yx).

Together, magnitude and direction pin a vector down completely — they are just the polar version of the component form. Vectors also combine in ways scalars cannot. You add them tip-to-tail (or component by component), scale them by multiplying by a plain number, and multiply two vectors together as a dot or cross product, which is a topic in its own right.

## Examples of a Vector

### Example 1

**Find the magnitude of the vector v=⟨3,4⟩.**

Apply x²+y²:

∣v∣=√(3²+4²)=√(9+16)=√(25)=5.

Final answer: ∣v∣=5.

### Example 2

**Add the vectors a=⟨2,3⟩ and b=⟨5,1⟩.**

_Wrong attempt._ A student multiplies the components, writing ⟨2×5,,3×1⟩=⟨10,3⟩. Check it against an arrow drawing and the result does not match the tip-to-tail picture — the components were combined with the wrong operation.

_Correct._ Add component by component:

a+b=⟨2+5,3+1⟩=⟨7,4⟩.

Final answer: ⟨7,4⟩.

### Example 3

**Multiply the vector v=⟨4,−2⟩ by the scalar 3.**

Scalar multiplication scales every component:

3v=⟨3×4,3×(−2)⟩=⟨12,−6⟩.

Final answer: ⟨12,−6⟩.

### Example 4

**Find the direction (angle with the positive xxx-axis) of v=⟨1,1⟩.**

Use θ=tan⁡−1(y/x):

θ=tan⁡−1!(1/1)=tan⁡−1(1)=45°.

Final answer: 45°.

### Example 5

**Subtract b=⟨1,4⟩ from a=⟨6,2⟩.**

Subtraction works component by component:

a−b=⟨6−1,2−4⟩=⟨5,−2⟩.

Final answer: ⟨5,−2⟩.

### Example 6

**A boat heads east at 8 km/h while a current pushes it north at 6 km/h. Find the boat's resultant speed.**

The two velocities are perpendicular vectors, ⟨8,0⟩ and ⟨0,6⟩. Their resultant is ⟨8,6⟩, and the speed is its magnitude:

∣⟨8,6⟩∣=√(8²+6²)=√(64+36)=√(100)=10 km/h.

Final answer: 10 km/h.

## Why Vectors Run the Physical World

Almost everything that moves, pushes, or flows is described by a vector — which is why vectors are the working language of physics, engineering, and computer graphics.

- **Navigation.** A ship's course combines its own velocity vector with the current's; the resultant vector is the path it actually takes.
- **Forces in structures.** Every beam in a bridge carries a force vector; engineers resolve them into components and balance them so the structure does not move.
- **Computer graphics and games.** Every position, velocity, surface normal, and lighting direction in a 3D scene is a vector.
- **The Mars Climate Orbiter.** In 1999 NASA lost the [Mars Climate Orbiter](https://science.nasa.gov/mission/mars-climate-orbiter/) because two teams expressed thrust in different units — the magnitudes were mismatched while the direction logic assumed they agreed. A $125-million spacecraft was lost to a vector quantity carrying the wrong magnitude.

## Where Intuition Breaks on Vectors

### Mistake 1: Treating a vector like a scalar

**Where it slips in:** Adding two velocities or forces by simply adding their numbers.

**Don't do this:** Add 8 km/h east and 6 km/h north to get 14 km/h.

**The correct way:** Direction matters. Perpendicular vectors combine by the Pythagorean theorem, not by plain addition — 8 and 6 at right angles give a resultant of 10, not 14.

### Mistake 2: Adding magnitudes instead of components

**Where it slips in:** Vector addition when the vectors are not perpendicular.

**Don't do this:** Add the two magnitudes and call it the resultant magnitude.

**The correct way:** Add the vectors component by component first, _then_ take the magnitude of the result.

### Mistake 3: Confusing the components with the magnitude

**Where it slips in:** Reporting a vector's "size."

**Don't do this:** Quote the larger component as the magnitude.

**The correct way:** The magnitude is √(x²+y²), which is generally larger than either component (and never smaller than the larger one).

## Bottom Line

- A **vector** is a quantity with both magnitude and direction, drawn as an arrow whose length is the magnitude.
- A scalar (mass, time, temperature) has size only; a vector (velocity, force, displacement) carries direction too.
- The magnitude of ⟨x,y⟩ is √(x²+y²), and its direction is tan⁡−1(y/x).
- Vectors add component by component, not magnitude by magnitude.

## Practice These Before Moving On

1. Find the magnitude of the vector ⟨5,12⟩.
2. Add ⟨3,−2⟩ and ⟨−1,6⟩, then find the magnitude of the result.
3. A drone flies east at 999 m/s while wind pushes it north at 1212 m/s. Find its resultant speed.
