Show that $$1+\frac{8q}{1-q}+\frac{16q^2}{1+q^2}+\frac{24q^3}{1-q^3}+\dots=1+\frac{8q}{(1-q)^2}+\frac{8q^2}{(1+q^2)^2}+\frac{8q^3}{(1-q^3)^2}+\dots$$ where $|q|<1$ (q can be complex number).
The hint is to convert the left side to a double series.
One can see that the nominators on the left side is double, triple, ... of those on the right side, while denominators on the right side are square of those on the left side. Both sides have 1, which seems redundant.
I'm not sure how to proceed from these observations. Any advice will be helpful. I can try to solve it with some suggestion and if I still can't solve it I will then explain what puzzles me. If anyone gives the answer I guess I will look at only part of it and work from that.
Edits:
I post my answer inspired by the comments and some other thoughts about the question below.
Is there any other ways to solve it?
I guess one way is to try to decompose the series to product of two absolutely convergent series, another way is to prove in general what makes $\sum\frac{na_n}{b_n}=\sum\frac{a_n}{(b_n)^2}$; or I can check if the equation is valid for all q and see if I can get some ideas.
I try to decompose the series as $\sum \frac{n(\sqrt{q})^n(\sqrt{q})^n}{1+(i\sqrt{q})^{2n}}=\sum \frac{n(\sqrt{q})^n(\sqrt{q})^n}{1-(i\sqrt{q})^{2n}i^2}=\sum\frac{n(\sqrt{q})^n(\sqrt{q})^n}{(1-(i\sqrt{q})^{n}i)(1+(i\sqrt{q})^{n}i)},$ which is a product of two absolutely convergent series. Is it possible to proceed from that?
I guess a problem I encounter here is that I can't introduce another index, or even make the series product of two (perhaps absolutely convergent) series with independent indexes.
(Well, perhaps I should make it more explicit that it's not exactly $$1+\frac{8q}{1+q}+\frac{16q^2}{1-q^2}+\frac{24q^3}{1+q^3}+\dots,$$
which is very similar to the above series. One may not express the denominators elegantly, which I guess is something one naturally pursues, but at least in this case it doesn’t hinder us from finding a nice solution.)
However, the two actually work the same way. (Note that $1/(1-a)$, instead of $1/(1-a^n)$, expands to $1+a+a^2+...$ this is exactly where I get trapped.)
Here is the solution I get by far: $$\frac{q}{1+q}+\frac{2q^2}{1-q^2}+\frac{3q^3}{1+q^3}+\dots =\sum \frac{nq^n}{1-(-)^{n+1}q^n}\\ =\sum_{n=1} nq^n\sum_{m=0} ((-)^{n+1}q^n)^m\\ =\sum_{m=0}\sum_{n=1} (-)^{m}n[(-)^{m}q^{m+1}]^n,$$
which, for $\sum_{n=1} nt^n=\frac{t}{(1-t)^2}$ , equals $$\sum_{m=0} (-)^{m}\frac{(-)^{m}q^{m+1}}{(1-(-)^{m}q^{m+1})^2}=\sum_{m=0} \frac{q^{m+1}}{(1-(-)^{m}q^{m+1})^2},$$
and so we get the result.
In a word, $\frac{1}{1-t}=\sum_{m=0} t^m, \sum_{n=1} nt^n=\frac{t}{(1-t)^2}$, this is how we go from the left side to the right.
The double series is like:
$1\ \ \ \ \ \ (1\ +0\ \ \ \ \ \ \ \ +0^2+...\ \ \ \ \ )$
$8q\ \ \ \ (1\ +q\ \ \ \ \ \ \ \ +q^2+...\ \ \ \ \ )$
$16q^2(1\ +(-q^2)\ +(-q^2)^2...)$
And for the series converges absolutely, the row sum (left side) and the column sum (right side) is the same, which completes the proof.
This example illustrates a condition for switching the order of summing indexes, as well as how to recognize patterns. Also, $nq^n$ and $q^n$ are exactly the two absolute convergent series that I was looking for, though I got the latter not by breaking each item on the left to a prduct, but by using Taylor expansion. From that one can see matrix, indexing, (double) series, (Taylor) expansion are much related.
PS: a hindsight, one may view the problem from another way. The sum of nominator $8nq^n$ in the series is obviously convergent, while the denominator is not, so we may regard it as a limit of infinite series, i.e. a sum, instead of as an item in the series.