Learn

Vector Basics: Concepts, Operations, and Dot Product

2026.04.24

by QANDA

Vectors
Vectors

Vectors are mathematical objects that have both magnitude and direction. They are essential in geometry, physics, and engineering, forming the foundation of spatial reasoning and coordinate calculations.

šŸ’”
Vectors are a core topic in geometry and appear in 4–5 questions on many standardized math exams. Master component representation and the dot product, and most problems become straightforward.

What Is a Vector?

Definition

A vector is a quantity that has both magnitude (size) and direction. It is represented as an arrow from a starting point AA to an endpoint BB, written as ABāƒ—\vec{AB}.

PropertyVectorScalar
Notationaāƒ—\vec{a}, ABāƒ—\vec{AB}aa, 33, āˆ’2-2
InformationMagnitude + DirectionMagnitude only
ExamplesVelocity, ForceTemperature, Mass

Equality of Vectors

Two vectors are equal if and only if they have the same magnitude and direction. Position does not matter.


Vector Operations

Step 1: Addition and Subtraction

In component form with aāƒ—=(a1,a2)\vec{a} = (a_1, a_2) and bāƒ—=(b1,b2)\vec{b} = (b_1, b_2):

aāƒ—+bāƒ—=(a1+b1,a2+b2)\vec{a} + \vec{b} = (a_1 + b_1, a_2 + b_2)

aāƒ—āˆ’bāƒ—=(a1āˆ’b1,a2āˆ’b2)\vec{a} - \vec{b} = (a_1 - b_1, a_2 - b_2)

Step 2: Scalar Multiplication

For a real number kk:

kaāƒ—=(ka1,ka2)k\vec{a} = (ka_1, ka_2)

  • k>0k > 0: same direction, magnitude scaled by ∣k∣|k|
  • k<0k < 0: opposite direction, magnitude scaled by ∣k∣|k|
  • k=0k = 0: zero vector 0āƒ—\vec{0}

Step 3: Magnitude of a Vector

∣aāƒ—āˆ£=a12+a22|\vec{a}| = \sqrt{a_1^2 + a_2^2}

A vector with magnitude 1 is called a unit vector.

āš ļø
∣aāƒ—+bāƒ—āˆ£ā‰ āˆ£aāƒ—āˆ£+∣bāƒ—āˆ£|\vec{a} + \vec{b}| \neq |\vec{a}| + |\vec{b}| in general. Vector magnitudes cannot simply be added — you must account for direction!

The Dot Product

Definition

The dot product of aāƒ—\vec{a} and bāƒ—\vec{b} can be computed two ways:

Method 1 — Using the angle

aāƒ—ā‹…bāƒ—=∣aāƒ—āˆ£āˆ£bāƒ—āˆ£cos⁔θ\vec{a} \cdot \vec{b} = |\vec{a}||\vec{b}|\cos\theta

Method 2 — Using components

aāƒ—ā‹…bāƒ—=a1b1+a2b2\vec{a} \cdot \vec{b} = a_1 b_1 + a_2 b_2

Applications of the Dot Product

  • Perpendicularity test: aāƒ—ā‹…bāƒ—=0ā€…ā€ŠāŸŗā€…ā€Šaāƒ—āŠ„bāƒ—\vec{a} \cdot \vec{b} = 0 \iff \vec{a} \perp \vec{b}
  • Finding angles: cos⁔θ=aāƒ—ā‹…bāƒ—āˆ£aāƒ—āˆ£āˆ£bāƒ—āˆ£\cos\theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|}
  • Projection: The projection of bāƒ—\vec{b} onto aāƒ—\vec{a} has length aāƒ—ā‹…bāƒ—āˆ£aāƒ—āˆ£\frac{\vec{a} \cdot \vec{b}}{|\vec{a}|}

Practice Problems

Example 1: Dot Product Calculation

Problem: Given aāƒ—=(3,4)\vec{a} = (3, 4) and bāƒ—=(āˆ’1,2)\vec{b} = (-1, 2), find aāƒ—ā‹…bāƒ—\vec{a} \cdot \vec{b} and the angle Īø\theta between them.

Show Solution

Dot product:

aāƒ—ā‹…bāƒ—=3(āˆ’1)+4(2)=āˆ’3+8=5\vec{a} \cdot \vec{b} = 3(-1) + 4(2) = -3 + 8 = 5

Angle:

∣aāƒ—āˆ£=9+16=5,∣bāƒ—āˆ£=1+4=5|\vec{a}| = \sqrt{9+16} = 5, \quad |\vec{b}| = \sqrt{1+4} = \sqrt{5}

cos⁔θ=555=15=55\cos\theta = \frac{5}{5\sqrt{5}} = \frac{1}{\sqrt{5}} = \frac{\sqrt{5}}{5}

Answer: aāƒ—ā‹…bāƒ—=5\vec{a} \cdot \vec{b} = 5, cos⁔θ=55\cos\theta = \frac{\sqrt{5}}{5}

Example 2: Perpendicularity Condition

Problem: Find kk such that aāƒ—=(2,k)\vec{a} = (2, k) and bāƒ—=(3,āˆ’6)\vec{b} = (3, -6) are perpendicular.

Show Solution

Perpendicular condition: aāƒ—ā‹…bāƒ—=0\vec{a} \cdot \vec{b} = 0

2(3)+k(āˆ’6)=02(3) + k(-6) = 0

6āˆ’6k=0⇒k=16 - 6k = 0 \Rightarrow k = 1

Answer: k=1k = 1

šŸ“
Most vector problems are best solved by converting to components and computing directly. Prioritize component calculations over geometric intuition.

Top 3 Common Mistakes

  1. Adding magnitudes directly — To find ∣aāƒ—+bāƒ—āˆ£|\vec{a} + \vec{b}|, first add the components, then compute the magnitude. Never add ∣aāƒ—āˆ£+∣bāƒ—āˆ£|\vec{a}| + |\vec{b}| directly.
  2. Treating the dot product as a vector — aāƒ—ā‹…bāƒ—\vec{a} \cdot \vec{b} produces a scalar (number), not a vector.
  3. Forgetting the zero vector — 0āƒ—\vec{0} has no defined direction. Check for zero vector exceptions in perpendicularity and parallelism problems.

Related Concepts

  • Trigonometry — angle calculations
  • Pythagorean Theorem — geometry foundation
  • Limits — calculus connection