Problem 4
Prove the following equality for any natural number and any real number for which no denominator vanishes (that is, for and integer ):
Step 4 of 5: Confirm no term is undefined
In plain words
The domain restriction stated in the problem is not an extra hypothesis to prove — it is precisely the condition needed for every division used in the proof to be legal.
Detailed analysis
Every step used for (to divide by ) and for (so the cotangents are defined). The restriction on given in the problem excludes exactly the values where some is a multiple of , which is precisely what makes every denominator above nonzero.