Review the key concepts, formulae, and examples before starting your quiz.
🔑Concepts
The direction cosines of a line passing through two points and are determined by the ratios of the differences in coordinates to the distance between the two points. The distance is calculated using the 3D distance formula: .
Direction ratios of the line are the differences in the respective coordinates: , , and . Direction cosines are then obtained by normalizing these ratios: , , and .
A line has two sets of direction cosines depending on the direction of travel ( to vs to ). These sets are and .
The sum of the squares of the direction cosines is always unity: . This property acts as a useful verification step after computing the cosines of a line segment.
📐Formulae
💡Examples
Problem 1:
Find the direction cosines of the line passing through the points and .
Solution:
Let the points be and . Step 1: Calculate the direction ratios: Step 2: Calculate the distance : Step 3: Calculate the direction cosines:
Explanation:
First, we find the differences between the coordinates to get the direction ratios. Then, we find the magnitude of the segment. Dividing each ratio by the magnitude gives the direction cosines.
Problem 2:
Find the direction cosines of the line passing through the origin and the point .
Solution:
Points are and . Direction ratios are . Distance : Direction cosines are:
Explanation:
When one point is the origin, the direction ratios are simply the coordinates of the second point. The magnitude is the distance from the origin to that point.
Problem 3:
Calculate the direction cosines of the line segment joining the points and .
Solution:
-
Find the direction ratios :
-
Calculate the distance :
-
Calculate the direction cosines :
Explanation:
Direction cosines are the ratios of the coordinate differences to the total length of the segment. Here, we first find the vector components (direction ratios) and then divide by the magnitude of the segment.
Problem 4:
A line passes through and . Find its direction cosines.
Solution:
-
Direction ratios :
-
Distance :
-
Direction cosines:
Explanation:
To find the direction cosines, we first compute the differences in the x, y, and z coordinates of the two points to get the direction ratios, then divide by the Euclidean distance between them.