CalculusApplied Optimization Problem:
posted by Sara on .
Find the point on the line 6x + 3y3 =0 which is closest to the point (3,1).
Note: Your answer should be a point in the xyplane, and as such will be of the form (xcoordinate,ycoordinate)

what a stupid note. Of course it will be a point with (x,y) coordinates! This is a calculus class  you know all that already.
Given a point (x,y) on the line, y=12x
The distance from (x,12x) to (3,1) is
d^2 = (x3)^2 + (1(12x))^2 = 5x^26x+9
so, we want minimum d, when dd/dx = 0:
2d dd/dx = 10x6
dd/dx = 10x6/2sqrt(blah blah)
dd/dx=0 when x = 3/5.
So, minimum d^2 is
5(3/5)^2  6(3/5) + 9 = 36/5
minimum d is 6/√5
Or, as we all know, the distance from a point (x,y) to a line ax+by+c=0 is
ax+by+c/√(a^2+b^2) = (6(3)+3(1)3)/√(36+9) = 18/√45 = 6/√5