A friend of mine taught me the following question. He said he found it in a book a few years ago. Though I've tried to solve it, I'm facing difficulty.
Question: You know on a plane there is an invisible circle whose radius is less than or equals $1$. Fortunately, you have already found that the lengths of the chords of a circle by two lines $l_1, l_2$ are $d_1, d_2$ $(2\gt d_1\ge d_2\gt0)\ $respectively. By drawing another line, let's find this circle. If the line you'll draw crosses a circle at two points, then you'll get the length of the chord of a circle by the line. If the line you'll draw and a circle come in contact with each other, then you'll get the coordinates of the point of contact instead of getting $0$ as the length of the chord. If the line you'll draw neither crosses nor comes in contact with any circle, then you'll be able to draw another line just once more. Find the coordinates of the center of a circle.
This is all the question says. Could you give me how to find the coordinates?
The situation so far: The $l_1\parallel l_2$ case : This case has been already solved (see Blue's answer below).
The $l_1\not \parallel l_2$ case : This case has not been solved yet.
Supposing that $l_1:y=x\tanθ$, $l_2:y=-x\tanθ$ and $l_3:y=0$ ($l_4:x=0$ if needed) for $0<θ<\pi/2$, then we can get two possible coordinates as the center of a circle. However, it seems difficult to decide just one coodinates because each line is symmetric about the origin.
Hence, a new line, which is not $y=0$, is needed as $l_3$.
My approach: Let each of $l_{1,d+}, l_{1,d-}, l_{2,D+}, l_{2,D-}$ be the followings:$$l_{1,d+}:y=x\tanθ+\frac{d}{\cosθ}, l_{1,d-}:y=x\tanθ-\frac{d}{\cosθ}$$ $$l_{2,D+}:y=-x\tanθ+\frac{D}{\cosθ}, l_{2,D-}:y=-x\tanθ-\frac{D}{\cosθ},$$ where $D=\sqrt{d^2+\frac{{d_1}^2-{d_2}^2}{4}}.$
Note that each distance between $l_1$ and $l_{1,d\pm}$ is $d$, and that each distance between $l_2$ and $l_{2,D\pm}$ is $D$. Also, note the following: $$\sqrt{\left(\frac{d_1}{2}\right)^2+d^2}=\sqrt{\left(\frac{d_2}{2}\right)^2+D^2}.$$ This means that the radius of a circle which crosses $l_1$ equals the radius of a circle which crosses $l_2$. Note that $d$ must satisfy the following:$$0\le d\le \sqrt{1-\frac{{d_1}^2}{4}}.$$
Then, Letting each of the intersections of $l_{1,d-}$ and $l_{2,D+}$, $l_{1,d+}$ and $l_{2,D+}$, $l_{1,d+}$ and $l_{2,D-}$, $l_{1,d-}$ and $l_{2,D-}$ be $P_{-+}$, $P_{++}$, $P_{+-}$, $P_{--}$ respectively, we can represent these as the follwoings: $$P_{-+}\ \left(\frac{d+D}{2\sinθ}, \frac{-d+D}{2\cosθ}\right), P_{++}\ \left(\frac{-d+D}{2\sinθ}\frac{d+D}{2\cosθ}\right),$$$$P_{+-}\ \left(\frac{-d-D}{2\sinθ}, \frac{d-D}{2\cosθ}\right), P_{--}\ \left(\frac{d-D}{2\sinθ}, \frac{-d-D}{2\cosθ}\right).$$
Since each radius is $\sqrt{d^2+\frac{{d_1}^2}{4}}$, we can represent the circles by $d$ as the followings: $$C_{-+}:\left(x-\frac{d+D}{2\sinθ}\right)^2+\left(y-\frac{-d+D}{2\cosθ}\right)^2=d^2+\frac{{d_1}^2}{4}$$ $$C_{++}:\left(x-\frac{-d+D}{2\sinθ}\right)^2+\left(y-\frac{d+D}{2\cosθ}\right)^2=d^2+\frac{{d_1}^2}{4}$$ $$C_{+-}:\left(x-\frac{-d-D}{2\sinθ}\right)^2+\left(y-\frac{d-D}{2\cosθ}\right)^2=d^2+\frac{{d_1}^2}{4}$$ $$C_{--}:\left(x-\frac{d-D}{2\sinθ}\right)^2+\left(y-\frac{-d-D}{2\cosθ}\right)^2=d^2+\frac{{d_1}^2}{4}.$$
Changing $d$ to $-d$ in $C_{++}$ gives $C_{-+}$ and changing $d$ to $-d$ in $C_{+-}$ gives $C_{--}$. Hence, we can represent each possible invisible circle by $d$ as the following: $$C_{\pm+}:\left(x-\frac{-d+D}{2\sinθ}\right)^2+\left(y-\frac{d+D}{2\cosθ}\right)^2=d^2+\frac{{d_1}^2}{4}$$ $$C_{\pm-}:\left(x-\frac{-d-D}{2\sinθ}\right)^2+\left(y-\frac{d-D}{2\cosθ}\right)^2=d^2+\frac{{d_1}^2}{4}$$ for $d$ which satisfies the following: $$-\sqrt{1-\frac{{d_1}^2}{4}}\le d\le \sqrt{1-\frac{{d_1}^2}{4}}.$$
In addition to this, letting $(x,y)$ be the center of each circle, we get the following: $$xy=\frac{{d_1}^2-{d_2}^2}{16\cosθ\sinθ}.$$
This shows that the center of each possible invisible circle is on this hyperbola if $d_1-d_2>0$.
I've tried to get a special line as $l_3$, but I'm facing difficulty.
update: I crossposted to MO.
https://mathoverflow.net/questions/140435/finding-an-invisible-circle-by-drawing-another-line
To avoid some subscripts and fractions, I define $a := \frac{1}{2}d_1$ and $b := \frac{1}{2}d_2$. Also, I'll take the (unknown) center of the circle to be $(h, k)$, and its (unknown) radius to be $r$.
The $\ell_1 \parallel \ell_2$ Case. (Solved!)
With an appropriate change of variables, we can take $\ell_1$ to be $y = t$, and $\ell_2$ to be $y =-t$, for some $t > 0$.
The distance from $(h,k)$ to $\ell_1$ (or $\ell_2$) is $|k-t|$ (respectively, $|k+t|$), and Pythagoras tells us $$a^2 + |k-t|^2 = r^2 = b^2 + |k+t|^2$$ We can solve the "outer" equality to get $$k = \frac{1}{4t}\left( a^2 - b^2 \right)$$ so that $$r = \frac{1}{4t}\sqrt{\left( \left( a - b \right)^2 + 4 t^2 \right) \left( \left( a + b \right)^2 + 4 t^2 \right)}$$
Now knowing $k$ and $r$, we're guaranteed that the line $y=k+r$ will be tangent to the circle. Taking this as our $\ell_3$, the puzzle reports the point-of-tangency's coordinates, the first of which is our sought-after $h$. The center of the circle has been found!
The $\ell_1 \not\parallel \ell_2$ Case. (Incomplete.) Edited to remove false starts.
Here, we can take $\ell_1$ to be $y =x\tan\theta$, and $\ell_2$ to be $y=-x \tan\theta$, for some $0 < \theta < \pi/2$.
The distance from $(h,k)$ to $\ell_1$ (or $\ell_2$) is $|h \sin\theta - k\cos\theta|$ (respectively, $|h\sin\theta+k\cos\theta|$), so that $$\begin{align} a^2 &= r^2 - \left( h \sin\theta - k \cos\theta \right)^2 \qquad (1)\\ b^2 &= r^2 - \left( h \sin\theta + k \cos\theta \right)^2 \qquad (2) \end{align}$$
Note that subtracting $(2)$ from $(1)$ gives $$h k =\frac{a^2 - b^2}{4\cos\theta\sin\theta} \qquad (\star)$$ so that the centers of potential solution circles lie on a rectangular hyperbola.
Now, $(1)$ and $(2)$ are but two equations in three unknowns $(h, k, r)$, so that we have a one-parameter family of possible solutions. Here's a diagram of a typical family (with two clear sub-families we'll call $L$(eft) and $R$(ight)):
The four largest circles have radius $1$; the two smallest circles have radius $a$. The circles with radius $r$ have centers satisfying $(\star)$: $$(h, k) = \left( \frac{\pm_1\sqrt{r^2-b^2}\pm_2\sqrt{r^2-a^2}}{2\sin\theta}, \frac{\pm_1\sqrt{r^2-b^2}\mp_2\sqrt{r^2-a^2}}{2\cos\theta} \right)$$
There's no common tangent to help us, so the challenge would appear to be to take $\ell_3$ a line that cuts through $R$ (missing $L$) in such a way that its intersection with each circle creates a distinct chord-length. (And $\ell_4$ would be the corresponding line through $L$.)
So, let's try.
Let $\ell_3$ be the line with equation $x \sin\phi - y \cos\phi + p = 0$. The distance from $(h,k)$ to the line is $|h \sin\phi - k \cos\phi + p|$, and if the line cuts a chord of length $2c$ in the circle with center $(h,k)$ and radius $r$, then $$c^2 = r^2 - ( h \sin\phi - k \cos\phi + p )^2 \qquad (3)$$
Eliminating $r$ and $k$ from $(1)$, $(2)$, $(3)$ gives this quartic in $h$: $$\begin{align} 0 &= 16 h^4 \sin^2\theta \cos^2\theta \left( \sin^2\phi - \sin^2\theta \right) + 32 h^3 p \sin^2\theta \cos^2\theta \sin\phi \\ &- 8 h^2 \sin\theta \cos\theta \left((a^2-b^2) \sin\phi \cos\phi + (a^2+b^2-2c^2-2p^2) \sin\theta \cos\theta \right) \\ &- 8 h p \sin\theta \cos\theta \cos\phi \left( a^2 - b^2 \right) - \left( a^2 - b^2 \right)^2 \left(\sin^2\phi - \sin^2\theta \right) \qquad (4) \end{align}$$
From here, the challenge is to choose $\phi$ and $p$ so that, for every semi-chord length $c$ in the interval $I := [0,1]$ (or possibly a sub-interval thereof), there is a unique root $h$ in the interval $$H := \left[\frac{\sqrt{1-b^2}-\sqrt{1-a^2}}{2\sin\theta}, \frac{\sqrt{1-b^2}+\sqrt{1-a^2}}{2\sin\theta}\right]$$ and, moreover, every $h\in H$ is that unique root for some $c \in I$ (or the sub-interval thereof).
After considerable effort, I have not been able to meet this challenge. Here are some notes dismissing some convenient cases:
Neither a vertical line nor a horizontal line leads to a "universal" solution. The width of interval $H$ is $\sqrt{1-a^2}/\sin\theta$. For small enough $\theta$, this width exceeds $2$, so that no vertical line simultaneously hits the left-most and right-most unit circles in $R$. Likewise, large enough $\theta$ thwarts any horizontal line.
Switching from vertical to horizontal (or vice-versa) after a certain threshold won't work, either. For small enough $\theta$, the $L$'s left-most (unit) circle has its center very-nearly on the $x$-axis. For certain values of $a$ and $b$, a horizontal $\ell_3$ missing that circle will also miss smaller members of $R$.
$\phi = \theta$ isn't a "universal" solution. For some values of $(a,b,\theta)$, lines through through $R$ hit $L$; for other values, as in the horizontal/vertical cases, the circles of a family can get separated enough to avoid simultaneous contact with any line with the given slope.
$\phi = -\theta$ doesn't work Here, $\ell_3$ runs parallel to $\ell_2$, which we know hits the unit-circle members (in fact, all members) of $R$ in identical-length chords; thus, $\ell_3$ must also meet those circles in identical-length chords, preventing chord length from determining a unique circle.
Additional thoughts on the non-parallel case.
As mentioned, every $h\in H$ must correspond to some $c$, and must be a root of $(4)$ with that $c$-value. Let the maximum and minimum endpoints of $H$ be $h_0$ and $h_1$, and let the corresponding $c$s be $c_0$ and $c_1$. (Observe that $(c_0,c_1) = (0,1)$ or $(1,0)$ represents the cases in which line $\ell_3$ is tangent to one of the unit circles in $R$ while passing through the center of the other.)
If there is a "universal" choice for $\phi$ and $p$ that works for particular parameters $(a,b,\theta)$ ---that is, if there are no "thresholds" at which we'd switch from one choice to another--- then by substituting $h=h_i$ and $c=c_i$ into $(4)$, we get two equations that we should be able to solve for $\phi$ and $p$.
So, let's try that.
I'll start by using these substitutions $$a^2 - b^2 = 4 \sin^2\theta h_0 h_1 \qquad a^2 + b^2 = 2\left( 1 - (h_0^2+h_1^2)\sin^2\theta \right)$$ to write $(4)$ thusly $$\begin{align} 0 &= h^4 \cos^2\theta \left( \sin^2\phi - \sin^2\theta \right) +2 h^3 p \cos^2\theta \sin\phi \\ &-h^2 \cos\theta \left( 2 h_0 h_1 \sin\theta \sin\phi \cos\phi + \cos\theta \left( 1 - c^2 - p^2 - (h_0^2+h_1^2) \sin^2\theta \right) \right) \\ &-2 h h_0 h_1 p \sin\theta \cos\theta \cos\phi - h_0^2 h_1^2 \sin^2\theta \left( \sin^2\phi - \sin^2\theta \right) \qquad (4^\prime) \end{align}$$ Also, I'll define first-quadrant angles $\gamma_0$ and $\gamma_1$ via $$\sin\gamma_0 = c_0 \qquad \sin\gamma_1 = c_1$$ Then, substituting $h=h_0$, $c=\sin\gamma_0$ and $h=h_1$, $c=\sin\gamma_1$ yields $$\begin{align} h_0 \cos\theta \sin\phi - h_1 \sin\theta \cos\phi + p \cos\theta &= \pm \cos\theta \sin\gamma_0 &(5a)\\ h_0 \sin\theta \cos\phi - h_1 \cos\theta \sin\phi - p \cos\theta &= \pm \cos\theta \sin\gamma_1 &(5b) \end{align}$$ Adding $(5b)$ from $(5a)$ gives this equation for $\phi$: $$\sin(\phi+\theta) = \frac{\pm_1\;\cos\theta}{h_1-h_0}\left(\sin\gamma_0\;\pm_2 \;\sin\gamma_1\right) = \frac{\pm_1\;\sin 2\theta}{\sqrt{1-a^2}}\sin\frac{\gamma_0 \pm_2 \gamma_1}{2}\cos\frac{\gamma_0 \mp_2 \gamma_1}{2} \qquad (6)$$ The two sign choices lead to four candidate values of $\phi$, which can be back-subsituted into the above equations to find $p$. Bear in mind that $\gamma_0$ and $\gamma_1$ (correspondingly, $c_0$ and $c_1$) aren't specified; adjusting their values undoubtedly affects the viability of the solution.
Edit. Let's take this a little further.
To avoid rampant "$\pm$"s in the formulas, define
$$\delta_0 = \pm_0\;\gamma_0 \qquad \delta_1 = \pm_1\;\gamma_1$$
Now, we can solve $(5a)$ and $(5b)$ as a linear system in $\sin\phi$ and $\cos\phi$, getting $$\begin{align} \cos\phi &= \frac{\cos\theta}{\sin\theta}\frac{(h_1-h_0)p - h_0\sin\delta_1 - h_1\sin\delta_0}{h_1^2-h_0^2} \\[6pt] \sin\phi &= -\frac{(h_1-h_0)p + h_0\sin\delta_0 + h_1\sin\delta_1}{h_1^2-h_0^2} \end{align}$$ The relation $\cos^2\phi + \sin^2\phi = 1$ then gives us this quadratic equation in $q := p ( h_1 - h_0 )$: $$\begin{align} 0 = q^2 &+ 2 q \left( \sin^2\theta ( h_0 \sin\delta_0 + h_1 \sin\delta_1 ) - \cos^2\theta(h_0\sin\delta_1+h_1\sin\delta_0 )\right) \\ &+ \sin^2\theta \left( h_0 \sin\delta_0 + h_1 \sin\delta_1 \right)^2 + \cos^2\theta \left( h_0 \sin\delta_1 + h_1\sin\delta_0 \right)^2 - \sin^2\theta \left(h_1-h_0\right)^2 \end{align}$$ with this discriminant $$\Delta := 4\left(h_0 + h_1 \right)^2 \sin^2\theta \left( (h_1-h_0)^2 - \cos^2\theta (\sin\delta_0 + \sin\delta_1 )\right)$$
Introducing first quadrant angles $\alpha$ and $\beta$ such that $$\sin\alpha = a \qquad \sin\beta = b$$ whence $$h_0 = \frac{\cos\beta - \cos\alpha}{2\sin\theta} \qquad h_1 = \frac{\cos\beta + \cos\alpha}{2\sin\theta}$$ we can ultimately write $$\begin{align} 2 p \cos\alpha &= \cos\alpha (\sin\delta_0 - \sin\delta_1 ) + \cos 2\theta\cos\beta(\sin\delta_0 + \sin\delta_1 ) \\[6pt] &\pm \cos\beta\sqrt{4\cos^2\alpha-\sin^2 2\theta (\sin\delta_0 + \sin\delta_1)^2 } \end{align}$$
Because the discriminant must be non-negative, we have this condition on $\delta_0$ and $\delta_1$: $$|\sin\delta_0 + \sin\delta_1| \leq \frac{2\cos\alpha}{\sin 2\theta} \qquad (\star\star)$$ This turns out to be equivalent to the requirement in $(6)$ that $|\sin(\phi+\theta)| \leq 1 $. Consequently, if we were to choose $\delta_0$ and $\delta_1$ in such a way as to make the discriminant vanish (which may or may not be possible), then we would have $\sin^2(\phi+\theta) = 1$, whereupon $\phi = \pi/2 - \theta$. In the case $\theta = \pi/4$, then, our line $\ell_3$ would coincide with $\ell_1$, giving no new information about our target circle. I take this to suggest that we shouldn't allow the discriminant to vanish in general.
Observe that $(\star\star)$ rules-out being able to choose $c_i \in \{0,1\}$ in some cases. So, the "take $\ell$ tangent to one unit circle and containing the center of the other" strategy won't always work.
Warning. Double-check all equations. I previously messed-up some signs; moreover, the LaTeX editing on this page has gotten so jerky that typos are very likely.