How to solve a differential equation with a cosine term?

  • Thread starter Thread starter Reid
  • Start date Start date
  • Tags Tags
    Cos Ode Weird
Click For Summary
SUMMARY

The differential equation \(\ddot{x} + k \cos{x} = 0\) can be solved using the method of quadrature. By substituting \(y = \frac{dx}{dt}\), the equation transforms into a first-order equation \(y \frac{dy}{dx} = -\cos(x)\). Integrating this yields \(\frac{1}{2}y^2 = \sin(x) + C\), leading to the expression \(y = \sqrt{2C - 2\sin(x)}\). This approach effectively simplifies the problem, although further integration may be complex.

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with trigonometric functions, specifically cosine
  • Knowledge of the method of quadrature in calculus
  • Proficiency in applying the chain rule in differentiation
NEXT STEPS
  • Study the method of quadrature for solving differential equations
  • Learn about integrating factors in first-order differential equations
  • Explore the properties of trigonometric integrals, particularly involving sine and cosine
  • Investigate numerical methods for approximating solutions to complex differential equations
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as engineers and physicists dealing with oscillatory systems.

Reid
Messages
33
Reaction score
0

Homework Statement



I can not determine the solution to the diff. eq.

Homework Equations



\ddot{x}+k \cos{x}=0.

The constant k is positive.

The Attempt at a Solution



I tried solving it with the methods I know and it all ended up in a big mess. I am just not used to the second term, \cos. Doe's anyone know what to do? :confused:
 
Physics news on Phys.org
It's GOT to be something of the form

x=arccos(y) for some y a function of t, based on an argument of 'this is really fricking hard otherwise'. Try the substitution and see what you get
 
Reid said:

Homework Statement



I can not determine the solution to the diff. eq.

Homework Equations



\ddot{x}+k \cos{x}=0.

The constant k is positive.

The Attempt at a Solution



I tried solving it with the methods I know and it all ended up in a big mess. I am just not used to the second term, \cos. Doe's anyone know what to do? :confused:
Since the independent variable, which I will call "t", does not appear explicitely in the equation, this is a candidate for "quadrature". Let y= dx/dt. Then d^2x/dt^2= (dy/dx)(dx/dt) by the chain rule. But since y= dx/dt, that is d^2x/dt^2= y dy/dx and the equation converts to the first order equation, for y as a function of x, y dy/dx= -cos(x) which is y dy= -cos(x)dx. Integrating, (1/2)y^2= sin(x)+ C. Now we have y^2= -2 sin(x)+ 2C or y= dx/dt= \sqrt{2C- 2sin(x)} so dx= \sqrt{2C- 2sin(x)}dx.

I am not sure that is going to be easy to integrate, but that gives the solution.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
Replies
4
Views
2K
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
8
Views
1K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K