Solving 2nd Order Non-Homogeneous DE with Variables: A Comprehensive Guide

  • Context: Graduate 
  • Thread starter Thread starter Peregrine
  • Start date Start date
  • Tags Tags
    2nd order
Click For Summary
SUMMARY

This discussion focuses on solving a second order non-homogeneous differential equation (DE) with a variable coefficient, specifically the equation \(\frac{d^2 X(t)}{dt^2} + \frac{1}{t} \frac{d X(t)}{dt} = C\). The solution involves transforming the second order DE into a first order equation by defining \(p(t) = \frac{dX(t)}{dt}\), leading to the first order equation \(\frac{dp}{dt} + \frac{p}{t} = C\). The general solution for this first order equation is derived using the integrating factor method, yielding a systematic approach to find \(X(t)\) from \(p(t)\).

PREREQUISITES
  • Understanding of second order differential equations
  • Familiarity with first order differential equations and integrating factors
  • Knowledge of the total derivative versus partial derivative
  • Basic concepts of non-homogeneous differential equations
NEXT STEPS
  • Study the method of integrating factors for first order differential equations
  • Explore the theory behind non-homogeneous differential equations
  • Learn about the transformation of higher order DEs into lower order DEs
  • Practice solving various forms of second order differential equations
USEFUL FOR

Mathematics students, engineers, and anyone involved in solving differential equations, particularly those dealing with non-homogeneous forms and variable coefficients.

Peregrine
Messages
22
Reaction score
0
I am familiar with how to solve a second order, non-homogenous DE with constants, i.e.

\frac {\partial^2X(t)}{\partial t^2} + \frac{\partial X(t)}{\partial t} = C

by first solving the homogenous eqn, then setting the equation equal to a constant, yielding a sol'n of

X(t)= Ae^{0}+ Be^{-t}+ C

But how does one solve a 2nd order equation that also has another t variable in it, such as:

\frac {\partial^2X(t)}{\partial t^2} + \frac{1}{t} \frac{\partial X(t)}{\partial t} = C?
 
Physics news on Phys.org
First of all, you only seem to have one independent variable, so it may suitable to express your equation as

\frac{d^2 X(t)}{dt^2} + \frac{1}{t} \frac{d X(t)}{dt} = C

(note total derivative, not partial). Also, since no X(t) appears outside a derivative, you effectively have a first order equation, namely

\frac{dp}{dt} + \frac{p}{t} = C

where

p(t) = \frac{dX(t)}{dt}

Now, any first order equation of the form

\frac{dy}{dx} + s(x) y + r(x) = 0

has the solution

y(x) = -e^{-\int s(x) dx} \int r(x) e^{\int s(x) dx} dx

(just differentiate this and you'll see it works) Hence you can solve for p(t), and then for X(t).
 
Last edited:
Ah, that's a very nice way of framing the equation, I hadn't thought of that. Thanks!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 36 ·
2
Replies
36
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K