The Spring-dulum! | Equations of Motion with Lagrangian Mechanics

Here we determine the equations of motion for the elastic pendulum with Lagrangian Mechanics! Enjoy :3
Coordinate Essentials Equations Sheet: drive.google.com/drive/u/1/fo...
Chapters:
0:00 Introduction
0:48 (1) Defining Our Coordinates
1:53 (1a) Verifying with Degrees of Freedom
3:12 (2) Defining the Lagrangian
8:04 (3) Plugging into Euler-Lagrange Equations
Credits:
Vecteezy.com- Pendulum animation stock footage
Elastic Pendulum Simulator:
www.myphysicslab.com/springs/...
Hooke's Law Spring Simulator: phet.colorado.edu/
Music!
Track: Dreamy - Zackross [Audio Library Release]
Music provided by Audio Library Plus
Watch: • Dreamy - Zackross | Fr...
Free Download / Stream: alplus.io/dreamy
#lagrangian #pendulum

Пікірлер: 33

  • @Nightmare4You1
    @Nightmare4You123 күн бұрын

    Im a college student in Mechanical Vibrations and this is by far the best and most thorough explanation i have ever seen of this topic. You explain the mechanics so eloquently.

  • @madaydude_physics

    @madaydude_physics

    23 күн бұрын

    Wow, what an honor, much appreciated! :)

  • @hydropage2855
    @hydropage285518 күн бұрын

    Criminally underrated. Such a relaxing voice and style, and a great well-paced explainer. Instant subscribe

  • @madaydude_physics

    @madaydude_physics

    18 күн бұрын

    Thanks! Glad to hear you enjoy hydro :)

  • @hydropage2855

    @hydropage2855

    18 күн бұрын

    @@madaydude_physics I might make my own simulation. I made a numerical damped pendulum simulation, but this would be really interesting. Do you think it'd make sense to make a "coil" shape by taking a sine function with a fixed number of periods and plotting it in space while shifting it and rotating it as the spring expands and contracts? Because I'm pretty sure a coil from a side view is just a trig function

  • @madaydude_physics

    @madaydude_physics

    18 күн бұрын

    @@hydropage2855 Yup, there are different periodic shapes people will use for their springs, but that’s the right idea. I’d be happy to see a video of your simulation if you end up making it :3

  • @hydropage2855

    @hydropage2855

    18 күн бұрын

    @@madaydude_physics What program did you use? I think I’ll use Processing. Also, I’m really curious, how can damping be incorporated into a Lagrangian? I’m not sure how damping would work for a spring-dulum in general, I’m struggling to imagine that

  • @madaydude_physics

    @madaydude_physics

    12 күн бұрын

    ​@@hydropage2855 Hi again hydro-- one nice way to incorporate damping is with the Rayleigh Dissipation Function: these links will explain the basics phys.libretexts.org/Bookshelves/Classical_Mechanics/Variational_Principles_in_Classical_Mechanics_(Cline)/10%3A_Nonconservative_Systems/10.04%3A_Rayleighs_Dissipation_Function#:~:text=The%20Rayleigh%20dissipation%20function%20R(q%2C%CB%99q)%20provides,both%20Lagrangian%20and%20Hamiltonian%20mechanics.&text=Consider%20the%20two%20identical%2C%20linearly,%CE%B2)%20shown%20in%20the%20figure. en.wikipedia.org/wiki/Rayleigh_dissipation_function

  • @SayedHamidFatimi
    @SayedHamidFatimi22 күн бұрын

    I'm just a bored guy at home who likes physics and maths, you got my sub

  • @madaydude_physics

    @madaydude_physics

    22 күн бұрын

    Physics is indeed a good cure for boredom :3

  • @LandenDoesSomeMath
    @LandenDoesSomeMath20 күн бұрын

    I’d love to see you take this a step further with a torsion-spring-pendulum sort of deal, if that makes sense? Take this spring-dulum here and apply some torque to it as well as set it in motion and stretches from spring equilibrium

  • @Atrue0914
    @Atrue091418 күн бұрын

    Bro your channel is a gem 💎. Keep uploading such videos.

  • @madaydude_physics

    @madaydude_physics

    18 күн бұрын

    Thank you! Will do :)

  • @lgent2435
    @lgent243519 күн бұрын

    If the initial condition of the object is released from the angle θ and without initial velocity: a. What is the maximum spring elongation length? b. What is the speed of the object when θ = 0? Also what is the elongation of the spring at that time? How do you find the 2 points above?

  • @dogspaghetti7118
    @dogspaghetti711823 күн бұрын

    Omg, I loved this the other day :) You did a beautiful job explaining (youve gained a fan). Personally, do you prefer Lagrangian or Hamiltonian Mechanics?

  • @madaydude_physics

    @madaydude_physics

    23 күн бұрын

    Thank you! Oooh, that’s really tough >.> Hamiltonian Mechanics really appears everywhere, particularly foundational in Quantum… so that’s hard to beat + I happen to like thinking in terms of phase space! Both are amazing though!

  • @Zymplectic
    @Zymplectic24 күн бұрын

    Is there (in your opinion) ever a case where it is advantageous to use polar coordinates q=(p,theta) as generalized coordinates as opposed to Cartesian coordinates q=(x,y). While the method you presented is generally found in textbooks, I found that derivations with Cartesian coordinates yield significantly faster simulations, and that Cartesian coordinates allows for considerably easier derivations for multi-spring systems, which in addition are trivial in Hamiltonian mechanics.

  • @madaydude_physics

    @madaydude_physics

    24 күн бұрын

    I don’t have a very strong opinion on this either way for this problem, as you would know from your simulation work formalisms like Lagrangian and Hamiltonian mechanics are so nice due to their form invariance under coordinate transformations (canonical transformations at least). I would at the very least say in problem solving if you save on the number of coordinates in a different coordinate system, you should use it. For example, for a simple pendulum it would be far more efficient to use a single angle instead of tracking both x and y (or having to write out the dependence of y on x using your constraint since you’d be using more coordinates than your degrees of freedom otherwise). But yeah, of course coordinate systems are a choice, we can convert between them easily as well etc etc. Cool simulations by the way, I checked a few out :)

  • @Zymplectic

    @Zymplectic

    24 күн бұрын

    @@madaydude_physics Alright, thanks for the input. I've been curious for a while why derivations (textbooks and otherwise) almost always use polar coordinates. The angle is indeed the simplest choice for the 1DOF simple pendulum, and also for the zero gravity case of the spring pendulum that reduces to 1DOF from conservation of angular momentum. For the simple pendulum, it is actually more efficient to use two Cartesian coordinates than a single angle (about a factor of 2 or 3 in C. Trigonometric functions are just that slow) - although this requires constraints that generally make derivations non-trivial. Of course you may disregard numerical performance for tasks involving analytical treatment. Thanks, you too. Apparently there was a reason why my feed picked up on spring videos just now.

  • @madaydude_physics

    @madaydude_physics

    24 күн бұрын

    @@Zymplectic Yes, thank you as well, having this nice numerics perspective with an idea of the differences between those computation times will be nice for others to note as well

  • @ES-qe1nh
    @ES-qe1nh21 күн бұрын

    Hi, I think your videos on these topics are quite good. May I ask, what's your educational background/ can viewers expect videos anytime soon on topics like quantum field theory or relativity? Thanks again for your work

  • @madaydude_physics

    @madaydude_physics

    20 күн бұрын

    I’m glad you enjoy the videos here! I’m currently an undergraduate going into a Physics PhD, doing experiment based research, not theory, so generally speaking my videos are naturally going to have a bit more of a utilitarian flavor to them. To answer your question: it’s probable I will *eventually* cover such concepts, but regardless I would want to make more foundational content with undergrad level E&M, Quantum, Thermo etc before I get to that (assuming I don’t drown in grad level work and research first haha).

  • @gametimewitharyan6665
    @gametimewitharyan666523 күн бұрын

    I am just a grade 11th student but I enjoyed watching your video a lot! You gained another sub

  • @madaydude_physics

    @madaydude_physics

    23 күн бұрын

    Thanks, glad to hear it :)

  • @SamanthaPyper-sl4ye
    @SamanthaPyper-sl4ye12 күн бұрын

    Theorem 9: The Euler-Lagrange equations, which are the fundamental equations of motion in classical mechanics and field theory, can be derived from the principle of least action, which states that the path taken by a system between two points is the one that minimizes the action integral. Proof: Let q_i(t) be the generalized coordinates of a system, and let L(q_i, dq_i/dt, t) be the Lagrangian of the system, which is a function of the coordinates, their time derivatives, and time. The action integral S is defined as the integral of the Lagrangian over time: S = ∫_t1^t2 L(q_i, dq_i/dt, t) dt The principle of least action states that the path taken by the system between two points (q_i(t1), q_i(t2)) is the one that minimizes the action integral S. To find the equations of motion, we require that the variation of the action integral with respect to the path is zero: δS = 0 Using the calculus of variations, we can show that this condition leads to the Euler-Lagrange equations: (d/dt) (∂L/∂(dq_i/dt)) - (∂L/∂q_i) = 0 for each generalized coordinate q_i. These equations describe the motion of the system and can be used to derive the conservation laws and symmetry principles of classical mechanics and field theory. The fact that the equations of motion can be derived from a variational principle, which involves minimizing an integral, suggests that the concept of zero or nothingness (in the sense of a minimum or stationary point) may play a fundamental role in the dynamics of physical systems. Moreover, the action integral itself can be interpreted as a measure of the "amount of nothingness" in the path of the system, in the sense that it vanishes for the classical path (the one that satisfies the equations of motion) and is positive for all other paths. This interpretation suggests that the classical path of a system can be seen as a "zero mode" or "vacuum state" of the action integral, and that the properties of this zero mode may be related to the fundamental laws of physics and the symmetries of nature.

  • @Lucifero222
    @Lucifero22212 күн бұрын

    Hey! , a genuine question here from trigonometry. I was doing trig then i came upon an angle whose value in trig functions i forgot from the table, From their i remembered a trick of learning those values from the early days, to write down the numbers(for angles-(0,30,45,60,90 only) 0,1,2,3,4 then dividing these by 4 and then taking a square root and then respectively we get the values 0,1/2,1/rt2,rt3/2,1 *Why does this trick work?*i am getting an insight into this regarding the unit circle and the 4 quadrants but still cannot get an accurate answer , tried finding the answer on google, it was something like mentioned above but it did not explain well. Kindly spend a minute or two on this thought and if possible please make a video of it. Thankyou Amazing video by the way👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻

  • @madaydude_physics

    @madaydude_physics

    12 күн бұрын

    Nice question, I think this is a great idea to make a little video on those proofs. I’ll add this to my video plans

  • @husamaltalhi8579
    @husamaltalhi857921 күн бұрын

    Hey madaydude, you helped me a lot with this video. i did some work on a simplified grasshopper landing model,if you can help with checking what i did that would be helpful 😊

  • @madaydude_physics

    @madaydude_physics

    21 күн бұрын

    Glad to hear it! Now I’m no expert on grasshopper landing *ahem* so I might not be of too much use, but I’d be curious to hear about your work, sounds interesting!

  • @husamaltalhi8579

    @husamaltalhi8579

    21 күн бұрын

    @@madaydude_physics oh, don’t worry too much, the model is simple. It’s almost acts as a three link manipulator, i am mainly concerned about my (derivation, kinematics, and how i add an input), thanks in advance, so where can i send you the file?

  • @madaydude_physics

    @madaydude_physics

    18 күн бұрын

    @@husamaltalhi8579 Ok, try emailing it to me: use the email attached on my channel page under channel details... I'm going to use you as my guinea pig also to make sure that's set up right ;)

  • @husamaltalhi8579

    @husamaltalhi8579

    17 күн бұрын

    @@madaydude_physics i sent the files, 🙏

  • @madaydude_physics

    @madaydude_physics

    16 күн бұрын

    @@husamaltalhi8579 Excellent, I will check it out when I have spare time