Curriculum
Login

Curriculum

Mathematics

Text lesson

The 3D Coordinate System and Vectors in Space

Mathematics

The 3D Coordinate System and Vectors in Space

Overview

Overview

  • This lesson covers lessons 3-1 and 3-2 of the unit "Geometry and Measurement in Two and Three Dimensions".
  • After it you should be able to:
  • locate a point in space and find the distance between two points and the midpoint of a segment;
  • represent a vector by three components and carry out addition, scalar multiplication and equality in space;
  • find the norm, the unit vector, the direction angles and direction cosines of a vector.

🌳 Concept tree

The 3D Coordinate System and Vectors in Space

  • ├── 3-1 (a) The three-dimensional orthogonal coordinate system

│ ├── Why three axes

│ ├── The right-hand rule

│ ├── The coordinate planes

│ ├── Plotting a point

│ └── Distances to planes and axes

├── 3-1 (b) Distance between two points

│ └── Rule

├── 3-1 (c) The midpoint of a segment

│ └── Rule

├── 3-2 (a) Position vectors and components

│ └── Definitions

├── 3-2 (b) Operations on vectors

│ ├── Addition

│ ├── Multiplication by a real number

│ └── Equality of vectors

  • ├── 3-2 (c) Unit vectors and the basis i^, j^, k^

│ ├── The fundamental unit vectors

│ └── Unit vector

├── 3-2 (d) The vector between two points

│ └── Rule

  • └── 3-2 (e) Direction angles and direction cosines

├── Definitions

└── Useful facts

The 3D Coordinate System and Vectors in Space · 1 / 15
3-1 (a) The three-dimensional orthogonal coordinate system

3-1 (a) The three-dimensional orthogonal coordinate system

Why three axes

  • On a line, a body’s position is one number its distance from the origin O.
  • In a plane, two perpendicular axes give the pair (x,y) by projecting the point onto each axis.
  • In space we need three mutually perpendicular axes Ox, Oy and Oz meeting at the origin O(0,0,0).
  • A point A is given by the ordered triple (x,y,z), the projections of A on the three axes. The set of all such triples is R3.
  • Curl the fingers of the right hand from the positive x-axis towards the positive y-axis; the thumb then points along the positive z-axis.
  • Every system in this course follows this rule (a right-handed system).
  • All points (x,y,0) lie in the xy-plane, whose equation is z=0.
  • All points (x,0,z) lie in the xz-plane, whose equation is y=0.
  • All points (0,y,z) lie in the yz-plane, whose equation is x=0.
  • The three planes divide space into eight regions called octants.

Plotting a point

✍️ Worked examples

Comparison aspectMain ideaKeywords
Example 1Locate A(−2,3,2) and C(4,0,−1).Locate
•SolutionSolution
For A
  • plot (−2
  • 3) in the xy-plane
  • then move 2 units in the positive z direction
plotplanethenmove
For C
  • the y-coordinate is 0
  • so C lies in the xz-plane. Take 4 on the x-axis
  • then move 1 unit in the negative z direction
coordinateliesplaneTake
  • Distance from (x,y,z) to the xy-plane is ∣z∣; to the xz-plane it is ∣y∣; to the yz-plane it is ∣x∣.
  • Distance to the x-axis is y2+z2; to the y-axis it is x2+z2; to the z-axis it is x2+y2.
  • For example, the distance from (−2,3,4) to the x-axis is 9+16=5.
  • A point on the x-axis has the form (a,0,0); on the y-axis (0,b,0); on the z-axis (0,0,c).
The 3D Coordinate System and Vectors in Space · 2 / 15
3-1 (b) Distance between two points

3-1 (b) Distance between two points

Rule

For A(x1,y1,z1) and B(x2,y2,z2)AB=(x2−x1)2+(y2−y1)2+(z2−z1)2
It comes from applying Pythagoras’ theorem twicefirst in the horizontal plane, then with the vertical difference.
The 3D Coordinate System: a room corner with three axes places the point (2, 3, 6) in the three-dimensional coordinate system and vectors: its distance from the origin is 7 m.
The 3D Coordinate System: a room corner with three axes places the point (2, 3, 6) in the three-dimensional coordinate system and vectors: its distance from the origin is 7 m.

