First, use the distance formula which is d = sqrt{ (x-xo)2 + (y-yo)2 }
But in this case x = x and y = (x-1)2 and (xo,yo) = (0,0) the origin
Substituting, we have d = sqrt{ (x-0)2 + ( (x-1)2 - 0 )2 } or d = sqrt{ x2 + x4 -4x3 +6x2 -4x + 1 }
Simplifying, we have d = sqrt(x4 -4x3 + 7x2 -4x +1)
This is the function to be minimized but you can minimize the square of d just same to get the same answer, so D = d2 = x4 -4x3 +7x2 -4x +1
In order to minimize D, we take the derivative
dD/dx = 4x3 - 12x2 + 14x -4 = 0 to obtain the minimum x
To use Newton's formula, let dD/dx be the f(x) in Newton's formula
Then, f'(x) = 12x2 -24x + 14
Newton's formula then for x is x = xo - f(xo)/f'(xo)
where xo is the first & then the successive guess using the answer x repeatedly.
When you do this you find that
x = .410245 and y = (x-1)2 = .347811

Mark J.
05/08/21
Maggie D.
This is incredibly helpful. I would never have known where to start.05/08/21