Unit Vector Calculator

Find the vector of length 1 that points the same way as yours.

Write 2 or 3 numbers, like (1, 2, 3).

Try

Result

You enteredu^ for u=(1,1)\hat{\mathbf{u}} \text{ for } \mathbf{u} = \left(1, 1\right)

(22,22)\displaystyle \left(\frac{\sqrt{2}}{2}, \frac{\sqrt{2}}{2}\right)

Magnitude

2\displaystyle \sqrt{2}
Show the work
  1. Magnitude of a vector

    Here u=(1,1)\mathbf{u} = \left(1, 1\right). Square each component, add the squares and take the square root: this is the length ∣u∣\left|\mathbf{u}\right| of the arrow from the origin.

    ∣u∣=u12+u22=12+12=1+1=2\begin{aligned} \left|\mathbf{u}\right| &= \sqrt{u_1^2 + u_2^2} \\ &= \sqrt{1^2 + 1^2} \\ &= \sqrt{1 + 1} \\ &= \sqrt{2} \end{aligned}
  2. Unit vector

    Dividing a vector by its own length gives a vector of length 1 that points the same way. Here u^\hat{\mathbf{u}} is that unit vector.

    u^=u∣u∣=12(1,1)=(22,22)\begin{aligned} \hat{\mathbf{u}} &= \frac{\mathbf{u}}{\left|\mathbf{u}\right|} \\ &= \frac{1}{\sqrt{2}}\left(1, 1\right) \\ &= \left(\frac{\sqrt{2}}{2}, \frac{\sqrt{2}}{2}\right) \end{aligned}
  3. Result

    So the unit vector in the direction of u\mathbf{u} is (22,22)\left(\frac{\sqrt{2}}{2}, \frac{\sqrt{2}}{2}\right).

Worked examples