Harmonic oscillator with slight non-linearity

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation x'' + 2γ(x')^ν + ω₀²x = g(t), where γ and ω are constants and ν is a non-linear exponent between 0 and 1, specifically noted as 0.12. The challenge lies in addressing the non-linearity introduced by the first derivative x' raised to the power of ν. The function g(t) is defined as 1 for t ≥ 0 and 0 for t < 0. The user suggests using Mathematica for numerical or analytical solutions, providing a sample code for solving the equation.

PREREQUISITES
  • Understanding of differential equations, particularly non-linear forms.
  • Familiarity with Mathematica for numerical analysis and plotting.
  • Knowledge of the concepts of derivatives and initial conditions in differential equations.
  • Basic grasp of non-linear dynamics and their implications in physical systems.
NEXT STEPS
  • Explore advanced techniques for solving non-linear differential equations.
  • Learn about the NDSolve function in Mathematica for numerical solutions.
  • Investigate the implications of varying the exponent ν on system behavior.
  • Study the stability analysis of non-linear oscillators.
USEFUL FOR

Researchers, physicists, and mathematicians interested in non-linear dynamics, particularly those working with harmonic oscillators and numerical methods for differential equations.

groinsmash
Messages
2
Reaction score
0
I have an interesting problem I have come across in my research. It results in the differential equation as follows:

x&#039;&#039;+2γ(x&#039;)^\nu+\omega_{o}^2x=g(t)

Primes indicate the derivative with respect to t. \gamma and \omega are constants. The non-linearity comes from the first derivative x&#039; which is raised to the power of \nu. \nu is known to be 0.12 but can be between 0 and 1. The cases where \nu=0 or \nu=1 are easy enough. But how to go about tackling an arbitrary \nu?

The problem may be made easier by noting that g(t)=1 for t\geq0 and 0 for t&lt;0.

Any ideas on how to go about solving it? Numerically or analytically (which would be amazing).

Thanks!
 
Physics news on Phys.org
You gotta' get Mathematica. Here's some Mathematica code:

Code:
\[Gamma] = 0.25
\[Nu] = 0.5; 
\[Omega] = 0.1
mysol = NDSolve[{Derivative[2][x][t] + 
      2*\[Gamma]*Derivative[1][x][t]^\[Nu] + \[Omega]*x[t] == 
     1, x[0] == 1, Derivative[1][x][0] == 1}, x, 
   {t, 0, 5}]
Plot[x[t] /. mysol, {t, 0, 5}]
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 38 ·
2
Replies
38
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K