Sine/Cosine behaving like a linear function

Click For Summary

Discussion Overview

The discussion revolves around the mathematical properties of sine and cosine functions, particularly in the context of simple harmonic motion and their representation as functions of time. Participants explore whether these functions can be represented by linear functions or if they exhibit linear-like behavior under certain conditions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant notes that sine and cosine functions derived from potential and spring force energy equations are similar, prompting a question about their representation as linear functions.
  • Another participant argues that sine and cosine cannot be represented by linear functions, referencing their series representation.
  • A different participant explains that sine and cosine are periodic functions and provides examples of their relationships through phase shifts.
  • One participant suggests that while sine and cosine are not linear, they can be approximated by linear functions over small intervals, citing the Maclaurin series.
  • Another participant introduces Euler's formula as a way to represent the relationship between sine and cosine, suggesting it captures their "back and forth" behavior.
  • A participant discusses the relationship between kinetic and potential energy in simple harmonic motion, explaining how these energies relate to sine and cosine functions and their squared forms.

Areas of Agreement / Disagreement

Participants express differing views on whether sine and cosine can be represented as linear functions. Some argue against it, while others suggest approximations may be possible under certain conditions. The discussion remains unresolved regarding the possibility of a linear representation.

Contextual Notes

Participants reference mathematical concepts such as series representations, phase shifts, and energy equations, which may depend on specific definitions and assumptions that are not fully explored in the discussion.

Who May Find This Useful

This discussion may be of interest to those studying mathematics, physics, or engineering, particularly in the context of harmonic motion and the properties of trigonometric functions.

Neck
Messages
2
Reaction score
0
Hello all. After completing a problem in which we derived the formulas for potential and spring force energy as functions of time, with simple harmonic motion I noticed the equations are EXACTLY the same, but with sine and cosine switched. The equations were:

A sin^2(pi * t)
A cos^2(pi * t)

I apologize for this awful format, I want to learn the math script used on this website, but I forgot the name (would be appreciated also).

Anyways here is a graph of the aforementioned functions.
graph of potential energy and spring force energy.png


My question: Is there a way to represent this back and forth behavior with a linear function or any other way?
 

Attachments

  • graph of potential energy and spring force energy.png
    graph of potential energy and spring force energy.png
    4.5 KB · Views: 2,021
Mathematics news on Phys.org
Both functions are not linear.

If two functions f,g are shifted by a fixed amount with respect to each other, then f(x)=g(x+c) for some constant c. Here ##\cos(x)=\sin(x+\frac \pi 2)##, for example. Sine and cosine are also periodic, so you have additional relations like ##\sin(x)=\sin(x+2n \pi) = \cos(x+2n \pi - \frac \pi 2)## for every integer n.
 
  • Like
Likes   Reactions: Neck and QuantumQuest
Neck said:
the math script used on this website

LaTeX.
 
  • Like
Likes   Reactions: Neck
Neck said:
I apologize for this awful format, I want to learn the math script used on this website, but I forgot the name (would be appreciated also).
https://www.physicsforums.com/help/latexhelp/
This link will help you learn LaTeX for PF
 
  • Like
Likes   Reactions: Neck
jedishrfu said:
If you use the series representation of a sin or cos function then you can see that it can never be represented by a linear function.
But you can approximate either of these functions in small intervals by straight lines.

Near x = 0, ##\sin(x) \approx x## and ##\cos(x) \approx 1##. Notice that these are the first terms of the Maclaurin series for each of these functions.
 
  • Like
Likes   Reactions: Neck, QuantumQuest and lekh2003
Neck said:
My question: Is there a way to represent this back and forth behavior with a linear function or any other way?
The "back and forth" behavior is a trade-off between the two things. Combining those two into one equation is motivation for Euler's formula involving complex variables: e = cos(θ) + i ⋅ sin(θ). (There is a reason for using θ as though these are functions of angle rather than functions of t=time.) That one equation can be used to represent how the two things trade-off.
(see https://en.wikipedia.org/wiki/Euler's_formula )

PS. I see that the wikipedia article goes into a lot of advanced subjects that are not appropriate for this thread. The first paragraph is appropriate. This may be better: https://betterexplained.com/articles/intuitive-understanding-of-eulers-formula/
 
  • Like
Likes   Reactions: Neck and QuantumQuest
The reason for your graph being what it is in the OP is that ## v=v_o \sin(\omega t) ##, so that the kinetic energy ## K.E.=(\frac{1}{2})mv^2=(\frac{1}{2})mv_o^2 \sin^2(\omega t) ##. In order for the total energy ## E ## to be constant, we must have the potential energy ## U=(\frac{1}{2})m v_o^2 \cos^2(\omega t) ##, because ## \cos^2 (\theta)+\sin^2(\theta)=1 ##. ## \\ ## It may also interest you that ## \cos^2(\omega t)=(\frac{1}{2})(\cos(2 \omega t)+1) ## , and ## \sin^2(\omega t)=(\frac{1}{2})(1-\cos(2 \omega t)) ##. This is why the two curves in the graph of the OP are essentially sinusoidal.
 
Last edited:
  • Like
Likes   Reactions: Neck
gmax137 said:
LaTeX.
thank you! will learn that asap
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
3K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
2
Views
8K