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"}]ShowTableContourPlot++==r,{x,-10,10},{y,-10,10},ContourStyle{Blue,Thick},PerformanceGoal->"Quality",PlotPoints->60,r,0,5,,TableContourPlotTan[θ]==+-25,{x,-10,10},{y,-10,10},ContourStyle{Red,Thick},PerformanceGoal->"Quality",PlotPoints->60,θ,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
(x-5)
2
y
1
5
10y
2
x
2
y
π
12
Out[]=
Out[]=