It's not just the math. Observations of galaxy rotations point to something that acts like dark matter exerting a gravitational pull. There are other theories that are being explored (Like MOND) but they don't match the actual universe as well as theories that include dark matter. Scientists would love to find a theory that works better or observations that point in a different direction, but so far, no luck. If you've got a better theory, please speak up.