Determine position of ellipse that contacts two fixed ellipses I'm working in a vector program with three identical ellipses, all of which additionally have the same angle of rotation. The first two are at the same Y coordinate and are tangent. I would like to position the third ellipse such that it is tangent with the first two. How can I calculate the third ellipse's position?

One solution good enough for my end goal has been to start with two circles, rotate a copy of one 90° along the intersection point, and then decrease the eccentricity of all three to the desired form. This gives me the result I'm looking for, but I'd rather know a more elegant and less procedural solution.
If there is no other constraint on the position of the third ellipse other than bitangency, there are infinitely many solutions.

If you have enough with one solution, stretching three tangent circles is certainly the most elegant.
Ellipses are drawn with major axis parallel to x-axis.

The placement of ellipses results in anti-symmetry about lines drawn parallel to x-axis as shown making contact points at $y= \pm b/2, b$ is minor axis as shown around points P and Q.



A vertical positioning of ellipse would be attempted next and a general tilted position later.

When contacting ellipse has major axis vertical

By a property of ellipse connecting slope $\phi$ and angle at elliptic arc $\psi$ eccentricity $e&lt;1$

$$ \frac{\cos \psi_1}{\cos \phi_1}= e\,;  \frac{\cos \psi_2}{\cos \phi_2}= e\tag1 $$

$$ \phi_1+\phi_2=\pi/2,\,\sqrt{\cos \psi_1^2+\cos \psi_1^2} =e \tag2 $$

$$ \frac{\cos \psi_1}{\cos \psi_2}= \tan\phi_2,\, \quad    \frac{\cos \psi_1}{\sin \phi_2}=e\,  \tag3 $$



The detail at contact area is zoomed at right. $F_1F_2$ is of arbitrary length upto a scale factor of construction. The construction has been made to numerical values

$$ \psi_1=1.2,\,\psi_2=0.47, \phi_1=1.1, \,e= 0.798855 $$

in radians for the three ellipses. If the first of 2) is chosen different from $\pi/2$ then the resulting intruding contact ellipse can be computed and drawn to any inclination.