Hello guys, I'm having some trouble proving this (it's from the introduction of Apostol's calculus book). Thx

(a) Prove that one of the following two formulas is always right and the other one is sometimes wrong:

(i)

(ii)

(b) State an additional necessary and sufficient condition for the formula which is sometimes incorrect to be always right.