Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
  • Coordinate geometry0/7
  • Vectors and the dot product0/7
  • Trigonometry0/7
  • Sigma and series0/7
  • Data handling0/7
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
v⃗\vec{v}vMaths, module 7: Vectors and the dot product, lesson 3 of 7

Length and unit vectors

The length of a vector by Pythagoras, unit vectors of length 1, and splitting a vector by its direction and size.

9 minute read2 things to try5 questionsFree

The length (magnitude) of v=(x,y)\mathbf{v} = (x, y)v=(x,y) is the length of its arrow. Across and up make a right triangle, so

∣v∣=x2+y2|\mathbf{v}| = \sqrt{x^2 + y^2}∣v∣=x2+y2​

Read the whole lesson free

Make a free account to read on, try the interactive parts, answer the 5 practice questions and keep your progress.

Create a free accountLog in

What this lesson covers

  • ∣(x,y)∣=x2+y2|(x, y)| = \sqrt{x^2 + y^2}∣(x,y)∣=x2+y2​.
  • ∣kv∣=∣k∣∣v∣|k\mathbf{v}| = |k||\mathbf{v}|∣kv∣=∣k∣∣v∣.
  • Unit vector: divide by the length; any vector = its length × its unit vector.

More in Vectors and the dot product

  1. 1What a vector is
  2. 2Adding, subtracting and scaling vectors
  3. 3Length and unit vectors
  4. 4Position vectors and geometry
  5. 5The dot product in depth
  6. 6Angles, projections and work
  7. 7Vectors in three dimensions