A security camera is fixed at the top corner C of a corridor that is 6 m long, 2 m wide and 3 m high.
Question 202 marksMedium
A security camera is fixed at the top corner C of a corridor that is 6 m long, 2 m wide and 3 m high. Take the floor corner O directly below the camera as the origin, with the x-, y- and z-axes along the length, width and height of the corridor, as shown in the figure. The camera points straight at the far floor corner F.
Find the direction cosines of the camera's line of sight CF, and the acute angle this line makes with the vertical edge OC.
The direction cosines of the directed segment from P(x1,y1,z1) to Q(x2,y2,z2) are PQx2−x1,PQy2−y1,PQz2−z1. The acute angle between two lines with direction cosines l1,m1,n1 and l2,m2,n2 is given by cosθ=∣l1l2+m1m2+n1n2∣.
Given: from the figure, C(0,0,3) and F(6,2,0). To find: the direction cosines of CF, and the acute angle between CF and OC.
Step 1 — direction ratios. Going from C to F: 6−0,2−0,0−3, that is 6,2,−3.
Step 2 — length of CF.
CF=62+22+(−3)2=49=7
Step 3 — direction cosines.76,72,−73. Check: 4936+4+9=1.
Step 4 — angle with the vertical. The edge OC lies along the z-axis, with direction cosines 0,0,1:
cosθ=76⋅0+72⋅0+(−73)⋅1=73
so θ=cos−173≈64.6∘.
Answer: the direction cosines of CF are 76,72,−73, and the line of sight makes an acute angle cos−173 with the vertical edge OC.
Note:n is negative because the camera looks down: the directed line CF makes the obtuse angle cos−1(−73) with the upward z-axis. The reverse segment FC has direction cosines −76,−72,73; it is the same line with the opposite direction.