
William W. answered 03/31/20
Top Pre-Calc Tutor
The distance formula is d = √[(x2 - x1)2 + (y2 - y1)2]. We can define one of the points as (0, -4); let's make that (x2, y2) making the distance equation into this: d = √[(0 - x1)2 + (-4 - y1)2] or d = √[x12 + (-4 - y1)2]. The other point (x1, y1) is on the graph of f(x) = x2 - 5 making the point (x, x2 - 5) so we can plug that in to get:
d = √[x2 + (-4 - (x2 - 5))2] or
d = √[x2 + (-4 - x2 + 5)2] or
d = √[x2 + (-x2 + 1)2] or
d = √(x2 + x4 - 2x2 + 1) or
d = √(x4 - x2 + 1)
To minimize this, we take the derivative and set it equal to zero. To take the derivative, it might be easier to think of it as:
d = (x4 - x2 + 1)1/2 then d' (using the chain rule) is:
d' = 1/2((x4 - x2 + 1)-1/2(4x3 - 2x) or
d' = (4x3 - 2x)/[2√(x4 - x2 + 1)]
Setting it equal to zero:
(4x3 - 2x)/[2√(x4 - x2 + 1)] = 0 can only be true when the numerator equals zero so:
4x3 - 2x = 0
2x(2x2 - 1) = 0
x = 0 or 2x2 - 1 = 0 making x = ± √(1/2) or ±√2/2
For x = √2/2, y = (√2/2)2 - 5 = -9/2 so the point is (√2/2, -9/2) (this is the larger x value)
For x = -√2/2, y = (-√2/2)2 - 5 = -9/2 so the point is (-√2/2, -9/2) (this is the smaller x value)
Note: It turns out that the critical point x = 0 is a local maximum.