EduProd
EduProd
JEE PCM PLATFORM
📊 Dashboard
LEARN MODULE · SCHEMATIC MODE

Trace it. Derive it. Know it.

Every cluster below maps one schematic path — from first principles to the final equation. Expand a node to follow the full derivation trace.

⚡ INTEGRATED VIRTUAL LABORATORIES (4)
Open Subject Labs Catalog ↗
Direction Cosines
Stage ↗
Line Plane Angle
Stage ↗
Planes 3D
Stage ↗
Shortest Distance Lines
Stage ↗
01

Direction Cosines & Direction Ratios of Lines Passing Through Origin and Two Points

3 concepts · Core
3 nodes

How do direction angles, cosines, and proportional direction ratios uniquely specify orientations in 3D Euclidean space?

Direction cosines l = cos(alpha), m = cos(beta), n = cos(gamma) define orientation in 3D space with l^2 + m^2 + n^2 = 1. Direction ratios (a, b, c) are any proportional scalars: l = a/sqrt(a^2+b^2+c^2). For a line joining P(x1, y1, z1) and Q(x2, y2, z2), direction ratios are (x2-x1, y2-y1, z2-z1).

01

Direction Cosines and the Fundamental Identity l^2 + m^2 + n^2 = 1

If a line makes angles alpha, beta, gamma with the positive x, y, z axes, its direction cosines are l = cos(alpha), m = cos(beta), n = cos(gamma). Since the unit vector is l i + m j + n k, its squared magnitude guarantees l^2 + m^2 + n^2 = 1.

Key Idea
The unit vector along a directed line is r_hat = l i + m j + n k. Therefore, l^2 + m^2 + n^2 = |r_hat|^2 = 1.
Why It Works
Projection of unit vector on the x-axis is r_hat . i = l = cos(alpha). Summing the squares of orthogonal projections on 3 mutually perpendicular axes reconstructs the full unit length.
Boundary Trap
Assuming angles sum to 180 degrees: alpha + beta + gamma is NOT 180! The squared cosines sum to 1: cos^2(alpha) + cos^2(beta) + cos^2(gamma) = 1.
Application Note
If a line makes angles 90 deg, 60 deg, and 30 deg with x, y, and z axes: l = cos(90) = 0, m = cos(60) = 1/2, n = cos(30) = sqrt(3)/2. Verification: 0^2 + (1/2)^2 + (sqrt(3)/2)^2 = 0 + 1/4 + 3/4 = 1.
Derivation Trace · Direction Cosines and the Fundamental Identity l^2 + m^2 + n^2 = 1
Think of direction cosines as a 3D unit arrow. Because its length is strictly 1, the sum of squares of its projections on the three coordinate axes must equal 1 (Pythagoras in 3D). Direction ratios are just any scaled-up or scaled-down version of those projections (like (2, 4, 6) instead of (1, 2, 3)).
If a directed line L passing through the origin makes angles alpha, beta, and gamma with positive directions of x, y, and z axes respectively, then cos(alpha), cos(beta), cos(gamma) are called direction cosines of L, denoted by l, m, n. Any three numbers a, b, c proportional to direction cosines are called direction ratios of L. Since l/a = m/b = n/c = k, we have l = a/sqrt(sum a^2), m = b/sqrt(sum a^2), n = c/sqrt(sum a^2).
Never confuse direction ratios with direction cosines! Direction cosines MUST satisfy l^2 + m^2 + n^2 = 1. If someone gives you ratios (2, -1, 2), their sum of squares is 4 + 1 + 4 = 9 != 1, so they are direction ratios, and the corresponding direction cosines are (2/3, -1/3, 2/3).
Open the 3D Distance and Section Explorer. Manipulate coordinates P and Q to watch direction ratios and normalized direction cosines compute in real-time.
🔬 VIRTUAL LAB Direction Cosines
Full Stage ↗
? Quick Concept Check

Can a line make angles 45 deg, 60 deg, and 120 deg with coordinate axes?

Answer: cos^2(45) + cos^2(60) + cos^2(120) = (1/2) + (1/4) + (1/4) = 1. Yes, they form valid direction angles.

02

Direction Ratios (DRs) and Normalizing to Direction Cosines (DCs)

Numbers a, b, c proportional to direction cosines (l/a = m/b = n/c = k) are direction ratios. To convert DRs to DCs: l = +/- a/sqrt(a^2+b^2+c^2), m = +/- b/sqrt(a^2+b^2+c^2), n = +/- c/sqrt(a^2+b^2+c^2).

Key Idea
DRs represent the components of ANY vector parallel to the line; DCs represent the components of the UNIT vector.
Why It Works
Scaling any vector (a, b, c) by 1/magnitude produces a unit vector whose components are precisely the direction cosines.
Boundary Trap
Using direction ratios directly in angle formulas requiring unit length without dividing by sqrt(a^2+b^2+c^2).
Application Note
For DRs (2, -1, -2): magnitude = sqrt(2^2 + (-1)^2 + (-2)^2) = sqrt(9) = 3. Thus DCs are (2/3, -1/3, -2/3).
Derivation Trace · Direction Ratios (DRs) and Normalizing to Direction Cosines (DCs)
Think of direction cosines as a 3D unit arrow. Because its length is strictly 1, the sum of squares of its projections on the three coordinate axes must equal 1 (Pythagoras in 3D). Direction ratios are just any scaled-up or scaled-down version of those projections (like (2, 4, 6) instead of (1, 2, 3)).
If a directed line L passing through the origin makes angles alpha, beta, and gamma with positive directions of x, y, and z axes respectively, then cos(alpha), cos(beta), cos(gamma) are called direction cosines of L, denoted by l, m, n. Any three numbers a, b, c proportional to direction cosines are called direction ratios of L. Since l/a = m/b = n/c = k, we have l = a/sqrt(sum a^2), m = b/sqrt(sum a^2), n = c/sqrt(sum a^2).
Never confuse direction ratios with direction cosines! Direction cosines MUST satisfy l^2 + m^2 + n^2 = 1. If someone gives you ratios (2, -1, 2), their sum of squares is 4 + 1 + 4 = 9 != 1, so they are direction ratios, and the corresponding direction cosines are (2/3, -1/3, 2/3).
Open the 3D Distance and Section Explorer. Manipulate coordinates P and Q to watch direction ratios and normalized direction cosines compute in real-time.
🔬 VIRTUAL LAB Direction Cosines
Full Stage ↗
? Quick Concept Check

