Proving sums of periodic functions need not be periodic(almost periodic)

In summary: Oh wait, unless k is 1 and m is pi, but then it wouldn't be an integer... So, there's no way to get the ratio of pi, which is what makes cos(pi x) different from the other terms in the previous question which can have an arbitrary T?Well, you can't have exactly pi as a ratio, but you can get arbitrarily close, as close as you like. If you take a fraction, say 22/7, and multiply it by enough 7's (to get 22/7, 222/77, 2222/777, etc) you can get as close to pi as you like. Similarly, you can get arbitrarily close to any other irrational number.
  • #1
jianxu
94
0

Homework Statement


Hi and thank you for reading this!

Let [tex]\left.f(x) = cos(x) + cos\left(\pi x\right)[/tex]
a) show that the equation f(x)=2 has a unique solution.
b) conclude from part a that f is not periodic. Does this contradict withe the previous exercise that states if:
[tex]\left.f_{}1,f_{}2,f_{}3...f_{}n[/tex] are T-perioidc functions, then:
[tex]\left.a_{}1f_{}1+a_{}2f_{}2+...+a_{}nf_{}[/tex] is also T-periodic?


Homework Equations




The Attempt at a Solution


So for part a, I did:
[tex]\left.\int^{T}_{0}2 dx = 2T[/tex]

no idea if I approached this problem correctly...

but for part b) I took the integral of:

[tex]\left.\int^{T}_{0}cos(x) + cos\left(\pi x\right)+2 dx = -sin(T)+2T[/tex]

but the only other thing I can say is that f is not periodic, this is relatively obvious seeing how the problem at the end says, the function f is called almost periodic.

Please let me know what's wrong and what should be the correct way of approaching this question
Thanks!
 
Physics news on Phys.org
  • #2
Why on Earth did you integrate?
For part a, you want to find the solution of cos(x) + cos(pi*x) = 2. Both functions in this sum have maximum values of 1 and minimum values of -1. For the two functions to have a combined value of 2, they must both have attained values of 1. Where does that happen?
 
  • #3
hm no idea why i integrated...

x = 0 will give 2, but how do I "show" it? do I graph it and say "look, there's only one solution?" thanks
 
  • #4
I gave you a hint:
For the two functions to have a combined value of 2, they must both have attained values of 1. Where does that happen?
List all of the values of x for which cosx = 1, and where cos(pi*x) = 1.
 
  • #5
there is only 1 value( 0) because it's a unique solution right...?
 
  • #6
jianxu said:
there is only 1 value( 0) because it's a unique solution right...?

That's what you have to show.
 
  • #7
so are you suggesting i create a list of values for each term that gives me 1(how many terms is considered adequate?) and say, ok zero is the only value that can be found on both cosx and cos(pi x) that can give both values 1, and as a result, give me the answer 2?
 
  • #8
Yes. List all the x values for which cos(x) = 1, and list all the x values where cos(pi*x) = 1. List enough of them to convince yourself that the only solution to cos(x) + cos(pi*x) = 2 is x = 0.
 
  • #9
so then on part b, if i combine the 3 terms so i get cos(x) + cos(pi*x) + 2, how should I approach to proving it not periodic? do I try to prove that:

[tex]\left.\int^{T}_{0}f(x) = \int^{a+T}_{a}f(x)[/tex]

doesn't hold?
 
  • #10
You're just dying to integrate something, aren't you?

The definition of periodicity has nothing to do with integration. A function f is periodic with period T if f(x) = f(x + T) for all values of x.

How are cos(x) and cos(pi*x) different from functions f1, f2, f3, ... of the previous problem?
 
  • #11
um what I'm thinking right now is that the f1,f2,f3 can have any arbitrary T while the cosine terms are inherently 2 pi periodic? Other than that I'm not sure how else they're different?
 
  • #12
Question: are the periods for cos(x) and cos(pi x) the same? Think about it. Graph them individually and actually measure the period.

Question: Clearly at x=0 cos(x) + cos(pi x) = 2. This is because cos(x) and cox(pi x) both have local maxima of 1 at x=0. Are there any other values of x for which cos(x) and cos(pi x) both have a local maximum of 1 again? How can you show that? (HINT: find a general expression for x such that cos(x) has a local maximum, and an expression for x such that cos(pi x) has a local maximum, and show that the only x value satisfying both expressions is x=0).
 
  • #13
