Malfatti's problem is to find three circles lying inside the reference triangle such that they are tangent to one another and each of them is tangent to two of the triangle sides. For any triangle, there exists a unique solution of Malfatti's problem. The three circles in the solution is called the Malfatti circles.
Derousseau's generalization is obtained from Malfatti's problem by dropping the condition that the circles lie inside the reference triangle. More precisely, a solution of the generalized problem for a triangle \(ABC\) is a triplet of circles \(\mathscr{C}_1\), \(\mathscr{C}_2\), \(\mathscr{C}_3\) such that the following hold:
It is known that, for any triangle, there are exactly 32 solutions.
Click each triangle for details.
There are many formulae known to solve Derousseau's generalization of Malfatti's problem.
Let a triplet of circle \(\mathscr{C}_1\), \(\mathscr{C}_2\), \(\mathscr{C}_3\)
be a solution for a triangle \(ABC\).
The centers \(A^\prime\), \(B^\prime\), \(C^\prime\)
of \(\mathscr{C}_1\), \(\mathscr{C}_2\), \(\mathscr{C}_3\),
respectively, can be determined by the following equations where
\(\alpha\), \(\beta\), \(\gamma\)
and \(X\)
are designated in one of the 32 rows in Table 1.
Click

\(\overrightarrow{AA^{\prime}}=\dfrac{\left(1+\tan\dfrac{\beta}{4}\right)\left(1+\tan\dfrac{\gamma}{4}\right)}{2\left(1+\tan\dfrac{\alpha}{4}\right)}\overrightarrow{AX}\),  \(\overrightarrow{BB^\prime}=\ldots\),  \(\overrightarrow{CC^\prime}=\ldots\). 

\(\overrightarrow{AA^{\prime}}=\dfrac{\cos\dfrac{\alpha}{4}\cos\dfrac{\pi{\beta}}{4}\cos\dfrac{\pi{\gamma}}{4}}{\sqrt{2}\cos\dfrac{\pi{\alpha}}{4}\cos\dfrac{\beta}{4}\cos\dfrac{\gamma}{4}}\overrightarrow{AX}\),  \(\overrightarrow{BB^\prime}=\ldots\),  \(\overrightarrow{CC^\prime}=\ldots\). 

\(\overrightarrow{AA^{\prime}}=\dfrac{1{\sin\dfrac{\alpha}{2}}+{\sin\dfrac{\beta}{2}}+{\sin\dfrac{\gamma}{2}}+{\cos\dfrac{\alpha}{2}}+{\cos\dfrac{\beta}{2}}+{\cos\dfrac{\gamma}{2}}}{2\left(1+{\sin\dfrac{\alpha}{2}}+{\cos\dfrac{\beta}{2}}+{\cos\dfrac{\gamma}{2}}\right)}\overrightarrow{AX}\),  \(\overrightarrow{BB^\prime}=\ldots\),  \(\overrightarrow{CC^\prime}=\ldots\). 
The barycentric coodinates are expressed as follows.
Click

\(A^{\prime}=\left(\dfrac{2\left(1+\cos\dfrac{\beta}{2}\right)\left(1+\cos\dfrac{\gamma}{2}\right)}{1+\cos\dfrac{\alpha}{2}}1\right){\sin{\alpha}}:{\sin{\beta}}:{\sin{\gamma}}\),  \(B^\prime=\ldots:\ldots:\ldots\),  \(C^\prime=\ldots:\ldots:\ldots\). 

\(A^{\prime}=\left(4\sec^2\dfrac{\alpha}{4}\cos^2\dfrac{\beta}{4}\cos^2\dfrac{\gamma}{4}1\right){\sin{\alpha}}:{\sin{\beta}}:{\sin{\gamma}}\),  \(B^\prime=\ldots:\ldots:\ldots\),  \(C^\prime=\ldots:\ldots:\ldots\). 
Guy  L & R  \(\alpha\)  \(\beta\)  \(\gamma\)  \(X\) 

