Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

A vector describes both size and direction, making it useful for motion, forces, displacement, and many other quantities in physics and mathematics. In two dimensions, a vector like v = ⟨3, 4⟩ can be drawn as an arrow from the origin to the point (3, 4). Its magnitude is the length of that arrow, found using the Pythagorean theorem.

For v = ⟨3, 4⟩, the magnitude is |v| = 5, forming the classic 3-4-5 right triangle.

A unit vector keeps only the direction of a vector while changing its length to exactly 1. To normalize a vector, divide each component by the vector's magnitude, so v/|v| = ⟨3/5, 4/5⟩ for v = ⟨3, 4⟩. Standard basis vectors i = ⟨1, 0⟩ and j = ⟨0, 1⟩ let us write vectors as component sums such as v = 3i + 4j.

Direction angles connect vectors to trigonometry because the x and y components can be found from magnitude and angle using cosine and sine.

Understanding Math: Vector Magnitude and Unit Vectors

Magnitude is useful because it separates a vector into two independent ideas. One idea is how much of something there is. The other is where it points.

Once a direction has been turned into a unit vector, it can be scaled to create any needed length. For example, a game character may need to move six units in a chosen direction. The program first finds a unit direction, then multiplies each component by six.

This prevents diagonal movement from becoming accidentally faster than horizontal movement. A positive scale factor preserves direction. A negative scale factor reverses it.

The zero vector needs special care. Its components are both zero, so its magnitude is zero. It has no unique direction because an arrow of zero length does not point anywhere.

Dividing by its magnitude would mean dividing by zero, which is not defined. In calculations, check for a zero vector before normalizing.

This appears in computer graphics when two objects occupy the same position, and in physics when a net displacement is zero. A result can have zero magnitude even when several nonzero vectors were involved, because their effects may cancel.

Component signs give important direction information. A vector with a positive horizontal component points right, while a negative horizontal component points left. The same idea applies vertically.

Magnitude never becomes negative because squaring removes the signs before the lengths are combined. This means vectors pointing in opposite directions can have the same magnitude. When using an angle, cosine controls the horizontal component and sine controls the vertical component.

The signs of cosine and sine change in different quadrants, so a calculator answer should match the expected direction. An angle measured from a different axis needs an adjusted setup.

Unit vectors are common in real measurements. A wind report can give wind speed together with a unit direction. Multiplying them gives a velocity vector.

Engineers use the same idea for forces, and navigation systems use it for headings. In school problems, it helps to sketch the vector first and label the horizontal and vertical changes. Check that a normalized vector has magnitude one, allowing for small rounding error.

Keep exact fractions or square roots until the final step when possible. Early decimal rounding can make a unit vector slightly too long or too short, especially after further calculations.

Key Facts

  • For v = ⟨a, b⟩, the magnitude is |v| = sqrt(a^2 + b^2).
  • For v = ⟨3, 4⟩, |v| = sqrt(3^2 + 4^2) = 5.
  • A unit vector in the direction of v is u = v/|v|, as long as v is not the zero vector.
  • Normalizing ⟨3, 4⟩ gives u = ⟨3/5, 4/5⟩.
  • The standard basis vectors are i = ⟨1, 0⟩ and j = ⟨0, 1⟩, so ⟨a, b⟩ = ai + bj.
  • For a vector with magnitude r and direction angle θ from the positive x-axis, v = ⟨r cos θ, r sin θ⟩.

Vocabulary

Vector
A vector is a quantity with both magnitude and direction, often written using components such as ⟨a, b⟩.
Magnitude
Magnitude is the length or size of a vector, written as |v|.
Unit vector
A unit vector is a vector with magnitude 1 that indicates direction only.
Component
A component is one coordinate part of a vector, such as the x-value a or y-value b in ⟨a, b⟩.
Standard basis vector
A standard basis vector is a unit vector along a coordinate axis, such as i = ⟨1, 0⟩ or j = ⟨0, 1⟩.

Common Mistakes to Avoid

  • Adding components to find magnitude is wrong because vector length uses the Pythagorean theorem, not a + b. For example, |⟨3, 4⟩| is 5, not 7.
  • Forgetting to divide every component when normalizing is wrong because the whole vector must be scaled by the same factor. The unit vector for ⟨3, 4⟩ is ⟨3/5, 4/5⟩, not ⟨3/5, 4⟩.
  • Normalizing the zero vector is wrong because |⟨0, 0⟩| = 0 and division by zero is undefined. The zero vector has no unique direction.
  • Using tan θ = y/x without checking the quadrant can give the wrong direction angle. The signs of both components must be used to place the angle in the correct quadrant.

Practice Questions

  1. 1 Find the magnitude of a = ⟨-6, 8⟩ and write a unit vector in the same direction.
  2. 2 A vector has magnitude 10 and direction angle 30° from the positive x-axis. Find its x and y components in exact form.
  3. 3 Two vectors have the same unit vector but different magnitudes. Explain what is the same about the vectors and what is different.