✍️ Worked examples

  • Example 2 Show that the triangle A(2,−1,3), B(−4,4,2), C(−2,5,1) is right-angled at C.
  • Solution:
  • AB2=(−6)2+52+(−1)2=36+25+1=62.
  • BC2=(2)2+(1)2+(−1)2=6.
  • AC2=(4)2+(−6)2+(2)2=16+36+4=56.
  • BC2+AC2=6+56=62=AB2, so the angle at C is 90∘.
  • Example 3 Show that A(4,4,0), B(4,0,4), C(0,4,4) form an equilateral triangle and find its area.
  • Solution:
  • AB=0+16+16=42, BC=16+16+0=42, AC=16+0+16=42.
  • All sides are equal, so it is equilateral.
  • Area =34(42)2=34×32=83 square units.
  • Example 4 Find k if the triangle with vertices (7,1,3), (5,3,k), (3,5,3) is equilateral.
  • Solution:
  • Let the points be P, Q, R. PR2=16+16+0=32.
  • PQ2=4+4+(k−3)2 and QR2=4+4+(k−3)2, so PQ=QR for every k (the triangle is always isosceles).
  • Equilateral requires 8+(k−3)2=32, so (k−3)2=24 and k=3±26.
The 3D Coordinate System and Vectors in Space · 3 / 15
3-1 (c) The midpoint of a segment

3-1 (c) The midpoint of a segment

Rule

The midpoint of AB is M=(x1+x22, y1+y22, z1+z22)

✍️ Worked examples

  • Example 5 Find the midpoint of AB for A(1,−3,2) and B(4,−1,4).
  • Solution:
  • M=(1+42,−3−12,2+42)=(52,−2,3).
  • Example 6 C(2,2,6) is the midpoint of AB and A=(1,−4,0). Find B.
  • Solution:
  • 1+x2=2, −4+y2=2, 0+z2=6.
  • So x=3, y=8, z=12 and B=(3,8,12).
  • Shortcut the end point is B=2C−A.
  • Example 7 B(−1,4,2) is the midpoint of AC with A(1,0,2). Find C.
  • Solution:
  • C=2B−A=(−2−1, 8−0, 4−2)=(−3,8,2).
  • A common error is to take B−A or to halve instead of doubling.
The 3D Coordinate System and Vectors in Space · 4 / 15
3-2 (a) Position vectors and components

3-2 (a) Position vectors and components

Definitions

  • The position vector of A(Ax,Ay,Az) is the directed segment OA→ from the origin to A, written A⃗=(Ax,Ay,Az).
  • Ax, Ay, Az are the components of the vector along the three axes.
  • The norm (magnitude) of A⃗ is its length ∥A⃗∥=Ax2+Ay2+Az2
  • Example for A⃗=(2,3,1) the norm is 14 and for B⃗=(0,4,−3) it is 5.
  • A vector with one zero component lies in a coordinate plane; for example B⃗ above lies in the yz-plane.
The 3D Coordinate System and Vectors in Space · 5 / 15
3-2 (b) Operations on vectors

3-2 (b) Operations on vectors

Addition

For A⃗=(Ax,Ay,Az) and B⃗=(Bx,By,Bz)A⃗+B⃗=(Ax+Bx, Ay+By, Az+Bz)
Propertiesclosure, commutative (A⃗+B⃗=B⃗+A⃗), associative, the zero vector 0⃗=(0,0,0) is the identity, and −A⃗=(−Ax,−Ay,−Az) is the additive inverse.
  • kA⃗=(kAx,kAy,kAz).
  • If k>0 the direction is unchanged; if k<0 it is reversed; the norm is multiplied by ∣k∣.
  • Properties (k+l)A⃗=kA⃗+lA⃗, k(A⃗+B⃗)=kA⃗+kB⃗, k(lA⃗)=(kl)A⃗.

