Can You Mathematically Transform Sin(x) to Y=X?

  • Thread starter Thread starter Tido611
  • Start date Start date
AI Thread Summary
It is mathematically possible to transform the sine curve (y=sin x) into a 45-degree line (y=x) using coordinate rotation. By applying the transformation equations with θ set to 45 degrees, the new equation becomes \(\frac{1}{\sqrt{2}}(x' + y') = \sin \left[ \frac{1}{\sqrt{2}}(x' - y') \right]\). The key challenge lies in rearranging this equation to express y' in terms of x'. Care must be taken regarding the direction of rotation, as the correct transformation involves a rotation matrix that accounts for the sine and cosine of the angle. This mathematical approach allows for the desired transformation of the sine function.
Tido611
Messages
79
Reaction score
0
is there a way to turn a sin curve (sin(x)) from a horizontal graph to a 45 degree, y=x graph mathematically
 
Physics news on Phys.org
Yes.

Your initial equation is y=sin x

Put

x = x' \cos \theta - y' \sin \theta
y = x' \sin \theta + y' \cos \theta

where, in your case \theta = 45 degrees.

Then, your new equation is:

\frac{1}{\sqrt{2}}(x' + y') = \sin \left[ \frac{1}{\sqrt{2}}(x' - y') \right]

Now, the only problem you have is to rearrange this so as to write y' in terms of x'.
 
You rotated over an angle of -45° because your minus-sign was placed wrongly. You have to be careful whether it's the coordinate axis which are being rotated or the function itself. In this case, the rotation matrix is:

\left( {\begin{array}{*{20}c}<br /> {\cos \theta } &amp; {\sin \theta } \\<br /> { - \sin \theta } &amp; {\cos \theta } \\<br /> \end{array}} \right)

giving the new equation:

\frac{1}{\sqrt{2}}(y&#039; - x&#039;) = \sin \left[ \frac{1}{\sqrt{2}}(x&#039; + y&#039;) \right]
 
Fair enough.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top