Suppose you are running on a circle track x^2+y^2=1. You spot a tennis ball on the interior of the circle at point (x,y), so you decide to run over and take it. However, now you want to move back to the circumference of the track at point (a,b) so that the distance moved is equal to the length of the arc that you would have moved had you not taken the ball. It should be safe to say you started at point (1,0).
Dist((1,0) (x,y))+ Dist((x,y) (a,b))=Arc((1,0) (a,b))
It was a real pain for me, as I used 6 equations, 6 unknowns, but are there any other simpler ways?
Having taken a route similar to jonah, I ended up with the following.
I went down a road similar to ??? and ended up with the following.
Given a circle of radius 1.0 and center O.
Point A on the circle at (1,0)
Point P is the ball location at (x,y).
Point B is the point of return to the circle of radius 1 along the radius (not necessarily the best way).
OP = sqrt(x^2 + y^2).
BP = 1 - sqrt(x^2 + y^2).
AP = sqrt[(1 - x)^2 + y^2].
Arc AB = 1(arctan(y/x)) = a
Test case:
a = 60º = 1.047197 rad
Arc AB =(1) 60(Pi)/180 = 1.047197 units.
Est.x = .9(.5( = .45
Est. y = .9(.866) = .7794
AP + PB = 1 - sqrt(x^2 + y^2) + sqrt](1 - x)^2 + y^2] = 1.05394
Est. x = .95(.5) = .475
Est. y = .95(.866) = .8227
AP + PB = 1.02596
Extrapolating, x = .456031 and y = .789845 making AP + PB = 1.047197 units.
<------------------------------------------------------------->
Considering a = 90º = 1.57079 rad
Arc AB = (1)90(pi)/180 = 1.57079 units
AP = sqrt( 1^2 + y^2)
PB = (1 - y)
AP + PB = sqrt(y^2 + 1) + (1 - y)
Est. y = .5
AP + PB = 1.61803
Est. y = .6
AP + PB = 1.566190
Extrapolating, y = .591126 making AP + PB = 1.57079 units.
Clearly, there are an infinite number of solutions
Arc AB = 1.57079 rad
-------------------------------------------------------------->
Refering back to the a = 60º where P(x,y) = (.456031, .789845) satisfies th requirements of the problem, it should be noted that the distance of P inside the circle is a mere .087958 units. It would appear to be easier, and more efficient to stay on the track from point A until a point C is reached, where the distance from point C (just prior to point B) to the derived point P is equal to the distance from point C to point B. Once the ball is retrieved, the runner returns to the track along the mirror image of the path CP on the opposite side of the radial line OB.
There is a solution for every angle a assumed.
The bottom line is what determines the runners choice of when he departs from the circular path to retrieve the ball?
Any thoughts? I did not have much time to spend on this and may have taken a wrong path somehere.