✍️ Worked examples

  • Example 8 For A⃗=(−1,5,2) and B⃗=(4,−1,3) find 2A⃗−3B⃗ and the vector C⃗ with 2C⃗+3A⃗=2B⃗.
  • Solution:
  • 2A⃗−3B⃗=(−2,10,4)−(12,−3,9)=(−14,13,−5).
  • 2C⃗=2B⃗−3A⃗=(8,−2,6)−(−3,15,6)=(11,−17,0).
  • C⃗=(112,−172,0).
  • A⃗=B⃗ if and only if Ax=Bx, Ay=By and Az=Bz.

✍️ Worked examples

  • Example 9 Find x, y, k if (2x+1, 5, k+4)=(1, y2−4, x+1).
  • Solution:
  • 2x+1=1 gives x=0.
  • y2−4=5 gives y=±3.
  • k+4=x+1=1 gives k=−3.
  • Example 10 Find l and m if (l−4, m2−3, 1)=(5, 1, 1).
  • Solution:
  • l−4=5 gives l=9.
  • m2−3=1 gives m=±2.
The 3D Coordinate System and Vectors in Space · 6 / 15
3-2 (c) Unit vectors and the basis i^, j^, k^

3-2 (c) Unit vectors and the basis i^, j^, k^

The fundamental unit vectors

  • i^=(1,0,0), j^=(0,1,0) and k^=(0,0,1) have norm 1 along the positive x, y and z axes.

Every vector can be written A⃗=Axi+Ayj+Azk^

  • For example (−1,0,0)=−i^ and (0,0,−1)=−k^.

✍️ Worked examples

  • Example 11 For A⃗=2i^−3j^+k^ and B⃗=−i^−2j^ find 2A⃗−3B⃗, then compare ∥A⃗+B⃗∥ with ∥A⃗∥+∥B⃗∥.
  • Solution:
  • 2A⃗=4i^−6j^+2k^ and 3B⃗=−3i^−6j^, so 2A⃗−3B⃗=7i^+2k^.
  • A⃗+B⃗=i^−5j^+k^, with norm 27=33≈5.20.
  • ∥A⃗∥+∥B⃗∥=14+5≈3.74+2.24=5.98.
  • So ∥A⃗+B⃗∥<∥A⃗∥+∥B⃗∥. In general ∥A⃗+B⃗∥≤∥A⃗∥+∥B⃗∥, with equality only when the vectors point the same way.
  • A unit vector has norm 1.
  • The unit vector in the direction of A⃗ is
    u^A=A⃗∥A⃗∥
  • For A⃗=(−2,2,1) ∥A⃗∥=3, so uA=(−23,23,13).
  • A vector of norm r in the direction of A⃗ is r u^A; the opposite direction uses −u^A.
The 3D Coordinate System and Vectors in Space · 7 / 15
3-2 (d) The vector between two points

3-2 (d) The vector between two points

Rule

  1. AB→=B⃗−A⃗, because OA→+AB→=OB→.
  2. Always "end minus start"; also BA→=−AB→.
  3. ∥AB→∥ equals the distance AB.

✍️ Worked examples

  • Example 12 For A(−2,3,1) and B(4,0,2) find AB→ and BA→.
  • Solution:
  • AB→=(4+2, 0−3, 2−1)=(6,−3,1).
  • BA→=(−6,3,−1).
  • Example 13 If A(1,1,−2) and AB→=(4,−1,2), find B.
  • Solution:
  • B=A+AB→=(5,0,0).
  • Example 14 Find the unit vector in the direction of AB→ for A(−2,2,1) and B(3,1,−2).
  • Solution:
  • AB→=(5,−1,−3), with norm 25+1+9=35.
  • u^AB=135(5,−1,−3).
The 3D Coordinate System and Vectors in Space · 8 / 15
Definitions

