[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rusure::math

Title:Mathematics at DEC
Moderator:RUSURE::EDP
Created:Mon Feb 03 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2083
Total number of notes:14613

1896.0. "Shortest Distance" by OFOS01::ROOS () Wed Sep 14 1994 17:27


        What is the shortest distance between the point (9,0) and the 
        curve y = SQRT(6x)?  Also, what is the point on the curve that
        gives this shortest distance?
T.RTitleUserPersonal
Name
DateLines
1896.1AUSSIE::GARSONachtentachtig kacheltjesThu Sep 15 1994 05:206
    re .0
    
    Off the top of my head ... sqrt(45) and (6,6).
    
    It's useful when posting a problem like this to state that it is *not*
    part of a homework assignment or similar.
1896.2MATH notes (harder than CLIFF notes) sez:VMSDEV::HALLYBFish have no concept of fireThu Sep 15 1994 09:242
    Hint: you want the equation of the line that passes thru (9,0) and is
    perpendicular to the tangent to the curve where it intersects the curve.
1896.3one methodTROOA::RITCHEFrom the desk of Allen Ritche...Thu Sep 15 1994 10:2118
>    
>    Off the top of my head ... sqrt(45) and (6,6).
>    

This is the right answer.  If (a,b) is the point, then calculate the slope of
the tangent to y as 3/sqrt(6x) = 3/y = 3/b (first derivative and substitute).

Then slope m of line from (a,b) to (9,0) must be negative reciprocal of above.
(perpendicular to tangent).  Form second equation of slope in terms of these
two points.  

Quicly solve for two unknowns a and b.  First eqn is curve itself, i.e.
b=sqrt(6a).

Actually there are 3 points of interest (6,6), (6,-6), (0,0) but the latter two
can be discarded.

Allen
1896.4AUSSIE::GARSONachtentachtig kacheltjesThu Sep 15 1994 23:5915
re .3
    
>Actually there are 3 points of interest (6,6), (6,-6), (0,0) but the latter two
>can be discarded.
    
    (6,-6) should not be discarded. It is an equally valid solution. It was
    slackness on my part not to list it in .1.
    
    re .2,.3
    
    Using the fact that the normal to the curve should pass through the
    point (9,0) is OK but that is actually an assumption. Another way is
    merely to form the distance as a function of some parameter and use
    calculus or otherwise (calculus not necessary in this case) to find
    the minimum distance.                     
1896.5technicalitiesTROOA::RITCHEFrom the desk of Allen Ritche...Fri Sep 16 1994 09:1424
>>re .3
>>    
>>>Actually there are 3 points of interest (6,6), (6,-6), (0,0) but the latter two
>>>can be discarded.
>>    
>>    (6,-6) should not be discarded. It is an equally valid solution. It was
>>    slackness on my part not to list it in .1.
>>
It might not have been slackness if you interpret the .0 eqn as only a half
a parabola in the first quadrant. (+ve sqrt). 
    
>    re .2,.3
>    
>    Using the fact that the normal to the curve should pass through the
>    point (9,0) is OK but that is actually an assumption. 

Yes.  But a _valid_ assumption, no?  (especially, when one has limited time in
this notes file :-) The shortest distance from a point (i.e. 9,0) to a curve or
line is along the perpendicular to it.  And a perpendicular to a curve means
perpendicular to a tangent, I belive. We never assumed where (a,b) was located
but actually had to solve for that variable.


Allen
1896.6AUSSIE::GARSONachtentachtig kacheltjesSat Sep 17 1994 02:5123
re .5
    
>It might not have been slackness if you interpret the .0 eqn as only a half
>a parabola in the first quadrant. (+ve sqrt). 
    
    Fair enough. The original problem statement wasn't explicit on this.
    
>Yes.  But a _valid_ assumption, no?
    
    Yes, assumption was in any case probably the wrong word for me to use.
    
    For a variety of curves it can be *proven* that (local) extrema in
    the function giving distance to some given point occur where the normal to
    the curve passes through the point. However this is not true for all
    curves - in particular ones with "spikes". Perhaps someone more
    knowledgeable than I can state the exact condition(s) that must be
    satisfied by a curve for the assumption to be valid.
    
    Of course for any curve (as with any extremum problem) the end points,
    if there are any, have to be checked explicitly.
    
    However this particular problem is easier if done from first principles
    i.e. simply minimise the distance function.
1896.7Never one to miss a chance to state the obviousVMSDEV::HALLYBFish have no concept of fireSat Sep 17 1994 20:4315
>    curves - in particular ones with "spikes". Perhaps someone more
>    knowledgeable than I can state the exact condition(s) that must be
>    satisfied by a curve for the assumption to be valid.
>    
>    Of course for any curve (as with any extremum problem) the end points,
>    if there are any, have to be checked explicitly.
    
    You need the target curve to be differentiable. "Spikes" and endpoints
    are locations where the curve is not differentiable, and must be
    checked separately.
    
    Of course when I say "a curve is differentiable", I refer to the
    function that the curve describes.
    
      John
1896.8Not HomeworkOFOS01::ROOSSat Sep 17 1994 21:5713
    
    
    First - this is not homework or an assignment.
    
    Second - there is a difference between y = sqrt(6x) and y squared = 6x
    
    y = sqrt(6x) is only in the first quadrant  + (0,0)
    
    y squared = 6x is in 1st and 4th
    
    Solve this problem without the use of Calculus.  The only correct
    answer is the point (6,6).  My solution will follow in a few days.
    
1896.9no calculusTROOA::RITCHEFrom the desk of Allen Ritche...Sun Sep 18 1994 11:0120
Further to .3 and .8,

>    Solve this problem without the use of Calculus.  The only correct
>    answer is the point (6,6).  My solution will follow in a few days.

OK.  Try this.  No calculus, Gr 11(?) math...

Distance between (x,y) and (9,0) is given by...

  d^2 = 6x + (x-9)^2

      = x^2 - 12x + 81

      = (x-6)^2 + 45   (completing the square)


This always positive expression will be a minimum if the first term is 0, i.e.
when x=6.

Allen