2nd order differential equation

Click For Summary

Discussion Overview

The discussion revolves around solving a second-order differential equation related to a physics problem involving motion and friction. Participants explore various methods for addressing the equation, which includes terms for mass, damping, and a constant force.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in solving the equation m(d^2x/dt) = -gamma - c(dx/dt) and notes issues with integrating both sides due to the presence of both velocity and position in the equation.
  • Another suggests introducing a new function u(t) = dx/dt to convert the equation into a first-order linear differential equation, proposing the use of an integrating factor for the solution.
  • A different approach is proposed to treat the equation as a non-homogeneous linear differential equation with constant coefficients, suggesting solving the homogeneous part first and then finding a particular solution using undetermined coefficients.
  • One participant elaborates on the method of setting u = dx/dt, leading to a straightforward solution for u(t) and subsequently for x(t), while questioning whether m and c are constants.
  • Another participant provides a detailed derivation of the general solution to the homogeneous equation and suggests a specific solution based on the nature of the right-hand side of the equation.
  • There is a suggestion to divide the equation by m to simplify it, although another participant points out that it is already a constant coefficient equation.
  • A more complex approach is introduced involving vector equations, detailing how to express the system in vector form and solve it using matrix exponentiation.

Areas of Agreement / Disagreement

Participants present multiple competing methods for solving the differential equation, with no consensus on a single approach. There is a mix of agreement on certain methods while others express differing preferences and interpretations of the problem.

Contextual Notes

Some participants note the importance of boundary conditions in determining constants in the solutions, while others emphasize the need for clarity on whether certain parameters are constant throughout the problem.

kristiakemi
Messages
4
Reaction score
0
I am currently solving a physics problem that requires me to solve the following equation

m(d^2x/dt)=-gamma-c(dx/dt) but I can't seem to come up with a method that makes sense. Note: Gamma is just some constant. I tried to integrate both sides wrt t but then I end up with both a velocity function and x(t) in the same equation and that physically doesn't make sense.

I've also tried to turn this into a 2nd order differential equation by saying:

m(d^2x/dt)+c(dx/dt)+gamma=0 . However, now, the issue is that I can't turn this into the characteristic polynomial because gamma does not have an x.

The gist of the problem is that For what Vo must a cup experience in order for it to fall off of a table of length H if the only force acting on the cup is coulumb friction, -gamma. I found that Vo>sqrt(2Hgamma/M). Now I need to solve this same problem when coulomb friction is now -gamma-c(dx/dt).

Any help solving m(d^2x/dt)+c(dx/dt)+gamma=0 or an idea of a different method would be great. thanks!
 
Physics news on Phys.org
Well, just invent the function u(t)=dx/dt to convert your equation into a first order linear for u, and use, for example, an integrating factor to solve for u.
Then solve for x(t).
 
Or, conversely, write it as the non-homogeneous linear differential equation with constant coefficients, [itex]md^2x/dt^2+ c dx/dt= \gamma[/itex]. Solve the related homogenous equation and use "undetermined coefficients" to find a specific solution to the entire equation.
 
I'd use arildno's method if I were you. Set u= dx/dt, and your equation becomes

[tex]u^{\prime} + \frac{c}{m} u + \frac{\gamma}{m} = 0[/tex]

Now, the solution of this is reasonably straightforward. If m,c and gamma are all constants, you can see that the solution for u(t) is of the form

[tex]u(t) = Ae^{-\frac{c}{m} t} + B[/tex]

where A,B are constants. To determine B, you can differentiate this and plug it into the u equation, and you'll see that

[tex]B = -\frac{\gamma}{c}[/tex]

Therefore,

[tex]u(t) = Ae^{-\frac{c}{m} t} - \frac{\gamma}{c}[/tex]

and you only need to integrate to find x(t). Also - if you have boundary conditions, you'll have to use those to find the value of A ( and the constant of integration that will emerge when you integrate u(t) ).

