Vector
Vector
A quantity, drawn as an arrow, with both direction and magnitude. For example, force and velocity are vectors. If a quantity has magnitude but not direction, it is called a scalar. Temperature, length, and mass are examples of scalars.

See also
Key Formula
v=⟨v1,v2⟩∥v∥=v12+v22
Where:
- v = A vector in two dimensions
- v1 = The horizontal (x) component of the vector
- v2 = The vertical (y) component of the vector
- ∥v∥ = The magnitude (length) of the vector
Worked Example
Problem: A vector goes from the origin to the point (3, 4). Find its magnitude and the unit vector in the same direction.
Step 1: Write the vector in component form.
v=⟨3,4⟩
Step 2: Calculate the magnitude using the formula.
∥v∥=32+42=9+16=25=5
Step 3: Find the unit vector by dividing each component by the magnitude. A unit vector has magnitude 1 and points in the same direction.
v^=∥v∥v=5⟨3,4⟩=⟨53,54⟩
Step 4: Verify the unit vector has magnitude 1.
∥v^∥=(53)2+(54)2=259+2516=1=1✓
Answer: The magnitude is 5, and the unit vector is ⟨53,54⟩.
Another Example
This example demonstrates vector addition — combining two vectors — rather than analyzing a single vector. It also shows how to find the direction angle.
Problem: Two forces act on an object: F1=⟨6,2⟩ and F2=⟨−1,3⟩. Find the resultant (total) force vector and its magnitude.
Step 1: Add the vectors component by component to find the resultant.
FR=F1+F2=⟨6+(−1),2+3⟩=⟨5,5⟩
Step 2: Calculate the magnitude of the resultant force.
∥FR∥=52+52=25+25=50=52≈7.07
Step 3: Find the direction angle of the resultant using the inverse tangent.
θ=tan−1(55)=tan−1(1)=45°
Answer: The resultant force is ⟨5,5⟩ with a magnitude of 52≈7.07 at an angle of 45° from the positive x-axis.
Frequently Asked Questions
What is the difference between a vector and a scalar?
A scalar is a quantity described by a single number (its magnitude), such as temperature, mass, or speed. A vector has both magnitude and direction — for example, velocity tells you how fast something moves and in which direction. When you say 'the car goes 60 mph,' that's a scalar (speed); when you say 'the car goes 60 mph north,' that's a vector (velocity).
How do you add two vectors?
You add vectors by adding their corresponding components. If a=⟨a1,a2⟩ and b=⟨b1,b2⟩, then a+b=⟨a1+b1,a2+b2⟩. Geometrically, you place the tail of the second vector at the tip of the first, and the sum runs from the start of the first to the end of the second (the 'tip-to-tail' method).
What is a unit vector?
A unit vector is a vector with a magnitude of exactly 1. You create it by dividing any nonzero vector by its own magnitude: v^=v/∥v∥. Unit vectors are useful for indicating direction without any scaling. The standard unit vectors in 2D are i^=⟨1,0⟩ and j^=⟨0,1⟩.
Vector vs. Scalar
| Vector | Scalar | |
|---|---|---|
| Definition | A quantity with both magnitude and direction | A quantity with magnitude only |
| Notation | Arrow notation v or component form ⟨a,b⟩ | A single number, e.g. 5 |
| Examples | Force, velocity, displacement, acceleration | Temperature, mass, speed, time |
| Addition | Add corresponding components; direction matters | Add ordinary numbers |
| Multiplication | Dot product (gives scalar), cross product (gives vector), scalar multiplication | Standard multiplication of numbers |
Why It Matters
Vectors appear throughout physics whenever you study forces, motion, or fields — you cannot solve a force-balance problem or describe projectile motion without them. In mathematics, vectors form the foundation of linear algebra, which is essential for computer graphics, machine learning, and engineering. You will encounter vectors in precalculus or physics classes, and they become even more central in multivariable calculus and beyond.
Common Mistakes
Mistake: Adding magnitudes instead of components when combining vectors.
Correction: Two vectors of magnitude 3 and 4 do not always produce a vector of magnitude 7. You must add the x-components and y-components separately, then compute the magnitude of the result. For example, ⟨3,0⟩+⟨0,4⟩=⟨3,4⟩, which has magnitude 5, not 7.
Mistake: Confusing a vector with a point.
Correction: The point (3,4) is a location in the plane. The vector ⟨3,4⟩ describes a displacement — it has the same components but represents a direction and distance, not a fixed position. A vector can be placed anywhere; a point cannot.
Related Terms
- Magnitude — The length or size of a vector
- Scalar — A quantity with magnitude but no direction
- Velocity — A common physical example of a vector
- Argument of a Vector — The angle a vector makes with the x-axis
- Multivariable Calculus — Extends calculus to vector-valued functions
- Dot Product — Multiplies two vectors to produce a scalar
- Cross Product — Multiplies two 3D vectors to produce a vector
- Unit Vector — A vector with magnitude exactly 1
