Prove periodicity of exp/sin/cos from Taylor series?

In summary: So sin(2\sqrt{\lambda_1})= 0, cos(2\sqrt{\lambda_1})= 1, y(2\sqrt{\lambda_1})=0 and cos(2\sqrt{\lambda_1})= 1, sin(2\sqrt{\lambda_1})= 0, y(2\sqrt{\lambda_1})=0. That is, this function repeats at x= 2\sqrt{\lambda_1}. If we can show that it repeats at x= 2n\sqrt{\lambda_1} for any integer n we will have shown that it is periodic with period 2\sqrt{\lambda_1}. To
  • #1
Gerenuk
1,034
5
How is it possible to see that [itex]exp(i\phi)[/itex] is periodic with period [itex]2\pi[/itex] from the Taylor series?

So basically it boils down to if is it easy to see that
[tex]\sum_{n=0}^\infty \frac{(-1)^n}{(2n)!}(2\pi)^{2n}=1[/tex]
? Or any other suggestions?
 
Mathematics news on Phys.org
  • #2
How have you defined pi?
If you have defined it as half the period of exp(ix) it should be easy.
 
  • #3
lurflurf said:
How have you defined pi?
If you have defined it as half the period of exp(ix) it should be easy.
Good point. Actually I like the idea of defining pi this way.
So I only have to prove that such a number exists?
Could I reverse the series to get a series for pi defined this way?
 
  • #4
From the Taylor's series for sine and cosine, it is easy to show, differentiating term by term that (sin x)"= -sin(x) and (cos(x))"= -cos(x). That is, sin(x) satisfies the differential equation y"= -y with the initial conditions y(0)= 0, y'(0)= 1 and cos(x) satisfies the differential equation y"= -y with the initial conditions y(0)= 1, y'(0)= 0.

y"= -y is a linear second order differential equation and it is easy to show that any solution, y(x), to that differential equation is of the form y(x)= A cos(x)+ B sin(x) where A= y(0) and B= y'(0).

From that, and the theorem
"The set of all eigenvalues of the Sturn-Liouville problem
[tex]\frac{d}{dt}\left(p(t)\frac{dy}{dt}\right)+ (\lambda+ q(t))y= 0[/tex]
with boundary conditions y(0)= 0, y(1)= 0, form an increasing unbounded sequence", with p(t)= 1, q(t)= 0, one can prove the periodicity of sine and cosine. And then, of course, the fact that [itex]e^{ix}= cos(x)+ i sin(x)[/itex] gives the periodicity of eix.
 
  • #5
HallsofIvy said:
"The set of all eigenvalues of the Sturn-Liouville problem
[tex]\frac{d}{dt}\left(p(t)\frac{dy}{dt}\right)+ (\lambda+ q(t))y= 0[/tex]
with boundary conditions y(0)= 0, y(1)= 0, form an increasing unbounded sequence", with p(t)= 1, q(t)= 0, one can prove the periodicity of sine and cosine. And then, of course, the fact that [itex]e^{ix}= cos(x)+ i sin(x)[/itex] gives the periodicity of eix.

Can you help me with the reasoning? I know that for y=exp(ix)
y''+y=0
I know that in
y''+a*y=0
the eigenvalues a form an unbounded sequence. How do I know that the boundary condition y(1)=0 is satisfied?
What to conclude?
 
  • #6
I have been hoping for someone to ask!

Theorem: The set of all eigenvalues of [itex]d^y/dx^2+ \lambda y= 0[/itex], with boundary conditions y(0)= 1, y(1)= 0 form an increasing, unbounded sequence.

(Notice that I am starting from that theorem: I am not showing that eix satisfies it.)

The first thing that tells us is that the problem has eigenvalues. What are they?

If we were to try [itex]\lambda= 0[/itex], the problem, becomes y"= 0 and integrating twice, y= Ax+ B so y(0)= B= 0 and y(1)= A+ B= A= 0. Both A and B are 0: there is no non-trivial function satisifying the differential equation and the boundary conditions so 0 is not an eigenvalue.

Let's try [itex]\lambda< 0[/itex]. To make that explicit, write [itex]\lambda= -\alpha^2[/itex] where [itex]\alpha[/itex] can be any non-negative integer. Now the differential equation is [itex]y"- \alpha^2y= 0[/itex] and we know, from elementary differential equations, that [itex]y(t)= Ae^{\alpha t}+ Be^{-\alpha t}[/itex]. [itex]y(0)= A+ B= 0[/itex] and [itex]y(1)= Ae^{\alpha}+ Be^{-\alpha}[/itex]. From the first equation, B= -A. Putting that into the second equation and factoring out A, [itex]A(e^{alpha}- e^{-\alpha})= 0[/itex]. Since ex is a one-to-one function, those two exponentials cannot be the same and [itex]e^{\alpha}- e^{-\alpha}[/itex] cannot be 0: A=0 and B= -A= 0. Since A and B are both 0, y is identically 0 and [itex]-\alpha^2[/itex] is not an eigenvalue. No negative number is an eigenvalue.

