Integrating factor for a 2nd order homogeneous linear ODE

danny_91
Messages
10
Reaction score
0

Homework Statement


Consider the general linear homogeneous second order equation:
P(x)y'' + Q(x)y' + R(x)y = 0 (1)

We seek an integrating factor μ(x) such that, upon multiplying Eq. (1) by μ(x), we can write the resulting equation in the form
[μ(x)P(x)y']' + μ(x)R(x)y = 0 (2)

(a) By equating coefficients of y' in Eqs. (1) and (2), show that μ must be a solution of:
Pμ' = (Q - P')μ (3)

Homework Equations


I guess the only relevant equation is the product rule of differentiation:
[a(x)b(x)]' = a'(x)b(x) + a(x)b'(x)

The Attempt at a Solution


Here is what I have done so far: By setting (1) = (2)

P(x)y'' + Q(x)y' + R(x)y = [μ(x)P(x)y']' + μ(x)R(x)y
Py'' + Qy' + Ry = μPy'' + μP'y' + μ'Py' + μRy
Py'' + Qy' + Ry = μPy'' + (μP' + μ'P)y' + μRy

Equating coefficients of y':

Q = μP' + μ'P
So: Pμ' = Q - P'μ, which is not the form that the book stated, Pμ' = (Q - P')μ

So am I missing something in the derivation, or is it that the book's statement is wrong?
By the way, this is Problem 11 in Section 11.1 of the book called Elementary Differential Equations and Boundary Value Problems by Boyce & DiPrima (9th Edition).

Part (b) of the problem is just solving the differential equation to find μ(x), and I'm pretty sure that I can do that part. Anyway, I would really appreciate any input.
 
Physics news on Phys.org
I don't think you can equate the coefficients of the differentials of y, because of equation (1) which gives an explicit relationship between them. So you can't just treat them as separate things as you normally would.

Your method is good, apart from that. You should try again. There are 3 things y,y',y'' that you don't want in your final formula, so try to get rid of one of them by substituting it from one equation into the other.
 
Thank you so much, BruceW! :)

So I went back to this step: Py'' + Qy' + Ry = μPy'' + (μP' + μ'P)y' + μRy, and then grouping like terms of y'', y', and y. And then I use the relationship from Eq. (1) then I'm left with just y'. So, yes, I got the answer as the book stated.

Thanks so much for pointing out that simply equating the coefficients of y' is not the right approach!
 
no problem :) in a way, this question is pretty tricky, since it is really pretty lucky that the y'' and y happen to both fall out. (It is not obvious from the beginning what is the right way to go). But you've got it, so all's good!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top