Are m and c constants? If not, you'll need a more general way of solving the u equation.
 
Last edited:
Matthew Rodman said:
I'd use arildno's method if I were you.

I wouldn't!:rolleyes: It's a matter of personal taste.

The characteristic equation of the homogeneous, linear equation with constant coefficients,
[tex]m\frac{d^2x}{dt}+ c\frac{dx}{dt}= 0[/tex]
is [itex]r^2+ cr= r(mr+ c)= 0[/itex] which has roots 0 and -c/m. That tells us that the general solution to the homogeneous equation is [itex]C+ De^{-ct/m}[/itex] for constants C and D.

Because the right hand side of the entire equation is a constant, we would normally try a 'specific solution' also a constant- however, since constant C is a solution to the homogeneous equaton, we try instead x= At. Then x'= A and x"= 0. The equation become [itex]cA= -\gamma[/itex] so [itex]A= -\gamma/c[/itex].

The general solution to the differential equation is
[tex]x(t)= C+ De^{-\frac{ct}{m}}- \frac{\gamma}{c}t[/tex]
 
divide by m to get a constant coeffecient equation, then solve for the reduced equation d^2x/dt^2 + (c/m)dx/dt = 0 and then solve for gamma/m using D as a constant
 
?? It is a "constant coefficient equation" to begin with. Dividing by m doesn't change that!
 
You can also solve this as a vector equation. In this case, the vector form is rather tedious. It can be quite useful (particularly if one has to resort to numerical methods to solve the differential equation).

Invent a vector variable [itex]u[/itex] such that
[tex]\vec u=\bmatrix x\\ \dot x\endbmatrix[/tex]

Then

[tex]\frac {d \vec u}{dt} =<br /> \bmatrix 0&1\\0&-\frac c m\endbmatrix\; \vec u +<br /> \bmatrix 0\\ -\frac{\gamma}m\endbmatrix[/tex]

Let
[tex]\mathbf A = \bmatrix 0&1\\0&-\frac c m\endbmatrix[/tex]

[tex]\vec b = \bmatrix 0\\ -\frac{\gamma}m\endbmatrix[/tex]

making

[tex]\frac {d \vec u}{dt} = \mathbf A\vec u + \vec b[/tex]

The homogeneous solution

[tex]\frac {d \vec u}{dt} = \mathbf A\vec u[/tex]

has solution

[tex]\vec u = \exp(\mathbf A t) \bmatrix x_h \\ v_h \endbmatrix[/tex]

where [itex]x_h[/itex] and [itex]v_h[/itex] are arbitrary constants and

[tex]\exp(\mathbf A t)<br /> \equiv \mathbf I + \sum_{n=1}^{\infty}\frac{t^n}{n!}\mathbf A^n[/tex]

In this case,

[tex]\mathbf A^n = \left(-\frac c m\right)^{n-1} \mathbf A, n \ge 1[/tex]

and thus

[tex]\exp(\mathbf A t) = \mathbf I + \frac m c(1-e^{-\frac c m t})\mathbf A[/tex]

making the homogeneous solution

[tex]\vec u_h =<br /> \bmatrix<br /> x_h + \frac m c(1-e^{-\frac c m t}) v_h \\<br /> e^{-\frac c m t} v_h<br /> \endbmatrix[/tex]

A specific solution to the imhomogeneous equation is

[tex]\vec u_s = -\frac{\gamma}c\bmatrix t\\ 1\endbmatrix[/tex]

Combining the homogeneous and imhomogeneous solutions,

[tex]\vec u = <br /> \bmatrix<br /> x_h + \frac m c(1-e^{-\frac c m t}) v_h - \frac{\gamma}c t\\<br /> e^{-\frac c m t} v_h -\frac{\gamma}c<br /> \endbmatrix[/tex]

The solution is thus

[tex]x(t) = x_h + \frac m c(1-e^{-\frac c m t}) v_h - \frac{\gamma}c t[/tex]
 
Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K