In the circuit below, I have to calculate \$V_u\$.
simulate this circuit – Schematic created using CircuitLab
By applying the voltage divider between the series resistances below, I get $$V_u=V_e\frac{R}{R+R}-V_e\frac{R}{R+R}=0$$ However if I apply the voltage divider to the two elements above, I get $$V_u=V_e\frac{R}{R+\frac{1}{j\omega C}}-V_e\frac{\frac{1}{j\omega C}}{R+\frac{1}{j\omega C}}$$
The solution gives directly:
$$V_u=V_e\frac{R}{R+\frac{1}{j\omega C}}-V_e\frac{R}{R+R}$$
Why? How did it apply the formula?