Skip to content
LoveToCalc

Theorem — what does that mean?

Magnitude of a vector

Square the components, add them and take the root. A negative component gives the same length as a positive one.

In Swedish: Vektorns längd

Magnitude of a vector

The relation

|v|=x²+y²

The length of a vector from its components: square each, add, and take the root. A negative component gives the same length as a positive one.

Solve for

|v|=5

|v| equals the square root of ((−3) squared plus 4 squared), equals the square root of (9 plus 16), equals the square root of (25), equals 5

Working4 steps

Practice questions

You are given

  • x=6
  • y=-8

The formula

A vector v = (x, y) goes x steps across and y steps up. Its length, or magnitude, is written |v|. The vector (−3, 4) has magnitude

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

It is Pythagoras’ theorem: the components are the legs of a right-angled triangle and the vector is its hypotenuse.

The negative component

A component can be negative; a length cannot. Squaring takes care of it — (−3)² is 9, just as 3² is. But on a calculator it goes wrong easily:

Typed Gives |v|
(−3)² + 4² 9 + 16 = 25 5
−3² + 4² −9 + 16 = 7 √7 ≈ 2.65

Without the brackets only the 3 is squared, and the minus is put on afterwards. The answer looks like a plausible length but is wrong. Always put a negative component in brackets before squaring it.

An answer that is not whole

The vector (2, 5) has magnitude √(4 + 25) = √29 ≈ 5.39. Most vectors give a root; the whole numbers above are a special case.

The vector between two points

A vector from the point (1, 2) to (4, 6) has components (4 − 1, 6 − 2) = (3, 4), and magnitude 5. It is the same thing as the distance between two points.

Common mistakes

Common questions

Does it work in three dimensions? Yes, with one more term: |v| = √(x² + y² + z²). It is Pythagoras twice.

Can I work backwards to a component? Yes, but there are two answers: x = √(|v|² − y²) or its negative. The card above gives the positive one and names the other.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
x|v|²−y²5²−4²3
y|v|²−x²5²−(−3)²4
|v|x²+y²(−3)²+4²5

Last reviewed October 6, 2026 ·How pages are reviewed

Ready-made worksheets with this formula

Sheets that ask this formula, with their answer keys. Open one to see the questions or print it.

High school

  • Vectors

    Sixteen questions on the length of a vector, addition, multiplication by a scalar and the dot product. The first one is worked. Calculator allowed.

GeometryAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.