Position vectors and the section formula · Mathematics… | StemPy Lab
Course 14.1·Lesson 3 of 3
Position vectors and the section formula
A point that divides a line segment in the ratio m:n has the position vector m+nna+mb
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
use the section formula for internal and external division;
find the midpoint of a segment and the centroid of a triangle;
test whether three points are collinear, and find the ratio in which a plane divides a segment.
The hanger on a bridge cable
A cable runs from the top of one tower to the top of another. A hanger must be fixed one third of the way along it. Where exactly is that point? If we know the position vectors of the two tower tops, vectors give the answer in one line.
The section formula
Let A and B have position vectors a and b. A point P on the segment AB divides it internally in the ratio m:n when AP:PB=m:n. Then AP=m+nmAB, so
p=a+m+nm(b−a)=m+nna+mb.
Look at the formula as a recipe. The ratio number m goes with the far end B. When m is small, P is near A, and B has a small weight. In coordinates, the same formula works for each coordinate: x=m+nnx1+mx2, and likewise for y and z.
A plane with the origin O and two points A and B joined by a grey line segment. Point P lies on the segment, one third of the way from A to B, so AP : PB = 1 : 2. The segment is extended with a dashed line beyond B to the point Q, with B halfway between A and Q, so AQ : QB = 2 : 1. Thin arrows from O to A, B, P and Q show the position vectors.
When P lies on the line AB but outside the segment, it divides ABexternally in the ratio m:n. Replace n by −n:
p=m−nmb−na,m=n.
Midpoint, centroid and the parallelogram
Midpoint. Put m=n=1: 2a+b.
Centroid. The medians of a triangle meet at the centroid, which has the position vector 3a+b+c.
Parallelogram. The diagonals of a parallelogram bisect each other. So for the parallelogram ABCD, the midpoints of AC and BD are the same point. This gives d=a+c−b.
Collinear points and the ratio from a plane
Three points A, B, C are collinear when AB and AC are parallel, that is, when one is a number times the other. The number tells you the ratio.
To find where a coordinate plane cuts a segment, put the right coordinate of the section formula equal to zero. This gives m:n. A negative ratio means that the plane cuts the line outside the segment.
A worked example
The points are A(2,−1,3) and B(8,5,−3).
Internal, 1:2.p=32a+b=3(4+8,−2+5,6−3)=(4,1,1). Check: AP=(2,2,−2) and PB=(4,4,−4), so AP:PB=1:2.
External, 2:1.q=2−12b−a=(16−2,10+1,−6−3)=(14,11,−9). Here AQ=(12,12,−12) and QB=(−6,−6,6), so AQ is twice QB and B lies between A and Q.
Midpoint.(5,2,0).
A plane example. Let A(4,−2,1) and B(0,6,9). The xz-plane is y=0. Put the y-coordinate of the section formula equal to zero: n(−2)+m(6)=0, so m:n=1:3. The point is 43a+b=(3,0,3).
A triangle with A(0,6,3), B(9,0,−3) and C(3,−3,0) has the centroid (312,33,0)=(4,1,0).
A parallelogram ABCD has A(1,0,2), B(4,3,−1) and C(6,7,3). Then D=A+C−B=(3,4,6), and the diagonals meet at (27,27,25).
For collinear points, take A(0,1,−1), B(2,5,3) and C(5,11,9). Then AB=(2,4,4) and AC=(5,10,10)=25AB. So the points are collinear, and B divides AC in the ratio AB:BC=2:3.
Practise with new numbers
Try it in Python
The program uses exact fractions. It divides AB internally and externally and finds the midpoint, for the points of the worked example.
Common mistakes
Swapping m and n. In AP:PB=m:n the number m goes with B.
Forgetting to divide by m+n.
A wrong sign in the external division. It is m−nmb−na, with a minus in both places.
Reading AP:PB as AP:AB. The second number of the ratio is the other part of the segment, not the whole of it.
Taking AB as a−b.
Remember these
Internal division, AP:PB=m:n: p=m+nna+mb.
External division: p=m−nmb−na.
Midpoint 2a+b, centroid 3a+b+c, and d=a+c−b in a parallelogram ABCD.
Collinear points: AC=λAB.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find the midpoint of P(4,−2,6) and Q(−2,8,0).
Find the point that divides A(1,2,3) and B(7,−4,9) internally in the ratio 2:1.
Find the point that divides A(1,2,−1) and B(3,4,−5) externally in the ratio 3:2.
In what ratio does the plane x=4 divide the segment joining A(2,1,5) and B(8,7,−1)? Find the point.
Find the centroid of the triangle with vertices (3,1,5), (−2,4,0) and (5,−2,−2).
References
NCERT, Mathematics Part II for Class XII, Chapter 10, section on the section formula.
OpenStax, Calculus Volume 3, Chapter 2, section on vectors in three dimensions.
Enroll free in Vectors and Their Algebra
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.