If divides the line segment joining and in the ratio .
Find the value of and .
Find the value of and
Given that, P divides the line segment AB in the ratio of
write in the format
Section formula is used in coordinate geometry to calculate the ratio in which a line joined by two points can be divided.
Use the section formula,
and
Now, substitute the known values in the formula
and
and
Now find the value of a:
Now find the value of b
Hence the value of a is and b is .