
A few minutes ago, I wondered how to write a function whose graph would be a sine curve, but one that undulated above and below the diagonal line y=x, rather than the x-axis, as is usually the case. How to accomplish such a 45 degree counterclockwise rotation?
Well, first, I abandoned degrees, set Geometer’s Sketchpad to radians, and then simply constructed plots for both y = x and y = sin(x). Next, I added them together. The result is the green curve (and equation) you see above.
This only half-solves the problem. Does it undulate above and below y=x? Yes, it does. However, if you rotate this whole thing, clockwise, one-eighth of a complete turn, so that you are looking at the green curve going along the x-axis, you’ll notice that it is not a true sine curve, but a distorted one. Why? Because it was generated by adding y-values along the original x-axis, not by a true rotation.
I’m not certain how to correct for this distortion, or otherwise solve the problem. If anyone has a suggestion, please leave it in a comment. [Note: an astute follower of this blog has now done exactly that, so I refer the reader to the comments for the rest of the story here.]