Do I need an internet connection to use Photomath?

Yes.
To be able to use and download Photomath, you need a working internet connection.