The dot product measures how much two vectors point in the same direction, and now we need the opposite: a way to measure how much two vectors spread apart.
1
Signed Area of a 2D Parallelogram
Two vectors a and b starting from the same point sweep out a parallelogram whose area measures how much they spread apart. Before stepping into 3D, we can find this area in 2D straight from the coordinates of a=[31] and b=[14] by breaking each vector into its horizontal and vertical pieces.
Signed Area of a 2D Parallelogram
Text solution
Cross the horizontal and vertical piecesPairing two horizontal pieces or two vertical pieces makes a flat line with zero area, so all the area comes from pairing a's horizontal piece with b's vertical piece and subtracting the clockwise pairing.
Signed area from a to b=right to up(counter-clockwise)(3×4)−up to right(clockwise)(1×1)=12−1=11
Swap the order of the vectorsMeasuring from b=[14] to a=[31] turns clockwise instead of counter-clockwise, which gives the same area of 11 with the opposite sign.
Signed area from b to a=(1×1)−(4×3)=1−12=−11
So the parallelogram has an area of 11, and the positive sign tells us that turning from a to b goes counter-clockwise.
As b moves around a, the signed area is always the sum or difference of the two horizontal-by-vertical rectangles: it drops to zero when the vectors line up and flips sign when b crosses to the clockwise side of a.
Pairing each vector's horizontal piece with the other's vertical piece gives the signed area between a and b, which shrinks to zero when they line up and turns negative when b swings to the clockwise side of a.
2
The Cross Product in 3D
In 2D, every parallelogram lies in the same flat plane, so a single number tells us both its area and the turn direction. In 3D, a parallelogram with area 11 can tilt at any angle, so we want a single vector that captures both the parallelogram's area and how it is tilted in space.
The Cross Product in 3D
No single direction lying flat inside the parallelogram stands out, but a normal vector sticking straight out at 90∘ tells us the exact tilt of the entire surface:
normal vector ⊥ to a and bwith length ∣a×b∣=Areaa×b
Unlike the dot product a⋅b, which is a single number, the 3D cross product a×b is a vector. Curling the fingers of your right hand from the first vector toward the second points your thumb along the cross product, so reversing the order flips the vector to the opposite side of the plane:
b×a=−(a×b)
As the parallelogram between a and b tilts and changes size in 3D space, the vector a×b stays perpendicular to both vectors, stretches to match the parallelogram's area, and flips to the opposite side whenever the turn from a to b reverses.
Wherever you move b in 3D space, the cross product sticks straight out at a right angle to the parallelogram of a and b, matches its area in length, and flips sides when the turn from a to b reverses.
3
Computing the 3D Cross Product
Now let's find the x,y, and z coordinates of the cross product a×b from the coordinates of a=231 and b=142 by projecting the parallelogram onto the three coordinate planes.
Computing the 3D Cross Product
a×b=231×142=???
Text solution
Cover the x-row for the x-componentIgnoring the top row projects the parallelogram onto the yz-plane, where y→z follows the forward x→y→z→x cycle.
x-component=(3×2)−(1×4)=6−4=2
Cover the y-row and flip the sign for the y-componentIgnoring the middle row leaves x and z, which goes backward against the x→y→z→x cycle, so we flip the sign of the 2D area.
y-component=−((2×2)−(1×1))=−(4−1)=−3
Cover the z-row for the z-componentIgnoring the bottom row projects the parallelogram onto the xy-plane in the forward x→y order.
z-component=(2×4)−(3×1)=8−3=5
Put the three components togetherCombining the x-, y-, and z-components gives the normal vector.
a×b=231×142=2−35
Check with the dot productTwo vectors are perpendicular when their dot product is zero, which gives a quick check on a test that your result is at 90∘ to both starting vectors.
At any 3D tilt, the x,y, and z coordinates of a×b match the signed areas of the three shadows on the yz-, zx-, and xy-planes, and tilting the parallelogram flat into one coordinate plane makes the other two shadows and components drop to zero.
Each component of the cross product is the signed area of the parallelogram's shadow on the wall or floor perpendicular to that component's axis.
4
Cross Product Length and the Angle Between Vectors
When we have the vector lengths and the angle θ between them instead of coordinates, or when we want to find the angle θ from coordinates, we use the parallelogram's base and height to write the cross product's length ∣a×b∣ in terms of θ.
Cross Product Length and the Angle Between Vectors
Bars around a vector, like ∣a×b∣, mean its length (magnitude). Because a parallelogram's area is its base ∣a∣ times its perpendicular height ∣b∣sinθ, we can compare the cross product length directly with the dot product formula:
a⋅b∣a×b∣=∣a∣part of balong a∣b∣cosθ=∣a∣part of bperpendicular to a∣b∣sinθ
With the lengths ∣a∣ and ∣b∣ held fixed, opening the angle θ from 0∘ to 90∘ shrinks the base projection ∣b∣cosθ and the dot product to zero while growing the perpendicular height ∣b∣sinθ and the cross product length to their maximum.
As you open the angle between the two vectors, the projection along the base shrinks while the perpendicular height grows, so the dot product drops as the cross product's size rises.
When the lengths ∣a∣=6 and ∣b∣=5 and the angle θ=30∘ are given directly, we plug them straight in to find the parallelogram's area:
Area=∣a×b∣=6×5×sin(30∘)=30×21=15
Now going the other way, from the coordinates of a=231 and b=142 to the angle θ between them.
Text solution
Find the length of the cross productUsing a×b=2−35 from earlier, its length gives the parallelogram's area.
∣a×b∣=22+(−3)2+52=4+9+25=38
Find the lengths of the two vectorsWe compute the lengths ∣a∣ and ∣b∣.
∣a∣=22+32+12=14,∣b∣=12+42+22=21
Divide by ∣a∣∣b∣ to find sinθDividing the parallelogram's area by the product of the two vector lengths gives sinθ.
sinθ=∣a∣∣b∣∣a×b∣=142138=29438≈0.36
So sinθ≈0.36, which gives θ≈21∘ or θ≈159∘. Since a⋅b=(2×1)+(3×4)+(1×2)=16 is positive, cosθ is positive, so the angle between a and b is θ≈21∘.
5
Triangles and Planes from Three Points
In geometry and 3D graphics, you are often given three corner points in space, like P=(1,1,0),Q=(3,4,1), and R=(2,5,2), rather than vectors at the origin, and asked for the area of the triangle PQR and the equation of the plane passing through all three points.
Triangles and Planes from Three Points
Text solution
Subtract one corner to build two edge vectorsPoints are only locations in space, so before crossing anything we subtract the starting corner P from Q and R to get two edge vectors lying in the plane.
Cross the edge vectors for the normalCrossing the two edge vectors gives a vector n perpendicular to the entire plane whose length is the parallelogram's area.
n=PQ×PR=231×142=2−35
Take half the parallelogram's area for the triangleThe third side QR cuts the parallelogram diagonally into two identical triangles.
Triangle Area=21∣PQ×PR∣=2122+(−3)2+52=238
Plug the normal and one point into the plane equationA plane with normal vector n through point P has the normal form n⋅xyz=n⋅P, so using n=2−35 and P=(1,1,0) gives the plane.
So the triangle has area 238 and sits in the plane 2x−3y+5z=−1; on a test, you can confirm the plane equation in seconds by checking that P(1,1,0),Q(3,4,1), and R(2,5,2) all make 2x−3y+5z equal −1.
6
Volume of a Parallelepiped and Coplanar Vectors
Adding a third vector c from the same starting corner as a and b sweeps out a slanted 3D box called a parallelepiped, and we want to find its volume, as well as tell when all three vectors lie flat in the same plane.
Volume of a Parallelepiped and Coplanar Vectors
Because a×b already has length equal to the base area and points straight up at 90∘ to the base, dotting it with c multiplies the base area by the perpendicular height:
The outer bars are ordinary absolute value bars on a number, keeping the volume positive when c points to the opposite side of the base from a×b.
Sliding c parallel to the base keeps the perpendicular height along a×b and the box's volume the same. Dropping c into the base plane flattens the volume to zero, and pushing c to the other side of the base flips the sign of (a×b)⋅c.
Only the height of the third vector above the base changes the box's volume, so sliding its tip sideways keeps the volume the same.
Using our base vectors a=231 and b=142 with a third vector c=312:
Text solution
Cross the two base vectorsThe cross product of a and b gives the normal vector whose length is the base area.
a×b=231×142=2−35
Dot with the third vector and take the absolute valueDotting a×b with c multiplies the base area by the perpendicular height.
Because the volume is 0, the parallelepiped has zero height, so a,b, and c all lie flat in the same plane.
Key concepts
Everything comes back to a single picture: two 3D vectors a and b sweep out a parallelogram, and their cross product a×b is the vector sticking out at 90∘ to that surface (by the right-hand rule) whose length is the parallelogram's area, ∣a×b∣=∣a∣∣b∣sinθ. If a problem only asks whether two given vectors are perpendicular or how much they line up, don't use the cross product; the dot product a⋅b=∣a∣∣b∣cosθ answers that in one step. Use a×b when you need a vector perpendicular to two vectors or the area they sweep out.
Computing a×b by covering rows
Cover one row at a time and cross-multiply the remaining two rows, flipping the sign on the middle (y) component because x→z goes backward against the x→y→z→x cycle. For 231×142, covering each row gives (3×2)−(1×4)−((2×2)−(1×1))(2×4)−(3×1)=2−35.
Three points to a triangle or plane
When given corner points P,Q, and R instead of vectors, subtract one corner first to build the edge vectors PQ=Q−P and PR=R−P. Their cross product n=PQ×PR is the normal vector for the plane n⋅xyz=n⋅P, and half its length, 21∣PQ×PR∣, is the triangle's area.
Three vectors to a 3D volume
Dotting the base cross product with a third vector c multiplies base area by perpendicular height to give the parallelepiped volume, Volume=∣(a×b)⋅c∣. When (a×b)⋅c=0, the box has zero height and all three vectors lie in the same plane.
7
Practice
1
Given the 2D vectors a=[41] and b=[23], find the signed area from a to b, the area of their parallelogram, and the signed area from b to a.
Be careful not to multiply straight across the rows like a dot product, which would give (4×2)+(1×3)=11.
Which pairings of horizontal and vertical pieces create area, and what happens to the turn direction when you start at b instead of a?
Cross-multiplying the horizontal and vertical pieces from a to b gives (4×3)−(1×2)=10 (be careful not to multiply straight across the rows like a dot product, which would give (4×2)+(1×3)=11). The parallelogram area is 10. Swapping the order to go from b to a gives (2×1)−(3×4)=−10.
2
Find the cross product a×b for a=312 and b=143, and verify with the dot product that your answer is perpendicular to both a and b.
Cover one row at a time to find the 2D signed area of the other two rows, and watch the cycle direction on the middle row.
Covering each row gives a×b=(1×3)−(2×4)−((3×3)−(2×1))(3×4)−(1×1)=−5−711 (forgetting to flip the middle sign gives +7 and −5711, which fails the dot-product check with −15+7+22=14=0). Checking perpendicularity: −5−711⋅312=−15−7+22=0, and −5−711⋅143=−5−28+33=0.
3
Two vectors a and b have lengths ∣a∣=4 and ∣b∣=7, and the angle between them is θ=30∘. Find the area of the parallelogram they form (the length ∣a×b∣).
Using cos(30∘) from the dot product gives the wrong value 143.
Does the parallelogram's perpendicular height use sinθ or cosθ?
Using the perpendicular height ∣b∣sinθ (using cos(30∘) from the dot product gives the wrong value 143), Area=∣a×b∣=∣a∣∣b∣sin(30∘)=4×7×21=14.
4
Given a=122 and b=212, use the cross product to find sinθ and the angle θ between them.
Find the parallelogram's area ∣a×b∣ first, then divide by the product of the lengths ∣a∣ and ∣b∣.
First, a×b=22−3, so ∣a×b∣=22+22+(−3)2=17 (make sure (−3)2=+9, not −9, which would give −1). Since ∣a∣=12+22+22=3 and ∣b∣=22+12+22=3 (remember to take the square roots so you divide by 3×3=9 rather than 9×9=81), sinθ=∣a∣∣b∣∣a×b∣=917≈0.46, and since a⋅b=2+2+4=8 is positive, the angle is acute, which gives θ≈27∘.
5
Find the area of the triangle with corner points P=(1,0,2),Q=(3,1,4), and R=(2,3,4).
Crossing Q and R directly without subtracting P gives −8−47 and the wrong area 2129.Don't stop at the full parallelogram area 35.
Points are only locations, so how do you build two edge vectors starting from P, and how does a triangle's area compare to the parallelogram formed by those two edges?
Subtracting P first gives the edge vectors PQ=Q−P=212 and PR=R−P=132 (crossing Q and R directly without subtracting P gives −8−47 and the wrong area 2129). Their cross product is PQ×PR=−4−25, so the parallelogram area is ∣PQ×PR∣=(−4)2+(−2)2+52=45=35, and taking half for the triangle (don't stop at the full parallelogram area 35) gives 21∣PQ×PR∣=245=235.
6
Find the equation in normal form of the plane passing through the points P=(2,1,1),Q=(3,3,2), and R=(4,2,4).
Once you have two edge vectors from P, how do you get a single vector perpendicular to the entire plane?
The edge vectors are PQ=Q−P=121 and PR=R−P=213. Crossing them gives the normal vector n=PQ×PR=5−1−3 (forgetting to flip the middle sign gives 51−3 and 5x+y−3z=8). Plugging the point P=(2,1,1) into n⋅xyz=n⋅P (make sure to dot n with a point on the plane rather than the edge vector PQ, which would give 0 on the right-hand side) gives 5−1−3⋅xyz=5−1−3⋅211, or 5x−y−3z=6.
7
Find the volume of the parallelepiped formed by the vectors a=121,b=312, and c=214.
Take the absolute value so the volume is positive: don't leave the volume as −13.
How do you find the base area and perpendicular direction from a and b, and then measure how much of c goes in that perpendicular direction?
First, a×b=31−5. Then (a×b)⋅c=(3×2)+(1×1)+(−5×4)=6+1−20=−13. Taking the absolute value so the volume is positive (don't leave the volume as −13) gives Volume=∣(a×b)⋅c∣=13.
8
For what value of k do the three vectors a=211,b=132, and c=55k all lie in the same plane?
Forgetting to flip the middle sign gives −135, which leads to 10+5k=0 and the wrong answer k=−2.
What happens to the volume of the parallelepiped formed by a,b, and c when all three vectors lie flat in the same plane?
First, a×b=−1−35 (forgetting to flip the middle sign gives −135, which leads to 10+5k=0 and the wrong answer k=−2). Setting the parallelepiped volume to zero gives (a×b)⋅c=(−1×5)+(−3×5)+(5×k)=−20+5k=0, so k=4.