Trinity College Dublin
 
Search for: in  
You are here: Home / Category Index / Line Geometry / Dividing Line Segments & Angle Between Two Lines

Dividing Line Segments & Angle Between Two Lines - By Lise Larsen

How to use this applet:

Drag a line on the graph, click on the "Get Point" button. Then choose a point on the line. H and K will be displayed.

Notes on the maths used in the applet:

Dividing Line Segments
If m divides the line segment joining p(x1,y1) and q(x2,y2) internally in the ratio h:k, then the co-ordinates of m are:
((hx2 + kx1)/(h+k),(hy2 + ky1)/(h+k)).

In the external case, the co-ordinates are:
((hx2 - kx1)/(h-k),(hy2 - ky1)/(h-k)).
Angle between Two Lines
If A is the angle between two lines with slopes m1 and m2 then. tan A = (m1 - m2)/(1 + m1m2)