|
-
Sep 7th, 2005, 10:15 AM
#1
Thread Starter
Junior Member
how???
Im searching for an equation that governts the movement of a point such that the sum of its distances from the coordinate axes is minimal.....
for convinience sake just consider the first quadrant.... plz give an elaborate answer.... im abit simple in maths...
-
Sep 8th, 2005, 05:56 AM
#2
Re: how???
 Originally Posted by The Godfather
Im searching for an equation that governts the movement of a point such that the sum of its distances from the coordinate axes is minimal.....
for convinience sake just consider the first quadrant.... plz give an elaborate answer.... im abit simple in maths... 
This is what I could come up with...
Let y=f(x) the equation we're after. Then the sum of distances to be minimized is:
x2 + y2 = x2 + f(x)2
If it's to be minimized, then the derivative must be 0:
0 = d/dx(x2 + f(x)2) = 2x + 2f(x)*f'(x)
or
f'(x) = -x/f(x)
which for convenience can be written as
dy/dx = -x/y
and rearranged:
ydy = -xdx
and integrated to yield:
y2/2 = -x2/2 + C
C being an integration constant which, being arbitrary, can be written as
y2/2 = -x2/2 + k2/2
without loss of generality. After rearrangement this finally gives:
y = Sqrt(k2 - x2)
HTH
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
-
Sep 8th, 2005, 11:07 AM
#3
Re: how???
I was about to say that myself.
-
Sep 12th, 2005, 07:42 AM
#4
Re: how???
I think my post above is not correct... What I was trying to minimize in it was not the sum of distances to the x and y axes but the distance to the origin x2 + y2
so that's why I got the equation of a circle of radius k.
Actually, the sum of distances to be minimized is:
x + y = x + f(x)
Taking the derivatives:
0 = d/dx(x + f(x)) = 1 + f'(x)
or
f'(x) = dy/dx = -1
or
dy = -dx
so that, finally:
y = C - x
the equation of a straight line, with C being the integration constant.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|