How to Graph a Periodic Function with a Period of 2π?

  • Thread starter Thread starter bubokribuck
  • Start date Start date
  • Tags Tags
    Function Sketch
AI Thread Summary
The function f(x) is defined as periodic with a period of 2π, with specific definitions for the intervals -π<x<0 and 0<x<π. To graph f(x) from -3π to 3π, one must replicate the pattern established within the interval of -π to π, extending it accordingly due to its periodic nature. The graph should reflect the behavior of f(x) in each interval, ensuring consistency across the periodic repetitions. Users confirmed that the graphing approach was correct, despite initial concerns about the perceived period of the function. The discussion emphasizes the importance of verifying function values at specific points to ensure accuracy in the graph.
bubokribuck
Messages
42
Reaction score
0
The function f(x) is periodic with period 2\pi and is defined by
f(x) = -cos(x) when -\pi<x<0
= cos(x) when 0<x<\pi

Sketch f from x=-3\pi to 3\pi.


My question is, when -\pi<x<0 and 0<x<\pi, how am I supposed to graph the function from -3\pi to 3\pi?
 
Physics news on Phys.org
Remember what was said in the beginning:
"The function f(x) is periodic with period 2π..." (emphasis mine)
You are shown how to graph f(x) from -π to π. Since f(x) is periodic, how would the graph of f(x) from π to 3π would look?
 
I have managed to come up with something (very roughly) like this:

k0h5op.jpg


Is this how it should be done?
 
bubokribuck said:
I have managed to come up with something (very roughly) like this:

k0h5op.jpg


Is this how it should be done?

Yes, it is correct.

ehild
 
Not sure if I've done something wrong. The question states that "The function f(x) is periodic with period 2π", but at the moment my graph looks like it's only with period 1π.
 
If something is periodic with pi, it is also periodic with 2pi.:smile:

Check. Choose an x and see if you get the same f(x) as in the graph.

x=-pi/3 for example. f(-pi/3)=-cos(pi/3)=-1/2. If x=-2pi/3, cos(2pi/3)=-0.5, f(-2pi/3)=-cos(2pi/3)=0.5.



ehild
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top