Find the point of the line y=x nearest to the point (4,1)
Any point in the line y=x is (x,x), where x is a real number.
Distance between (x,x) and (4,1) equals:
We need to find the minimum of d(x). Square root function is increasing, so finding the minimum of d(x) is equivalent to finding the minimum of square root's argument.
Find the extremum point:
To determine if this point is a minimum we calculate the second derivative at this point.
The second derivative is greater than zero, so x=2.5 is minimum point of f(x) and d(x).
So, point (2.5, 2.5) is the nearest point in the line y=x to the point (4, 1).
Comments