# Internal and External Division of Line Segment Calculator

In simple, a line can be called as the collection of points along a straight path which extends to both the directions without any endings. It is possible to divide a line segment into ‘n’ equal parts, where 'n' is any natural number and segmentation is of two types namely, internal and external. Here is the online Internal and External division of line segment calculator to calculate the coordinate points of the line which makes the segmentation.

In simple, a line can be called as the collection of points along a straight path which extends to both the directions without any endings. It is possible to divide a line segment into ‘n’ equal parts, where 'n' is any natural number and segmentation is of two types namely, internal and external. Here is the online Internal and External division of line segment calculator to calculate the coordinate points of the line which makes the segmentation.

Code to add this calci to your website

#### Formula:

Internal R(x,y) =((mx_{2} + nx_{1})/(m + n), (my_{2} + ny_{1})/(m + n))
External R(x,y) =((mx_{2} - nx_{1})/(m - n), (my_{2} - ny_{1})/(m - n))
### Example:

Calculate the internal division of line segment for the ratio of x and y be 5:4, coordinates of the points P be (12,18), coordinates of the points Q be (20,23).

#### Solution:

Internal R(x) = (5 x 18) + (4 x 12) / (5 + 4)

= 16.4444

Internal R(y) = ( 5 x 23) + (4 x 20) / (5 + 4)

= 20.7778