M
M
merkulov02020-08-01 18:59:08
Geometry
merkulov0, 2020-08-01 18:59:08

How to find out the angle between two straight lines if the coordinates through which they pass are known?

There is an XY coordinate plane. There are two lines and the coordinates of the points through which these lines pass are known. How to find out the degree measure of the angle that these lines form?

Here is a picture of what it might look like
5f25911a0211d167293874.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wataru, 2020-08-01
@mmerkulov0

Get 2 vectors along these lines (if the lines are given parametrically - you already know them, if Ax+By+C=0, then this is {-B,A}). Now the angle between the two vectors a and b is your desired angle. Here we must remember that the vector product is |a|*|b|*sin x, and the scalar product is |a|*|b|*cos x. Now you know the sin and cos of the desired angle (by dividing the scalar / vector product by the lengths of the vectors). You can feed these values ​​to atan or some other inverse trigonometric function. But in practice, the angle itself is rarely needed, it is needed in the calculations of its sin and cos, and you already know them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question