Divide Line in Ratio k1:k2
Home ]

How to find the point 'P' that divides the line segment AB in a given ratio.
( Both internal and external division)

This topic is part of the TCS FREE high school mathematics 'How-to Library', and will help you to find the point 'P' that divides the line segment AB in a given ratio. It covers both internal and external division.
(See the index page for a list of all available topics in the library.) To make best use of this topic, you need to download the Maths Helper Plus software. Click here for instructions.

Theory:

(a) Internal division of a line segment:

Consider the point P(xP , yP) that lies on the line segment AB joining points A(xA , yB) and B(xA , yB):

Point P divides AB in the ratio k1 : k2 , and the coordinates of point P are given by these formulas:

The blue formula is for three dimensional space, where you have 'z' coordinates as well as 'x' and 'y'.

When point P lies between points A and B, it divides AB internally.

(b) External division of a line segment:

When point P lies outside of the line segment AB, it can divide AB externally as shown in this diagram:

The formulas for external division are as follows:

Once again, the blue formula is for three dimensional space, where you have 'z' coordinates as well as 'x' and 'y'.

Method:

Maths Helper Plus can substitute values into the line division formulas and so calculate the point 'P' for both internal and external division. Also, it will create a diagram showing the original points A and B, as well as the internal and external division points.  

Step 1 Download the free support file... We have created a Maths Helper Plus document to complement this topic. You can use it to practice the steps described below, and as a starting point for solving your own problems.

File name:  'Divide Line Segment.mhp'   File size: 7kb
Click here to download the file.

If you choose 'Open this file from its current location', then Maths Helper Plus should open the document immediately. If not, try the other option: 'Save this file to disk', then run Maths Helper Plus and choose the 'Open' command from the 'File' menu. Locate the saved file and open it. If you do not yet have Maths Helper Plus installed on your computer, click here for instructions.

 

Step 2  Enter points A and B

To enter your own points 'A' and 'B', replace the existing points: A(-2,3) and B(4,-1).

First click on the text view on the coordinate you want to change. (See diagram below.) 

                 

Make your changes, then press the 'Enter' key.

 

Step Enter the ratio numbers to divide AB

Press the F5 key to display the parameters box:

 

Enter the 'k1' and 'k2' values are entered into the 'C' and 'D' edit boxes. 

For example, if k1 = 2 and k2 = 3, then enter C = 2 and D = 3.

 

To enter the values, click on the 'C' edit box, type your k1 value, then click on the 'D' edit box and type the k2 value. Now click the Update button.

 

The coordinates of the dividing point 'P' are displayed on the text view as follows:

 

        Divide AB internally

        Calculations using 'x' and 'y' values...

        x     y

        0.4   1.4

        Divide AB externally

        Calculations using 'x' and 'y' values...

        x     y

        -14   11

 

Also, the graph view displays a diagram showing the plotted points A and B, as well as the dividing points for internal and external division. The internal division point is purple, while the external division point is green.

 

Step 4  Adjust the scale of the labelled diagram

If the labelled diagram does not display all of the points, the scale needs to be reduced. For the external division point this is most likely as it is often far from both A and B. In this case, briefly press the F10 key enough times until the required points are seen.

 

You can also enlarge the diagram again by holding down 'Ctrl' while you press F10.

 

Still don't understand or have further questions about this topic ?
Then ask us! Click here now!