14.4 KB · commit e092022
| title | Module 1.03: Direction Cosines, Direction Ratios, & Angle Formulas |
|---|---|
| module | 1.03 |
| style | explanation |
← 1.02 Coordinate Transformations · Index · 1.04 Cube Space Diagonals & The Four-Diagonal Identity →
What are we doing? We define direction cosines and direction ratios for a straight line in 3D space. Then we choose a point P at distance r along the line from the origin. By expressing the coordinates of P through projections, we prove the fundamental identity l2+m2+n2=1.
Question: Define direction cosine and direction ratio of a line. If l,m,n be the direction cosines of any line, prove that the sum of the squares of these direction cosines is one:
l2+m2+n2=1Solution:
If a directed straight line makes angles α,β,γ with the positive coordinate axes OX,OY,OZ respectively, then α,β,γ are the direction angles. The cosines of these angles are the direction cosines:
l=cosα,m=cosβ,n=cosγAny three numbers a,b,c proportional to the direction cosines l,m,n of a line are called its direction ratios:
al=bm=cnDirection ratios give the same direction without requiring unit length normalization.
Let P(x,y,z) be any point on the line at distance r from the origin O(0,0,0).
The distance from the origin by Pythagoras' theorem is:
OP=r=x2+y2+z2 r2=x2+y2+z2Now project the segment OP orthogonally onto each of the three coordinate axes. In each right-angled triangle, the adjacent side along the axis equals the hypotenuse times the cosine of the angle:
cosα=rx⟹x=rcosα=lr cosβ=ry⟹y=rcosβ=mr cosγ=rz⟹z=rcosγ=nrSquare and add these coordinate relations:
x2+y2+z2=(lr)2+(mr)2+(nr)2 x2+y2+z2=r2(l2+m2+n2)Substitute x2+y2+z2=r2 into the left-hand side:
r2=r2(l2+m2+n2)Since r=0, divide both sides by r2:
l2+m2+n2=1Proved.
Watch out: Direction ratios a,b,c do NOT sum to 1. Only normalized direction cosines l,m,n satisfy l2+m2+n2=1. To turn direction ratios into direction cosines, divide each ratio by a2+b2+c2.
Key Takeaway: Direction cosines are simply the components of a unit vector pointing along the line. Because it is a unit vector, the sum of squares of its components must equal 1.
What are we doing? We use the fundamental identity l2+m2+n2=1 to prove an identity for the direction angles in terms of sines. We replace each cos2 term with 1−sin2 and simplify.
Question: Define direction cosine and direction ratio. Let α,β,γ be the angles that a line makes with the coordinate axes. Prove that
sin2α+sin2β+sin2γ=2Solution:
The cosines of the angles α,β,γ made by a directed line with the positive coordinate axes are its direction cosines:
l=cosα,m=cosβ,n=cosγAny three numbers a,b,c proportional to the direction cosines l,m,n are its direction ratios:
al=bm=cnThe fundamental identity for direction cosines gives:
l2+m2+n2=1 cos2α+cos2β+cos2γ=1We want an expression with sines. We rewrite each cosine using the identity cos2θ=1−sin2θ:
(1−sin2α)+(1−sin2β)+(1−sin2γ)=1Combine the three constants:
3−(sin2α+sin2β+sin2γ)=1Now subtract 1 and move the sine terms to the other side:
sin2α+sin2β+sin2γ=3−1 sin2α+sin2β+sin2γ=2Proved.
Watch out: In 2D trigonometry, sin2θ+cos2θ=1. In 3D space, the sum of squared cosines is 1. The sum of squared sines is 2.
What are we doing? We find the angle θ between two lines using their direction cosines. We set up two segments from the origin with lengths r1 and r2. We write the distance between their end points using both the Law of Cosines and coordinate geometry. Comparing them yields the angle formula, from which perpendicularity and parallelism conditions follow.
Question: Find the angle between two lines whose direction cosines are l1,m1,n1 and l2,m2,n2. Also find the condition of perpendicularity and parallelism of the straight lines.
Solution:
Let OA and OB be lines through the origin O(0,0,0) parallel to the two lines. Let their lengths be r1 and r2.
Using the coordinate relations from direction cosines, the points A and B are:
A(l1r1,m1r1,n1r1),B(l2r2,m2r2,n2r2)Let θ be the angle between OA and OB. By the Law of Cosines in △OAB:
AB2=OA2+OB2−2(OA)(OB)cosθ AB2=r12+r22−2r1r2cosθ(1)Now calculate the same distance AB2 using the Cartesian distance formula:
AB2=(l2r2−l1r1)2+(m2r2−m1r1)2+(n2r2−n1r1)2Expand each squared term and group like powers of r1 and r2:
AB2=r22(l22+m22+n22)+r12(l12+m12+n12)−2r1r2(l1l2+m1m2+n1n2)Since both sets of direction cosines satisfy l12+m12+n12=1 and l22+m22+n22=1:
AB2=r12+r22−2r1r2(l1l2+m1m2+n1n2)(2)Equate expressions (1) and (2) for AB2:
r12+r22−2r1r2cosθ=r12+r22−2r1r2(l1l2+m1m2+n1n2)Cancel r12+r22 from both sides:
−2r1r2cosθ=−2r1r2(l1l2+m1m2+n1n2)Divide by −2r1r2:
cosθ=l1l2+m1m2+n1n2In terms of direction ratios (a1,b1,c1) and (a2,b2,c2):
cosθ=a12+b12+c12a22+b22+c22a1a2+b1b2+c1c2The lines are perpendicular when θ=90∘. Then cos90∘=0:
l1l2+m1m2+n1n2=0In terms of direction ratios (a1,b1,c1) and (a2,b2,c2), divide by the product of lengths:
a1a2+b1b2+c1c2=0The lines are parallel when θ=0∘ or 180∘. Then sinθ=0.
We express sin2θ in terms of direction cosines using Lagrange's identity:
sin2θ=1−cos2θ=(l12+m12+n12)(l22+m22+n22)−(l1l2+m1m2+n1n2)2 sin2θ=(l1m2−l2m1)2+(m1n2−m2n1)2+(n1l2−n2l1)2A sum of real squares can only equal zero if every term vanishes individually:
l1m2−l2m1=0⟹l2l1=m2m1 m1n2−m2n1=0⟹m2m1=n2n1 n1l2−n2l1=0⟹n2n1=l2l1Therefore:
l2l1=m2m1=n2n1In terms of direction ratios:
a2a1=b2b1=c2c1Key Takeaway: The angle formula cosθ=l1l2+m1m2+n1n2 is the unit vector dot product. Perpendicular lines give zero dot product. Parallel lines have proportional components.
What are we doing? We show that segments from origin O to points P and Q meet at a right angle. We find the direction ratios of both segments and verify that their dot product is zero.
Question: If P and Q are (2,3,4) and (1,−2,1) respectively, then prove OP and OQ are perpendicular to each other, where O is the origin.
Solution:
The coordinates of the points are O(0,0,0), P(2,3,4), and Q(1,−2,1).
Subtract the coordinates of O from P to find the direction ratios of line OP:
a1=2−0=2,b1=3−0=3,c1=4−0=4Subtract the coordinates of O from Q to find the direction ratios of line OQ:
a2=1−0=1,b2=−2−0=−2,c2=1−0=1Two lines are perpendicular if and only if their direction ratios satisfy:
a1a2+b1b2+c1c2=0Compute this sum of products directly:
a1a2+b1b2+c1c2=(2)(1)+(3)(−2)+(4)(1) a1a2+b1b2+c1c2=2−6+4=0Watch out: Be careful with signs during multiplication: 3×(−2)=−6. Keep the negative sign clear.
Since a1a2+b1b2+c1c2=0, OP and OQ are perpendicular to each other:
a1a2+b1b2+c1c2=0⟹OP⊥OQProved.
What are we doing? A line makes the same angle with the x, y, and z axes. We set all three direction cosines equal and use the identity l2+m2+n2=1 to find their numerical values.
Question: Find the direction-cosines of the line which is equally inclined to the axes.
Solution:
Let α,β,γ be the angles made by the line with the coordinate axes OX,OY,OZ.
Because the line is equally inclined to all three axes:
α=β=γTaking the cosine of these equal angles:
cosα=cosβ=cosγ l=m=nSubstitute this into the fundamental identity l2+m2+n2=1:
l2+l2+l2=1 3l2=1Divide by 3:
l2=31⟹l=±31Since l=m=n, the direction cosines are:
±(31,31,31)Watch out: Remember the plus-or-minus sign ±. A line extends in both directions in space. A cube has 4 diagonals, each with a specific sign combination.
What are we doing? A line moves slightly from direction (l,m,n) to (l+δl,m+δm,n+δn). We want to relate the small angle δθ between them to the changes in direction cosines. We expand the unit vector condition and compare the angle formula with the small-angle cosine Taylor series.
Question: What is direction cosine and direction ratio? The direction cosines of a moving line in two adjacent positions are (l,m,n) and (l+δl,m+δm,n+δn). Show that the small angle δθ between the positions is given by
(δθ)2=(δl)2+(δm)2+(δn)2Solution:
If a directed straight line makes angles α,β,γ with the positive coordinate axes, its direction cosines are:
l=cosα,m=cosβ,n=cosγAny three numbers a,b,c proportional to the direction cosines l,m,n are its direction ratios:
al=bm=cnThe direction cosines in the two adjacent positions are:
(l,m,n)and(l+δl,m+δm,n+δn)Both positions represent unit directions, so each must satisfy the fundamental identity:
l2+m2+n2=1(1) (l+δl)2+(m+δm)2+(n+δn)2=1(2)Expand equation (2):
(l2+m2+n2)+2(lδl+mδm+nδn)+[(δl)2+(δm)2+(δn)2]=1Substitute equation (1) into this expanded form:
1+2(lδl+mδm+nδn)+[(δl)2+(δm)2+(δn)2]=1The 1 on both sides cancels. Rearranging gives an expression for the cross term:
2(lδl+mδm+nδn)=−[(δl)2+(δm)2+(δn)2](3)Now calculate the cosine of the angle δθ between the two positions using the angle formula:
cos(δθ)=l(l+δl)+m(m+δm)+n(n+δn) cos(δθ)=(l2+m2+n2)+(lδl+mδm+nδn)Using l2+m2+n2=1:
cos(δθ)=1+(lδl+mδm+nδn)(4)From equation (3), we see that (lδl+mδm+nδn)=−21[(δl)2+(δm)2+(δn)2]. Substitute this into equation (4):
cos(δθ)=1−21[(δl)2+(δm)2+(δn)2](5)For small δθ, recall the half-angle formula 1−cos(δθ)=2sin2(2δθ)≈2(δθ)2:
cos(δθ)≈1−2(δθ)2(6)Comparing equations (5) and (6):
1−2(δθ)2=1−21[(δl)2+(δm)2+(δn)2]Subtract 1 from both sides and multiply by −2:
−2(δθ)2=−21[(δl)2+(δm)2+(δn)2] (δθ)2=(δl)2+(δm)2+(δn)2Shown.
Key Takeaway: For small angular shifts, angle squared equals the squared Euclidean distance on the unit sphere: (δθ)2≈∣u2−u1∣2=(δl)2+(δm)2+(δn)2.
← 1.02 Coordinate Transformations · Index · 1.04 Cube Space Diagonals & The Four-Diagonal Identity →