Can $\sin\left(\frac{x+y}{\sqrt{2}}\right)=\frac{y-x}{\sqrt{2}}$be written as a function of $x$

I started by noticing that the derivative of $\sin(x)$ is always between $1$ and $-1$. Therefore if i have a line that intersects the $x$ axis at $45°$ it will aways pass through the line once or be tangent to it. In other words $\sin(x)=\pm x-a$ has only one solution for any $a$ and sign for $x$. So using the rotation matrix to rotate $\sin(x)$ $-45°$ around the origin I get $$\sin\left(\frac{x+y}{\sqrt{2}}\right)=\frac{y-x}{\sqrt{2}}$$ I got stuck on trying to write this as a function of $x$ but i do believe it can be. And as an add on question can the same be done for $\sin(x+y)=y-x$

• if you have an program you can use implicitplot Jun 19, 2017 at 11:15
• I have the plot up on demos and its a cool looking graph, like curvy stairs Jun 19, 2017 at 11:26

Well, one way to approach this is to use the power series expansion around the origin of $$sin(x)=x-\frac{x^3}{3!}+\frac{x^5}{5!}- \cdots$$ A first approximation would then be $$sin(x+y)=x+y-\frac{(x+y)^3}{3!}=y-x$$, which yields $$y=-x+\sqrt[3]{12x}$$. This provides a nice plot (Desmos):
• You are right, for higher powers, it becomes difficult: this amounts to making $y$ explicit in the equation $(x+y)^5-20(x+y)^4+240x=0$. I tried to work with approximations of $(x+y)^k=x^k+ky$ when $y$ is very small. But this leads to functions that are not at all a good approximation of the original one. Jun 21, 2017 at 9:43