Equations of Motion for the Double Pendulum (2DOF) Using Lagrange's Equations

  Рет қаралды 161,882

Good Vibrations with Freeball

Good Vibrations with Freeball

Күн бұрын

Download notes for THIS video HERE: bit.ly/34BYfl5
Download notes for my other videos: bit.ly/37OH9lX
Deriving the equations of motion for the double pendulum using the method of Lagrange's equations. Two degree of freedom system.

Пікірлер: 243
2 жыл бұрын
The soundtrack played at 8:27 almost gave me a heart attack.
@spencergee6948
@spencergee6948 2 жыл бұрын
It's encouraging to note that if, in equation 19, m2 and l2 are equal to zero, the equation reduces to that of the simple pendulum.
@teofilofolha7190
@teofilofolha7190 2 жыл бұрын
no shit sherlock
@random22453
@random22453 Жыл бұрын
yeah well ofcourse that is going to happen lmao
@phenax1144
@phenax1144 10 ай бұрын
@@random22453Only if you dont do anything wrong😂
@jensknudsen4222
@jensknudsen4222 3 жыл бұрын
My computer doesn't even have a font as neat as your hand writing.
@gtweak7
@gtweak7 3 жыл бұрын
Your channel is my discovery of this year. Thank you for your work.
@ontheline3421
@ontheline3421 4 жыл бұрын
You have literarly saved me, dude. Thanks.
@eleanorterry-welsh7784
@eleanorterry-welsh7784 Жыл бұрын
You are single handedly saving my butt in this mechanics course I'm in. I have had a hard time understanding the text book we're using, but you usually have a video on whatever the topic of the week is, and watching your explanations first and then going to class/reading the textbook has been a much better way for me to figure out what is going on than just ineffectually staring at my textbook and feeling stupid.
@abhinav788
@abhinav788 10 ай бұрын
By the way, which textbook were you using for this course?
@kitsukeita
@kitsukeita 3 жыл бұрын
Double pendulum coding solutions? Thanks for saving me a ton of time in case my teacher asks to 'explain the formulae'. Love from India.
@ashutoshsharma595
@ashutoshsharma595 3 жыл бұрын
Very good explanation in a very lucid manner.... Thanks a lot for the video....
@pratibhasingh4823
@pratibhasingh4823 2 жыл бұрын
Omg. You are just wonderful. I really had hard time understanding this concept. but you broke down it into simpler steps that are easy to follow. Thanks a lot for helping out. God bless you.
@montumehra91
@montumehra91 2 жыл бұрын
Your Playlist is very nice in which college u study?
@emmyobasi5784
@emmyobasi5784 3 жыл бұрын
Thanks a lot. Your teaching style is amazing.
@akhilvarghese9658
@akhilvarghese9658 4 жыл бұрын
Such a great video thank you so much, very comprehensive!
@nihrantzbunreth9424
@nihrantzbunreth9424 4 жыл бұрын
Nice video.. Very good explanation... you save me . I tried this problem using Polar coordinates and it looked more organized. using cartesian coordinates got me headaches.
@Listener970
@Listener970 3 жыл бұрын
There's a random KZfaq video of a Japanese guy demonstrating a double pendulum. Watched it, and kept on clicking the related videos until I get here. Funny the equations made sense somehow. I was lost on partial derivation. Anyways, great video.
@bbokser
@bbokser 2 жыл бұрын
You are an excellent teacher!
@gotango4343
@gotango4343 4 жыл бұрын
Thanks for the video and explanation. Helped a lot.
@Asdun77
@Asdun77 4 жыл бұрын
thank you ,you explained very clear god bless you
@dma309cb2
@dma309cb2 8 ай бұрын
Thanks for clearing my doubts.
@josiahbrinson2847
@josiahbrinson2847 Жыл бұрын
Excellent explanation, thank you!
@mkonongo_og
@mkonongo_og 3 жыл бұрын
Thanks a lot, this lecture make me bright more!!!
@learnwithramkumar
@learnwithramkumar Жыл бұрын
Amazing Explanation Sir.
@kubraerdogar
@kubraerdogar 4 жыл бұрын
thank you, very useful explanation
@ashwanipushpjivi47
@ashwanipushpjivi47 Жыл бұрын
very good explanation , thank you
@user-gy8yi9qc3r
@user-gy8yi9qc3r Жыл бұрын
Thank you, you really helped a lot!
@hostkakamay2577
@hostkakamay2577 3 жыл бұрын
it's fine until now but how to find the natural frequency for this system of pendulum?
@paulg444
@paulg444 3 жыл бұрын
great channel !
@JF17thunder485
@JF17thunder485 2 ай бұрын
Awesome video
@perceptronsaber4479
@perceptronsaber4479 3 жыл бұрын
Well done!
@yassersalum2017
@yassersalum2017 3 жыл бұрын
Wonderful work sir, very much appreciate it!
@odvutmanush3234
@odvutmanush3234 2 жыл бұрын
thanks . Nice and clear instruction. one other thing actually , whats with the sound effect. I jumped the 1st time
@Omar-sj7wl
@Omar-sj7wl 4 жыл бұрын
Great video
@lokmanhossainlokman6422
@lokmanhossainlokman6422 2 жыл бұрын
It literally scared me at 8:29 ngl. However, great video
@farahaouchiche2882
@farahaouchiche2882 4 ай бұрын
Why we do . . X+y In kwettc energy
@chinmayswami9358
@chinmayswami9358 3 жыл бұрын
Shouldn't g be negative when computing the potential energy. They Y axis is pointing upwards.
@christianjourneytv1003
@christianjourneytv1003 5 ай бұрын
you are the best
@marq5614
@marq5614 4 жыл бұрын
Can you explain why we get (m1+m2) when pluging in equations 2,4 into 9?
@Freeball99
@Freeball99 4 жыл бұрын
It's just some algebra. Substitute the 2, 4 into 9, then expand it all and then simplify. If your write it out, you'll see it immediately.
@mathieulebrun1602
@mathieulebrun1602 3 жыл бұрын
at the 9:49 mark... where does the 3rd term for the KE come from? The one simplified by the the double angle identity provided at the beginning. By my understanding factoring out the the l1,thea1 & l2,theta2 terms should yield 2 terms that simplify to 1... (sin^2 + cos^2) =1, where does the 3rd term come from? 2(l1)(l2)theta1theta2(coscos+sinsin)?
@Freeball99
@Freeball99 3 жыл бұрын
This comes from squaring the velocities on the previous line (though I am noticing that I am missing a squared sign on the last term). If you write out the previous line and expand it, I think it will become clear.
@ShadowWalker310
@ShadowWalker310 4 жыл бұрын
Hi, great video, helped me a lot. Just one question, in the last equation found (23), wouldn't it be possible to take m2 off every term?
@Freeball99
@Freeball99 4 жыл бұрын
Yes, you can divide through by m2 to simplify. Usually, when deriving these equations of motion, I like to leave it in this form because I find the equation more meaningful when each term has units of force (or force/length).
@gustavobagu7156
@gustavobagu7156 3 жыл бұрын
Hello and thank you very much for this solution. Do you know of any way to deduce these equations of motion directly from Newton´s equations?
@Freeball99
@Freeball99 3 жыл бұрын
Yes, you can derive these equations by drawing the free body diagrams for each mass and then applying Newton's 2nd Law. This can be a little tricky as it's easy to make mistakes if you're not careful (which is why using Lagrange's Equations is preferable). Unfortunately, I don't have a video on this, but I'm sure you'll be able to find one online.
@sebastianduque5836
@sebastianduque5836 4 жыл бұрын
In the kinetic energy for m1, L1 multiplied by theta dot 1, should L1 be squared? Another thing, and if I want to find the small oscillations of this double pendulum, where should I start?
@sebastianduque5836
@sebastianduque5836 4 жыл бұрын
I commented without finish the video, you fixed it minutes later, my bad.
@AbdulRahman-jz3px
@AbdulRahman-jz3px Жыл бұрын
Thanks for the good explanation, I want to ask why the double pendulum has the equation of centripetal acceleration(has theta1^2)? not like the single pendulum case?
@Freeball99
@Freeball99 Жыл бұрын
This is due to the fact that the second pendulum, due to its acceleration, exerts a force (moment) on the first pendulum.
@khushalbhanderi3338
@khushalbhanderi3338 2 жыл бұрын
i am lloking for the solution with considering mass of the links...what would change if i consider the mass of the links?
@Freeball99
@Freeball99 2 жыл бұрын
This video address it: kzfaq.info/get/bejne/m6iXa8qgy5e2cps.html
@najlaharza1658
@najlaharza1658 2 жыл бұрын
Hi, do you know the motion equation for 3d double pendulum? that works in 3 planes, x y z, and also has the rotational angle. been searching the internet and books for it, can't find any. big thanks if you see and respond to this comment
@Freeball99
@Freeball99 2 жыл бұрын
I've never seen it, but you could derive it!
@mmmmmark9751
@mmmmmark9751 2 жыл бұрын
Great vid, thank you vm. Can you please tell me what write/draw program you use? Thank you
@Freeball99
@Freeball99 2 жыл бұрын
The app is called "Paper" by WeTransfer. Running on an iPad Pro 13 inch and using an Apple Pencil.
@sefton5525
@sefton5525 3 жыл бұрын
Hi, what if there is an external horizontal force at m2?
@Freeball99
@Freeball99 3 жыл бұрын
You would incorporate this on the right-hand side of the equations as a moment. If it's a tangential force, then this would only affect the 2nd equation. If it is truly a horizontal force, then it would affect both equations of motion.
@arahman3897
@arahman3897 2 жыл бұрын
Thank you.
@pnarturkmen7284
@pnarturkmen7284 4 жыл бұрын
Hi, thanks for this detailed video. I have a question for you. Are these equations of motion and mathematical model of the double pendulum same thing? Or mathematical model of the double pendulum is what and how to calculated?
@Freeball99
@Freeball99 4 жыл бұрын
If we're going to get technical with this, I'd say the following...the EOM's and the mathematical model are not the same thing, but rather the EOM's are derived from the mathematical model. From the EOM's, we can calculate the response of the system.
@abhishek__gupta3500
@abhishek__gupta3500 2 жыл бұрын
dhanyawaad
@bryanfuentes1452
@bryanfuentes1452 3 жыл бұрын
correct me if I'm wrong, those two solutions form a System of two Second Order Non-Linear DE, right? and is there a next step?
@Freeball99
@Freeball99 3 жыл бұрын
There you go. kzfaq.info/get/bejne/pKhyhK6Lx5yuip8.html Additionally, this model can be incorporated into a control's problem and then the combined system can be solved...but that's for another class.
@spencergee6948
@spencergee6948 2 жыл бұрын
It may seem a silly question but if one assumes theta(1) = theta (2) at all times the system then becomes a single pendulum i.e. a rigid rod but with an extra mass in the 'middle'. Would the equations of motion you have produced describe the motion of such a pendulum?
@Freeball99
@Freeball99 2 жыл бұрын
Yes, although the equations would, in effect, reduce to a single degree of freedom system.
@mahirahmed-al8891
@mahirahmed-al8891 Жыл бұрын
Hi, I was going through some of the algebra while trying to do this problem myself with the help of your video and I think you may have made an error in 19:33 where you find the partial of the lagrange with respect to partial theta 2. I think you missed a negative symbol when finding the derivative of cos(theta1 - theta2). Great video, though, thanks for it. Helped a bunch!
@Freeball99
@Freeball99 Жыл бұрын
There are two negatives due to applying the chain rule, so they cancel out. The first negative comes from differentiating cos( ) and we get a second negative when differentiating the (θ1 - θ2) part with respect to θ2.
@dylaninho2500
@dylaninho2500 4 жыл бұрын
Thanks so much, on the equation of the potential energy why is it -(m1 + m2) and not just -(m1)? Thank you
@Freeball99
@Freeball99 4 жыл бұрын
I showed this mathematically in going from equation 8 to equation 9. If you write out on the substitutions on a piece of paper, you'll find it's just algebra. But one way that you can think about it physically, it was when Θ1 increases, it lifts, both m1 and m2, however, when Θ2 increases it lifts only m2.
@dylaninho2500
@dylaninho2500 4 жыл бұрын
Freeball Okay thank you 👍
@xXTobascooXx
@xXTobascooXx 3 жыл бұрын
Very intresting. How would the equations look like if you added friction?
@Freeball99
@Freeball99 3 жыл бұрын
Check out my video on Coulomb damping which explains how to incorporate friction in the equation of motion. kzfaq.info/get/bejne/h7uimKR-nLC4p58.html
@cankaraca456
@cankaraca456 4 жыл бұрын
Hi, great video! I have a rather stupid question but I'm only in high school so we haven't looked at Langrangians yet. What is the purpose of you using Lagrange's equation once you have your L (where L is T-V)? Thanks a lot
@Freeball99
@Freeball99 4 жыл бұрын
Often in structural vibration theory, one must deal with structures which are NOT statically determinate. This means that one cannot use Newton's 2nd Law to get meaningful results and needs to turn to other methods - namely energy methods which deal with conservation of energy amongst other things. Lagrange's equations are used to find the equations of motion from the expressions for the energy of the system and these equations of motion can then be solved to determine exactly how the system moves in time. Lagrange's equations are derived using something called Hamilton's Principle which relies on a branch of mathematics called Variational Calculus. It's advanced stuff and typically deriving Lagrange's Equations is saved for advanced structures classes. HOWEVER, the resulting Lagrange's Equations are easy to implement and are very powerful tools so their use typically gets introduced in lower level classes - long before most folks have the required background to derive them.
@cankaraca456
@cankaraca456 4 жыл бұрын
@@Freeball99 Ok great thanks, just another question I have is what the next step would be because I know that in your video involving the simple pendulum, you had a differential equation that you solved and got θ(t) = Acoswt. How would you go from what you have in this video to something like θ(t) = Acoswt? Thanks again.
@Freeball99
@Freeball99 4 жыл бұрын
@@cankaraca456 Since these equations are nonlinear in their current form, one cannot write them in a closed-form solution (ie you cannot write the response as a function). Therefore, the equations must be integrated directly using numerical methods. I have showed an example of this here: kzfaq.info/get/bejne/iaygfcWera-5cmQ.html HOWEVER, the equations can be linearized IF the displacements are assumed to be small (θ's of less than about 15°). In this case, you can make the assumption that Sin θ = θ and that Cos θ = 1 and apply this to the equations of motion. The response can then be written as a function (as you have described) using the method shown in this video: kzfaq.info/get/bejne/sNVigM9pnbfdonU.html
@jeffpark1099
@jeffpark1099 3 жыл бұрын
Thank you i can solve my assignment thanks to you
@lidiamarotta3524
@lidiamarotta3524 3 жыл бұрын
e comm t piac e copia frate
@lidiamarotta3524
@lidiamarotta3524 3 жыл бұрын
e ij so a scem ca
@whatitmeans
@whatitmeans 3 жыл бұрын
Why when doing generalized coordinates happens that, when derivating by one of these coordinates, let say theta_1 as it is done in the video, when is applied to the time derivative of the same coordinate, it happen to be considered as an uncorrelated constant: d/dtheta_1 (d/dt(theta_1(t))) = 0 ???? Or as is done on the video: d/dtheta_1( dot_theta_1) = 0 ??? Why happens that d/dt(theta_1) is not dependent of theta_1??? I can't understand this :s
@Freeball99
@Freeball99 3 жыл бұрын
This goes back to the derivation of the Euler-Lagrange Equation and Lagrange's Equation which I show in this video: kzfaq.info/get/bejne/gr9dfcamvte3dZ8.html At one point in the derivation, we take the variation of the Lagrangian (at the 2:30 mark in the attached video) and this involves that the TOTAL DERIVATIVE of the Lagrangian. When doing this, we treat the dependent variables (the coordinates) and their derivatives as independent quantities. We later resolve the fact that there are related quantities by using integration by parts. It's a little hard to explain in this text, but if you watch the video, it covers this part.
@freesiaelsie9803
@freesiaelsie9803 2 жыл бұрын
Does the derivation change when there is an external torque at the beginning of each rod?
@Freeball99
@Freeball99 2 жыл бұрын
If there is a moment applied about the first hinge point, then this will appear on the right hand side of the first equations and if there is a moment applied about the second hinge point then this will appear on the right hand side of the second equation.
@JasonSmith-rq3pt
@JasonSmith-rq3pt 2 жыл бұрын
What happened to the (theta dot 1 - theta dot 2) from equation 17 in equation 19?
@Freeball99
@Freeball99 2 жыл бұрын
Equation 19 is correct as written. I multiplied out the (theta_dot1 - theta_dot2) and then the terms with the theta_dot2 cancel out. What remains is just the theta_dot1 which appears in eqn 19. If you write it out, it will become apparent.
@jamesdong8179
@jamesdong8179 4 жыл бұрын
would it be much different using radial (a.k.a. polar) coordinate system where the only coordinate known is r (or in this case l1 or l2) and the angle (in this case theta)? Does it only involve skipping the step of converting into cartesian coordinates or is there something more?
@Freeball99
@Freeball99 4 жыл бұрын
You could model this directly in polar coordinates if you prefer. However, from my experience, in most case where you're dealing with pendulums and gravitational effects, it tends to be easier to define your kinematics in cartesian coordinates.
@jamesdong8179
@jamesdong8179 4 жыл бұрын
@@Freeball99 weird, I've only been taught the polar method. I found it difficult transforming between the two. I still prefer the polar, due to movement being predominantly circular. Thanks for your reply
@zainabiftikhar7746
@zainabiftikhar7746 2 жыл бұрын
Thanks sir 😍😍😍
@alexroumanidakis4470
@alexroumanidakis4470 3 жыл бұрын
Right around the 18:12 mark it appears you forgot the (theta dot 1 - theta dot 2) term from the time derivative component, you missed it on both equations of motion actually. Is there some unmentioned reason that term goes away?
@Freeball99
@Freeball99 2 жыл бұрын
I skipped a step here just to save a little time. If you expand out the equation (ie distribute the (theta dot 1 - theta dot 2) ), you will find that terms cancel out. Try expanding out the previous step and a piece of paper and you will see which terms cancel out. It is correct as written.
@pulkitmohata5283
@pulkitmohata5283 4 жыл бұрын
In the 1st equation why is it not "- (m1 + m2)gsin(theta1)" i.e. why is it positive and not negative?
@Freeball99
@Freeball99 4 жыл бұрын
In equation 19 the + sign is correct. It's actually the line before this where I should have put a + sign instead of a -ve. Substituting eqn. 18 into eqn. 15 is what causes the sign to flip to +ve. Thanks for catching it.
@gunsdark2000
@gunsdark2000 3 жыл бұрын
A silly question, why in this case we don't consider the rotacional Kinect energy such as the double compound case ?
@Freeball99
@Freeball99 3 жыл бұрын
This is due to assumption #1 that the masses are point masses so the have no rotational kinetic energy. The rotational KE effects are generally omitted for teaching purposes just in order to keep it a little more simple and easy to follow. Also, for a typical setup, the rotational KE effects tend to be less important (unless the diameter of the masses is very large). The compound pendulum then demonstrates how to include these effects. For a compound pendulum, the rotational KE effects tend to be far more important than for the case of the simple pendulum.
@Akash-tl6rm
@Akash-tl6rm 3 жыл бұрын
Can you please explain through equations of motion, how double pendulum is an example of chaotic system.
@Freeball99
@Freeball99 3 жыл бұрын
This is due to the fact that this system is highly nonlinear. As a result, the response of the system is extremely sensitive to the initial conditions. A slight change to the initial condition will result in a very different response. This is one of the hallmarks of a chaotic system.
@saifayman3984
@saifayman3984 Жыл бұрын
a question why do we assume the rods to be massless
@Freeball99
@Freeball99 Жыл бұрын
In the case of a simple pendulum, it is a common assumption. What we are really saying is that the mass of the rod is so much less than the mass of the pendulum bob that its contribution to the kinetic and potential energies is insignificant. If we want to take the mass of the rod into account (as it grows larger), then this becomes a compound pendulum. I have some videos on compound pendulums with explain how to model those.
@privateparty4900
@privateparty4900 4 жыл бұрын
It has been 15 years and change since I took a calc class: why does the derivative of x sub 1 include the derivative of theta sub 1? Isn't the derivative of Sin (x) just Cos (x)?
@Vova__
@Vova__ 4 жыл бұрын
Because theta is considered a function of time. That means we have to apply the "chain rule": multiply the expression we get (in this case exactly that cos(theta sub 1) which you mentioned) by the derivative of the function inside the sine (theta sub 1)
@DD-zv3yc
@DD-zv3yc 4 жыл бұрын
Is this solution used to make a description of the energy? since if I put that teta1 and teta2 are equal to pi / 2 and their derivatives equal to zero, it gives me that the energy of the system is zero. this does not agree with his movement
@Freeball99
@Freeball99 4 жыл бұрын
I'm not sure I understand. Where does it show that the energy of the system is equal to zero?
@dprashad7838
@dprashad7838 4 жыл бұрын
Nice description. Can you do this in Matlab? And show simulation?
@Freeball99
@Freeball99 4 жыл бұрын
Sorry, but I no longer use MATLAB since deciding to take the plunge into Python several years ago. Much cheaper.
@samicalvo4560
@samicalvo4560 3 жыл бұрын
What is the app/software you use to do these slides?
@Freeball99
@Freeball99 3 жыл бұрын
The app is called "Paper" by WeTransfer. Running on an iPad Pro 13 inch and using an Apple Pencil.
@padua3784
@padua3784 Жыл бұрын
Hi, its an amazing video. Congratulations! I would like to do how to proceed in the case that the double pendulum is attached to a car of mass m1+m2 with velocity v0 in a surface without friction.
@Freeball99
@Freeball99 Жыл бұрын
I have a video with a pendulum on a cart (kzfaq.info/get/bejne/fNVnntiGpq7OY6c.html). While it is not exactly what you're asking about, it is pretty close. Using this video and the one above, you should be able to derive the equations of motion for a double pendulum attached to a cart.
@padua3784
@padua3784 Жыл бұрын
@@Freeball99 I will see. Thank you so much.
@carldan
@carldan 2 жыл бұрын
this question might sound silly, but how can energy, for instance, potential energy be negative (if both angles are 0)?
@Freeball99
@Freeball99 2 жыл бұрын
This comes down to where you set your zero-point. In reality, the potential energy is only zero at the center of the earth, however, we can arbitrarily set a point to be zero by shifting our axes. The truth is that we really only care about change in the potential energy rather than the absolute value. In this problem, I the axes we placed at the top hinge, so any masses below this would, in effect, have -ve potential energy. If the axes had, instead, been attached to the bottom mass, then that would be zero potential energy and all potential energies would be positive.
@DonatoGreco
@DonatoGreco 2 жыл бұрын
@19:04 I still find in eq.19 an error in the last term, it is a minus sign (-) that precedes the last term, isn't it? Anyway a great explanation of the exercise Thanks for sharing
@assassin3693
@assassin3693 2 жыл бұрын
The issue is actually the line before, the sign should be a plus since we are subtracting eq. 18 both of the minus signs become a plus.
@nihargandhi3740
@nihargandhi3740 2 жыл бұрын
equation 22 wouldn't it be negative (the 1st part partial derivative of T)
@Andy-hy8px
@Andy-hy8px 2 жыл бұрын
When taking the derivative with respect to θ2, we get two negatives in the first term which combine to form a positive. Applying the chain rule to cos(θ1 - θ2) gives us -sin(θ1 - θ2) · (-1) = +sin(θ1 - θ2) . So, this term should have a positive sign.
@haritssyah7434
@haritssyah7434 4 жыл бұрын
Its interesting. Whats tools do you use ?
@Freeball99
@Freeball99 4 жыл бұрын
App is "Paper" by WeTransfer. Running on iPad Pro 13-inch. Using an Apple Pencil.
@an_orange8911
@an_orange8911 4 жыл бұрын
I have got a really stupid question if you don't mind; in writing potential energy equation for mass 1 and 2, you wrote as (I'm considering m1 for now): m1gy1 = m1g(-L1cosO1). My question is that why didn't you take 'h' = (L1-L1cosO1) instead you took only -L1cosO1. Shouldn't the 'h' be the difference of the mass from initial (mean) position to the extreme position? Thanks for all these great videos btw; they are helping a lot.
@Freeball99
@Freeball99 4 жыл бұрын
Definitely not a stupid question...both are correct. The difference is just due to a constant (L1) which is a result of where one assumes the potential energy is zero. In this problem, I have assumed that zero potential is where the system attaches to the ceiling. In your description of the problem, zero potential (of m1) is assumed to be at the rest position of m1. The point is that we don't really care about the absolute value of the potential energy, but rather WE CARE ABOUT ITS DERIVATIVE (ie the CHANGE in potential energy with each coordinate). Once we substitute the potential energy expression into Lagrange's equations and differentiate it, the constant disappears and both our descriptions of potential energy yield the same results.
@genres381
@genres381 3 ай бұрын
12:40 What does Q_i mean there. Isn't all of the lagrange equation suppose to equal 0 there?
@Freeball99
@Freeball99 3 ай бұрын
The Q_i represent the generalized force. It is zero if there is no externally applied force/moment in the direction of a particular generalized coordinate.
@joeboxter3635
@joeboxter3635 3 жыл бұрын
What writing software do you use?
@Freeball99
@Freeball99 3 жыл бұрын
The app is called "Paper" by WeTransfer. Running on an iPad Pro 13 inch and using an Apple Pencil.
@sambaquero
@sambaquero 3 жыл бұрын
Hi... I got a question. In the kinetic energy there is no inertia applied? With an angular velocity? Thanks for the video And what if I want to do an inverted double pendulum, should I change the signs of y? :)
@Freeball99
@Freeball99 3 жыл бұрын
This is due to the assumption that these are point masses so they have no rotatory inertia. For the inverted pendulum problem, take a look at this video which explains it: kzfaq.info/get/bejne/fNVnntiGpq7OY6c.html - You need to be careful with just flipping your coordinate system. Fundamentally, it is the potential energy expression that will flip signs, but you need to be careful to be consistent with your definition of the positive direction of θ.
@sambaquero
@sambaquero 3 жыл бұрын
​@@Freeball99 Thanks for the explanaiton. The thing is that I need to do like a human spine and I was looking for a mathematical model or at least an example, because it feels so difficult to do a 3D model, don't know if you have any idea... And sorry for bothering you.
@JohnSmith-kj2od
@JohnSmith-kj2od 3 жыл бұрын
I don't believe my luck, I had a double pendulum problem yesterday on a major test and this video pops up today :(
@Freeball99
@Freeball99 3 жыл бұрын
Clearly your best option is to watch all these videos immediately so that you've got the next test covered!!
@JohnSmith-kj2od
@JohnSmith-kj2od 3 жыл бұрын
@@Freeball99 ahhh mate I will but unfortunately we're doing electrodynamics now so these won't show up anytime soon. Love the content tho
@MRawesome202
@MRawesome202 4 жыл бұрын
so, i am not sure weather or not anyone can help me with this, i am working on an assignment in python, and we have been asked to use Euler method to predict the oscillation of a simple pendulum. this i have done, and this is very much thanks to your other video on that subject. the problem now that i have though is, the second part of the assignment is to extend the solution to a new pendulum. the new pendulum though is just the same as the old pendulum but with a joint in the rod. so that it looks very much like a double pendulum. but there is no mass at that new middle point, and that is what is making me feel uneasy. i dont think i know what the best way to proceed would be, does this Lagrange method support a mass of 0 for one of the pendulum balls? or would it be easier/even possible for me to just modify the code i already have for the euler method of a simple pendulum with a new element? any advice would be appreciated
@MRawesome202
@MRawesome202 4 жыл бұрын
also, another weird thing is, it specifically asks that i derive the equations of motion in terms of theta1 and theta2, these being the angles of rotation of the two joints, instead of in terms of the x,y cords of the two points, which is yet more confusing to me
@Freeball99
@Freeball99 4 жыл бұрын
Do you have a figure that you can post using Dropbox or similar?
@omargassab7810
@omargassab7810 5 ай бұрын
I have question about the potential energy isn't it ==> V = mg(Y1-L1)+mg(Y2-(L1+L2)) ? I thought that the potential energy would be only the remaining part and not all of the height (Y is positive in the up direction) thank you so much for the content , really really helpful !
@Freeball99
@Freeball99 5 ай бұрын
The difference here is just a matter of the coordinate system used and where you place the origin. This comes down to the question of where does the system have zero potential energy. Some might define that the point of zero potential energy is the center of the earth, others might define it as the height of a mass in its equilibrium position. In my case, I placed the origin at the hinge (whereas yours places it at the mass). Shifting the location of the origin, will simply change the potential energy expression by a constant. So the observation that you made is the correct one, namely, that for the purpose of Lagrange's Equations, the actual value of the potential energy is irrelevant. What is relevant is the DERIVATIVE of the potential energy - as long as these match, then you're good. As a result, you should pick whichever coordinate system you find most comfortable.
@pahandulanga1039
@pahandulanga1039 10 ай бұрын
Wouldn't this calculation process be easier using polar coordinates?
@Freeball99
@Freeball99 10 ай бұрын
Generally I find it simpler to derive pendulum problems in cartesian coordinates and it is less prone to errors. You can certainly derive it in polar coordinates. Try it and see if you can get the same results.
@rodrigosoutilha9751
@rodrigosoutilha9751 3 жыл бұрын
So the motion does not depend on the first pendulum's point mass?
@Freeball99
@Freeball99 3 жыл бұрын
Yes, the motion does depend on m1 as shown in equation 19.
@tabatuby
@tabatuby 3 жыл бұрын
Hello sir, quick question for you. If you had an external moment applied to either m1 or m2, how would you factor that into the lagrangian?
@Freeball99
@Freeball99 3 жыл бұрын
According to Lagrange's Equations, the generalized forces, Q_i appear on the right hand side of the equation. So in the case of a moment applied to mass 1, this would appear on the right hand side of equation 1. For a moment on mass 2, this would appear on the right hand side of equation 2 - this includes both conservative and non-conservative forces/moments.
@nihargandhi3740
@nihargandhi3740 2 жыл бұрын
@@Freeball99 yeah, and i if i am not wrong on the right hand side we only consider the non conservative forces because the delta W (work done) should be of non conservative forces. plss correct me if i am wrong as at this part i am confused. i get confused on what to put when we come to RHS of Lagrange's Equation
@Andy-hy8px
@Andy-hy8px 2 жыл бұрын
@@nihargandhi3740 Any non-conservative forces should appear on the right-hand side. Additionally, if you have conservative forces, you can EITHER add these on the right-hand side as work OR can be included on the left-hand side as part of the system potential which is just the negative of the external work produced by the conservative force (V = -We).
@nihargandhi3740
@nihargandhi3740 2 жыл бұрын
@@Andy-hy8px ohhh yeah I get it. Thanks for the explanation 👍
@sector1wb884
@sector1wb884 3 жыл бұрын
If we place pendulum in elevator with upward acceleration a . What effect on them?
@Freeball99
@Freeball99 3 жыл бұрын
This would, in effect, increase g. So it would increase the restoring force on the pendulum. As a result, the pendulum will oscillate at a higher frequency.
@sector1wb884
@sector1wb884 3 жыл бұрын
@@Freeball99 thanks 😊
@casualfreediving8780
@casualfreediving8780 2 жыл бұрын
Hey, how would one rearrange these so they can be used for a numerical solution? It’s my first time with lagrangians. Edit: By that I mean, is it possible to separate out it to thetaDoubleDot = (something including theta and probably thetaDot) since I’d know how to use that for a numerical solution then.
@alexting827
@alexting827 2 жыл бұрын
errrrrrr differential equ u solve after that
@alexting827
@alexting827 2 жыл бұрын
basically you have a system of 2 second order differential equations and you just solve them which is massively painful because....well, just try it :D
@Freeball99
@Freeball99 2 жыл бұрын
It is shown here: kzfaq.info/get/bejne/pKhyhK6Lx5yuip8.html
@niyonsabajeanpierre1309
@niyonsabajeanpierre1309 2 жыл бұрын
It id nice , for me if possible, give me the information on this question. "Consider a partical of mass m moving freely in a scalar potential v. Find the equation of motion of that partical in A) Cartesian motion B)cylindrical C) and spherical notion Thank you to to see my comment.
@Freeball99
@Freeball99 2 жыл бұрын
Thanks for your question, I will have to save this for a different video since the text comments are too limiting.
@user-tf7um1lo3w
@user-tf7um1lo3w 4 жыл бұрын
What about the terms Qi?
@Freeball99
@Freeball99 4 жыл бұрын
In this problem, the Qi's are 0 because there are no externally applied forces or moments.
@YoutubeModeratorsSuckMyBalls
@YoutubeModeratorsSuckMyBalls 2 жыл бұрын
Q_i in Lagrange's equation why did you make it equal to 0?
@Freeball99
@Freeball99 2 жыл бұрын
This is because there is no external moments being applied.
@bapibasak2842
@bapibasak2842 4 жыл бұрын
Can you make a python program of visualizing the path traced by the 2nd bob of the pendulum?
@Freeball99
@Freeball99 4 жыл бұрын
Yes, good idea. There you go. Here is part 1. The other parts will be out within a week or so. kzfaq.info/get/bejne/pKhyhK6Lx5yuip8.html
@bapibasak2842
@bapibasak2842 4 жыл бұрын
@@Freeball99 thank you😊
@wduandy
@wduandy 4 жыл бұрын
@@Freeball99 THANK YOUU
@vincenttarantino4823
@vincenttarantino4823 4 жыл бұрын
What software are you using to make these videos????
@Freeball99
@Freeball99 4 жыл бұрын
Vincent Tarantino software is “Paper” by WeTransfer. Using an iPad Pro 13-inch and Apple Pencil.
@vincenttarantino4823
@vincenttarantino4823 4 жыл бұрын
@@Freeball99 Awesome! It looks so good! I'm a Physics teacher and I'll have to be teaching online classes and I love the way this looks so that's what I'm going to use
@RAY33S
@RAY33S 3 ай бұрын
18:15 sir ig you wrote an extra term there + there won't be any negative term, bcz we have minus sign in the formula L=T-V and thus the negative terms will become positive
@Freeball99
@Freeball99 3 ай бұрын
Yes, there is a careless typo here. The - sign should be + here, I have it correct in the lines that follow. Which is the extra term?
@dylaninho2500
@dylaninho2500 3 жыл бұрын
From equations 17 to 18, where does (theta 1 dot - theta 2 dot) go?
@dylaninho2500
@dylaninho2500 3 жыл бұрын
Never mind I see thanks anyway
@Freeball99
@Freeball99 3 жыл бұрын
I multiplied it out (distributed it). If you look at the 3rd and 4th terms of the following equation, you will see that they are contained there.
@dylaninho2500
@dylaninho2500 3 жыл бұрын
@@Freeball99 thanks , how would I then solve these equations?
@maripanejt8227
@maripanejt8227 3 жыл бұрын
Around 8:35, why is L1 dot not squared buh theta1 dot squared?
@Freeball99
@Freeball99 3 жыл бұрын
This was an error, but I corrected it a few minutes later in the video.
@lidiamarotta3524
@lidiamarotta3524 3 жыл бұрын
perchè il papa non è re ;)
@andrealiu8650
@andrealiu8650 3 жыл бұрын
Really great video! I have a question about potential energy, eqn 9. The h1 for m1 shouldn't be l1(1-cos(theta 1))? And the h2 for m2 corresponds l1(1-cos(theta 1))+l2(1-cos(theta 2))? Why use the y1 which is displacement of m1? It seems not consistent with your another video that describes the potential energy with h. Looking forward to your help. Thanks~
@Freeball99
@Freeball99 3 жыл бұрын
Good question. I purposely did it differently to prove a point...These are, in effect, the same thing. They just differs by a constant, so really it amounts to where one decided to place the the point of zero potential energy (the origin of your axes). I have assumed that the zero potential is at the hinge while your expression puts the zero potential energy location at the lowest position of the mass. The truth is that BOTH are equally valid. It turns out that we don't really care about the absolute value of the potential energy (and the location that we call zero potential energy is somewhat arbitrary - technically the point of zero potential energy is really at the center of the earth). Rather, what we care about is the DERIVATIVE of the potential energy and the derivatives are identical (because you just added a constant, l1, which disappears when you differentiate it.
@andrealiu8650
@andrealiu8650 3 жыл бұрын
@@Freeball99 I see your point, I care about the derivative of potential energy and for object m1 it's m1gl1sin(theta1)
@hwelsh549
@hwelsh549 2 жыл бұрын
@@Freeball99 I have been watching different videos searching for an explanation on why people use different methods for calculating potential energy. Thanks so much for the thorough explanation!:-)
@yunitasyafitri5723
@yunitasyafitri5723 3 жыл бұрын
Hello sir; I want to ask you about how x could be l sin teta ... please answer me, because this is my task 😟
@Freeball99
@Freeball99 3 жыл бұрын
This comes from the geometry of the problem and based on the fact that θ1 is measured relative to the vertical direction. Based on the definition of the coordinate system and the location of the angle, θ1, the x1-coordinate is equal to the length of the side opposite θ1, and we already know the length of the hypotenuse (which is L1), so from trigonometry: sin(θ1) = x1 / L1 which gives us x1 = L1 * sin(θ1)
@hikmahmaulidina333
@hikmahmaulidina333 3 жыл бұрын
Why y using -cos not cos?
@Freeball99
@Freeball99 3 жыл бұрын
@@hikmahmaulidina333 Because the y-axis is defined as positive upwards, so this is in the negative y-direction.
@onlineclassesforbeginners3854
@onlineclassesforbeginners3854 3 жыл бұрын
Two equal masses connected to a massless rigid rod of length L forming a dumbbell rotated In X-Y plane. Find Lagrange equation of motion for this system.
@onlineclassesforbeginners3854
@onlineclassesforbeginners3854 3 жыл бұрын
kindly solve this problem
@Freeball99
@Freeball99 3 жыл бұрын
I need more information for this. Do you have a problem statement you can post?
@onlineclassesforbeginners3854
@onlineclassesforbeginners3854 3 жыл бұрын
@@Freeball99 yes
@javierd.1344
@javierd.1344 3 жыл бұрын
A question: how are these equations solved? Is there any numerical algorithm?
@Freeball99
@Freeball99 3 жыл бұрын
There you go, I solved it in this video: kzfaq.info/get/bejne/pKhyhK6Lx5yuip8.html
@lidiamarotta3524
@lidiamarotta3524 3 жыл бұрын
@@Freeball99 comm si fort, ti amo
@Jack-in1fk
@Jack-in1fk Жыл бұрын
Why you say: 1/2 ml²θ² = ml²θ ??? (θ dot)
@Freeball99
@Freeball99 Жыл бұрын
Not sure exactly what you are referring to - I'm guessing the substitution into Lagrange's equations...in which case, we are taking the derivative with respect to θ and then with respect to time.
@bryanfuentes1452
@bryanfuentes1452 3 жыл бұрын
what does those solutions mean? they still look like equations that needs to be solved
@pragyasharma44
@pragyasharma44 3 жыл бұрын
Absolutely!!
@aaronwtr1150
@aaronwtr1150 3 жыл бұрын
these 'solutions' are the differential equations describing the motion of the double pendulum. Indeed, this is not a conclusive solution just yet. In order to obtain this, you should solve this differential equation given certain boundary conditions.
@Freeball99
@Freeball99 3 жыл бұрын
I solve the equations in this video: kzfaq.info/get/bejne/pKhyhK6Lx5yuip8.html
@princechanyeol234
@princechanyeol234 11 ай бұрын
equation 17 was derivation of theta 1 w.r.t T ... why did not consider theta 2 constant
@Freeball99
@Freeball99 10 ай бұрын
This is because θ2 is a function of t. If we differentiate w.r.t. θ1, then we would treat θ2 as a constant, HOWEVER, when we differentiate w.r.t. t, then we are take the so-called "total derivative" - i.e. it is not a partial derivative.
@sayanjitb
@sayanjitb 3 жыл бұрын
In equation 15; why did you write Qi in right hand side of the equation? Shouldn't it be 0 instead?
@Freeball99
@Freeball99 3 жыл бұрын
This is just the general form of Lagrange's Equations. In this particular case, yes, it is equal to zero.
@michaelwang1730
@michaelwang1730 3 жыл бұрын
@@Freeball99 What does the Q_i mean in the general equation?
@Freeball99
@Freeball99 3 жыл бұрын
@@michaelwang1730 The Qi's are the generalize forces (ie forces or moments) associated with the ith coordinate. These are simply the forces/moments that are applied directly to the particular coordinate in question.
Introduction To The Lagrange Multiplier Method
21:25
Good Vibrations with Freeball
Рет қаралды 17 М.
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 32 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 7 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 59 МЛН
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
Lagrangian Mechanics and the Double Pendulum
10:40
Rhett Allain
Рет қаралды 40 М.
The Delta Operator (Variational Operation)
20:25
Good Vibrations with Freeball
Рет қаралды 53 М.
But why wavefunctions? A practical approach to quantum mechanics
22:39
Physics with Elliot
Рет қаралды 177 М.
Chaos: The Science of the Butterfly Effect
12:51
Veritasium
Рет қаралды 7 МЛН
How a Gyroscope Works ⚡ What a Gyroscope Is
12:24
VirtualBrain [ENG]
Рет қаралды 189 М.
Coding Challenge 93: Double Pendulum
31:11
The Coding Train
Рет қаралды 916 М.
Double pendulum: equations of motion for small oscillations
22:48
Dr Ben Yelverton
Рет қаралды 16 М.
Understanding Aerodynamic Lift
14:19
The Efficient Engineer
Рет қаралды 1,3 МЛН
The Brachistochrone Problem
20:44
Good Vibrations with Freeball
Рет қаралды 61 М.
Brief overview of Lagrangian Mechanics
11:13
Valen Feldmann
Рет қаралды 15 М.
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 32 МЛН