# Nakafa Framework: LLM
URL: https://nakafa.com/en/subject/high-school/10/mathematics/vector-operations/vector-components
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/10/mathematics/vector-operations/vector-components/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: "Vector Components",
  description: "Learn to break down vectors into x, y, z components, calculate magnitude using Pythagorean theorem, and find unit direction vectors with examples.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "04/11/2025",
  subject: "Vector and Operations",
};
## Understanding Vector Components
In studying vectors, we need to understand that every vector can be broken down into its components. Vector components are parts of a vector that are parallel to the coordinate axes.
Vector components are values that indicate how far a vector moves in the direction of the x-axis and y-axis. Every vector in a plane can be expressed as a linear combination of unit vectors  and .
      Vector  and its components on the{" "}
      , , and{" "}
       axes.
    >
  }
  vectors={[
    {
      from: [0, 0, 0],
      to: [4, 6, 0],
      color: getColor("ROSE"),
      label: "AB",
    },
    {
      from: [0, 0, 0],
      to: [4, 0, 0],
      color: getColor("TEAL"),
      label: "x component",
    },
    {
      from: [0, 0, 0],
      to: [0, 6, 0],
      color: getColor("LIME"),
      label: "y component",
    },
  ]}
/>
If we have a vector , then:
where:
-  is the vector component on the x-axis (horizontal)
-  is the vector component on the y-axis (vertical)
-  is the unit vector in the direction of the x-axis
-  is the unit vector in the direction of the y-axis
### Example of Vector Components
Consider the vector  in the figure. This vector can be written as:
This means that vector  has a horizontal component of 6 units to the right and a vertical component of 8 units upward.
## Vector Magnitude from Its Components
When we know the components of a vector, we can calculate the length or magnitude of the vector using the Pythagorean theorem.
The magnitude of vector  is denoted by  and calculated using the formula:
where  and  are the components of the vector.
### Example of Vector Magnitude Calculation
For the vector , its magnitude is:
Therefore, the magnitude of vector  is 10 units.
## Vectors in Three-Dimensional Space
Vectors are not limited to a plane (two dimensions) but can also be extended to three-dimensional space.
In three-dimensional space, a vector has three components: the x-component, y-component, and z-component. A vector in three-dimensional space can be expressed as:
where:
-  is the vector component on the x-axis
-  is the vector component on the y-axis
-  is the vector component on the z-axis
- , , and  are
  unit vectors in the direction of the x, y, and z axes
The magnitude of a vector in three-dimensional space is calculated using the formula:
## Unit Direction Vector
To determine the direction of a vector, we can use a unit vector. A unit vector is a vector with a magnitude of 1 unit. To obtain a unit vector from a vector, we divide the vector by its magnitude.
The unit direction vector of  is denoted by  and calculated using:
### Example of Unit Direction Vector
For the vector  with a magnitude of 10, its unit direction vector is:
This unit vector indicates the direction of vector  without regard to its magnitude.
## Applications of Vector Components
Vector components have many applications in everyday life, such as:
- Calculating velocity and displacement in physics
- Analyzing forces in mechanics
- Determining the direction and magnitude of resultants in object movement
- Navigation and position determination in coordinate systems
By understanding vector components, we can analyze various problems involving direction and magnitude in mathematics and other applied sciences.