ThirdJapaneseTheorem::usage="Threecirclesaretangenttoastraightlineandbetweenthemselves.Itisfulfilledthat:=+ Which is obtained by successively applying the Pythagoras theorem: + - = + , giving: = 2, then: + - = + and - + - = + , giving: = + and =. The latter can be rewritten as: =+.References: Weisstein, Eric W. Tangent Circles from MathWorld; Personal.;
1
r
3
1
r
1
1
r
2
2
x
2
r
1
r
2
2
)
r
1
r
2
2
)
x
2
r
1
r
2
2
x
3
r
1
r
3
2
)
r
1
r
3
2
)
x
3
x
2
2
)
r
2
r
3
2
)
r
2
r
3
2
)
x
3
2
r
1
r
2
r
1
r
2
r
3
r
1
r
2
2
+
r
1
r
2
1
r
3
1
r
1
1
r
2
In[]:=
TangentCircles[r1_,r2_]:=Module{},Ifr1<0∨r2<0∨r1==0∨r2==0,Print[PasteButton["The radii have to be different to zero and positives"]],Manipulatex2=2;r3=;Show[{ParametricPlot[{r1Cos[θ],r1Sin[θ]+r1},{θ,0,k1},PlotStyle{Black,Thick}],ParametricPlot[{r2Cos[θ]+x2,r2Sin[θ]+r2},{θ,0,k1},PlotStyle{Black,Thick}],ParametricPlot[{r3Cos[θ]+x3,r3Sin[θ]+r3},{θ,0,k1},PlotStyle{Black,Thick}],Graphics[{Black,Thick,InfiniteLine[{{0,0},{x2,0}}]}]},AxesTrue,BoxRatiosAutomatic,AxesOrigin{0,0},ImageSize900,PlotRangeAll],Style["Third Japanese Theorem:",Bold,Medium],{{k1,0.00002,"Value (k1)"},0.00001,2π,0.00001},ControlPlacementTop
r1r2
;x3=2r1
r2
r1
+r2
r1r2
2
r1
+r2
In[]:=
TangentCircles[4,5]
Out[]=

