A line makes angles of 60 degrees and 45 degrees with the positive x-axis and positive y-axis, and an acute angle with the z-axis. This line is perpendicular to a second line whose direction ratios are 1, -1, k. The value of k is
Answer: (D) sqrt(2) - 1 Status: Verified (T1). Checked by code and independent solves on 2026-11-20.
- sqrt(2) + 1
- 1
- 1/sqrt(2)
- sqrt(2) - 1
Solution
- l = cos 60 = 1/2 and m = cos 45 = 1/sqrt(2). Since l² + m² + n² = 1, n² = 1 - 1/4 - 1/2 = 1/4.
- The angle with the z-axis is acute, so n = +1/2.
- Perpendicular lines satisfy l(1) + m(-1) + n(k) = 0: 1/2 - 1/sqrt(2) + k/2 = 0, so k = sqrt(2) - 1.
Fast method
Direction cosines (1/2, 1/sqrt(2), 1/2) are proportional to (1, sqrt(2), 1). Perpendicular to (1, -1, k): 1 - sqrt(2) + k = 0.
Expected time: about 120 seconds. Difficulty: hard.
Topic page: Direction ratios, direction cosines and lines in space