Q. 34

Question

find the point on the graph of the function f that is closest to the point (a,b) by minimizing the square of the distance from the graph to the point. 

      f(x)=x2+1  and the point (2,0)


Step-by-Step Solution

Verified
Answer

Ans: The point is, ( 1,2 )

1Step 1. Given information.

given,  f(x)=x2+1

and the point is, (2,0)


2Step 2. The objective is to find a point closest to the function that is closest to the point by minimizing the graph from the distance to the point.

Let, the point be (x,y).

The distance between (2,0) and (x,y) is,


    D(x) =  (0-y)2+(2-x)2D(x) =y2+4+x2-4xD(x) =(x2+1)2+x2+4-4xD(x) =2x2-4x+5


3Step 3. Now,

D(x) =2x2-4x+5D'(x)=2x-22x2-4x+5


Again,

       D'(x)=0

      2x-22x2-4x+5=0                2x-2=0                        x=1  


4Step 4. Putting x = 1 in f ( x ) = x 2 + 1 .

      f(x)=2


Therefore, the point is ( 1,2 ) .