Apparently, the symmetry of the vector function causes cancelation (note results for P = Sin and P=Cos, differ by a minus sign)
But, why doesn't n=1 give us the correct result above? Note that the denominator goes to zero as n→1

Limit[pdigen, n→1]


Created by Mathematica  (October 18, 2005) Valid XHTML 1.1!