Simple pendulum with friction ODE

In summary, finding the general solution for a simple pendulum with friction involves solving a linear ODE with constant coefficients. The first step is to solve the characteristic equation, and depending on the value of the discriminant, the general solution can be written in different forms. If the discriminant is positive, the solution involves two exponentials. If it is 0, there is "resonance" and one of the solutions is multiplied by x. If it is negative, the solution involves an exponential and sine and cosine functions.
  • #1
S_Flaherty
75
0
I'm trying to figure out how to find the general solution for a simple pendulum with friction.


y'' + ky' + (g/L)y = 0


I know how to find the solution for a simple pendulum without friction:
y'' = -(g/L)y ... which leads to ... y = Acos((g/L)x)

So far I have: y'' + ky' + (g/L)y = 0, substituting m = y' and w^2 = g/L,
m^2 + km + w^2 = 0 so m = [-k ± sqrt(k^2 - 4(1)(w^2))]/2 ... I'm stuck here because
I can't remember how to reduce this so I can find the homogeneous equation for y.
 
Physics news on Phys.org
  • #2
I don't think there is an exact solution, that's why people tend to numerically solve its motion via computer.

You could try making the magnitude of the frictionless pendulum (A) changing over time but not the period and see if it works.
 
  • #3
This is a linear ODE with constant coefficients. You solve it by first solving its characteristic equation, which in this case is ## \lambda^2 + k\lambda + g/L = 0 ##, giving ## \lambda = \frac {-k \pm \sqrt{k^2 - 4g/L} } {2} ##. If the roots are different, then the solutions are given by ##y = Ae^{\frac {-k + \sqrt{k^2 - 4g/L} } {2}t} + Be^{\frac {-k - \sqrt{k^2 - 4g/L} } {2}t} ##. Note that the roots are typically complex, so A and B are also complex. By choosing them properly, you can transform the equation to ## y = e^{-(k/2)t} (A'\cos (\sqrt{(k/2)^2 - g/L})t + B'\sin (\sqrt{(k/2)^2 - g/L})t)##, where the constants are real.
 
  • #4
I confused as to what you mean by "homogeneous equation". In differential equations there are two uses of the word "homogeneous" one of which applies only to first order equations and so does not apply here. The other is that a linear differential of higher order is "homogeneous" if and only if every term involves y or a derivative of y- in other words there is no function of x only. What you have here is a homogeneous equation!

The 'characteristic equation' of this differential equation* is [itex]r^2+ kr+ (g/L)= 0[/itex]. By the quadratic formula, that has solution [itex]r= (-k\pm\sqrt{k^2- 4g/L})/2[/itex].
We can write the general solution as [itex]Ce^{[(-k+\sqrt{k^2-4g/L})/2]x}+ De^{[-k-\sqrt{k^2-4g/L})/2]x}= e^{-kx}(Ce^{\sqrt{k^2- 4g/L}x}+ De^{-\sqrt{k^2- 4g/L}x})[/itex]

What that "really" is depends on whether [itex]k^2- 4g/L[/itex] is positive, negative or 0. If it is positive then we simply have two exponentials. If it is 0, we have "resonance"- only a single root to the characteristic equation and will have one of the solutions multiplied by x. If it is negative, that square root gives imaginary roots so we will have [itex]e^{-kx}[/itex] times sine and cosine.



* We get that 'characteristic equation' by "assuming" a solution of the form [itex]y= e^{rx}[/itex] so that [itex]y'= re^{rx}[/itex] and [itex]y''= r^2e^{rx}[/itex]. Then [itex]y''+ ky'+ (g/L)y= r^2e^{rx}+ rke^{rx}+ (g/L)e^{rx}= (r^2+ kr+ (g/L))e^{rx}= 0[/itex]. Since [itex]e^{rx}[/itex] is never 0, we must have [itex]r^2+ kr+ (g/L)= 0[/itex].
 
Last edited by a moderator:
  • #5


First of all, great job on recognizing the need to use substitution to solve this ODE! Your approach is correct, but you just need to simplify the expression for m a bit more.

To find the general solution for a simple pendulum with friction, we need to solve the ODE: y'' + ky' + (g/L)y = 0. As you correctly identified, we can substitute m = y' and w^2 = g/L to get the equation: m^2 + km + w^2 = 0.

To solve this quadratic equation for m, we can use the quadratic formula:
m = [-k ± sqrt(k^2 - 4w^2)]/2. However, we need to simplify this expression further to get the homogeneous equation for y.

To do this, we can factor out a 2 from the denominator:
m = [-k ± sqrt(k^2 - 4w^2)]/2 = [-k ± sqrt(k^2 - 4w^2)]/[2*2]

Then, we can simplify the square root term by factoring out a w from the square root:
m = [-k ± sqrt(k^2 - 4w^2)]/[2*2] = [-k ± w*sqrt(1 - 4(k/w)^2)]/2

Finally, we can use the trigonometric identity cos^2x + sin^2x = 1 to rewrite the square root term:
m = [-k ± w*sqrt(1 - 4(k/w)^2)]/2 = [-k ± w*cos(arcsin(2k/w))]/2

Now, we can substitute this expression for m back into our original equation:
y' = m = [-k ± w*cos(arcsin(2k/w))]/2

This will give us the general solution for a simple pendulum with friction:
y = Ae^(-kx/2)*cos(arcsin(2k/w)) + Be^(-kx/2)*sin(arcsin(2k/w))

I hope this helps you find the solution for your ODE and understand the steps involved in solving it. Keep up the good work!
 

FAQ: Simple pendulum with friction ODE

1. What is a simple pendulum with friction ODE?

A simple pendulum with friction ODE is a mathematical model that describes the motion of a pendulum with friction. It takes into account the effects of friction on the pendulum's motion.

2. How does a simple pendulum with friction ODE differ from a regular simple pendulum?

A regular simple pendulum only considers the effects of gravity on the pendulum's motion, while a simple pendulum with friction ODE also takes into account the effects of friction.

3. What factors affect the motion of a simple pendulum with friction ODE?

The motion of a simple pendulum with friction ODE is affected by the length of the pendulum, the mass of the pendulum, the strength of the friction force, and the angle at which the pendulum is released.

4. How can the motion of a simple pendulum with friction ODE be analyzed?

The motion of a simple pendulum with friction ODE can be analyzed using differential equations and numerical methods, such as Euler's method or Runge-Kutta methods.

5. What practical applications does a simple pendulum with friction ODE have?

A simple pendulum with friction ODE can be used to model real-world systems, such as pendulum clocks or swinging doors, and can help predict their behavior and make improvements in their design.

Similar threads

Replies
20
Views
1K
Replies
9
Views
1K
Replies
14
Views
888
Replies
21
Views
2K
Replies
5
Views
1K
Replies
15
Views
2K
Back
Top