Lecture 48 : Lagrangian of various oscillating systems

IIT Kanpur July 201
20 followers
Sep 26, 2024
Hello and welcome to another lecture of classical motion of a single particle. We already have
discussed different interesting properties of Lagrangian and Euler Lagrange equation
ok, that is the Lagrange's equation of second kind. So, today we will actually discuss something
very very relevant for our course. So, if you remember that we have already discussed
in the framework of single particle motion, we have discussed the Lagrangian of a free
particle, we have discussed the Lagrangian of a pendulum simple pendulum, we have also
discussed the Lagrangian of a particle under some central potential, where the potential
is a function of r only ok. But another thing which we have already discussed
considerable amount of time was spent for that, that was the harmonic oscillators ok.
So, today we will discuss the Lagrangians of different harmonic oscillations and also
different type of oscillatory systems ok. And how from some Lagrangian we can get back
or recover the well known equations of dynamics of simple harmonic oscillator, damped harmonic
oscillator, forced harmonic oscillator like this ok.
So, let us start. So, before starting the usual recapitulation I am doing. So, if you
remember we derived the Euler Lagrange equation is given by d d t of del L del q i dot minus
del L del q i is equal to 0 for all i running from 1 to n, where n is the number of generalized
coordinates and q i and q i dot they are simply generalized coordinates and generalized velocities.
Then we said that Lagrangian in general can be a function of q i q i dot and t. We discussed
in the previous lectures many interesting properties of this equation, but the three
most important properties were the cyclic coordinates and the conservation of conjugate
momentum conjugate momentum. That means, if a certain q i ok let us say q i star is not
explicitly present in the expression of Lagrangian, then this is called a cyclic coordinate. If
the system has more than 1 degrees of freedom it is possible to have more than 1 cyclic
coordinates ok. So, then if there is a cyclic coordinates
q i star then p i star which is nothing but del L del q i star dot is a constant of motion.
We also said that if the Lagrangian is not explicitly containing the time then L minus
summation over del L del q i dot q i dot summation over i running from 1 to n again
is a constant of motion. For ordinary mechanical systems we showed that this is nothing but
minus H is equal to minus the total mechanical energy.
So, actually it says that the total mechanical energy is nothing but summation over del L
del q i dot q i dot minus L ok. For usual mechanical systems, systems means consisting
on one particle here for our course ok, systems associated with a v which is a function of
just the generalized coordinates for the sake of simplicity ok.
Then, we said that if my Lagrangian is mapped to another Lagrangian that is L prime and
which is the old Lagrangian plus d d t of a function f which is a function of the generalized
coordinates and time. Then if this is the Lagrangian valid Lagrangian for a given system
L prime will also be a valid Lagrangian of that set system ok. So, L prime so, if is
this can be written then L prime and L are equivalent Lagrangians. That means, they produce
the same equations of motion. Then also we finally, discussed the how to
define the Lagrangian of a combined system consisting of two or more than two non-interacting
subsystems ok. There we just saw that you can just write the combined or resulting Lagrangian
as a direct sum of the individual Lagrangians and the resulting set of generalized coordinates
are composed of by the collection of all the generalized coordinates ok.
So, I will now in this lecture will talk explicitly on the oscillators. So, for oscillators actually
the point is so, here you see the reasoning is a little bit I mean. So, in general we
use Lagrangian we use the knowledge of Lagrangian to find the equations of motion, but now we
are actually since we have learnt a new technique what we will do? We will first take some systems
for which we somehow know by other means actually like by traditional method of Newton force
balance method or d'Alembert's principle or Lagrange's equation of first kind ok whatever
you use. Let us say you have already known their equations
of dynamics. Now, what we will do? We will do the other way round the play is now in
the backward direction ok. That means, we starting from those equation we try to intuit
what are the Lagrangians ok. And then finally, from those Lagrangians finally, we use that
Lagrangian we pose that Lagrangian and then what we will do? We will simply cross check
whether the equation of motion which is finally, obtained by solving the Euler Lagrange equation
ok is the same equation as that of the known system or not ok.
At this point I would like to emphasize on one point that when we solve the Euler Lagrange
equation ok. Basically by solving the Euler Lagrange equation we do not solve the motion
of the system. The solution of an Euler Lagrange equation itself is an equation of dynamics
ok or some information about the motion of the system, but it cannot be taken as directly
the solution of the motion. That means, q as a function of t q i q dot as a function
of t like this ok. So, this is not the end of the story. So, solving Euler Lagrange equation
simply gives us the equations of motion, but finally, once you have your equations of motion
or the equations of dynamics then you have to further integrate by using the methods
which I discussed in the very first two weeks ok. You can finally, have the solutions depending
on whether you can integrate them successfully or not.
For 1 D simple harmonic oscillator. So, here you see that I am just in advance I know that
this is the case for simple harmonic oscillator. In general if the proper target of Lagrangian
has to be fulfilled then what should be done that I do not know that how it should look
like, because whenever you say this is a simple harmonic oscillator you are assuming
that you know that the particle is moving and performing a simple harmonic oscillation
ok. But in general if Lagrangian is known that
does not say that you know the motion, because once you know the Lagrangian then your next
duty is to solve the Euler Lagrange equation to find the equation of motion. And then when
you find the equation of motion you again solve this for the motion. So, q as a function
of t, q dot as a function of t and finally, you can come with your conclusion that ok
maybe this is now corresponding to a simple harmonic oscillator or a damped harmonic oscillator
ok. But here we start from the statement that
ok we try to construct Lagrangian for the 1 D simple harmonic oscillator. So, the prescription
so what will be the Lagrangian? So, since we know such a system is having, so when I
am saying system it is a particle such a particle is having kinetic energy. So, it is in 1 D,
so kinetic energy is equal to half m x dot square and so I can call that t and potential
energy which is v is equal to half k x square ok. Then following the recipe L is equal to
t minus v we can write L is equal to t minus v. So, that is half m x dot square minus half
k x square ok. Now, what will be the Euler Lagrange equation
for such system that will be simply the Euler Lagrange equation will be d dt of del L del
x dot minus del L del x will be equal to 0 ok and then del L del x dot is nothing but
m x dot. So, you will have d dt of m x dot and this is nothing but minus of so del L
del x is k x. So, minus of sorry minus k x del L del x. So, it will be minus of minus
k x is equal to 0. So, you will have m x double dot plus k x is equal to 0 and k by m you
can define as omega 0 square if you want which is a constant and you can say ok if my k is
positive m is positive then it is also positive and for that case I can actually write this
equation which I know is the equation of a simple harmonic oscillator ok.
But now in the next step I will not follow the same way. I will give you Lagrangian and
then we solve the Euler Lagrange equation and we together understand exactly to which
system this Lagrangian is corresponding ok. So, let us take the Lagrangian L is equal
to half m x dot square minus half k x square times e to the beta t where beta is a constant.
Now you will say what type of Lagrangian is this? Starting from the beginning starting
from the derivation of Euler Lagrange equations we showed that Euler Lagrange equation is
actually satisfied for Lagrangian of the form t minus v, but then of course, I claim that
Euler Lagrange equation is true for Lagrangians which are even not in the form of t minus
v ok. So, in this example we will see such an example and you will see that how it is
relevant to our discussion. So, if you have a Lagrangian like this where
beta is a constant m is a constant and k is a constant. So, this Lagrangian also explicitly
depending on t ok. So, the first point is that in this Lagrangian if I now try to solve
the Euler Lagrange equation what will be del L del x dot that you have to calculate now
with caution because there will be e to the beta t times it will have m times x dot and
del L del x that will also be e to the beta t times minus k x. What is now the d d t of?
So, d d t of del L del x dot do you know how to do that? If you do that properly you have
to write this e to the beta t m times x dot. So, it should have two terms one will be m
e to the beta t x double dot plus m x dot then d d t of this term will be with beta
e to the beta t. So, yes that is the term we get the beta yes yes I think this is correct.
Lagrange equation gives this m e to the beta t x double dot plus m beta e to the beta t
x dot minus of minus k x times e to the beta t is equal to 0 and you have since e to the
beta t is not in general 0 we can write m x double dot plus m beta x dot plus k x is
equal to 0. So, if you now write this you will actually see that I can just divide the
whole thing whole equation by m and I can write beta x dot plus k by m is equal to a
0. Now I call beta as 2 lambda and I call this as omega 0 square what would you get?
You get the famous equation of a damped harmonic oscillator. Now you see that although this
Lagrangian was looking strange actually this Lagrangian is a valid Lagrangian. Why this
is a valid Lagrangian? Because when it is put in the Euler Lagrange equation it is actually
giving us a meaningful equation which we already know from our knowledge. But now the point
is why it is not in the form of t minus v that is also easy to understand at this point
because t minus v is I mean is representing a Lagrangian for a system which is associated
with a potential only. That means that there is a kinetic energy and the potential energy
and that means that the particle is actually from your knowledge you know is in a conservative
field and its total mechanical energy which is a function which is t plus v is conserved
equal to 0. Here the first thing is that your del L del t is no longer equal to 0 and that
is the first indication you have that may be this system is not the system where t plus
v is conserved and this is quite understandable because you know that for a damped harmonic
oscillation or damped harmonic oscillator the total mechanical energy is not conserved
because this is not a conservative system. I am going to another example where you will
again have a little bit of strange feeling.
So, I use again the blue color. So, we now take the Lagrangian L is equal to half m x
dot square minus half k x square plus x f which is a function of t only. I do not know
what f is, but this x is just the coordinate I am talking of one dimensional motion. This
is actually looking like very much the harmonic oscillator Lagrangian plus something.
Now first question is you just have a look first that this equation is not explicitly
independent of L. It has t because this f is an explicit function of t. So, del L del
t is not 0. Again in this equation you do not have any cyclic coordinate. So, no conservation
for the for any conjugate momentum. Then I actually have another observation that is
this is something added to the old Lagrangian of a simple harmonic oscillator. So, is this
is f t times x can be written as d dt of a function g which is a function of x and t.
I think no because if your equation has an x associated with this like this then this
cannot be written like this because even if there is an x in this g when it will be operated
by d dt it will give you at least one x dot. So, this type of thing actually can tell you
already an indication can give you an indication that this is not the case of an equivalent
Lagrangian. Then what to do? We will simply be obedient enough to solve the Euler Lagrange
equation for L. So, del L del x dot will be what? So, it will be m x dot. There is nowhere
I mean other than this place there is no x dot you can see in this L. Then what will
be d dt of del L del x dot? That will be simply m x double dot. Now what will be your del
L del x? That is a little bit tricky because from this term you will have minus k x, but
on this on the other hand from this term you will have plus f t.
I write. So, Euler Lagrange equation again gives m x double dot minus minus k x plus
f t and is equal to 0 and that is m x double dot plus k x is equal to f t. I can again
divide the whole thing by m. I can have this and let me ask you whether you can recognize
this equation. So, this equation is nothing but the equation of a forced harmonic oscillator
without any damping. Again you see this is a Lagrangian which is not exactly in the t
minus v form and also you see del L del t is not equal to 0. So, that means that you
have to think that this Lagrangian is not corresponding to a conservative system and
that you know by knowledge because if an oscillator is just getting forced from outside, but it
has no sink of energy by some dissipative term, then its energy is actually growing
in time. So, energy is not conserved. So, you see that
again a Lagrangian which is not in the form of t minus v can give you forced harmonic
oscillator. Exercise for you, what will be the Lagrangian for a system or an oscillator
both forcing and damping. So, that the final equation of dynamics becomes x double dot
plus 2 lambda x dot plus omega 0 square x is equal to some f of t by m. Can you do that?
I am going to another very interesting point considering the Lagrangian of the oscillator.
Let me now take a Lagrangian which is half m always 1 d oscillator half m x dot square
minus half k x square. Now, I will have something extra plus beta times x dot. So, I can actually
now think well I can think this has a form which is still t minus v, but this is t and
this part. So, I can now write this part is actually v prime which is half k x square
minus beta x dot, but this v is not a function of coordinates only. This v is a function
of velocity as well because it contains x dot.
Then the first conclusion you can draw. So, that means, that may be it is not related
to the to a conservative system. So, may be it is again representing an oscillator with
some damping or with some extra effect where energy is may be not conserved, but another
point at the same time I am trying to tell you that also check whether the Lagrangian
is explicitly containing t or not. Then you can say that is true this Lagrangian is again
explicitly independent of t. So, del L del t is 0. So, something is conserved.
Now is that something be a meaningful quantity for you like mechanical energy or minus of
mechanical energy or we do not know. Again the solution is solve the Euler Lagrange equation.
You see whenever you have a problem confusion doubt you split into you solve the Euler Lagrange
equation instead of concluding immediately we solve it. Now what will be del L del x
dot? Now it will be m x dot ok plus beta because there is a term associating x dot
which is linear in x dot ok. Now what will be then d dt of del L del x
dot that will be m x double dot and what will be del L del x that will be minus k x. So,
Euler Lagrange equation gives m x double dot minus minus k x is equal to 0. That means
x double dot plus omega 0 square x equal to 0 which is again exactly the same of a simple
harmonic oscillator. This is quite strange because now you see that your v I mean the
potential part is explicitly containing the generalized velocity and we said that in
the derivation of Lagrange I mean Euler Lagrange equation we said that t minus v was I mean
the derivation was possible because v was assumed to be a function of generalized coordinates
only. So, what is the problem? The point is that
no one actually said. So, here is the logic that although if your v if your Lagrangian
has a t minus v form and your v is explicitly is a function of coordinates only generalized
coordinates only then you can derive the Euler Lagrange equation. That means your Lagrangian
can satisfy Euler Lagrange equation, but there is no prohibition or there is no restriction
that if you have a form t minus v where v is a function of generalized coordinates and
generalized velocities cannot satisfy Euler Lagrange equation.
Now finally, the point is I understand everything, but is there any other point by which I can
even understand a little bit better that means using some concept which I have already learnt
in previous lectures just remember the very last property which I discussed as a recapitulation
today this one the concept of equivalent Lagrangians. You have to be sure on one point that if two
different Lagrangians produce the same equations of dynamics they are equivalent Lagrangians.
So, either one is just the other plus some constant or the one is the other plus minus
some d d t of some function which is a function of x and t only.
Here what is the mystery then here when you are writing when you are writing this Lagrangian
this Lagrangian is nothing but Lagrangian of simple harmonic oscillation which is just
this part plus this now beta is a constant and what is x dot this is d d t of x and that
we forgot. So, x dot is nothing but d d t of x. So, what is this is d d t of beta x
which is a function of course, x and t I mean here this is just a function of x. So, we
have no problem. So, this is a Lagrangian which is an equivalent Lagrangian of the Lagrangian
of a simple harmonic oscillator and that is why although it looks a little bit strange
for you may be for the first time it will give you always a the equations of dynamics
of a simple harmonic oscillator. Finally, before wrapping this lecture up I
will give you another important, but interesting example that is I have a Lagrangian now half
m x dot square minus half k x square plus let us say alpha t cube by 3. Now you see
what will be your observation again this is the Lagrangian I now have a good name for
this L S H O yeah. So, this is Lagrangian of the simple harmonic oscillator plus something
again the same business and that plus something what will it do that we do not know. Now you
see the first conclusion is there is no cyclic coordinate only one dimension x and x dot
both are present. So, no cyclic coordinate no conservation of conjugate momentum is the
Lagrangian explicitly depending on time or not the answer is yes. So, del L del t is
actually not equal to 0. So, you can see that already there is an indication that some non
conservative system can be represented. However, if you are smart enough you will say well
look give me one second I will relook at this part what is this this is a function
of t only I can say do I know g such that d g d t is equal to alpha t cube by 3 I can
then say let us do something like that g should be equal to alpha t cube d t by 3 and if you
integrate actually just doing some I mean proper integration constants you can get rid
of the arbitrary constant and you can actually say this g is nothing but alpha I mean t to
the power 4. So, it will be 12. So, actually if I say that g is alpha t to the 4 by 12
then d g d t will simply be alpha t cube by 3.
So, again here you see this Lagrangian is S H O plus a function of t and not only that
this is also function d d t of a function of t here where g is this then you say well
this is the equivalent Lagrangian. So, on one case we saw that the Lagrangian is equivalent
to the Lagrangian of a simple harmonic oscillator. On the other hand we saw that del L del t
is not equal to 0. So, the function which we defined. So, if you remember if this is
not equal to 0 then of course, L minus summation over del L del q i dot q i dot is not conserved,
but we have seen for a simple harmonic oscillator this is equal to the total mechanical energy
you can check I can I can if you are not convinced I can show you immediately.
So, just for L S H O half m x dot square minus half k x square and that is why you can always
have. So, this function is. So, L S H O minus del L S H O del x dot x dot is nothing, but
half m x dot square minus half k x square this will be nothing, but minus m x dot square
which will be minus half of m x dot square plus half k x square. This is the total mechanical
energy for a simple harmonic oscillator which is conserved we know we directly can show
this conservation also from the equations of motion are you getting confused.
So, physics is of course, always self consistent there is no reason for being confused if you
first conclusion is this Lagrangian is certainly an equivalent Lagrangian of L S H O and that
is why that if you solve the Euler Lagrange equation let us solve that also. So, I have
L. So, let us solve the Euler Lagrange equation for L which gives d d t of del L del x dot
minus del L del x equal to 0 and L is equal to half m x dot square minus half k x square
plus alpha t cube by 3 for this for Lagrangian this we have del L del x dot will be simply
equal to m x dot and. So, del L del x dot under d d t will simply always give you what
m x double dot and then del L del x is again minus k x.
So, Euler Lagrange equation will give you m x double dot plus k x is equal to 0 or x
double dot plus omega 0 square x is equal to 0 simple harmonic oscillation. So, we are
convinced that the conclusion about the equivalent Lagrangian was 100 percent correct. Now what
about the conclusion of this non conservation and this del L del t not equal to 0, but on
the other hand we know that the total mechanical energy of a simple harmonic oscillator is
conserved this is also easy to solve. We have to understand that for this system of course,
x dot square plus half k x square is conserved, but let us now calculate this quantity for
this Lagrangian this quantity L minus del L del x dot x dot. If I calculate this I will
have. So, L is half m x dot square minus half k x square plus alpha t cube by 3 and
minus del L del x dot is this one. So, with multiplied with getting multiplied with x
dot we will have this and that is why finally, you have minus half m x dot square plus I
mean within minus actually half k x square plus alpha t cube by 3. Now you see that this
expression is now no longer equal to minus of t plus v, but it is now minus of t plus
v plus something else and you see that is the solution of the confusion that is the
Lagrangian actually gives a system which is a simple harmonic oscillator. Now that system
has a conservation that is this conservation, but this quantity is no longer equal to this
quantity for that Lagrangian. So, this quantity is now something which is not conserved because
of this term and that is why we are also reconciling the fact that if we have a Lagrangian for
which del L del t is not equal to 0 this is not conserved. So, you see whenever we
give you a Lagrangian there are always different ways of concluding about this, but you also
see that if the Lagrangian is not a very usual one the most of the time it is possible to
get confused. So, the first point is that whenever you see
a Lagrangian you first check that whether the Lagrangian is a valid Lagrangian and for
that what you have to do you have to solve the Euler Lagrange equation and just to check
that whether this Lagrangian is giving you the equation of some well known system or
some meaningful system even if it is not well known. Second thing also if you and actually
for some competitive exams these things are actually should be done first with some caution
that you check for the cyclic coordinates and if cyclic coordinate is present then you
know some quantity is conserved already for example, conjugate momentum.
If L is not explicitly containing the time you have another conserved quantity that is
L minus summation over del L del q i dot q i dot, but this does not say that and finally,
of course, if you if you can observe that your L is some well known L familiar L plus
minus d d t of a function of x and t I mean for 1 d of course, for more than 1 d you can
have x y t or x y z t whatever yeah. So, then you know that those two will actually
produce the same equations of motion. So, the summary of all these things is that if
you are somehow successfully identifying different conserved quantities or different interesting
properties of a Lagrangian with 100 percent certainty do that before solving the Euler
Lagrange equation, but whenever you are thinking that there is a problem and even if you do
not face a problem for example, I myself whenever I see the Lagrangian even without thinking
anything I first solve the Euler Lagrange equation. So, there is no substitute for solving
the Euler Lagrange equation to first get the equations of dynamics and after that of course,
you can think and you can search for different type of symmetry.
The final point is just concerning the last examples you see that the last Lagrangian
which is actually this Lagrangian a priori it does not give us any information about
a conserved quantity which is actually this one for this system. So, if you do not find
any conserved quantity from just seeing that the structure of Lagrangian or the symmetry
of Lagrangian it does not say that the system does not have any constants of motion. Once
again you have to first solve the Euler Lagrange equation, get the equations of dynamics and
for that again you search whether there is any constants of motion or not.
Thank you very much.
