I have been attempting to isolate $x$ in this equation and I thought I found a solution, but on graphing this, the output is undefined. I'm sure I've made an error in one of my steps but I have no clue about which one. $$ax=\sin(bx+c)$$
These are the steps I've used during my calculations. $a$, $b$ and $c$ are all positive real numbers. Any help would be greatly appreciated. $$ax=\sin(bx)\cos(c)+\cos(bx)\sin(c)$$ $$\frac{d}{dx}ax=\frac{d}{dx}\sin(bx)\cos(c)+\frac{d}{dx}\cos(bx)\sin(c)$$ $$a=b\cos(c)\cos(bx)-b\sin(c)\sin(bx)$$ $$\frac{a}{b}=\cos(c)\cos(bx)-\sin(c)\sin(bx)$$ $$\frac{a}{b}=\cos(c-bx)$$ $$\arccos(\frac{a}{b})=c-bx$$ $$bx=\arccos(\frac{a}{b})-c$$ $$x=\frac{\arccos(\frac{a}{b})-c}{b}$$