Can someone confirm this formula
formula for distance of a line ax+by+c=0 from (0,0) is
dist = c/sqrt(a^2+b^2)
distance of a line ax+by+c=0 from (0,0)
This topic has expert replies
GMAT/MBA Expert
- Ian Stewart
- GMAT Instructor
- Posts: 2621
- Joined: Mon Jun 02, 2008 3:17 am
- Location: Montreal
- Thanked: 1090 times
- Followed by:355 members
- GMAT Score:780
Yeah, I just derived the formula, and that's correct (with the absolute value included).
I can't imagine a situation where you'd need this on the GMAT, however.
I can't imagine a situation where you'd need this on the GMAT, however.
- gabriel
- Legendary Member
- Posts: 986
- Joined: Wed Dec 20, 2006 11:07 am
- Location: India
- Thanked: 51 times
- Followed by:1 members
That is the formula for the perpendicular distance of (0,0) from the line.netigen wrote:Can someone confirm this formula
formula for distance of a line ax+by+c=0 from (0,0) is
dist = c/sqrt(a^2+b^2)
- getneonow
- Senior | Next Rank: 100 Posts
- Posts: 42
- Joined: Fri Mar 14, 2008 1:56 am
- Location: India
- Thanked: 4 times
- GMAT Score:730
when you say distance between a point and a line , it is implied that the distance is the perpendicular distance..gabriel wrote:That is the formula for the perpendicular distance of (0,0) from the line.netigen wrote:Can someone confirm this formula
formula for distance of a line ax+by+c=0 from (0,0) is
dist = c/sqrt(a^2+b^2)
anyways it always helps to have clarity on things..
Neo
MBA : My passion and My pursuit
-
- Master | Next Rank: 500 Posts
- Posts: 101
- Joined: Tue May 27, 2008 6:03 am
- Thanked: 5 times
Just adding some extra info here.
Dist formula from my point (x1,y1) for a line ax+by +c = 0 is
Mod [ (ax1+by1+c)/(sqrt (a^2+b^2) ]
Here x 1 = 0 and y1 = 0
so
Mod [ c/(sqrt (a^2+b^2) ]
Dist formula from my point (x1,y1) for a line ax+by +c = 0 is
Mod [ (ax1+by1+c)/(sqrt (a^2+b^2) ]
Here x 1 = 0 and y1 = 0
so
Mod [ c/(sqrt (a^2+b^2) ]