MAT1052 · Week 7 · Cross Products, Planes and Surfaces
Cross product, lines and planes
You learn to find a perpendicular vector, area and volume with the cross product; to write equations of lines and planes in space; and to solve intersection, angle and distance questions. An introduction to surfaces with cylinders is included.
cross productright-hand ruleparallelogram areatriple scalar productparametric equations of a linedirection vectornormal vectorequation of a planedistance from a point to a planeskew linescylinder
This week we learn the second product of vector algebra and the geometry built with it. The dot product gave a number and measured angle and perpendicularity. The cross product, on the other hand, produces a new vector perpendicular to both vectors. Its length gives area as well. It is the shortest way to write the equation of a plane, find the area of a triangle, and compute the distance from a point to a line. The exam on this topic usually has one “find the plane through three points” and one distance or intersection question.
Golden rules:
The cross product is defined only in three dimensions and its result is a vector.
In the determinant expansion, the middle j term has a minus in front.
A line needs a point + a direction vector, a plane needs a point + a normal vector.
A plane from three points: n=PQ×PR.
Check every result: the cross product must be perpendicular to both vectors, and the plane equation must be satisfied by all the given points.
Its direction is found with the right-hand rule: as the fingers of your right hand curl from u to v, the thumb points in the direction of u×v.
∣u×v∣=∣u∣∣v∣sinθ, which is the area of the parallelogram formed by u and v.
Properties.v×u=−(u×v) (NOT commutative). u×u=0. The cross product of parallel vectors is 0. i×j=k, j×k=i, k×i=j (cyclic order; minus in the reverse order).
Triple scalar product.u⋅(v×w) is the 3×3 determinant whose rows are u,v,w. Its absolute value is the volume of the parallelepiped formed by these three vectors. If it is zero, the three vectors are in the same plane (coplanar).
Example 3.⟨1,2,0⟩,⟨0,1,3⟩,⟨2,0,1⟩: 1(1−0)−2(0−6)+0=1+12=13. The volume is 13.
Lines in space
A line is determined by a point P0(x0,y0,z0) on it and a direction vector v=⟨a,b,c⟩.
r(t)=r0+tv⟺x=x0+at,y=y0+bt,z=z0+ct.
The line through two points: the direction is P0P1. The line through (2,0,−1) and (4,3,1): v=⟨2,3,2⟩, x=2+2t, y=3t, z=−1+2t. t=0 gives the first point, t=1 the second.
The relationship of two lines. If the directions are parallel, the lines are either parallel or coincident. If they are not parallel, they either intersect or are skew: neither parallel nor intersecting. To find the intersection, write the equalities of x, y, z (t and s are different parameters!), solve t,s from two of them, and test in the third.
Example 4 (skew lines).L1:(1+t,t,0) and L2:(0,1+s,3+s). From z, 0=3+s, s=−3; from y, t=1+s=−2; in x, 1+t=−1=0. They do not intersect; the directions ⟨1,1,0⟩ and ⟨0,1,1⟩ are not parallel. Skew. The distance between them is ∣v1×v2∣∣P1P2⋅(v1×v2)∣=3∣⟨−1,1,3⟩⋅⟨1,−1,1⟩∣=31.
Planes in space
A plane is determined by a point P0 on it and a normal vectorn=⟨a,b,c⟩ perpendicular to the plane. For every P in the plane, P0P⊥n:
a(x−x0)+b(y−y0)+c(z−z0)=0⟺ax+by+cz=d.
The coefficients of x, y, z directly give the normal vector. The normal of the plane 2x−y+3z=7 is ⟨2,−1,3⟩.
Example 5 (a plane from three points). For P, Q, R of Example 2: the normal is ⟨−6,−2,6⟩∥⟨3,1,−3⟩. With P: 3(x−1)+(y−1)−3z=0, that is, 3x+y−3z=4. Q: 9+1−6=4 ✓. R: 3+4−3=4 ✓.
Computations involving planes
Question
Method
Intersection of a line and a plane
Plug the line’s x(t),y(t),z(t) into the plane, solve for t
Line of intersection of two planes
Direction n1×n2; for a point, set one variable to 0
Angle between planes
cosθ=∣n1∣∣n2∣∣n1⋅n2∣
Parallel?
The normals are parallel (n1=kn2)
Point-plane distance
a2+b2+c2∣ax0+by0+cz0−d∣
Point-line distance
∣v∣∣PS×v∣
Example 6. The distance from the point (1,2,3) to the plane 2x+y−2z=5: 3∣2+2−6−5∣=37.
Example 7 (parallel planes). Between x+2y+2z=3 and x+2y+2z=12: take a point from the first plane, (3,0,0); its distance to the second is 3∣3−12∣=3. Shortcut: ∣n∣∣d1−d2∣ (if the normals are written the same).
PITFALL · line or plane?x+2y+2z=3 is a single equation, a plane in space. A line in space cannot be written with a single linear equation; it is written either parametrically or as the intersection of two planes. In two dimensions the “equation of a line” ax+by=c is, in three dimensions, a plane parallel to the z axis.
Cylinders: an introduction to surfaces
If one of the variables is missing from the equation, the surface is a cylinder extending along that axis. x2+y2=4 is a circular cylinder of radius 2 parallel to the z axis in space; at every height z it gives the same circle. z=y2 is a parabolic cylinder extending along the x axis. Next week we will move on to second-degree surfaces (quadric surfaces) in which all three variables appear.
Common mistakes
Wrong
Correct
Taking the sign in front of j in the determinant as +
−(u1v3−u3v1)
u×v=v×u
The sign changes
Writing ∣u×v∣ for the area of a triangle
Half of it: 21∣u×v∣
Leaving the volume negative
Take the absolute value
Using the same t in the intersection of two lines
Different parameters: t and s
Using the directions for the angle between planes
The angle between the normals
Plugging in d in the distance formula without moving it to the left
Write the equation as ax+by+cz=d, the numerator is ∣ax0+by0+cz0−d∣
Forgetting to find a point on the line of intersection
Set one variable to 0, solve the remaining 2×2 system
Test yourself
Exam-style questions. Solve them on paper first, then reveal the answer.
Question 1easy
Compute ⟨1,2,3⟩×⟨4,5,6⟩.
Show answer
⟨−3,6,−3⟩
i(2⋅6−3⋅5)−j(1⋅6−3⋅4)+k(1⋅5−2⋅4)=i(−3)−j(−6)+k(−3). The result is ⟨−3,6,−3⟩. Check: ⟨−3,6,−3⟩⋅⟨1,2,3⟩=−3+12−9=0.
Question 2easy
Find the area of the parallelogram spanned by u=⟨2,1,0⟩ and v=⟨1,3,0⟩.
Show answer
5
u×v=⟨0,0,2⋅3−1⋅1⟩=⟨0,0,5⟩. Area =∣u×v∣=5.
Question 3medium
Find the area of the triangle with vertices P(1,0,0), Q(0,2,0), R(0,0,3).
Show answer
7/2
PQ=⟨−1,2,0⟩, PR=⟨−1,0,3⟩. Cross product: ⟨2⋅3−0,0−(−1)(3),0−(−1)(2)⟩=⟨6,3,2⟩, length 36+9+4=7. The triangle is half of the parallelogram: 27.
Question 4medium
Find the volume of the parallelepiped determined by u=⟨1,0,2⟩, v=⟨0,3,1⟩, w=⟨2,1,0⟩.
Show answer
13
The triple product determinant: 102031210=1(0−1)−0+2(0−6)=−1−12=−13. The volume is the absolute value: 13.
Question 5medium
The line through P(1,−2,3) parallel to v=⟨2,1,−1⟩ meets the xy-plane at which point?
Show answer
(7,1,0)
Parametric: x=1+2t, y=−2+t, z=3−t. The xy-plane is z=0: t=3. The point is (1+6,−2+3,0)=(7,1,0).
Question 6easy
Find an equation of the plane through (1,2,−1) with normal vector ⟨3,−1,2⟩.
Show answer
3x−y+2z=−1
3(x−1)−(y−2)+2(z+1)=0⇒3x−y+2z−3+2+2=0⇒3x−y+2z=−1.
Question 7medium
Find an equation of the plane through A(1,1,0), B(2,0,1) and C(0,2,3).
Show answer
x+y=2
AB=⟨1,−1,1⟩, AC=⟨−1,1,3⟩.n=AB×AC=⟨(−1)(3)−1⋅1,1⋅(−1)−1⋅3,1⋅1−(−1)(−1)⟩=⟨−4,−4,0⟩, that is, ⟨1,1,0⟩. With the point A: (x−1)+(y−1)=0, x+y=2. B and C satisfy it too.
Question 8medium
Find the distance from the point (2,1,3) to the plane 2x−y+2z=4.
Find the angle between the planes x+y+z=1 and x−y+2z=3.
Show answer
≈61.87∘
The angle between planes = the angle between the normals. n1⋅n2=1−1+2=2, ∣n1∣=3, ∣n2∣=6.cosθ=182=32≈0.4714, θ≈61.87∘.
Question 10hard
Find parametric equations for the line of intersection of the planes x+y+z=3 and x−y+z=1.
Show answer
x=2+t,y=1,z=−t
The direction is perpendicular to both normals: n1×n2=⟨1,1,1⟩×⟨1,−1,1⟩=⟨2,0,−2⟩∥⟨1,0,−1⟩. A common point: put z=0, x+y=3, x−y=1, hence x=2, y=1. The line: (2+t,1,−t). (Equivalent answers that choose a different point or a multiple of the direction are also correct.)
Question 11easy
Where does the line x=1+t,y=2t,z=3−t meet the plane x+y+z=10?
Show answer
(4,6,0)
Plug the line into the plane: (1+t)+2t+(3−t)=4+2t=10, t=3. The point is (4,6,0).
Question 12hard
Find the distance from S(1,1,5) to the line x=1+t,y=3−t,z=2t.
Show answer
5
On the line, P(1,3,0), direction v=⟨1,−1,2⟩. PS=⟨0,−2,5⟩.PS×v=⟨(−2)(2)−5(−1),5⋅1−0⋅2,0⋅(−1)−(−2)(1)⟩=⟨1,5,2⟩.d=∣v∣∣PS×v∣=630=5.
Verification: All cross products, determinants, plane equations, angles and distances were computed in node; point-line and skew-line distances were also verified by brute-force minimization (verify/MAT1052/07.mjs).
Review card
u×v = | i j k ; u1 u2 u3 ; v1 v2 v3 | (the j term is MINUS)
u×v ⊥ u and v. Direction: right-hand rule. v×u = -(u×v). u×u = 0
|u×v| = |u||v|sin θ = parallelogram area. Triangle: half
u·(v×w) = 3x3 determinant; |...| = parallelepiped volume; if 0 they are in the same plane
i×j=k j×k=i k×i=j
Line: r = P0 + t v → x=x0+at, y=y0+bt, z=z0+ct
Plane: a(x-x0)+b(y-y0)+c(z-z0)=0, n=<a,b,c>. 3 points → n = PQ×PR
Point-plane: |ax0+by0+cz0-d| / |n|
Point-line: |PS × v| / |v|
Plane intersection: direction n1×n2, point: set one variable to 0
Angle between planes: angle between the normals
Cylinder: a variable is missing from the equation → parallel to that axis