No. But in CSAT paper of prelims exam, you'll get some questions from Math and you have to score 33% marks to qualify preliminary exam. And in Mains exam, you can choose Math as an option subject. Technically or practically Math is not a compulsory subject for IAS exam but as an optional subject, it becomes an important subject.