Given a convex quadrilateral, and a point inside it, I want to find all ellipses that are inscribed in the quadrilateral and passing through the given point.
My attempt: is outlined in my solution below
Your comments, hints, and answers are highly appreciated.





This is more a comment to provide a quick way to solve numerically the problem.
Given a set of points defining a convex quadrilateral, $P_i$ we can define a set of lines along the sides of this quadrilateral as
$$ \cases{ L_i\to q = P_i + \lambda_i\vec v_i\\ \vec v_i = P_{i+1}-P_i,\ \ i = \{1,2,3\},\ \ \ \vec v_4 = P_1-P_4 } $$
so the ellipse $(q-p_0)\cdot Q\cdot(q-p_0)=1$ should be tangent to all $L_i$. Here $q=(x,y)$ represents a generic point in the plane. The ellipse should verify
$$ (P_i-p_0+\lambda_i\vec v_i)\cdot Q\cdot(P_i-p_0+\lambda_i\vec v_i)-c^2=(P_i-p_0)\cdot Q\cdot(P_i-p_0)+2\lambda_i(P_i-p_0)\cdot Q\cdot\vec v_i +\lambda_i^2\vec v_i\cdot Q\cdot\vec v_i - 1 = 0 $$
due to tangency we should have
$$ \left((P_i-p_0)\cdot Q\cdot\vec v_i\right)^2-\left(\vec v_i\cdot Q\cdot\vec v_i\right)\left((P_i-p_0)\cdot Q\cdot(P_i-p_0)-1\right) = 0 $$
Given now that the ellipses should cross in a point $p$ we have all conditions:
$$ \cases{ \left((P_i-p_0)\cdot Q\cdot\vec v_i\right)^2-\left(\vec v_i\cdot Q\cdot\vec v_i\right)\left((P_i-p_0)\cdot Q\cdot(P_i-p_0)-1\right)=0\\ (q-p_0)\cdot Q\cdot(q-p_0)-1 = 0\\ } $$
$5$ equations on the unknowns $q_{11},q_{12},q_{22},x_0,y_0$. Follows a MATHEMATICA script to perform those operations