Inversive Geometry
Introduction
Inversion transformation is applicable when the problem involves multiple tangent relationships among circles/lines. By solving the problem in the inversion space using the properties of inversion transformation, computations can be greatly simplified.
Definition
Given an inversion center point \(O\) and an inversion radius \(R\). If points \(P\) and \(P'\) on the plane satisfy:
- Point \(P'\) lies on the ray \(\overrightarrow{OP}\)
- \(|OP| \cdot |OP'| = R^2\)
Then points \(P\) and \(P'\) are called inverse points of each other.
Explanation
The following diagram shows the inversion of a point \(P\) on the plane:

Properties
-
The inverse point of a point outside circle \(O\) lies inside circle \(O\), and vice versa; the inverse point of a point on circle \(O\) is itself.
-
A circle \(A\) not passing through point \(O\) has an inverse figure that is also a circle not passing through point \(O\).

-
Let the radius of circle \(A\) be \(r_1\), and the radius of its inverse circle \(B\) be \(r_2\). Then:
\[ r_2 = \frac{1}{2}\left(\frac{1}{|OA| - r_1} - \frac{1}{|OA| + r_1}\right) R^2 \]
Proof

According to the definition of inversion transformation:
\[ \begin{aligned} |OC|\cdot|OC'| &= (|OA|+r_1)\cdot(|OB|-r_2) = R^2 \\ |OD|\cdot|OD'| &= (|OA|-r_1)\cdot(|OB|+r_2) = R^2 \end{aligned} \]Eliminate \(|OB|\) and solve the equations.
-
Let the coordinates of point \(O\) be \((x_0, y_0)\), point \(A\) be \((x_1, y_1)\), and point \(B\) be \((x_2, y_2)\). Then:
\[ \begin{aligned} x_2 &= x_0 + \frac{|OB|}{|OA|} (x_1 - x_0) \\ y_2 &= y_0 + \frac{|OB|}{|OA|} (y_1 - y_0) \end{aligned} \]where \(|OB|\) can be calculated during the process of finding \(r_2\) above.
-
-
A circle \(A\) passing through point \(O\) has an inverse figure that is a line not passing through point \(O\). This is because a point on circle \(A\) infinitely close to point \(O\) has an inverse point infinitely far from point \(O\).

-
If two figures are tangent and the tangent point is not point \(O\), then their inverse figures are also tangent.
Example Problems
「ICPC 2013 Hangzhou Site」Problem of Apollonius
Problem Summary
Find all circles that pass through a given point outside two given circles and are tangent to both circles.
Solution
First consider an analytic geometry approach, which seems difficult to solve.
Consider performing an inversion with the point that must be passed through as the inversion center (inversion radius arbitrary). The inverse figure of the desired circle is a line (using property \(3\)), and it is tangent to the inverse figures of the two given circles (property \(2\)) (property \(4\)).
Thus, after inversion transformation, the problem becomes: find all common tangents of the two circles.
After finding the common tangents, invert them back to the original plane.
Sample Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | |
Exercises
「ICPC 2017 Nanning Site Online Contest」Finding the Radius for an Inserted Circle
「CCPC 2017 Online Contest」The Designer
References and Further Reading
本页面最近更新:,更新历史
发现错误?想一起完善? 在 GitHub 上编辑此页!
本页面贡献者:OI-wiki
本页面的全部内容在 CC BY-SA 4.0 和 SATA 协议之条款下提供,附加条款亦可能应用