well to get the local maximum, for cos(x), the x must be a factor of 2 pi,
In this case I used k as any integer so I will get a local maximum at 2 * pi *k?

For the other term, I will get a local maximum simply having x be 2*k?
 
  • #14
You mean that x must be a "multiple" of 2pi, not a factor.

Yes, cos(x) has it maximum value, 1, for x= 2k pi for any integer k.

cos(pi x) has its maximum value, 1, for pi x= 2m pi or x= 2m for any integer m.

In order that the value of this function be 2, cos(x) and cos(pi x) must both be 1. For what integers, k and m, is 2k pi= 2m? If k is not 0, you can solve that equation for pi and that should tell you something.
 
  • #15
if I solve for pi, it means uh... pi = m/k which means that m must be bigger than k by pi which is represented through the pi in cos(pi x). This also means that when a x value is chosen the x value of cos(pi x) must be smaller than the x value in cos(x) due to the extra pi? And so this means the x can not be the same and so the only way to get the 1 for both cos(x) and cos(pi x) is simply when x = 0? Thanks
 
  • #16
The result is right, but the reasoning is wrong.

If you have that k pi x = mx, then you invariably get to pi = m/k, where m and k are integers. This should strike you as odd... pi is a fraction? How can you choose m and k to make that true... is there a way? Why or why not?

Clearly, for x = 0, the equation is true. But can you make it true for every x by an appropriate choice of m and k?
 
  • #17
well seeing how m and k are integers, then there's no way to reach a ratio of pi? Thanks
 
  • #18
"well seeing how m and k are integers, then there's no way to reach a ratio of pi?"

Correct, except that the punctuation mark at the end should be a period, not a question mark, as you are stating a fact you should be aware of before trying to solve this problem.

So if
k pi x = m x

then the only two options are that (1) x = 0 or (2) pi = m/k, and (2) doesn't work, you're only left with (1). So x=0 is the only place where the equation is true.
 
  • #19
i'm slightly confused how this ties in with a function's periodicity?
 
  • #20
A function is periodic iff f(x) = f(x + period) for every x.

We now know that at x=0 cos(x) + cox(pi x) = 2, and that nowhere else is it equal to 2 (because nowhere else is the equation k pi x = mx true).

Ergo...
 
  • #21
Thanks everyone, this actually makes sense to me now...!
 

1. What is the definition of a periodic function?

A periodic function is a function that repeats itself at regular intervals. This means that the value of the function at any given point is the same as the value of the function at a point that is some multiple of the period away from the original point.

2. Can sums of periodic functions be periodic?

No, sums of periodic functions need not be periodic. Even if the individual functions are periodic, their sum may not repeat itself at regular intervals, making it non-periodic.

3. What is the difference between a periodic and an almost periodic function?

A periodic function repeats itself exactly at regular intervals, whereas an almost periodic function only repeats itself approximately. This means that while an almost periodic function may have a similar pattern, it will not be an exact match each time it repeats.

4. How can you prove that sums of periodic functions need not be periodic?

One way to prove this is by providing a counterexample. For instance, if we take the sum of a periodic function and a non-periodic function, it will result in a non-periodic function. This shows that not all sums of periodic functions are periodic.

5. Are there any real-life applications of non-periodic functions?

Yes, many real-life phenomena can be modeled using non-periodic functions. For example, the stock market, weather patterns, and population growth are all commonly modeled using non-periodic functions. These functions provide a more accurate representation of the data, as they do not assume that the patterns will repeat exactly at regular intervals.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
215
  • Calculus and Beyond Homework Help
Replies
16
Views
551
  • Calculus and Beyond Homework Help
Replies
3
Views
262
  • General Math
Replies
33
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
191
  • Calculus and Beyond Homework Help
Replies
28
Views
3K
  • Calculus and Beyond Homework Help
Replies
19
Views
3K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
755
  • Calculus and Beyond Homework Help
Replies
7
Views
931
Back
Top