Definitions

  • Let θx, θy, θz be the angles a vector A⃗ makes with the positive x, y, z axes.
  • They are the direction angles; cos⁡θx, cos⁡θy, cos⁡θz are the direction cosines, often written l, m, n.
  • The components are Ax=∥A⃗∥cos⁡θx, Ay=∥A⃗∥cos⁡θy, Az=∥A⃗∥cos⁡θz.
  • So the unit vector is u^A=(cos⁡θx, cos⁡θy, cos⁡θz), and therefore
    cos⁡2θx+cos⁡2θy+cos⁡2θz=1
  • Each direction angle lies between 0∘ and 180∘.

✍️ Worked examples

  • Example 15 Find the direction cosines and angles of A⃗=(1,2,2).
  • Solution:
  • ∥A⃗∥=3.
  • Direction cosines 13, 23, 23 (their squares add to 1+4+49=1).
  • Angles cos⁡−113≈70.5∘, and cos⁡−123≈48.2∘ twice.
  • Example 16 A force of 10 N makes angles of 60∘ with Ox and 45∘ with Oy and an acute angle with Oz. Write it in component form.
  • Solution:
  • cos⁡260∘+cos⁡245∘+cos⁡2θz=1 gives 14+12+cos⁡2θz=1, so cos⁡θz=12 and θz=60∘.
  • F⃗=10(12,22,12)=(5, 52, 5)≈(5,7.07,5) N.
  • Example 17 A vector of norm 5 makes equal angles with the three positive axes. Write it in component form.
  • Solution:
  • Equal angles give 3cos⁡2θ=1, so cos⁡θ=13 and θ≈54.7∘.
  • A⃗=5(13,13,13)=53(1,1,1)≈(2.89,2.89,2.89).
  • Example 18 Resolve a vector of norm 10 making 40∘ with Oz, whose projection on the xy-plane makes 70∘ with Ox.
  • Solution:
  • Az=10cos⁡40∘≈7.66 and the projection on the xy-plane has length 10sin⁡40∘≈6.43.
  • Ax=6.43cos⁡70∘≈2.20 and Ay=6.43sin⁡70∘≈6.04.
  • A⃗≈2.20i^+6.04j^+7.66k^.
  • Direction angles cos⁡−12.2010≈77.3∘, cos⁡−16.0410≈52.8∘, 40∘.
The 3D Coordinate System and Vectors in Space · 9 / 15
Useful facts

Useful facts

  • A vector parallel to the yz-plane has Ax=0.
  • A vector along the x-axis has the form (a,0,0) and norm ∣a∣.
  • For A⃗=(k,0,0) ∥A⃗∥=∣k∣.
  • If the norm is known, e.g. A⃗=(−2,k,1) with ∥A⃗∥=3, then 4+k2+1=9, so k=±2.
The 3D Coordinate System and Vectors in Space · 10 / 15
📌 Comprehensive Scientific Terminology & Definitions:

📌 Comprehensive Scientific Terminology & Definitions:

  • 3D Cartesian Coordinate Frame (نظام الإحداثيات المتعامد ثلاثي الأبعاد): Defined by three mutually perpendicular axes (X, Y, Z) intersecting at origin O(0,0,0), satisfying the Right-Hand Rule, partitioning space into eight octants.
  • Coordinate Planes and Projections (المستويات الإحداثية) XY-plane (z = 0); YZ-plane (x = 0); XZ-plane (y = 0). Distance from point P(x, y, z) to XY-plane is |z|; distance to z-axis is √(x2 + y2).
  • Position Vector & Direction Cosines (متجه الموضع وجيوب تمام الاتجاه): Vector A = (Ax, Ay, Az) with magnitude |A| = √(Ax2 + Ay2 + Az2).
  • Direction angles (α, β, γ) made with positive X, Y, Z axes yield direction cosines: cos α = Ax/|A|, cos β = Ay/|A|, cos γ = Az/|A|.
