3D Section Formula Notes
These 3D Section Formula Notes explain how to find the point that divides a segment in a given ratio, with the working shown line by line. For an internal division the point sits between the two ends, and for an external one it sits beyond them, which is the only difference the sign in the formula makes. Each coordinate is worked out on its own. Following the same pattern every time keeps the ratio the right way round.
Choose internal or external division, then enter \(P_{1}\), \(P_{2}\) and the ratio \(m : n\).
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the points and the ratio into the formula.
- Work out each coordinate.
Formula: Internal Section Formula
This formula gives the point between P₁ and P₂ that divides the segment in the ratio m : n. Weight P₂ by m and P₁ by n, then divide by m + n.
Formula: External Section Formula
This formula gives the point outside the segment that divides it externally in the ratio m : n. The plus signs become minus signs.
Useful Tips to Remember
In the formula, m goes with the second point and n with the first, which is the part most often swapped. With a ratio of \(1 : 1\), the internal formula gives the midpoint. For external division, m and n cannot be equal, because \(m - n\) would be 0. Work out each coordinate on its own.
Required knowledge
- How to multiply and subtract numbers, covered in the Multiplication of Small Numbers Calculator.
- How to simplify fractions, covered in the Simplifying of Fractions Calculator.
- The special case of a 1 : 1 ratio, covered in the Midpoint Between Two 3D Points Calculator.
Where Is the Section Formula Used?
The section formula finds a point at a set fraction of the way along a line, which is useful in geometry, design and physics. It gives the centre of mass of two objects, where each mass acts as a weight in the ratio. Animators use it to find in-between positions when moving an object from one place to another. In coordinate geometry, it locates the centroid of a triangle and points that split medians, and in CAD it places parts at exact fractions along an edge.
- Finding the centre of mass of two objects
- In-between positions for animation
- Locating the centroid of a triangle
- Placing parts at set fractions along an edge
- Dividing a route in a given ratio
Section Formula Practice Problems
Example 1 divides the segment from \((1, 2, 3)\) to \((4, 6, 3)\) internally in the ratio \(2 : 1\), and Example 2 divides the segment from \((1, 0, 2)\) to \((5, 4, 6)\) externally in the ratio \(3 : 1\). Examples 3 and 4 give you two more problems of the same kind to try. Pick the right formula and compare your coordinates.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the points and the ratio into the formula.
- Work out each coordinate.
Formula
Formula: Internal Section Formula
This formula gives the point between P₁ and P₂ that divides the segment in the ratio m : n. Weight P₂ by m and P₁ by n, then divide by m + n.
Formula: External Section Formula
This formula gives the point outside the segment that divides it externally in the ratio m : n. The plus signs become minus signs.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the point that divides the segment from \(P_{1} = \left(1,\; 2,\; 3\right)\) to \(P_{2} = \left(4,\; 6,\; 3\right)\) internally in the ratio \(2 : 1\).
Step 2
Step 2 - Write the formula.
In this problem: The point that divides the segment in the ratio m : n lies between the two points. Each coordinate is a weighted average, with the weight m on the far point and n on the near point.
Step 3
Step 3 - Substitute the points and the ratio into the formula.
In this problem: Replacing the coordinates and the ratio in \(P = \left(\frac{m x_{2} + n x_{1}}{m + n},\; \frac{m y_{2} + n y_{1}}{m + n},\; \frac{m z_{2} + n z_{1}}{m + n}\right)\) gives \(P = \left(\frac{2 \times 4 + 1 \times 1}{2 + 1},\; \frac{2 \times 6 + 1 \times 2}{2 + 1},\; \frac{2 \times 3 + 1 \times 3}{2 + 1}\right)\).
Step 4
Step 4 - Work out each coordinate.
In this problem: Working out each fraction gives \(\frac{2 \times 4 + 1 \times 1}{2 + 1} = \frac{9}{3} = 3\), \(\frac{2 \times 6 + 1 \times 2}{2 + 1} = \frac{14}{3}\) and \(\frac{2 \times 3 + 1 \times 3}{2 + 1} = \frac{9}{3} = 3\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the points and the ratio into the formula.
- Work out each coordinate.
Formula
Formula: External Section Formula
This formula gives the point outside the segment that divides it externally in the ratio m : n. The plus signs become minus signs.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the point that divides the segment from \(P_{1} = \left(1,\; 0,\; 2\right)\) to \(P_{2} = \left(5,\; 4,\; 6\right)\) externally in the ratio \(3 : 1\).
Step 2
Step 2 - Write the formula.
In this problem: The point that divides the segment externally in the ratio m : n lies on the line through the two points but outside the segment. The plus signs of the internal formula become minus signs.
Step 3
Step 3 - Substitute the points and the ratio into the formula.
In this problem: Replacing the coordinates and the ratio in \(P = \left(\frac{m x_{2} - n x_{1}}{m - n},\; \frac{m y_{2} - n y_{1}}{m - n},\; \frac{m z_{2} - n z_{1}}{m - n}\right)\) gives \(P = \left(\frac{3 \times 5 - 1 \times 1}{3 - 1},\; \frac{3 \times 4 - 1 \times 0}{3 - 1},\; \frac{3 \times 6 - 1 \times 2}{3 - 1}\right)\).
Step 4
Step 4 - Work out each coordinate.
In this problem: Working out each fraction gives \(\frac{3 \times 5 - 1 \times 1}{3 - 1} = \frac{14}{2} = 7\), \(\frac{3 \times 4 - 1 \times 0}{3 - 1} = \frac{12}{2} = 6\) and \(\frac{3 \times 6 - 1 \times 2}{3 - 1} = \frac{16}{2} = 8\).
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the points and the ratio into the formula.
- Work out each coordinate.
Formula
Formula: Internal Section Formula
This formula gives the point between P₁ and P₂ that divides the segment in the ratio m : n. Weight P₂ by m and P₁ by n, then divide by m + n.
Formula: External Section Formula
This formula gives the point outside the segment that divides it externally in the ratio m : n. The plus signs become minus signs.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the point that divides the segment from \(P_{1} = \left(2,\; -1,\; 4\right)\) to \(P_{2} = \left(8,\; 5,\; 1\right)\) internally in the ratio \(1 : 2\).
Step 2
Step 2 - Write the formula.
In this problem: The point that divides the segment in the ratio m : n lies between the two points. Each coordinate is a weighted average, with the weight m on the far point and n on the near point.
Step 3
Step 3 - Substitute the points and the ratio into the formula.
In this problem: Replacing the coordinates and the ratio in \(P = \left(\frac{m x_{2} + n x_{1}}{m + n},\; \frac{m y_{2} + n y_{1}}{m + n},\; \frac{m z_{2} + n z_{1}}{m + n}\right)\) gives \(P = \left(\frac{1 \times 8 + 2 \times 2}{1 + 2},\; \frac{1 \times 5 + 2 \times \left(-1\right)}{1 + 2},\; \frac{1 \times 1 + 2 \times 4}{1 + 2}\right)\).
Step 4
Step 4 - Work out each coordinate.
In this problem: Working out each fraction gives \(\frac{1 \times 8 + 2 \times 2}{1 + 2} = \frac{12}{3} = 4\), \(\frac{1 \times 5 + 2 \times \left(-1\right)}{1 + 2} = \frac{3}{3} = 1\) and \(\frac{1 \times 1 + 2 \times 4}{1 + 2} = \frac{9}{3} = 3\).
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the points and the ratio into the formula.
- Work out each coordinate.
Formula
Formula: External Section Formula
This formula gives the point outside the segment that divides it externally in the ratio m : n. The plus signs become minus signs.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the point that divides the segment from \(P_{1} = \left(0,\; 2,\; 1\right)\) to \(P_{2} = \left(4,\; 6,\; 5\right)\) externally in the ratio \(2 : 1\).
Step 2
Step 2 - Write the formula.
In this problem: The point that divides the segment externally in the ratio m : n lies on the line through the two points but outside the segment. The plus signs of the internal formula become minus signs.
Step 3
Step 3 - Substitute the points and the ratio into the formula.
In this problem: Replacing the coordinates and the ratio in \(P = \left(\frac{m x_{2} - n x_{1}}{m - n},\; \frac{m y_{2} - n y_{1}}{m - n},\; \frac{m z_{2} - n z_{1}}{m - n}\right)\) gives \(P = \left(\frac{2 \times 4 - 1 \times 0}{2 - 1},\; \frac{2 \times 6 - 1 \times 2}{2 - 1},\; \frac{2 \times 5 - 1 \times 1}{2 - 1}\right)\).
Step 4
Step 4 - Work out each coordinate.
In this problem: Working out each fraction gives \(\frac{2 \times 4 - 1 \times 0}{2 - 1} = \frac{8}{1} = 8\), \(\frac{2 \times 6 - 1 \times 2}{2 - 1} = \frac{10}{1} = 10\) and \(\frac{2 \times 5 - 1 \times 1}{2 - 1} = \frac{9}{1} = 9\).
Final Answer
Calculator and Practice Mode
Want to check your own working? The 3D Section Formula Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. When you are ready to test yourself, 3D Section Formula Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode for this calculator is available on the Pro plan.