Since we know this problem has eigenvalues and they are neither 0 nor negative, the eigenvalues must be positive. Further, the set of eigenvalues forms an increasing sequence. Since every sequence has a first member, and this sequence is increasing, the first member in the sequence is the smallest positive eigenvalue.

Let [itex]\lambda_1[/itex] be the smallest eigenvalue for this problem. Change to a new variable: [itex]x= \sqrt{\lambda_1}t[/itex] so that [itex]d^2y/dt^2= (\sqrt{\lambda_1}(\sqrt{\lambda_1} d^2y/dx^2[/itex] so the equation becomes
[tex]d^y/dt^2+ \lambda_1y= \lambda_1 d^y/dx^2+ \lambda_1 y= 0[/tex]
so
[tex]d^2y/dtx2+ y= 0[/tex]
Of course, we also have to change the boundary values. When t= 1, x= [itex]\sqrt{\lambda_1}(0)[/itex]= 0 and when t= 1, x= [itex]\sqrt{\lambda_1}(1)= \sqrt{\lambda_1}[/itex].

The general solution to y"+ y= 0 is, as we have already seen, y(x)= A cos(x)+ B sin(x). y(0)= A= 0 and then [itex]y(\sqrt{\lambda_1})= B sin(\sqrt{\lambda_1})= 0[/itex].

That looks a lot like what happened above with the exponentials but there is an important difference: we know that this "smallest eigenvalue" exists so there must be a non-trivial solution: y(x) is not identically 0 which means the two constants, A and B, cannot both be 0. Since A obviously is 0 and [itex]Bsin(\sqrt{\lambda_1})= 0[/itex] we must have [itex]sin(\sqrt{\lambda_1})= 0[/itex].

Okay, that proves that sine is NOT one-to-one, [itex]sin(0)= sin(\sqrt{\lambda_1})[/itex], but what about all of the numbers between 0 and [itex]\sqrt{\lambda_1}[/itex]? Is this enough to prove that sine is periodic?

No, it is not: we need to look at cosine also. We don't have to repeat all of this for the cosine: [itex]sin^2(\sqrt{\lambda_1})+ cos^2(\sqrt{\lamda_1})= 1[/itex] so, since [itex]sin(\sqrt{\lambda_1})= 0[/itex] we have [itex]cos^2(\sqrt{\lambda_1})= 1[/itex] and then [itex]cos(\sqrt{\lambda_1}= -1[/itex].

Yes, that's right, -1. When I first did this calculation I wrote, automatically, "1" and got myself into a terrible mess. Since [itex]cos^2(\sqrt{\lambda_1})= 1[/itex] [itex]cos(\sqrt{\lambda_1})[/itex] must be either -1 or 1. To see that it can't be 1, look at the half angle formula: [itex]sin(\sqrt{\lambda_1}/2)= \sqrt{(1/2)(1- cos(\sqrt{\lambda_1})}[/itex]. IF [itex]cos(\sqrt{\lambda_1})= 1[/itex] then [itex]sin(\sqrt{\lambda_1}/2)= 0[/itex]. But that would mean that y(x)= sin(x) is a non-trivial function satisfying y"+ y= 0, y(0)= 0 and [itex]y(\sqrt{\lambda_1}/2)= 0[/itex], meaning that [itex]\sqrt{\lambda_1}[/itex] is an eigenvalue, contradicting the fact that [itex]\lambda_1[/itex] is the smallest eigenvalue. [itex]cos(\sqrt{\lambda_1})[/itex] cannot be 1 so it must be -1.

Now use the double angle formulas: [itex]cos(2\sqrt{\lambda_1})= cos^2(\sqrt{\lambda_1})- sin^2(\sqrt{\lambda_1})= (-1)^2- 0^2= 1[/itex]
[itex]sin(2\sqrt{\lambda_1})= 2sin(\sqrt{\lambda_1})cos(\sqrt{\lambda_1})= 2(0)(-1)= 0[/itex]

That is, sin(x) is 0 at 0 and at [itex]2\sqrt{\lamba_1}[/itex] and cos(x) is 1 at 0 and [itex]2\sqrt{\lambda_1}[/itex]. Is that enough to prove that sine and cosine are periodic? Yes, it is!

Use the sum formulas: for any x, sin(x+ 2\sqrt{\lambda_1})= sin(x)cos(2\sqrt{\lambda_1})+ cos(x)sin(2\sqrt{\lambda_1})[/itex]= sin(x)(1)+ cos(x)(0)= sin(x).
[itex]cos(x+ 2\sqrt{\lambda_1})= cos(x)cos(2\sqrt{\lambda_1})- sin(x)sin(2\sqrt{\lambda_1})[/itex]= cos(x)(1)- sin(x)(0)= sin(x).

But what is [itex]\sqrt{\lamda_1}[/itex]? Since [itex]sin^2(t)+ cos^2(t)= 1[/itex] and is periodic with period [itex]2\sqrt{\lambda_1}[/itex], we can use x= Rcos(t), y= Rsin(t) as parmetric equations for a circle of radius R. The circumference of that circle is given by the arclength integral:
[tex]\int_0^{\sqrt{\lambda_1}} \sqrt{(dx/dt)^2+ (dy/dt)^2}dt= \int_0^{\sqrt{\lambda_1} R dt= 2\sqrt{\lambda_1} R. Of course, that circumference "[itex]\pi[/itex] times the diameter" or "2 [itex]\pi[/itex] R" so [itex]\sqrt{\lambda_1}= \pi[/itex] and sine and cosine are periodic with period [itex]2\pi[/itex].
 
Last edited by a moderator:
  • #7
HallsofIvy said:
Theorem: The set of all eigenvalues of [itex]d^y/dx^2+ \lambda y= 0[/itex], with boundary conditions y(0)=0, y(1)= 0 form an increasing, unbounded sequence.

...

That looks really complicating. I think it's equivalent to argue that the solution to the differential equation is [itex]y(x)=A\sin(\sqrt{\lambda} x)[/itex] and by the boundary conditions one can see that the function has to repeat at least one value.

Is Sturm-Liouville really this way? With my first search attempt I couldn't find anything about these imposed boundary condition (which basically define the periodicity). I would suspect that to prove this boundary condition version of SL one would actually assume the periodicity of exp(ix).
 
  • #8
Since you asked about proving periodicity, it would be really silly to assume periodicity! The "Sturm-liouville" theorem I quoted has nothing to do with periodicity. Cetainly, saying that y(0)= y(1)= 0 does not require periodicity. In particular y= x2- x satisfies y(0)= y(1)= 0 without being periodic.
 
  • #9
HallsofIvy said:
The "Sturm-liouville" theorem I quoted has nothing to do with periodicity.
Could you point me to an internet link with this theorem, where they have the same boundary conditions? I heard about SL before, but not about the boundary condition part. That would be in important ingredient.
What I said is the SL with these boundary condition should be checked, if it doesn't assume periodicity of exp(ix). Otherwise you can't use it as a prove.

HallsofIvy said:
Certainly, saying that y(0)= y(1)= 0 does not require periodicity.
Once you know the sin(x) is the solution to the above equation, then saying y(0)=y(1)=0 is equivalent with saying the the function is periodic (which in fact you did in the prove).
 
  • #10
Gerenuk said:
Could you point me to an internet link with this theorem, where they have the same boundary conditions? I heard about SL before, but not about the boundary condition part. That would be in important ingredient.
What I said is the SL with these boundary condition should be checked, if it doesn't assume periodicity of exp(ix). Otherwise you can't use it as a prove.[\quote]
??If you have heard about S-L problems then you know that they always involve boundary conditions. I have no idea why you say it must assume the periodicity of eit in order to use that theorem.


Once you know the sin(x) is the solution to the above equation, then saying y(0)=y(1)=0 is equivalent with saying the the function is periodic (which in fact you did in the prove).
"Equivalent" in the sense that it can be proven that the function is periodic, yes. That's exactly what I did. Isn't that what you wanted?

If you meant, in your original post, "Please give me some trivial proof of the periodicity of sine and cosine from their Taylor's series definitions". I am afraid I can't help you.
 
  • #11
HallsofIvy said:
??If you have heard about S-L problems then you know that they always involve boundary conditions. I have no idea why you say it must assume the periodicity of eit in order to use that theorem.

I cannot remember all of SL. I'll check that again.
It's weird that you didn't understand what I wrote in the previous reply. One needs to check the derivation of SL to make sure it doesn't already assume periodicity of exp(ix) to deduce results.

But that's what I do next. Maybe then the issue would be resolved.

HallsofIvy said:
"Equivalent" in the sense that it can be proven that the function is periodic, yes. That's exactly what I did. Isn't that what you wanted?
I mean you wouldn't need fancy SL to prove it. Just say I know the sum rule for sin(x).
Let's assume y(0)=y(1)=0 and y(x)=sin(ax). But hey, that assumption(!) already proves that sin(x) is periodic.
 
  • #12
NO! Knowing that a function is 0 at two different points does NOT prove it is periodic.

Use the example I gave before. Would you say :"Let's assume y(0)=y(1)=0 and y(x)= x2.
But hey, that assumption(!) already proves that x2 is periodic"?

In any case, I am not assuming that y(0)= y(1)= 0 for y(x) a trig function. I used the theorem to prove[\b] that
sine of a certain number is 0, which, as I said, does not, by itself, prove that sine is periodic.

If this proof is too complicated for you, I guess you will just have to go with one of the other, simpler, proofs given in response to your question.
 
  • #13
I appreciate your suggestion with SL, but I advice you to read the posts fully before objecting.

I wrote knowing about y(0)=y(a) and knowing the sum rules proves periodicity.
In fact you used it yourself in your prove.
 
  • #14
I have corrected a Latex expression that may have caused the difficulty. However, the point is that I prove that "we must have [itex]sin(\sqrt{\lambda_1})= 0[/itex]", I do not assume it. That is the whole point of the proof.
 
  • #15
HallsofIvy said:
I have corrected a Latex expression that may have caused the difficulty. However, the point is that I prove that "we must have [itex]sin(\sqrt{\lambda_1})= 0[/itex]", I do not assume it. That is the whole point of the proof.

Yes, I know.
I haven't had time to check yet: But are you sure that the prove of the SL theorem you use doesn't make use of the periodicity of exp(ix)?
 
  • #16
This is actually kind of related to another recent thread. If you show that exp( i x ) satisfies the DE g' = g, g(0)=1, (easy to do term by term), then letting g(x)=u(x)+iv(x) for some real u and v, you can compute
[tex]\frac{d}{dx} |g|^2= \frac{d}{dx}(u^2+v^2)=2uu'+2vv'=-2uv+2vu=0.
[/tex]

Since the derivative of g is zero and g(0)=1, we have |exp( i x )| = |g(x)| = constant = 1. This shows g lies on the unit circle in the complex plane.

We also know that |g'| = |g|, so
[tex]\frac{d}{dx}|g'(x)|^2 = \frac{d}{dx}|g(x)|^2 = 0[/tex]

Since g'(0) = ig(0) = i, we have |g'(x)| = constant = 1.

Then g is a unit speed parameterization of the unit circle, so the period of g is the arc-length of a circle: 2pi.
 
  • #17
maze said:
Since the derivative of g is zero and g(0)=1, we have |exp( i x )| = |g(x)| = constant = 1. This shows g lies on the unit circle in the complex plane.

That seems an OK argumentation to me. I'd even argue
[tex]
|\exp(\mathrm{i}x)|=\exp(\mathrm{i}x)\exp(\mathrm{i}x)^*=\exp(\mathrm{i}x)\exp(-\mathrm{i}x)=1
[/tex]
assuming some basic rules.

That in the end shows the existence of pi. Is it possible to derive some sort of series for this constant pi defined this way? (see my initial question)
 
  • #18
^ Must it be a series you have
pi=lim_{n->infinity} -i n[-1+(-1)^(1/n)]
and the series for Arctan Arcsin ect
 

FAQ: Prove periodicity of exp/sin/cos from Taylor series?

How do you prove the periodicity of the exponential function from its Taylor series?

In order to prove the periodicity of the exponential function, we must show that the function repeats itself at regular intervals. This can be done by using the Taylor series expansion of the exponential function, which is a representation of the function as an infinite sum of polynomial terms. By analyzing the coefficients of this series, we can see that they repeat in a regular pattern, proving the periodicity of the exponential function.

Can the periodicity of the sine function be proven using its Taylor series?

Yes, the periodicity of the sine function can be proven by examining its Taylor series. Similar to the exponential function, the coefficients of the Taylor series for sine also repeat in a regular pattern, demonstrating the periodic nature of the function. Additionally, the Taylor series can be used to calculate the exact period of the sine function.

How does the Taylor series of cosine show its periodicity?

The Taylor series of cosine is another way to prove the periodicity of this function. By analyzing the coefficients of the series, we can see that they also repeat in a regular pattern, indicating that the cosine function repeats itself at regular intervals. This is further evidence of the periodic nature of the cosine function.

Is it possible to prove the periodicity of trigonometric functions without using their Taylor series?

Yes, it is possible to prove the periodicity of trigonometric functions without using their Taylor series. Other methods such as graphing, analyzing the behavior of the functions, and using trigonometric identities can also demonstrate the periodic nature of these functions.

Why is it important to prove the periodicity of exp/sin/cos from their Taylor series?

Proving the periodicity of these functions from their Taylor series is important because it provides a mathematical basis for their periodic behavior. This knowledge can be used in various applications, such as solving differential equations, modeling natural phenomena, and understanding the behavior of waves and oscillations.

Similar threads

Back
Top