Comparison aspectMain ideaKeywords
Unit Vector (متجه الوحدة)A vector of magnitude 1: uA = A / |A| = (cos α, cos β, cos γ), satisfying cos2 α + cos2 β + cos2 γ = 1.magnitudesatisfyingcos2
Standard Equation of a Sphere (معادلة الكرة في الفراغ)
  • A sphere centered at C(a
  • c) with radius r has equation: (x – a)2 + (y – b)2 + (z – c)2 = r2
  • General form: x2 + y2 + z2 + 2Lx + 2My + 2Nz + D = 0
  • where C = (-L
  • -N) and r = √(L2 + M2 + N2 – D)
centeredradiusGeneralform
The 3D Coordinate System and Vectors in Space · 11 / 15
⚖️ Governing Scientific Laws, Principles & Mathematical Formulas:

⚖️ Governing Scientific Laws, Principles & Mathematical Formulas:

(‘Fundamental Direction Cosines Identitycos2 α + cos2 β + cos2 γ = 1; Consequently, sin2 α + sin2 β + sin2 γ = 2.’,)
(‘Distance Between Two Points in 3DAB = √[(x₂ – x₁)2 + (y₂ – y₁)2 + (z₂ – z₁)2].’,)
(‘Internal Division of a Line SegmentPoint P dividing AB in ratio m₁ : m₂ has coordinates x = (m₁x₂ + m₂x₁) / (m₁ + m₂), similarly for y and z.’,)
(‘Condition for Real SphereL2 + M2 + N2 – D > 0 (if = 0 it represents a point; if < 0 it represents an imaginary set).',)
The 3D Coordinate System and Vectors in Space · 12 / 15
🔍 In-Depth Explanations, Deductions & Core Concepts:

🔍 In-Depth Explanations, Deductions & Core Concepts:

Comparison aspectMain ideaKeywords
Why cos2 α + cos2 β + cos2 γ = 1
  • Because unit vector u = (Ax/|A|) i + (Ay/|A|) j + (Az/|A|) k = (cos α) i + (cos β) j + (cos γ) k
  • and its magnitude |u|2 = cos2 α + cos2 β + cos2 γ = 12 = 1
Becauseunitvectormagnitude
Distance from P(x, y, z) to the coordinate axes
  • Distance to x-axis = √(y2 + z2)
  • Distance to y-axis = √(x2 + z2)
  • Distance to z-axis = √(x2 + y2)
  • derived from the Pythagorean theorem in 3D projection
axisderivedPythagoreantheorem
Sphere tangent to the coordinate planes
  • If a sphere touches all three positive coordinate planes
  • its center is C(r
  • r) and its equation is (x – r)2 + (y – r)2 + (z – r)2 = r2
touchesthreepositivecenter
The 3D Coordinate System and Vectors in Space · 13 / 15
📊 Distances and Equations Associated with Point P(a, b, c) in Space:

📊 Distances and Equations Associated with Point P(a, b, c) in Space:

Target Geometric Entity Geometric Formula / Equation Significance in Secondary 3 Exam
Distance to XY-Plane d = |c| Depends solely on the absolute z-coordinate
Distance to YZ-Plane d = |a| Depends solely on the absolute x-coordinate
Distance to XZ-Plane d = |b| Depends solely on the absolute y-coordinate
Distance to X-Axis d = √(b2 + c2) Pythagorean norm of y and z components
Distance to Y-Axis d = √(a2 + c2) Pythagorean norm of x and z components
Distance to Z-Axis d = √(a2 + b2) Pythagorean norm of x and y components
The 3D Coordinate System and Vectors in Space · 14 / 15
💡 High-Yield Exam Traps & Key Takeaways:

💡 High-Yield Exam Traps & Key Takeaways:

Comparison aspectMain ideaKeywords
Exam Trap
  • Don’t confuse direction ratios (a
  • c) with direction cosines (l
  • n). Direction ratios can be scaled by any non-zero constant k
  • but direction cosines must have a sum of squares equal to 1
confusedirectionratioscosines
Quick Identitysin2 α + sin2 β + sin2 γ = (1 – cos2 α) + (1 – cos2 β) + (1 – cos2 γ) = 3 – 1 = 2sin2cos2
The 3D Coordinate System and Vectors in Space · 15 / 15