Why does finding the time of a brachistochrone use the equations of a cycloid?

210 Views Asked by At

The proof on Calculating the time of a Brachistochrone uses the equations of a cycloid. But the equations show a cycloid that looks like enter image description here

But I thought that the brachistochrone was dependent on gravity. So shouldn't the cycloid be upsidedown? Or does it not matter?