TwoPencilsApolloniusCircles::usage="The circles of Apollonius are formed by two pencils:The first is the ratio r of the distances from one point P to two fixed points C and D, denoted as follows: P{x, y} | = r The second is the geometric locus of the P{x, y} that form an inscribed angle θ with the fixed points C and D, it is denoted as follows: P{x, y} | CD = θ .References: Public domain; Personal adaptation. ";
PC
PD
P
Development:
Let the fixed points C{-5, 0} and D{5, 0}:
In[]:=
SwatchLegend[{Blue,Red},{"First pencil","Second pencil"}]ShowTable[ContourPlot[+==(+),{x,-10,10},{y,-10,10},ContourStyle{Blue,Thick},MaxRecursion3],{r,Union[-((Range[9]/2-5)/(Range[9]/2+5)),{1},-((Range[9]/2+5)/(Range[9]/2-5))]}],TableContourPlot[Sin[θ](+-25)==10yCos[θ],{x,-10,10},{y,-10,10},ContourStyle{Red,Thick}],θ,0,π,,Graphics[{Black,PointSize[0.01],Point[{-5,0}]}],Graphics[{Black,PointSize[0.01],Point[{5,0}]}],AxesTrue,ImageSize700,PlotRangeAll,AxesOrigin{0,0},AspectRatio->Automatic
2
(x+5)
2
y
2
r
2
(x-5)
2
y
2
x
2
y
π
12
Out[]=
Out[]=