The equation for the hypotrochoid can be found by using the parametric equations, x = a(cos(t) + h cos((a/b)t)) and y = a(sin(t) - h sin((a/b)t)).