I'm trying to figure out the impedance of a capacitor. My textbook tells me the answer is $\frac{-i}{\omega C}$ and plugging that into the equation does work but I wanted to come up with that answer myself. So I wrote out the equation with what I know:
$$-V_0\omega C\sin\omega t = Re\left( \frac{V_0(\cos\omega t + i\sin\omega t)}{x} \right)$$
This is where I get stuck. I don't know how to isolate $x$ given that it is inside the $Re()$ function. Trying to get somewhere, I tried this:
$$x = \frac{V_0(\cos\omega t + i\sin\omega t)}{-V_0\omega C\sin\omega t} = \frac{\cos\omega t}{-\omega C\sin\omega t} - \frac{i}{\omega C}$$
Seeing $-\frac{i}{\omega C}$ makes me feel like I'm on the right track. Now I just need to figure out how to get rid of the first part of that answer. And I'm guessing that if I knew how to isolate $x$ from the first equation, that would do the trick. So how can I isolate $x$ when it is included in the $Re()$ function?