# Nakafa Framework: LLM URL: /en/subject/high-school/10/mathematics/vector-operations/three-dimensional-vector Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/10/mathematics/vector-operations/three-dimensional-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: "Three-Dimensional Vector", description: "Learn three-dimensional vectors with interactive visualizations. Master 3D vector operations, dot & cross products, and real-world applications.", authors: [{ name: "Nabil Akbarazzima Fatih" }], date: "04/12/2025", subject: "Vector and Operations", }; ## Understanding Three-Dimensional Vectors A three-dimensional vector is a quantity that has both magnitude and direction in three-dimensional space. Unlike two-dimensional vectors that exist only on a plane (x and y axes), three-dimensional vectors exist in space with three coordinate axes (x, y, and z axes). Visualization of a vector in three-dimensional space with{" "} , , and{" "} components. } vectors={[ { from: [0, 0, 0], to: [3, 4, 2], color: getColor("VIOLET"), label: "v", }, ]} cameraPosition={[8, 6, 8]} /> ## Representation of Three-Dimensional Vectors ### Notation of Three-Dimensional Vectors Three-dimensional vectors can be notated in various ways: 1. Letter notation with an arrow above it: or 2. Component notation: or 3. Basis notation: ### Components of Three-Dimensional Vectors A vector in three-dimensional space consists of three components that represent the projection of the vector on each coordinate axis: where: - is the vector component on the -axis - is the vector component on the -axis - is the vector component on the -axis - are the unit vectors on the , , and axes
Three-dimensional vector with components on the , , and axes. } vectors={[ { from: [0, 0, 0], to: [4, 0, 0], color: getColor("PURPLE"), label: "a_x", }, { from: [0, 0, 0], to: [0, 3, 0], color: getColor("TEAL"), label: "a_y", }, { from: [0, 0, 0], to: [0, 0, 2], color: getColor("AMBER"), label: "a_z", }, { from: [0, 0, 0], to: [4, 3, 2], color: getColor("PINK"), label: "a", }, ]} cameraPosition={[8, 6, 8]} />
## Magnitude of Three-Dimensional Vectors The magnitude or length of a three-dimensional vector is determined by the formula: **Example**: If , then the magnitude of vector is: ## Operations on Three-Dimensional Vectors ### Addition and Subtraction of Vectors Addition and subtraction of three-dimensional vectors are performed by adding or subtracting the corresponding components. If and , then:
Visualization of adding vectors and{" "} to produce vector{" "} . } vectors={[ { from: [0, 0, 0], to: [2, 3, 1], color: getColor("TEAL"), label: "a", labelPosition: "middle", }, { from: [2, 3, 1], to: [5, 4, 3], color: getColor("ORANGE"), label: "b", labelPosition: "middle", }, { from: [0, 0, 0], to: [5, 4, 3], color: getColor("YELLOW"), label: "c = a + b", }, ]} />
### Scalar Multiplication of Vectors Multiplying a scalar with a vector produces a new vector with the same direction (if ) or opposite direction (if ) and a magnitude times the magnitude of .
Visualization of scalar multiplication times vector , where . } vectors={[ { from: [0, 0, 0], to: [2, 1, 2], color: getColor("EMERALD"), label: "a", }, { from: [0, 0, 0], to: [4, 2, 4], color: getColor("FUCHSIA"), label: "2a", }, ]} cameraPosition={[2, 4, 10]} />
### Dot Product The dot product between two vectors and produces a scalar defined as: where is the angle between the two vectors. The dot product has the following properties: 1. (commutative) 2. if and only if and are perpendicular (orthogonal) 3. ### Cross Product The cross product between two vectors and produces a new vector that is perpendicular to both vectors. The magnitude of the cross product is: where is the angle between the two vectors. ## Applications of Three-Dimensional Vectors Three-dimensional vectors have many applications in various fields: 1. **Physics**: To represent force, velocity, acceleration, and momentum in three-dimensional space 2. **Computer Graphics**: To represent position and movement of objects in three-dimensional space 3. **Robotics**: To control robot movement in space 4. **Navigation**: To determine direction and distance in three-dimensional space 5. **Mechanical Engineering**: For structural analysis and fluid mechanics