Wolfram Alpha mentions the following general formula for the area and perimeter of hypocycloids given the number of cusps, n.
My issue is I've seen Wikipedia that references this page but mentions a slightly different formula.
I've checked other references and they mention the same formulas that in Wikipedia. The derivation from the general formula was clearly shown in Wolfram Alpha. So why is there a contradiction?
I've tried applying the same formula for an astroid, where there are 3 cusps. I manage to get the answer.
I don't get why in deltoids the general formula does not work.
https://en.wikipedia.org/wiki/Deltoid_curve#cite_note-Weisstein-2


\begin{equation} x = (b-a)\cos{(t)} + a\cos{\left(\frac{b-a}{a}t\right)} \hspace{1pc} \mbox{ and }\hspace{1pc} y = (b-a)\sin{(t)} - a\sin{\left(\frac{b-a}{a}t\right)}. \end{equation}
For a deltoid, $b = 3a$, so we have
\begin{equation} x = 2a\cos{(t)} + a\cos{\left(2t\right)} \hspace{1pc} \mbox{ and }\hspace{1pc} y = 2a\sin{(t)} - a\sin{\left(2t\right)}. \end{equation}
These are identical to the ones on the MathWorld article, because $b$ in the MathWorld article is identical to $a$ in the Wikipedia article.
– kandb Feb 13 '23 at 08:37