Choosing an optional subject can be a dicey affair. There are many rules regarding what optional subject to choose for the UPSC civil services exam.
First know the syllabus - Take Printout of the Syllabus. Read syllabus carefully and underline the topics which you know.
Check previous year paper - Take each unit (Example Linear Algebra) and go through previous year paper of all 20 years. You will know the pattern of questions asked by UPSC.
Prepare a schedule - Take a note book and make a schedule to finish the syllabus. If you are taking MORE TIME to finish a Unit, then it means you are wasting your Time.
Learning and Finishing the Syllabus - Many students feel that finishing the syllabus is final stage of preparation. But it is totally wrong, It is just beginning.
Practice - This is Important State, where ALMOST everyone skips . You must spend the next 50% time for Practice.
Solve Previous Year Questions - Questions are repeated in Mathematics optional paper, either Direct or Indirect Form. So it is compulsory to solve previous year questions.
Taking mock tests - In Real exam, you have to Solve around 25 questions in 3 hours . It needs Speed , Accuracy and more important is Choosing the Right question.