grh
@sourwing
use the distance formula , you want the distance between (0,0) and (x,y) , where (x,y) is on the line y = mx + b
so the distance between points (0,0) and ( x, mx + b ) , by substitution
d = sqrt ( (x - 0) ^2 + ( mx + b - 0) ^2 ) d = sqrt[ x^2 + (mx+b)^2 ]
now take the derivative, since you want to minimize this
im in precalc im not supposed to be using derivatives even if i do know them
so solve a complicated geometry argument, good luck
wow thats harsh
seriously?
hahaha
im in precalculus? wtf i sprecalculaus
math is math
yeah i know but teacher said that he didnt want us using advanced stuff even if we knew it so i can't
ok, the shortest distance from y = mx + b , to (0,0) will be on a perpindicular line
so draw y = mx + b , a generic line , and the closest to (0,0) will be a segment that is perpindicular, i cant draw it here unfortunately
thats what i di the first time and i kept getting the origin as my point
draw y = mx + b so that it does not go through teh origin
yeah i used 2x+2
we need this to be general . y = mx + b , the slope of the perpindicular line to it is -1/m. now this perpindicular goes through (0,0). so you want a line that has slope -1/m and goes through (0,0). so the perpindicular is y = -1/m * x
, now we find where y = -1/m*x and y = mx + b intersect ,
-1/m * x = mx + b , solve for x
x=b/((-1/m)-m)
how did you get that?
x((-1/m)-m)=b x=b/((-1/m)-m)
oh nevermind i see :)
, ok simplifying we get x = -mb / ( m^2 + 1 )
how did you get that?
so thats your x coordinate
how did you go from x=b/((-1/m)-m) to x = -mb / ( m^2 + 1 )
first simplify the denominator -1/m - m = -1/m - m/1 = -1/m - m^2/m = (-1 - m^2) / m
never mind i got it know
now*
ok so thats your x coordinate, to find the y coordinate plug that into y = mx + b , for x
heh, it turns out the calculus way is harder,
haha cool
actually i take that back, its easier :)
at least to find the x coordinate
without calculus i had to invoke some geometry principles ;)
err, regarding the slope thingy
its funny that we both asked . how did you get that,
now do you have any trouble with finding the y coordinate
Join our real-time social learning platform and learn together with your friends!