PAIBOTLearn
Sign inSign up

Vectors in space

Vectors

Japanese school year: Math C

What you learn

This section extends vector concepts into three-dimensional space, covering 3D coordinate components, dot products, and equations of geometric figures. These tools are indispensable for 3D computer graphics, physics simulations, and solid geometry. Prior proficiency in 2D vector arithmetic and dot products is strongly recommended.

Go to practice

Key points

This formula calculates the magnitude (length) of a 3D vector a⃗=(a1,a2,a3)\vec{a}=(a_1, a_2, a_3). Extending the Pythagorean theorem into three dimensions, it sums the squares of the three components a1,a2,a3a_1, a_2, a_3 and takes the square root.

∣a⃗∣=a12+a22+a32|\vec{a}| = \sqrt{a_1^2 + a_2^2 + a_3^2}

This formula computes the dot product of two 3D vectors from their components. Multiply the corresponding coordinates together (a1b1,a2b2,a3b3a_1 b_1, a_2 b_2, a_3 b_3) and take their sum.

a⃗⋅b⃗=a1b1+a2b2+a3b3\vec{a} \cdot \vec{b} = a_1 b_1 + a_2 b_2 + a_3 b_3

This is the standard equation of a sphere in 3D space. It describes the locus of all points (x,y,z)(x, y, z) whose distance from the center (a,b,c)(a, b, c) equals the radius rr (r>0r > 0).

(x−a)2+(y−b)2+(z−c)2=r2(x - a)^2 + (y - b)^2 + (z - c)^2 = r^2

Choose a set to practice.