If `alpha, beta, gamma` are the angles which vector `vec(a) = a_1hat(i) + a_2hat(j) +a_3hat(k)` makes with positive direction of the `x, y, z ` axes respectively then `alpha , beta, gamma` are called direction angles and their cosines `cos alpha, cos beta , cos gamma` are called the
direction cosines of the vector and are generally denoted `l, m, n` respectively.
Thus ` l= cos alpha , m = cos beta , n = cos gamma`
`text(Note :)`
`(i)` If a line makes `alpha, beta , gamma` with positive direction of `x, y, z` axes respectively then direction cosines of line will
be `cos alpha , cos beta , cos gamma` or `- cos alpha , - cos beta , - cos gamma`.
`(ii)` A unit vector along the line whose direction cosines are `cos alpha, cos beta, cos gamma` can be written as
` (cos alpha) hat(i) + (cos beta) hat(j) +(cos gamma) hat(k) ` .
`(iii)` If a vector `vec(a) = a_1 hat(i) +a_2 hat(j)+a_3hat(k)` makes angles `alpha , beta , gamma` with positive direction of `x, y, z` axes respectively
then `cos alpha = (vec(a) *hat(i)) /(| vec(a)| | hat(i)|)= a_1/ | vec(a)|, cos beta = (vec(a)*hat(j))/ (|vec(a) | | hat(j)|) =a_2/|vec(a) |` and `cos gamma = (vec(a)*hat(k))/( |vec(a) | |hat(j) |) =a_3 /| vec(a)|`
`:.` `cos^2alpha + cos^2beta + cos^2gamma = (a_1^2+ a_2^2 +a_3^2) /|vec(a) |^2 => cos^2 alpha +cos^2 beta =cos^2 gamma =1`
Also note that `sin^2alpha + sin^2beta + sin^2gamma = 2`
`(iv)` Direction cosines of `x`-axis are `(1, 0, 0)` or `(- 1, 0, 0)`.
`quad quad ` Direction cosines of `y`-axis are `(0, 1 , 0)` or `(0, - 1 , 0)`.
`quadquad` Direction cosines of `z`-axis are `(0, 0, 1)` or `(0, 0, - 1)`.
If `alpha, beta, gamma` are the angles which vector `vec(a) = a_1hat(i) + a_2hat(j) +a_3hat(k)` makes with positive direction of the `x, y, z ` axes respectively then `alpha , beta, gamma` are called direction angles and their cosines `cos alpha, cos beta , cos gamma` are called the
direction cosines of the vector and are generally denoted `l, m, n` respectively.
Thus ` l= cos alpha , m = cos beta , n = cos gamma`
`text(Note :)`
`(i)` If a line makes `alpha, beta , gamma` with positive direction of `x, y, z` axes respectively then direction cosines of line will
be `cos alpha , cos beta , cos gamma` or `- cos alpha , - cos beta , - cos gamma`.
`(ii)` A unit vector along the line whose direction cosines are `cos alpha, cos beta, cos gamma` can be written as
` (cos alpha) hat(i) + (cos beta) hat(j) +(cos gamma) hat(k) ` .
`(iii)` If a vector `vec(a) = a_1 hat(i) +a_2 hat(j)+a_3hat(k)` makes angles `alpha , beta , gamma` with positive direction of `x, y, z` axes respectively
then `cos alpha = (vec(a) *hat(i)) /(| vec(a)| | hat(i)|)= a_1/ | vec(a)|, cos beta = (vec(a)*hat(j))/ (|vec(a) | | hat(j)|) =a_2/|vec(a) |` and `cos gamma = (vec(a)*hat(k))/( |vec(a) | |hat(j) |) =a_3 /| vec(a)|`
`:.` `cos^2alpha + cos^2beta + cos^2gamma = (a_1^2+ a_2^2 +a_3^2) /|vec(a) |^2 => cos^2 alpha +cos^2 beta =cos^2 gamma =1`
Also note that `sin^2alpha + sin^2beta + sin^2gamma = 2`
`(iv)` Direction cosines of `x`-axis are `(1, 0, 0)` or `(- 1, 0, 0)`.
`quad quad ` Direction cosines of `y`-axis are `(0, 1 , 0)` or `(0, - 1 , 0)`.
`quadquad` Direction cosines of `z`-axis are `(0, 0, 1)` or `(0, 0, - 1)`.