Hypocycloid::usage="A hypocycloid is a curve drawn by a point P on the circumference C of radius b when C rolls over the inside of a circle with a center in O and radius a. If the starting position of P is (a, 0) and the parameter θ is the angle that forms the vector radius of the circumference with the X axis, the equations are: x = (a - b) Cos[θ] + b Cos​
a-b
b
θ , y = (a - b) Sin[θ] - b Sin​
a-b
b
θ . References: Stewart, James. Cálculo de una variable. Trascendentes tempranas. 7a. Ed, Cengage Learning: pp. 644-645, 2012; Personal.";
In[]:=
Animatea=
2
;b=1;​​g1=Circle[{0,0},a];​​g2=Circle[{(a-b)Cos[θ],(a-b)Sin[θ]},b]/.θt1-0.01;​​g3=Point(a-b)Cos[θ]+bCos
a-b
b
θ,(a-b)Sin[θ]-bSin
a-b
b
θ/.θt1-0.01;​​g4=ParametricPlot(a-b)Cos[θ]+bCos
a-b
b
θ,(a-b)Sin[θ]-bSin
a-b
b
θ,{θ,0,t1},PlotStyleDashed,ColorFunction->"Aquamarine";​​​​Show[{g4,Graphics[{Red,Thick,PointSize[0.018],g3}],Graphics[{Black,g1}],Graphics[{Purple,Thick,g2}]},AxesTrue,AxesOrigin{0,0},BoxRatiosAutomatic,PlotRangeAll,PerformanceGoal"Quality"],{t1,0.01,20π,0.1},AnimationRunningFalse
Out[]=
t1
In[]:=
Animatea=-2;b=1;​​g1=Circle[{0,0},a];​​g2=Circle[{(a-b)Cos[θ],(a-b)Sin[θ]},b]/.θt1-0.01;​​g3=Point(a-b)Cos[θ]+bCos
a-b
b
θ,(a-b)Sin[θ]-bSin
a-b
b
θ/.θt1-0.01;​​g4=ParametricPlot(a-b)Cos[θ]+bCos
a-b
b
θ,(a-b)Sin[θ]-bSin
a-b
b
θ,{θ,0,t1},PlotStyleDashed,ColorFunction->"Aquamarine";​​​​Show[{g4,Graphics[{Red,Thick,PointSize[0.018],g3}],Graphics[{Black,g1}],Graphics[{Purple,Thick,g2}]},AxesTrue,AxesOrigin{0,0},BoxRatiosAutomatic,PlotRangeAll,PerformanceGoal"Quality"],{t1,0.01,40π,0.1},AnimationRunningFalse
Out[]=
t1
Notes:
With a =
2
, b = 1 and θ = 20π: A hypocycloid of many cusps is formed.
With a =  - 2 , b = 1 and θ = 40π: A flower-like epicycloid with many petals is formed.