Pretty new to this stuff so apologies if I get some words wrong.
In the book I'm reading they described a parallel circuit with a resistor capacitor and an inductor powered by a current source. They say the capacitor has impedance \$\frac{1}{j\omega C}\$ and the inductor has impedance \$j\omega L\$ and the resistor has resistance \$R_{p}\$. The resonant frequency is when the magnitudes of the two impedances of the capacitor and the inductor are equal i.e. \$\omega_0^2 = \frac{1}{LC}\$. But when I use the parallel resistance formula I get the impedance of the circuit should be
$$\left(\frac{1}{R}_p + j\omega C + \frac{1}{j\omega L}\right)^{-1}$$
But at resonant frequency where \$\omega C = \frac{1}{\omega L}\$ this comes out to \$R_{p}\$, not infinity. So I'm struggling to understand what they're trying to say here.
To clarify some things here's the page from the book I'm reading. (Electronics with Digital and Analog Integrated Circuits by Higgins)