Mmm... it's tricky. How can i explain it? 🤔
Anyway mathematics comes from μαθηματικά which is plural, so you are right. Sometimes you can use singular in some cases, like for example you could say "this is a mathematic problem", but you could also say "this is a mathematics problem". So... it is tricky...