Find the z-transform and sketch pole-zero plot and ROC for
$$x(n)=|n|\left(\frac{1}{2}\right)^{|n|}$$
Right now, i can get the following,
$$x(n)=\begin{cases} n(\frac{1}{2})^n, & n \geq 0 \\ -n(\frac{1}{2})^{-n}, & n \lt 0 \end{cases}$$
Thus, $$n\left(\frac{1}{2} \right)^n u(n) -n\left(\frac{1}{2} \right)^{-n}u(-n-1)$$
And,
$$\left(\frac{1}{2} \right)^n u(n) \underleftrightarrow{z} \frac{1}{1-\frac{1}{2} z^{-1}} ,|z|>\frac{1}{2}$$ $$\left(-2 \right)^n u(-n-1) \underleftrightarrow{z} \frac{1}{1-2 z^{-1}}, |z|<2$$
From here, i know my poles is $\frac{1}{2}$ and $2$. But, the solution that i have still continue working on to differentiate the equtions in z-domain and obtained the following,
$$\frac{\frac{1}{2} z^{-1}}{\left( 1-\frac{1}{2} z^{-1} \right)^{2}}+\frac{2z^{-1}}{\left( 1-2z^{-1} \right)^2} ,\frac{1}{2}<|z|<2$$
Does the differentitaion important and why does it need so?