I'm doing an experiment on resonance. The phase difference between the driving force and the one oscillating is given by $$\varphi=\arcsin\left(\frac{y_1}{y_2}\right)$$ where $y_1$ and $y_2$ are measurements of voltages. At resonance $y_1=y_2$ so $φ=\frac{π}{2}$.
However, I'm trying to calculate the uncertainty of $\varphi$ , I need to take the partial derivative of $\varphi$ with respect to $y_1$ and then $y_2$. In both cases , I end up with something in the form of $$\frac{\partial\varphi}{\partial y_1}\sim\frac{1}{\sqrt{1-\left(\frac{y_1}{y_2}\right)^2}}$$ multiplied by some other constants which don't really matter. So at resonance, my denominator will be zero. Any thoughts?