Angles between straight lines

Two secant straight lines r and s determine four equal angles two by two; this is due to the fact that they are opposite angles in virtue of the apex. The smallest of the angles α and β is defined as the angle between the straight lines r and s.

imagen

In case of the drawing, the angle between the straight lines r and s it would be rx^=b.

A way of determining the above mentioned angle is from the scalar product of the director vectors of the straight lines r and s. Let u and v be director vectors of the straight lines r and s respectively.

The scalar product of the vectors u and v is:uv=|u||v|cos(u,v)^Now, let's observe that by taking a vector director of r and one of s, the angle formed by the above mentioned vectors coincides with the angle between both straight lines, if it is acute, or with its supplementary if it is obtuse:

imagen

Therefore, the cosine of the angle between two straight lines will coincide, except for the sign, with that of the angle that its director vectors form, and therefore we have that:cos(r,s)^=|cos(u,v)^|This last step is because cos(a)=cos(180a) This way, if we isolate in the formula of the scalar product,cos(r,s)^=|cos(u,v)^|=|uv||u||v|Note that: The scalar product between two vectors u=(u1,u2) and v=(v1,v2) is defined as uv=u1v1+u2v2Therefore, if we remember that the expression of the module of a vector is |v|=v12+v22We have that in coordinates the expression of the cosine of the angle between two straight lines is:cos(r,s)^=|cos(u,v)^|=|uv||u||v|=|u1v1+u2v2|u12+u22v12+v22

Example

Determine the angle formed by the straight lines r and s, which equations are, respectively, 3x2y1=0 and x+2y3=0.

Let u=(2,3) and v=(2,1) be director vectors of the straight lines r and s respectively.

Then, applying the previous formula we have cos(r,s)^=|cos(u,v)^|=|uv||u||v|=|u1v1+u2v2|u12+u22v12+v22= =|22+31|22+3222+12=765 Therefore, if we take the calculator we have rs^=arccos(cos(rs^))=arccos(765)=29.7