Magnitude of a vector in AP Pre-Calculus

The magnitude of a vector is the length of its directed line segment. For a vector ⟨a, b⟩ in the plane, the magnitude is √(a² + b²), and it appears in AP Precalculus Topic 4.8 in unit vector, dot product, and vector addition problems.

Verified for the 2027 AP Pre-Calculus examLast updated June 2026

What is the magnitude of a vector?

A vector is a directed line segment, so it has two pieces of information baked into it. One is direction (which way it points) and the other is magnitude (how long it is). The magnitude is just the distance from the tail to the head. If your vector is written in component form as ⟨a, b⟩, the magnitude is √(a² + b²). That's the Pythagorean theorem in disguise, because the components a and b are the legs of a right triangle and the vector itself is the hypotenuse.

Magnitude is always a nonnegative number, never a vector. The notation you'll see is |v| or ‖v‖. The only vector with magnitude 0 is the zero vector ⟨0, 0⟩, the trivial case where the tail and head are the same point. Everything else in Topic 4.8 builds on this idea, since unit vectors, dot products, and the geometry of vector sums all start with knowing how long your vectors are.

Why the magnitude of a vector matters in AP® Precalculus

Magnitude lives in Unit 4 (Functions Involving Parameters, Vectors, and Matrices), specifically Topic 4.8. It shows up in four learning objectives at once. AP Pre Calc 4.8.A defines magnitude as the length of the directed line segment. AP Pre Calc 4.8.C uses it to build unit vectors, since you scalar multiply a vector by the reciprocal of its magnitude to get a vector of length 1 in the same direction. AP Pre Calc 4.8.D uses it twice: the dot product equals the product of two magnitudes times the cosine of the angle between them, and Law of Sines and Law of Cosines problems on vector addition need magnitudes as the side lengths of the triangle. In short, if you can't compute √(a² + b²) quickly and correctly, most of Topic 4.8 falls apart.

How the magnitude of a vector connects across the course

Unit Vector (Unit 4)

A unit vector is just any vector whose magnitude is exactly 1. To make one from a nonzero vector v, you divide by |v|, which is scalar multiplying by 1/|v|. The magnitude is literally the number you divide out to normalize.

Dot Product (Unit 4)

Geometrically, the dot product of two vectors equals |u| |v| cos θ, where θ is the angle between them. That means magnitudes are how you solve for the angle between two vectors, and a dot product of zero tells you the vectors are perpendicular.

Law of Sines and Law of Cosines (Unit 4)

When two vectors add, they form a triangle whose side lengths are the magnitudes of the vectors and their sum. AP Pre Calc 4.8.D has you use Law of Sines and Law of Cosines on that triangle to find the missing magnitude or angle.

Polar Coordinates (Unit 3)

Place a vector's tail at the origin and the magnitude is the r-value of the head's polar coordinates. The same right-triangle and distance reasoning from Unit 3 trigonometry is doing the work here, just with new vocabulary.

Is the magnitude of a vector on the AP® Precalculus exam?

Expect multiple-choice questions that test magnitude at three levels. First, the concept itself: knowing that magnitude represents the length of the vector, not its direction or its components. Second, the formula: recognizing that a vector with components (a, b) has magnitude √(a² + b²). Third, computation: finding that ⟨5, 12⟩ has magnitude 13 (a classic Pythagorean triple, and the AP loves those because they keep the arithmetic clean). Beyond direct questions, magnitude is a step inside bigger problems. You'll need it to build a unit vector, to solve dot product equations for an angle, and to set up Law of Cosines on a vector-addition triangle. Watch for 3-4-5, 5-12-13, and 8-15-17 triples, since spotting them saves time.

The magnitude of a vector vs the vector itself (its components ⟨a, b⟩)

A vector and its magnitude are different objects. The vector ⟨a, b⟩ carries both direction and length; the magnitude √(a² + b²) is a single nonnegative number, the length alone. Infinitely many different vectors share the same magnitude (think of all vectors of length 5 pointing in different directions), so knowing |v| never tells you which vector you have. On MCQs, answer choices that hand you a vector when the question asks for a magnitude (or vice versa) are deliberate traps.

Key things to remember about the magnitude of a vector

  • The magnitude of a vector is the length of its directed line segment from tail to head, and for ⟨a, b⟩ it equals √(a² + b²).

  • Magnitude is a nonnegative scalar, not a vector, and the only vector with magnitude zero is the zero vector ⟨0, 0⟩.

  • To find a unit vector in the same direction as a nonzero vector, multiply the vector by the reciprocal of its magnitude.

  • The dot product of two vectors equals the product of their magnitudes times the cosine of the angle between them, so magnitudes are the key to finding angles between vectors.

  • In vector addition problems, magnitudes act as the side lengths of a triangle, which lets you use the Law of Sines and Law of Cosines to find missing lengths and angles.

  • The formula is the Pythagorean theorem in disguise, so memorize triples like 5-12-13 to compute magnitudes fast on the exam.

Frequently asked questions about the magnitude of a vector

What is the magnitude of a vector in AP Precalculus?

It's the length of the vector, the distance from its tail to its head. For a vector ⟨a, b⟩, the magnitude is √(a² + b²), which is tested in Topic 4.8.

Is the magnitude of a vector ever negative?

No. Magnitude is a length, so it's always nonnegative. It equals zero only for the zero vector ⟨0, 0⟩, and direction is what flips sign, not magnitude. Multiplying a vector by -2, for example, reverses its direction but doubles its magnitude.

How is magnitude different from the direction of a vector?

A vector has both. Magnitude tells you how long the vector is (a single number), while direction tells you which way it points. Two vectors can have the same magnitude but completely different directions, like ⟨3, 4⟩ and ⟨-5, 0⟩, which both have magnitude 5.

What is the magnitude of the vector ⟨5, 12⟩?

√(5² + 12²) = √169 = 13. This 5-12-13 Pythagorean triple shows up often on AP-style questions because the answer comes out clean.

How do you use magnitude to find a unit vector?

Divide the vector by its own magnitude. For example, ⟨3, 4⟩ has magnitude 5, so its unit vector is ⟨3/5, 4/5⟩, which points the same direction but has length exactly 1. This is learning objective AP Pre Calc 4.8.C.