Single-integral solution to 2nd order inhomogeneous ODE

  • Thread starter Thread starter blendecho
  • Start date Start date
  • Tags Tags
    2nd order Ode
Click For Summary
SUMMARY

The discussion focuses on finding a single-integral solution to the second-order inhomogeneous ordinary differential equation (ODE) represented by $$f''(x) = g(x)$$. The correct solution is given by $$f(x) = \int_0^{x} dx' (x-x') g(x')$$, which can be derived by changing the order of integration in a nested integral. The initial attempts using integrating factors and nested integrals were ineffective, highlighting the importance of recognizing the structure of the equation. The conversation emphasizes the derivation of the Green's function for the operator $$d^2/dx^2$$ as a key insight.

PREREQUISITES
  • Understanding of second-order inhomogeneous ordinary differential equations (ODEs)
  • Familiarity with integral calculus and changing the order of integration
  • Knowledge of Green's functions in differential equations
  • Experience with integrating factors in ODEs
NEXT STEPS
  • Study the derivation and applications of Green's functions for differential equations
  • Learn about the method of changing the order of integration in double integrals
  • Explore the implications of integrating factors in solving differential equations
  • Investigate the Poisson equation and its relation to inhomogeneous ODEs
USEFUL FOR

Mathematicians, physicists, and engineering students who are solving second-order inhomogeneous ordinary differential equations and seeking efficient methods for finding solutions.

blendecho
Messages
5
Reaction score
0

Homework Statement



I want to show that $$f''(x) = g(x)$$ has a solution of the form $$f(x) = 2\int_0^{x} dx' (x-x') g(x').$$ It's not hard to verify that it is a solution, the question is how to find it. This should be easy and is likely a standard problem but I haven't found the right approach.

The Attempt at a Solution



Direct integration obviously gives an expression with two nested integrals. I've tried using an integrating factor, writing $$f(x) = x h(x),$$ but that also gives me an expression with two nested integrals. The above diff eq becomes
$$
x h''(x) + h'(x) = g(x)
$$
and so
$$
(x h'(x))' = g(x)
$$
which can be integrated directly, giving ##h'(x)##, which must be integrated again to obtain an expression for ##f##:

$$
f(x) = x \int_0^{x} \frac{dx'}{x'} \int_0^{x'} x'' g(x'') dx''.
$$
Using a more general integrating factor, ##f = \phi h## with ##\phi''=0##, does not help. I'm not sure how to obtain an equation for ##f## with just a single integral. Any suggestions appreciated.
 
Physics news on Phys.org
What you are looking for is a derivation of the Green’s function of ##d^2/dx^2##.
 
Also, if you have checked that the expression is a solution, what stops you from following the differentiation steps in reverse?

Your approach with the integrating factor really does not help at all. You are just managing to put the equation on a form that you then put back on the original form. Integrating factors are useful when you have several terms that you want to rewrite as the derivative of a single term and ##f’’## is already a single term.
 
blendecho said:

Homework Statement



I want to show that $$f''(x) = g(x)$$ has a solution of the form $$f(x) = 2\int_0^{x} dx' (x-x') g(x').$ It's not hard to verify that it is a solution, the question is how to find it. This should be easy and is likely a standard problem but I haven't found the right approach.

The Attempt at a Solution



Direct integration obviously gives an expression with two nested integrals. I've tried using an integrating factor, writing $$f(x) = x h(x),$$ but that also gives me an expression with two nested integrals
...

Your formula for ##f(x)## should not have a "2" in it; the correct formula is $$f(x) = \int_0^{x} dx' (x-x') g(x').$$
If you really DO take the second derivative, you will see that this is the case. Furthermore, it can be obtained right away from the nested integral, just by changing the order of integration appropriately.
 
  • Like
Likes blendecho
Orodruin: did you mean the Poisson equation? The point of my integrating factor was to reduce the order of the diff eq, of course the LHS was already a total derivative.

Ray: changing the order of integration on the original nested integral (from naively integrating twice) did the trick and makes the generalization to ##f^{(n)}(x)=g(x)## obvious. Yeesh, it's been a long time since mvar. Thanks for pointing out the factor of 2, too.
 

Similar threads

Replies
2
Views
2K
Replies
5
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
7K
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K