0  (000)  \(A\)  \(B\)  \(C\)  \(I\) 
1  (002)  \(A\)  \(B\)  \(2\piC\)  \(I\) 
2  (020)  \(A\)  \(2\piB\)  \(C\)  \(I\) 
3  (022)  \(A\)  \(2\pi+B\)  \(2\pi+C\)  \(I\) 
4  (200)  \(2\piA\)  \(B\)  \(C\)  \(I\) 
5  (202)  \(2\pi+A\)  \(B\)  \(2\pi+C\)  \(I\) 
6  (220)  \(2\pi+A\)  \(2\pi+B\)  \(C\)  \(I\) 
7  (222)  \(2\piA\)  \(2\piB\)  \(2\piC\)  \(I\) 
0a  (011)  \(A\)  \(\piB\)  \(\piC\)  \(I_A\) 
1a  (013)  \(A\)  \(\pi+B\)  \(3\pi+C\)  \(I_A\) 
2a  (031)  \(A\)  \(3\pi+B\)  \(\pi+C\)  \(I_A\) 
3a  (033)  \(A\)  \(3\piB\)  \(3\piC\)  \(I_A\) 
4a  (211)  \(2\pi+A\)  \(\pi+B\)  \(\pi+C\)  \(I_A\) 
5a  (213)  \(2\piA\)  \(\piB\)  \(3\piC\)  \(I_A\) 
6a  (231)  \(2\piA\)  \(3\piB\)  \(\piC\)  \(I_A\) 
7a  (233)  \(2\pi+A\)  \(3\pi+B\)  \(3\pi+C\)  \(I_A\) 
0b  (101)  \(\piA\)  \(B\)  \(\piC\)  \(I_B\) 
1b  (103)  \(\pi+A\)  \(B\)  \(3\pi+C\)  \(I_B\) 
2b  (121)  \(\pi+A\)  \(2\pi+B\)  \(\pi+C\)  \(I_B\) 
3b  (123)  \(\piA\)  \(2\piB\)  \(3\piC\)  \(I_B\) 
4b  (301)  \(3\pi+A\)  \(B\)  \(\pi+C\)  \(I_B\) 
5b  (303)  \(3\piA\)  \(B\)  \(3\piC\)  \(I_B\) 
6b  (321)  \(3\piA\)  \(2\piB\)  \(\piC\)  \(I_B\) 
7b  (323)  \(3\pi+A\)  \(2\pi+B\)  \(3\pi+C\)  \(I_B\) 
0c  (110)  \(\piA\)  \(\piB\)  \(C\)  \(I_C\) 
1c  (112)  \(\pi+A\)  \(\pi+B\)  \(2\pi+C\)  \(I_C\) 
2c  (130)  \(\pi+A\)  \(3\pi+B\)  \(C\)  \(I_C\) 
3c  (132)  \(\piA\)  \(3\piB\)  \(2\piC\)  \(I_C\) 
4c  (310)  \(3\pi+A\)  \(\pi+B\)  \(C\)  \(I_C\) 
5c  (312)  \(3\piA\)  \(\piB\)  \(2\piC\)  \(I_C\) 
6c  (330)  \(3\piA\)  \(3\piB\)  \(C\)  \(I_C\) 
7c  (332)  \(3\pi+A\)  \(3\pi+B\)  \(2\pi+C\)  \(I_C\) 
Sometime before 1773 (precise date unknown), Naonobu Ajima (1732?–1798), who was a samurai, or a member of the military class in old Japan, solved Malfatti's problem by giving a procedure to compute the diameters of the Malfatti circles from the side lengths of the reference triangle.
In 1803, Gianfrancesco Malfatti (1731–1807) posed the Malfatti problem and solved it.
In 1895, Derousseau generalized Malfatti's problem and found 32 generalized solutions. He considered all of the 32 cases and obtained formulae for each ab initio.
In 1904, Pampuch obtained another proof. It gives all solutions concurrently by solving a single system of equations.
In 1930, Lob and Richmond gave all solutions systematically by replacing the sizes of the angles in a set of formulae which solves the original problem.
In 2007, Guy pointed out that the existence of the 32 solutions is an application of the lighthouse theorem.