Given expression: D2=(x−7)2+(y−4)2
Where the point (x,y) lies on the curve:
y=8x−x2−12⟹y2=−(x2−8x+12)
(x−4)2+y2=4(y≥0)
This represents a semi-circle with center C(4,0) and radius R=2.
Distance from center C(4,0) to the point P(7,4):
PC=(7−4)2+(4−0)2=5
The nearest point on the semi-circle is A, lying on the line segment CP:
dmin=PA=PC−R=5−2=3⟹m=dmin2=9
The farthest point on the semi-circle is the left boundary endpoint B(2,0):
dmax2=PB2=(2−7)2+(0−4)2=25+16=41⟹M=dmax2=41
M2−m2=412−92=1681−81=1600