Section Formula Doubt (Practice Assignment 2)

49 views
Skip to first unread message

Lokesh Anand

unread,
Oct 18, 2020, 1:51:50 PM10/18/20
to Discussion forum for Mathematics for Data Science I
How do we decide what should be taken as (x1,y1) and (x2,y2) in the section formula? 

In Practice Assignment 2, I took the reverse points as the solution and got 1,1 as an answer. 

My calculation below: 

x1,y1 = 1,-1
x2,y2 = -2,2
m:n = 2:1

xP = [2 X (-2) + 1 X 1]/3 = 1

yP = [2 X 2 + 1 X (-1)]/3 = 1

I saw the solution is the other way around, but how is it determined which coordinate should be taken and x1,y1 and x2,y2 respectively?

Where am I going wrong?

Anand Iyer

unread,
Oct 18, 2020, 11:46:56 PM10/18/20
to Discussion forum for Mathematics for Data Science I, Lokesh Anand
there's a calculation mistake in the x coordinate.  it's (-4 + 1)/3 = -1

Debajyoti Biswas

unread,
Oct 19, 2020, 2:01:31 AM10/19/20
to Discussion forum for Mathematics for Data Science I, anandd...@gmail.com, Lokesh Anand
Hi Lokesh,
When you take a point to be (x1,y1), the other (opposite) co-ordinate should be cut at the ratio m.   I have attached an image, if it helps.

straight line.jpg
Reply all
Reply to author
Forward
0 new messages