I was wondering why I was having difficulty plotting
∂[LegendreP[l, m, Cos[x]], x]
, where $l\in\mathbb{N}$ and $m\in\{-l,~-l+1,\cdots,l-1,~l\}$ as per usual for this function. I even tried the equivalent Subscript[∂, x]LegendreP[l, m, Cos[x]]
(I am aware that doesn't come out neatly on this page, but that's what copying the code gives after pasting it).
Is it a variable type issue and if so, how can I get around this?
D[LegendreP[L0, m, Cos[x]], x]
$\endgroup$D[LegendreP[l, m, Cos[x]], x]
not∂[LegendreP[l, m, Cos[x]], x]
The 1st form gives-(1/(-1 + Cos[x]^2))((-1 - l) Cos[x] LegendreP[l, m, Cos[x]] + (1 + l - m) LegendreP[1 + l, m, Cos[x]]) Sin[x]
$\endgroup$