If direction ratios of a line are (1, 2, 2), what are its direction cosines?

Answer: Magnitude = sqrt(1+4+4) = 3. DCs are (1/3, 2/3, 2/3).

03

Direction Ratios and Cosines of a Line Segment Joining Two Points

For points P(x1, y1, z1) and Q(x2, y2, z2), direction ratios of PQ are (x2 - x1, y2 - y1, z2 - z1). Distance PQ = d = sqrt((x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2). Direction cosines are l = (x2-x1)/d, m = (y2-y1)/d, n = (z2-z1)/d.

Key Idea
The displacement vector PQ_vec = (x2-x1) i + (y2-y1) j + (z2-z1) k immediately gives the DRs as its scalar components.
Why It Works
Vector PQ connects P to Q. Dividing by length d normalizes it into the direction cosine unit vector.
Boundary Trap
Subtracting coordinates in opposite orders for different axes: be consistent (Q - P for all three coordinates).
Application Note
Line joining P(2, 3, 5) and Q(-1, 2, 4): DRs are (-1-2, 2-3, 4-5) = (-3, -1, -1). Length d = sqrt(9 + 1 + 1) = sqrt(11). DCs are (-3/sqrt(11), -1/sqrt(11), -1/sqrt(11)).
Derivation Trace · Direction Ratios and Cosines of a Line Segment Joining Two Points
Think of direction cosines as a 3D unit arrow. Because its length is strictly 1, the sum of squares of its projections on the three coordinate axes must equal 1 (Pythagoras in 3D). Direction ratios are just any scaled-up or scaled-down version of those projections (like (2, 4, 6) instead of (1, 2, 3)).
If a directed line L passing through the origin makes angles alpha, beta, and gamma with positive directions of x, y, and z axes respectively, then cos(alpha), cos(beta), cos(gamma) are called direction cosines of L, denoted by l, m, n. Any three numbers a, b, c proportional to direction cosines are called direction ratios of L. Since l/a = m/b = n/c = k, we have l = a/sqrt(sum a^2), m = b/sqrt(sum a^2), n = c/sqrt(sum a^2).
Never confuse direction ratios with direction cosines! Direction cosines MUST satisfy l^2 + m^2 + n^2 = 1. If someone gives you ratios (2, -1, 2), their sum of squares is 4 + 1 + 4 = 9 != 1, so they are direction ratios, and the corresponding direction cosines are (2/3, -1/3, 2/3).
Open the 3D Distance and Section Explorer. Manipulate coordinates P and Q to watch direction ratios and normalized direction cosines compute in real-time.
🔬 VIRTUAL LAB Direction Cosines
Full Stage ↗
? Quick Concept Check

Points A(1, 2, 3), B(4, 0, 5), C(-2, 4, 1): are they collinear?

Answer: DR of AB: (3, -2, 2); DR of BC: (-6, 4, -4). Since 3/(-6) = -2/4 = 2/(-4) = -1/2, AB and BC are parallel with common point B, hence collinear.

02

Vector & Cartesian Equations of Lines in Space (One-Point Form & Two-Point Form)

3 concepts · Core
3 nodes

How are lines in 3D space mathematically formulated using vector parametric equations and Cartesian symmetric forms?

A line passing through point A(a) parallel to vector b has vector equation r = a + lambda b, and Cartesian form (x - x1)/a = (y - y1)/b = (z - z1)/c. A line passing through two points A(a) and B(b) has vector equation r = a + lambda(b - a), and Cartesian form (x - x1)/(x2 - x1) = (y - y1)/(y2 - y1) = (z - z1)/(z2 - z1).

01

Vector Equation of a Line Passing Through Point a and Parallel to b

A line passing through a point with position vector a and parallel to vector b has vector equation r = a + lambda*b, where lambda is a real scalar parameter and r = x i + y j + z k.

Key Idea
Every point r on the line is reached by starting at position vector a and travelling along direction vector b scaled by lambda.
Why It Works
Vector AR connecting fixed point a to arbitrary point r is parallel to b, meaning AR = r - a = lambda*b, so r = a + lambda*b.
Boundary Trap
Confusing the position vector of the point on the line (a) with the direction vector along the line (b).
Application Note
Line through (5, 2, -4) parallel to 3i + 2j - 8k has equation r = (5i + 2j - 4k) + lambda*(3i + 2j - 8k).
Derivation Trace · Vector Equation of a Line Passing Through Point a and Parallel to b
To build a 3D line, you need a starting anchor point a, and a steering arrow b. As you stretch or shrink b by scaling factor lambda (-inf to +inf), the tip of the vector r traces out the entire infinite line.
Let line L pass through a point A with position vector a and be parallel to given vector b. Let P be an arbitrary point on L with position vector r. Then AP is parallel to b, so AP = lambda b for some scalar lambda. Since AP = OP - OA = r - a, we obtain r = a + lambda b. In Cartesian coordinates, equating components gives x = x1 + lambda a, y = y1 + lambda b, z = z1 + lambda c, leading to the symmetric equations.
Beware of disguised Cartesian forms like (2 - x)/3 = (2y + 1)/4 = z/5! You must rewrite it as (x - 2)/(-3) = (y + 1/2)/2 = (z - 0)/5. The correct direction ratios are (-3, 2, 5), NOT (3, 4, 5)!
Open the Line Equation Forms Explorer. Modify position vector a and direction vector b to observe the instantaneous update of the Cartesian symmetric ratios.
🔬 VIRTUAL LAB Line Plane Angle
Full Stage ↗
? Quick Concept Check

What is the direction vector of the line r = (2i - j + k) + mu*(i + 3j - 4k)?

Answer: The direction vector is b = i + 3j - 4k.

02

Symmetric Cartesian Equation of a Line and Standardization

Cartesian form is (x - x1)/a = (y - y1)/b = (z - z1)/c = lambda. The numerators must have coefficients of +1 for x, y, and z.

Key Idea
Equating lambda from each coordinate component (x = x1 + lambda*a, y = y1 + lambda*b, z = z1 + lambda*c) yields the two independent equalities representing the line.
Why It Works
Eliminating the single degree of freedom lambda from 3 component equations reduces 3 variables to 2 constraints (the line as intersection of two planes).
Boundary Trap
Reading direction ratios directly from (2 - x)/3 without converting to (x - 2)/(-3), which flips the sign of the DR!
Application Note
Standardize (6 - 2x)/4 = (3y + 1)/6 = (z - 2)/(-3): Rewrite x: -2(x - 3)/4 = (x - 3)/(-2). Rewrite y: 3(y + 1/3)/6 = (y + 1/3)/2. Standard form: (x - 3)/(-2) = (y + 1/3)/2 = (z - 2)/(-3). DRs are (-2, 2, -3).
Derivation Trace · Symmetric Cartesian Equation of a Line and Standardization
To build a 3D line, you need a starting anchor point a, and a steering arrow b. As you stretch or shrink b by scaling factor lambda (-inf to +inf), the tip of the vector r traces out the entire infinite line.
Let line L pass through a point A with position vector a and be parallel to given vector b. Let P be an arbitrary point on L with position vector r. Then AP is parallel to b, so AP = lambda b for some scalar lambda. Since AP = OP - OA = r - a, we obtain r = a + lambda b. In Cartesian coordinates, equating components gives x = x1 + lambda a, y = y1 + lambda b, z = z1 + lambda c, leading to the symmetric equations.
Beware of disguised Cartesian forms like (2 - x)/3 = (2y + 1)/4 = z/5! You must rewrite it as (x - 2)/(-3) = (y + 1/2)/2 = (z - 0)/5. The correct direction ratios are (-3, 2, 5), NOT (3, 4, 5)!
Open the Line Equation Forms Explorer. Modify position vector a and direction vector b to observe the instantaneous update of the Cartesian symmetric ratios.
🔬 VIRTUAL LAB Line Plane Angle
Full Stage ↗
? Quick Concept Check

What are the DRs of the line (1 - x)/2 = (2y + 4)/6 = z/3?

Answer: (x - 1)/(-2) = (y + 2)/3 = (z - 0)/3. DRs are (-2, 3, 3).

03

Equation of Line Passing Through Two Given Points

A line passing through two points with position vectors a and b has vector equation r = a + lambda*(b - a) and Cartesian equation (x - x1)/(x2 - x1) = (y - y1)/(y2 - y1) = (z - z1)/(z2 - z1).

Key Idea
The direction vector b_dir is simply the displacement vector between the two points: b - a.
Why It Works
Since the line passes through both a and b, the vector (b - a) lies entirely along the line and serves as its direction vector.
Boundary Trap
Dividing by zero if two points have identical coordinates: if x1 = x2, write the constraint separately as x = x1.
Application Note
Line through A(3, 4, -7) and B(1, -1, 6): DRs are (1 - 3, -1 - 4, 6 - (-7)) = (-2, -5, 13). Equation: (x - 3)/(-2) = (y - 4)/(-5) = (z + 7)/13.
Derivation Trace · Equation of Line Passing Through Two Given Points
To build a 3D line, you need a starting anchor point a, and a steering arrow b. As you stretch or shrink b by scaling factor lambda (-inf to +inf), the tip of the vector r traces out the entire infinite line.
Let line L pass through a point A with position vector a and be parallel to given vector b. Let P be an arbitrary point on L with position vector r. Then AP is parallel to b, so AP = lambda b for some scalar lambda. Since AP = OP - OA = r - a, we obtain r = a + lambda b. In Cartesian coordinates, equating components gives x = x1 + lambda a, y = y1 + lambda b, z = z1 + lambda c, leading to the symmetric equations.
Beware of disguised Cartesian forms like (2 - x)/3 = (2y + 1)/4 = z/5! You must rewrite it as (x - 2)/(-3) = (y + 1/2)/2 = (z - 0)/5. The correct direction ratios are (-3, 2, 5), NOT (3, 4, 5)!
Open the Line Equation Forms Explorer. Modify position vector a and direction vector b to observe the instantaneous update of the Cartesian symmetric ratios.
🔬 VIRTUAL LAB Line Plane Angle
Full Stage ↗
? Quick Concept Check

Find Cartesian equation of line through (1, 0, 2) and (3, 4, 6).

Answer: DRs = (2, 4, 4) or (1, 2, 2). Equation: (x - 1)/1 = y/2 = (z - 2)/2.

03

Angle Between Two Lines & Perpendicularity and Parallelism Conditions

3 concepts · Core
3 nodes

How do dot and cross products of direction vectors establish angular relationships, orthogonality, and parallelism between 3D lines?

For lines with directions b1 and b2, the acute angle theta satisfies cos(theta) = |b1 . b2| / (|b1| |b2|). In Cartesian terms, cos(theta) = |a1 a2 + b1 b2 + c1 c2| / [sqrt(sum a1^2) sqrt(sum a2^2)]. Lines are perpendicular if and only if a1 a2 + b1 b2 + c1 c2 = 0; parallel if a1/a2 = b1/b2 = c1/c2.

01

Cosine Formula for the Acute Angle Between Two Spatial Lines

The acute angle theta between lines with direction vectors b1 and b2 is given by cos(theta) = |b1 . b2| / (|b1| |b2|) = |a1 a2 + b1 b2 + c1 c2| / (sqrt(a1^2+b1^2+c1^2) sqrt(a2^2+b2^2+c2^2)).

Key Idea
Taking the absolute value ensures cos(theta) >= 0, yielding the acute angle theta in [0, pi/2].
Why It Works
Two intersecting or skew lines create supplementary angles theta and (180 - theta); by convention, the acute angle is defined as the angle between the lines.
Boundary Trap
Using coordinates of points a1, a2 instead of direction ratios b1, b2 in the angle formula.
Application Note
Lines with DRs (1, 2, 2) and (3, 2, 6): dot product = 1(3) + 2(2) + 2(6) = 3 + 4 + 12 = 19. Magnitudes: sqrt(1+4+4)=3, sqrt(9+4+36)=7. cos(theta) = 19 / (3 * 7) = 19/21. theta = cos^-1(19/21).
Derivation Trace · Cosine Formula for the Acute Angle Between Two Spatial Lines
Even if two lines do not intersect (skew lines), they still have an angle between them! Just slide their direction vectors to a common origin and take their dot product. Perpendicularity means zero dot product; parallelism means identical or scalar multiple direction ratios.
Let L1 and L2 be two lines passing through the origin and having direction ratios a1, b1, c1 and a2, b2, c2 respectively. The angle theta between them is the angle between their direction vectors b1 = a1 i + b1 j + c1 k and b2 = a2 i + b2 j + c2 k. Thus cos(theta) = (b1 . b2)/(|b1||b2|). For perpendicular lines theta = pi/2 => cos(theta) = 0 => a1 a2 + b1 b2 + c1 c2 = 0. For parallel lines, direction ratios are proportional: a1/a2 = b1/b2 = c1/c2.
CBSE and competitive exams always require the ACUTE angle unless specified otherwise. Always use the absolute value |a1 a2 + b1 b2 + c1 c2| in the numerator so that cos(theta) >= 0 and theta in [0, pi/2].
Open the Angle Between Lines Explorer. Rotate two lines in 3D space to test perpendicularity when a1 a2 + b1 b2 + c1 c2 drops to zero.
🔬 VIRTUAL LAB Direction Cosines
Full Stage ↗
? Quick Concept Check

If b1 . b2 = 0, what is the angle between the two lines?

Answer: cos(theta) = 0, so theta = 90 degrees (lines are perpendicular).

02

Condition of Perpendicularity (Orthogonality): a1 a2 + b1 b2 + c1 c2 = 0

Two lines with direction ratios (a1, b1, c1) and (a2, b2, c2) are perpendicular if and only if b1 . b2 = 0, which corresponds to a1 a2 + b1 b2 + c1 c2 = 0.

Key Idea
Orthogonality depends purely on direction ratios, completely independent of the positions of points a1 and a2.
Why It Works
Because cos(90 deg) = 0, the scalar dot product between direction vectors must vanish.
Boundary Trap
Forgetting to convert non-standard numerators (like (7 - 7x)/3p) to standard form before identifying a1, b1, c1.
Application Note
Find k such that lines with DRs (1, -1, 2) and (k, 2, 3) are perpendicular: 1(k) + (-1)(2) + 2(3) = 0 => k - 2 + 6 = 0 => k + 4 = 0 => k = -4.
Derivation Trace · Condition of Perpendicularity (Orthogonality): a1 a2 + b1 b2 + c1 c2 = 0
Even if two lines do not intersect (skew lines), they still have an angle between them! Just slide their direction vectors to a common origin and take their dot product. Perpendicularity means zero dot product; parallelism means identical or scalar multiple direction ratios.
Let L1 and L2 be two lines passing through the origin and having direction ratios a1, b1, c1 and a2, b2, c2 respectively. The angle theta between them is the angle between their direction vectors b1 = a1 i + b1 j + c1 k and b2 = a2 i + b2 j + c2 k. Thus cos(theta) = (b1 . b2)/(|b1||b2|). For perpendicular lines theta = pi/2 => cos(theta) = 0 => a1 a2 + b1 b2 + c1 c2 = 0. For parallel lines, direction ratios are proportional: a1/a2 = b1/b2 = c1/c2.
CBSE and competitive exams always require the ACUTE angle unless specified otherwise. Always use the absolute value |a1 a2 + b1 b2 + c1 c2| in the numerator so that cos(theta) >= 0 and theta in [0, pi/2].
Open the Angle Between Lines Explorer. Rotate two lines in 3D space to test perpendicularity when a1 a2 + b1 b2 + c1 c2 drops to zero.
🔬 VIRTUAL LAB Line Plane Angle
Full Stage ↗
? Quick Concept Check

Are lines with DRs (2, 3, 5) and (1, -4, 2) perpendicular?

Answer: 2(1) + 3(-4) + 5(2) = 2 - 12 + 10 = 0. Yes, they are perpendicular.

03

Condition of Parallelism and Collinearity: a1/a2 = b1/b2 = c1/c2

Two lines are parallel if and only if their direction vectors are scalar multiples: b1 = k*b2, which means their direction ratios are proportional: a1/a2 = b1/b2 = c1/c2.

Key Idea
Parallel lines share identical or proportional direction cosines: l1 = +/- l2, m1 = +/- m2, n1 = +/- n2.
Why It Works
If b1 is parallel to b2, cross product b1 x b2 = 0, which algebraically expands to proportional ratios a1/a2 = b1/b2 = c1/c2.
Boundary Trap
Assuming parallel lines must intersect: parallel lines never intersect unless they are identical (coincident).
Application Note
Line 1: (x - 1)/2 = (y + 3)/(-4) = (z - 5)/6. Line 2: (x + 2)/(-1) = (y - 1)/2 = (z + 4)/(-3). Ratio: 2/(-1) = -4/2 = 6/(-3) = -2. Thus, the lines are parallel.
Derivation Trace · Condition of Parallelism and Collinearity: a1/a2 = b1/b2 = c1/c2
Even if two lines do not intersect (skew lines), they still have an angle between them! Just slide their direction vectors to a common origin and take their dot product. Perpendicularity means zero dot product; parallelism means identical or scalar multiple direction ratios.
Let L1 and L2 be two lines passing through the origin and having direction ratios a1, b1, c1 and a2, b2, c2 respectively. The angle theta between them is the angle between their direction vectors b1 = a1 i + b1 j + c1 k and b2 = a2 i + b2 j + c2 k. Thus cos(theta) = (b1 . b2)/(|b1||b2|). For perpendicular lines theta = pi/2 => cos(theta) = 0 => a1 a2 + b1 b2 + c1 c2 = 0. For parallel lines, direction ratios are proportional: a1/a2 = b1/b2 = c1/c2.
CBSE and competitive exams always require the ACUTE angle unless specified otherwise. Always use the absolute value |a1 a2 + b1 b2 + c1 c2| in the numerator so that cos(theta) >= 0 and theta in [0, pi/2].
Open the Angle Between Lines Explorer. Rotate two lines in 3D space to test perpendicularity when a1 a2 + b1 b2 + c1 c2 drops to zero.
🔬 VIRTUAL LAB Line Plane Angle
Full Stage ↗
? Quick Concept Check

If two lines have DRs (3, -1, 2) and (6, -2, k), what value of k makes them parallel?

Answer: Proportionality: 3/6 = -1/(-2) = 2/k => 1/2 = 2/k => k = 4.

04

Shortest Distance Between Two Skew Lines & Between Parallel Lines

3 concepts · Core
3 nodes

How does vector projection along the common perpendicular compute the shortest distance between skew lines and parallel lines?

Skew lines are non-intersecting, non-parallel lines lying in different planes. The shortest distance between skew lines r = a1 + lambda b1 and r = a2 + mu b2 is d = |(b1 x b2) . (a2 - a1)| / |b1 x b2|. For parallel lines r = a1 + lambda b and r = a2 + mu b, distance is d = |b x (a2 - a1)| / |b|.

01

Skew Lines Definition and Geometric Criteria

Skew lines are lines in 3D Euclidean space that are neither parallel nor intersecting. They lie in distinct parallel planes.

Key Idea
In 2D plane geometry, lines either intersect or are parallel. In 3D, non-coplanar lines can bypass each other without ever crossing.
Why It Works
Two lines define a single plane if and only if they are parallel or intersect. Skew lines span a full 3D subspace, so no single plane contains both.
Boundary Trap
Assuming non-intersecting lines in 3D are automatically parallel: they are usually skew!
Application Note
Line along x-axis (y=0, z=0) and line parallel to y-axis at z=1 (x=0, z=1) are skew: distance between them is 1 unit.
Derivation Trace · Skew Lines Definition and Geometric Criteria
In 2D, two lines either intersect or are parallel. But in 3D, think of an overpass over a highway: the bridge goes east-west, the highway goes north-south beneath it. They never meet and they aren't parallel! The shortest distance is the height of the pillar connecting the closest points, which is perpendicular to both.
Let L1: r = a1 + lambda b1 and L2: r = a2 + mu b2 be two skew lines. Any line perpendicular to both L1 and L2 must be parallel to b1 x b2. The unit vector along the common perpendicular is n_hat = (b1 x b2) / |b1 x b2|. The shortest distance d is the projection of the connecting vector (a2 - a1) onto n_hat: d = |(a2 - a1) . n_hat| = |(b1 x b2) . (a2 - a1)| / |b1 x b2|.
Watch out when the lines are parallel (b1 is proportional to b2)! If you blindly calculate b1 x b2, you get 0 in both numerator and denominator (0/0 indeterminate). Always check parallelism first: if b1 and b2 are multiples, use d = |b x (a2 - a1)| / |b|.
Open the Shortest Distance Lines Explorer. Move two 3D skew lines and inspect the common perpendicular line segment and its length.
🔬 VIRTUAL LAB Shortest Distance Lines
Full Stage ↗
? Quick Concept Check

Can two skew lines ever lie in the same plane?

Answer: No. By definition, skew lines are non-coplanar.

02

Shortest Distance Between Skew Lines: d = |(b1 x b2) . (a2 - a1)| / |b1 x b2|

For lines r = a1 + lambda*b1 and r = a2 + mu*b2, shortest distance d is the absolute value of the projection of (a2 - a1) on the normal vector b1 x b2.

Key Idea
The common perpendicular vector n = b1 x b2 is perpendicular to both lines. Distance d = |(b1 x b2) . (a2 - a1)| / |b1 x b2|.
Why It Works
The shortest distance segment is orthogonal to both line direction vectors; projecting any connecting segment onto this normal gives the exact perpendicular separation.
Boundary Trap
Forgetting to take the magnitude |b1 x b2| in the denominator or mixing up dot and cross operations.
Application Note
For r = (i + j) + lambda*(2i - j + k) and r = (2i + j - k) + mu*(3i - 5j + 2k): a2 - a1 = i - k; b1 x b2 = 3i - j - 7k. (b1 x b2) . (a2 - a1) = 3(1) - 1(0) - 7(-1) = 10. |b1 x b2| = sqrt(9 + 1 + 49) = sqrt(59). d = 10/sqrt(59).
Derivation Trace · Shortest Distance Between Skew Lines: d = |(b1 x b2) . (a2 - a1)| / |b1 x b2|
In 2D, two lines either intersect or are parallel. But in 3D, think of an overpass over a highway: the bridge goes east-west, the highway goes north-south beneath it. They never meet and they aren't parallel! The shortest distance is the height of the pillar connecting the closest points, which is perpendicular to both.
Let L1: r = a1 + lambda b1 and L2: r = a2 + mu b2 be two skew lines. Any line perpendicular to both L1 and L2 must be parallel to b1 x b2. The unit vector along the common perpendicular is n_hat = (b1 x b2) / |b1 x b2|. The shortest distance d is the projection of the connecting vector (a2 - a1) onto n_hat: d = |(a2 - a1) . n_hat| = |(b1 x b2) . (a2 - a1)| / |b1 x b2|.
Watch out when the lines are parallel (b1 is proportional to b2)! If you blindly calculate b1 x b2, you get 0 in both numerator and denominator (0/0 indeterminate). Always check parallelism first: if b1 and b2 are multiples, use d = |b x (a2 - a1)| / |b|.
Open the Shortest Distance Lines Explorer. Move two 3D skew lines and inspect the common perpendicular line segment and its length.
🔬 VIRTUAL LAB Shortest Distance Lines
Full Stage ↗
? Quick Concept Check

If the shortest distance between two skew lines is 0, what does that imply?

Answer: The lines intersect at a unique point in space.

03

Shortest Distance Between Parallel Lines: d = |b x (a2 - a1)| / |b|

When two lines r = a1 + lambda*b and r = a2 + mu*b have the same direction vector b, b1 x b2 = 0. The shortest distance formula becomes d = |b x (a2 - a1)| / |b|.

Key Idea
For parallel lines, take the cross product of the common direction vector b with (a2 - a1) and divide by |b|.
Why It Works
In triangle formed by a1, a2, and foot of perpendicular, distance = |a2 - a1| sin(theta) = |b x (a2 - a1)| / |b|.
Boundary Trap
Applying the skew line formula (which yields 0/0 because b x b = 0) to parallel lines.
Application Note
Parallel lines with b = 2i + 3j + 6k, a1 = i + 2j - 4k, a2 = 3i + 3j - 5k: a2 - a1 = 2i + j - k. b x (a2 - a1) = -9i + 14j - 4k. Magnitude = sqrt(81 + 196 + 16) = sqrt(293). |b| = sqrt(4 + 9 + 36) = 7. d = sqrt(293)/7.
Derivation Trace · Shortest Distance Between Parallel Lines: d = |b x (a2 - a1)| / |b|
In 2D, two lines either intersect or are parallel. But in 3D, think of an overpass over a highway: the bridge goes east-west, the highway goes north-south beneath it. They never meet and they aren't parallel! The shortest distance is the height of the pillar connecting the closest points, which is perpendicular to both.
Let L1: r = a1 + lambda b1 and L2: r = a2 + mu b2 be two skew lines. Any line perpendicular to both L1 and L2 must be parallel to b1 x b2. The unit vector along the common perpendicular is n_hat = (b1 x b2) / |b1 x b2|. The shortest distance d is the projection of the connecting vector (a2 - a1) onto n_hat: d = |(a2 - a1) . n_hat| = |(b1 x b2) . (a2 - a1)| / |b1 x b2|.
Watch out when the lines are parallel (b1 is proportional to b2)! If you blindly calculate b1 x b2, you get 0 in both numerator and denominator (0/0 indeterminate). Always check parallelism first: if b1 and b2 are multiples, use d = |b x (a2 - a1)| / |b|.
Open the Shortest Distance Lines Explorer. Move two 3D skew lines and inspect the common perpendicular line segment and its length.
🔬 VIRTUAL LAB Shortest Distance Lines
Full Stage ↗
? Quick Concept Check

Why does the skew lines formula fail for parallel lines?

Answer: Because b1 x b2 = b x b = 0, making both numerator and denominator vanish.

05

Equations of Planes: Normal Form, One Point Form & Three Non-Collinear Points Form

3 concepts · Core
3 nodes

How is a plane uniquely characterized in 3D space by its normal vector, point anchors, and axis intercepts?

A plane is uniquely determined by a point and a normal vector, or by three non-collinear points. Normal form: r . n_hat = d (Cartesian: lx + my + nz = d). Plane passing through point A(a) with normal n: (r - a) . n = 0 (Cartesian: A(x - x1) + B(y - y1) + C(z - z1) = 0). Plane through three points: (r - a) . ((b - a) x (c - a)) = 0.

01

Plane in Normal Form: r . n_hat = d and l x + m y + n z = d

The vector equation of a plane at distance d from origin with unit normal n_hat is r . n_hat = d. Its Cartesian equivalent is l x + m y + n z = d, where (l, m, n) are direction cosines of the normal.

Key Idea
The right-hand side d represents the EXACT perpendicular distance from the origin ONLY when the normal is a unit vector (l^2+m^2+n^2=1).
Why It Works
The projection of position vector r on the unit normal n_hat is r . n_hat, which equals the fixed perpendicular distance d of the plane from the origin.
Boundary Trap
Stating that distance from origin is D without dividing by sqrt(A^2 + B^2 + C^2).
Application Note
Given 2x - 3y + 4z = 6: divide by sqrt(4 + 9 + 16) = sqrt(29) to get (2/sqrt(29))x - (3/sqrt(29))y + (4/sqrt(29))z = 6/sqrt(29). Perpendicular distance from origin is 6/sqrt(29).
Derivation Trace · Plane in Normal Form: r . n_hat = d and l x + m y + n z = d
A line in 3D has 1 direction; a plane has infinite directions on its surface! So how do you pin down a plane? By giving its NORMAL arrow perpendicular to the sheet. Every vector lying in the plane must make a 90-degree angle with this normal arrow, so their dot product is zero: (r - a) . n = 0.
A plane is determined uniquely if: (i) the normal to the plane and its distance from the origin is given, (ii) it passes through a point and is perpendicular to a given direction, or (iii) it passes through three given non-collinear points. In general Cartesian form Ax + By + Cz + D = 0, the coefficients A, B, C are the direction ratios of the normal vector to the plane.
In Ax + By + Cz + D = 0, the constants A, B, C are direction ratios of the NORMAL to the plane, NOT direction ratios of any line lying in the plane! To convert to normal form r . n_hat = d, divide the entire equation by sqrt(A^2 + B^2 + C^2) and ensure the constant term on the RHS is positive.
Open the Planes 3D Explorer. Adjust intercepts a, b, c or point coordinates to visualize the normal vector and plane orientation dynamically.
🔬 VIRTUAL LAB Line Plane Angle
Full Stage ↗
? Quick Concept Check

What is the perpendicular distance of the plane 3x - 4y + 12z = 26 from the origin?

Answer: Magnitude of normal = sqrt(9 + 16 + 144) = 13. Distance d = 26 / 13 = 2 units.

02

Plane Passing Through a Point and Perpendicular to a Normal Vector

A plane passing through point a(x1, y1, z1) with normal vector n = A i + B j + C k has equation (r - a) . n = 0, or in Cartesian form: A(x - x1) + B(y - y1) + C(z - z1) = 0.

Key Idea
Any vector (r - a) lying in the plane must be orthogonal to the normal vector n, so their dot product is zero.
Why It Works
Because n is perpendicular to the entire plane, it is perpendicular to every displacement vector connecting two points in that plane.
Boundary Trap
Mixing up the point coordinates (x1, y1, z1) with the normal direction ratios (A, B, C).
Application Note
Plane through (1, 4, -2) with normal DRs (2, -1, 3): 2(x - 1) - 1(y - 4) + 3(z - (-2)) = 0 => 2x - 2 - y + 4 + 3z + 6 = 0 => 2x - y + 3z + 8 = 0.
Derivation Trace · Plane Passing Through a Point and Perpendicular to a Normal Vector
A line in 3D has 1 direction; a plane has infinite directions on its surface! So how do you pin down a plane? By giving its NORMAL arrow perpendicular to the sheet. Every vector lying in the plane must make a 90-degree angle with this normal arrow, so their dot product is zero: (r - a) . n = 0.
A plane is determined uniquely if: (i) the normal to the plane and its distance from the origin is given, (ii) it passes through a point and is perpendicular to a given direction, or (iii) it passes through three given non-collinear points. In general Cartesian form Ax + By + Cz + D = 0, the coefficients A, B, C are the direction ratios of the normal vector to the plane.
In Ax + By + Cz + D = 0, the constants A, B, C are direction ratios of the NORMAL to the plane, NOT direction ratios of any line lying in the plane! To convert to normal form r . n_hat = d, divide the entire equation by sqrt(A^2 + B^2 + C^2) and ensure the constant term on the RHS is positive.
Open the Planes 3D Explorer. Adjust intercepts a, b, c or point coordinates to visualize the normal vector and plane orientation dynamically.
🔬 VIRTUAL LAB Line Plane Angle
Full Stage ↗
? Quick Concept Check

What is the equation of the plane through (0, 0, 0) with normal vector i - 2j + 3k?

Answer: 1(x - 0) - 2(y - 0) + 3(z - 0) = 0 => x - 2y + 3z = 0.

03

Plane Through Three Non-Collinear Points and Intercept Form

The plane through three points A(x1, y1, z1), B(x2, y2, z2), C(x3, y3, z3) has determinant equation |[x-x1, y-y1, z-z1], [x2-x1, y2-y1, z2-z1], [x3-x1, y3-y1, z3-z1]| = 0. In intercept form: x/a + y/b + z/c = 1 where a, b, c are intercepts on the x, y, z axes.

Key Idea
Normal vector is n = AB x AC = (b - a) x (c - a). If points are collinear, normal vector vanishes and no unique plane exists.
Why It Works
Displacement vectors AB, AC, and AP all lie in the same plane, making them coplanar and forcing their scalar triple product to be zero.
Boundary Trap
Attempting to find a unique plane through three collinear points: collinear points produce a determinant of zero for ALL (x, y, z)!
Application Note
Plane with intercepts 2, 3, 4 on coordinate axes: x/2 + y/3 + z/4 = 1 => 6x + 4y + 3z = 12.
Derivation Trace · Plane Through Three Non-Collinear Points and Intercept Form
A line in 3D has 1 direction; a plane has infinite directions on its surface! So how do you pin down a plane? By giving its NORMAL arrow perpendicular to the sheet. Every vector lying in the plane must make a 90-degree angle with this normal arrow, so their dot product is zero: (r - a) . n = 0.
A plane is determined uniquely if: (i) the normal to the plane and its distance from the origin is given, (ii) it passes through a point and is perpendicular to a given direction, or (iii) it passes through three given non-collinear points. In general Cartesian form Ax + By + Cz + D = 0, the coefficients A, B, C are the direction ratios of the normal vector to the plane.
In Ax + By + Cz + D = 0, the constants A, B, C are direction ratios of the NORMAL to the plane, NOT direction ratios of any line lying in the plane! To convert to normal form r . n_hat = d, divide the entire equation by sqrt(A^2 + B^2 + C^2) and ensure the constant term on the RHS is positive.
Open the Planes 3D Explorer. Adjust intercepts a, b, c or point coordinates to visualize the normal vector and plane orientation dynamically.
🔬 VIRTUAL LAB Line Plane Angle
Full Stage ↗
? Quick Concept Check

What are the intercepts made on axes by the plane 2x + 3y + 4z = 12?

Answer: Dividing by 12 gives x/6 + y/4 + z/3 = 1. Intercepts are a = 6, b = 4, c = 3.

06

Coplanarity of Lines, Angle Between Line & Plane, and Distance of Point from Plane

3 concepts · Core
3 nodes

How do we test coplanarity of 3D lines, calculate perpendicular distance from a point to a plane, and find the foot of the perpendicular?

Lines r = a1 + lambda b1 and r = a2 + mu b2 are coplanar if (a2 - a1) . (b1 x b2) = 0. The angle phi between line r = a + lambda b and plane r . n = d satisfies sin(phi) = |b . n| / (|b| |n|). The perpendicular distance from point P(x1, y1, z1) to plane Ax + By + Cz + D = 0 is d = |Ax1 + By1 + Cz1 + D| / sqrt(A^2 + B^2 + C^2).

01

Condition of Coplanarity of Two Lines: (a2 - a1) . (b1 x b2) = 0

Two lines r = a1 + lambda*b1 and r = a2 + mu*b2 are coplanar if and only if (a2 - a1) . (b1 x b2) = 0. In Cartesian form, the 3x3 determinant |[x2-x1, y2-y1, z2-z1], [a1, b1, c1], [a2, b2, c2]| = 0.

Key Idea
If two lines lie in a common plane, the vector joining their points (a2 - a1) must be coplanar with their direction vectors b1 and b2.
Why It Works
Coplanarity means the volume of the parallelepiped formed by (a2 - a1), b1, and b2 is zero, which is measured by the scalar triple product.
Boundary Trap
Evaluating determinant without checking for sign errors when expanding along the first row.
Application Note
Test coplanarity of (x - 1)/2 = (y - 2)/3 = (z - 3)/4 and (x - 2)/3 = (y - 3)/4 = (z - 4)/5: x2-x1 = 1, y2-y1 = 1, z2-z1 = 1. Det = |[1, 1, 1], [2, 3, 4], [3, 4, 5]|. Row2 + Row3 gives linear dependence (R3 - R2 = R2 - R1 = (1,1,1)). Det = 0, lines are coplanar.
Derivation Trace · Condition of Coplanarity of Two Lines: (a2 - a1) . (b1 x b2) = 0
When finding the angle between two lines or two planes, you take their dot product and use cos(theta). BUT when finding the angle between a LINE and a PLANE, you are comparing the line to the plane's NORMAL, which is tilted by 90 degrees! Hence cos(90 - phi) becomes sin(phi).
The angle phi between a line r = a + lambda b and a plane r . n = d is the complement of the angle theta between the line b and the normal n: theta = 90 - phi. Since cos(theta) = |b . n|/(|b||n|), cos(90 - phi) = sin(phi) = |b . n| / (|b| |n|). In Cartesian form: sin(phi) = |Aa + Bb + Cc| / [sqrt(a^2 + b^2 + c^2) sqrt(A^2 + B^2 + C^2)].
The single most common blunder in 3D geometry is writing cos(theta) instead of sin(theta) for the angle between a line and a plane! Remember: Line-Line -> cos; Plane-Plane -> cos; Line-Plane -> SIN!
Open the Line-Plane Angle Explorer. Change the inclination of the line and plane to observe the complementary relationship with the normal vector.
🔬 VIRTUAL LAB Line Plane Angle
Full Stage ↗
? Quick Concept Check

If two lines are parallel, are they always coplanar?

Answer: Yes. Two distinct parallel lines always define a unique plane.

02

Perpendicular Distance of a Point From a Plane: d = |Ax1 + By1 + Cz1 + D| / sqrt(A^2+B^2+C^2)

The perpendicular distance d from point P(x1, y1, z1) to plane Ax + By + Cz + D = 0 is d = |A x1 + B y1 + C z1 + D| / sqrt(A^2 + B^2 + C^2). In vector form: d = |(a . n) - d| / |n|.

Key Idea
Substitute point coordinates into plane equation, take absolute value, and divide by the Euclidean magnitude of the normal vector.
Why It Works
Distance is the scalar projection of vector AP onto the unit normal vector n_hat.
Boundary Trap
Forgetting the absolute value when the numerator evaluates to a negative number.
Application Note
Distance of point (2, 5, -3) from plane 6x - 3y + 2z - 4 = 0: d = |6(2) - 3(5) + 2(-3) - 4| / sqrt(36 + 9 + 4) = |12 - 15 - 6 - 4| / sqrt(49) = |-13| / 7 = 13/7 units.
Derivation Trace · Perpendicular Distance of a Point From a Plane: d = |Ax1 + By1 + Cz1 + D| / sqrt(A^2+B^2+C^2)
When finding the angle between two lines or two planes, you take their dot product and use cos(theta). BUT when finding the angle between a LINE and a PLANE, you are comparing the line to the plane's NORMAL, which is tilted by 90 degrees! Hence cos(90 - phi) becomes sin(phi).
The angle phi between a line r = a + lambda b and a plane r . n = d is the complement of the angle theta between the line b and the normal n: theta = 90 - phi. Since cos(theta) = |b . n|/(|b||n|), cos(90 - phi) = sin(phi) = |b . n| / (|b| |n|). In Cartesian form: sin(phi) = |Aa + Bb + Cc| / [sqrt(a^2 + b^2 + c^2) sqrt(A^2 + B^2 + C^2)].
The single most common blunder in 3D geometry is writing cos(theta) instead of sin(theta) for the angle between a line and a plane! Remember: Line-Line -> cos; Plane-Plane -> cos; Line-Plane -> SIN!
Open the Line-Plane Angle Explorer. Change the inclination of the line and plane to observe the complementary relationship with the normal vector.
🔬 VIRTUAL LAB Shortest Distance Lines
Full Stage ↗
? Quick Concept Check

What is the distance of the origin (0, 0, 0) from 3x + 4y + 12z = 39?

Answer: d = |0 + 0 + 0 - 39| / sqrt(9 + 16 + 144) = 39 / 13 = 3 units.

03

Foot of the Perpendicular and Image of a Point in a Plane

To find foot of perpendicular Q from P(x1, y1, z1) to plane Ax + By + Cz + D = 0: line PQ has direction (A, B, C). Parametric point Q = (x1 + lambda*A, y1 + lambda*B, z1 + lambda*C). Substitute into plane equation to find lambda. The image point P' satisfies Q = (P + P')/2.

