# Nakafa Framework: LLM
URL: /en/subject/high-school/10/mathematics/vector-operations/unit-vector
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/10/mathematics/vector-operations/unit-vector/en.mdx
Output docs content for large language models.
---
import { Vector3d } from "@repo/design-system/components/contents/vector-3d";
import { getColor } from "@repo/design-system/lib/color";
export const metadata = {
  title: "Unit Vector from a Vector",
  description: "Calculate unit vectors from any vector through normalization. Learn direction representation with magnitude 1, standard unit vectors î, ĵ, k̂.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "04/12/2025",
  subject: "Vector and Operations",
};
## Definition of Unit Vector
A unit vector is a vector that has a length or magnitude equal to 1 unit. Unit vectors are used to indicate the direction of a vector in space. If we have a vector, we can obtain a unit vector with the same direction by dividing the vector by its length.
## Basic Concept
Consider vector  in a Cartesian coordinate system. The unit vector of  is defined as vector  divided by its length.
Where  is the length or magnitude of vector .
A unit vector always points in the same direction as the original vector but has its length normalized to 1 unit.
## Calculating a Unit Vector
### Calculation Steps
To determine the unit vector of a given vector, follow these steps:
1. Identify the original vector
2. Calculate the length of the vector
3. Divide the vector by its length
### Example Application
Let's say we have vector 
First step, we calculate the length of the vector:
Second step, we divide the vector by its length:
Therefore, we get:
  
        Visualization of vector  and its unit
        vector  pointing in the same direction.
      >
    }
    vectors={[
      {
        from: [0, 0, 0],
        to: [3, 6, 4],
        color: getColor("PINK"),
        label: "v",
        labelPosition: "end",
      },
      {
        from: [0, 0, 0],
        to: [3 / Math.sqrt(61), 6 / Math.sqrt(61), 4 / Math.sqrt(61)],
        color: getColor("TEAL"),
        label: "v̂",
        labelPosition: "end",
      },
    ]}
    cameraPosition={[4, 8, 8]}
  />
## Properties of Unit Vectors
### Length of a Unit Vector
A unit vector always has a length equal to 1. This can be proven by calculating the length of the unit vector:
### Unit Vectors on Coordinate Axes
In a three-dimensional coordinate system, there are three standard unit vectors that are parallel to each coordinate axis:
-  is the unit vector in the direction of the x-axis
-  is the unit vector in the direction of the y-axis
-  is the unit vector in the direction of the z-axis
Any vector can be expressed as a linear combination of these three unit vectors.
## Applications of Unit Vectors
### Indicating Direction
Unit vectors are very useful for indicating direction without regard to magnitude or length. In physics, for example, unit vectors are often used to indicate the direction of force, velocity, or acceleration.
### Physics Calculations
In physics, when we want to decompose a vector into its components, unit vectors are very helpful. For instance, a force can be decomposed into components along the x, y, and z axes using unit vectors.