Find $\frac{d^2y}{dx^2}$ as a function of $x$ if $\sin y+\cos y=x$
Ok bit confused as my textbook gives the answer to this problem as:
$$\frac{d^2y}{dx^2}=\pm\frac{x}{\sqrt{(2-x^2)^3}}$$
So I just started in this topic so my methods are kinda basic but what I've done so far is differentiate $\sin y+\cos y=x$ to get:
$$\frac{dy}{dx} = \frac{1}{\cos y-\sin y}$$
But I'm not too sure on how to get the second derivative as $\pm\frac{x}{\sqrt{(2-x^2)^3}}$
Any guidance on this one would be much appreciated.
Differentiating implicitly w.r.t $x$ one time yields $$y' = \frac{1}{\cos y - \sin y}$$
Differentiating this implicitly one more time yields $$y'' = \frac{y'(\sin y + \cos y)}{(\cos y - \sin y)^2} = \frac{\sin y + \cos y}{(\cos y- \sin y)^3} = \cdots$$
Combine the above with the fact that $x^2 = 1+2\sin y\cos y \implies 2-x^2 = (\cos y - \sin y)^2$.