Key Idea
The foot of the perpendicular Q is the intersection of the plane with the line through P along the normal direction.
Why It Works
The normal vector to the plane gives the exact direction of the perpendicular drop line.
Boundary Trap
Confusing foot of perpendicular Q with the reflection/image P': P' = 2Q - P.
Application Note
Foot of perp from (1, 3, 4) to 2x - y + z + 3 = 0: Line PQ: (x - 1)/2 = (y - 3)/(-1) = (z - 4)/1 = lambda. Q = (2lambda+1, -lambda+3, lambda+4). Substitute: 2(2lambda+1) - (-lambda+3) + (lambda+4) + 3 = 0 => 4lambda+2 + lambda-3 + lambda+4 + 3 = 6lambda+6 = 0 => lambda = -1. Q = (-1, 4, 3).
Derivation Trace · Foot of the Perpendicular and Image of a Point in a Plane
When finding the angle between two lines or two planes, you take their dot product and use cos(theta). BUT when finding the angle between a LINE and a PLANE, you are comparing the line to the plane's NORMAL, which is tilted by 90 degrees! Hence cos(90 - phi) becomes sin(phi).
The angle phi between a line r = a + lambda b and a plane r . n = d is the complement of the angle theta between the line b and the normal n: theta = 90 - phi. Since cos(theta) = |b . n|/(|b||n|), cos(90 - phi) = sin(phi) = |b . n| / (|b| |n|). In Cartesian form: sin(phi) = |Aa + Bb + Cc| / [sqrt(a^2 + b^2 + c^2) sqrt(A^2 + B^2 + C^2)].
The single most common blunder in 3D geometry is writing cos(theta) instead of sin(theta) for the angle between a line and a plane! Remember: Line-Line -> cos; Plane-Plane -> cos; Line-Plane -> SIN!
Open the Line-Plane Angle Explorer. Change the inclination of the line and plane to observe the complementary relationship with the normal vector.
🔬 VIRTUAL LAB Line Plane Angle
Full Stage ↗
? Quick Concept Check

If P is (1, 2, 3) and foot of perpendicular Q is (2, 2, 2), what is the image point P'?

Answer: P' = 2Q - P = (4 - 1, 4 - 2, 4 - 3) = (3, 2, 1).