TylerH said:
After doing a little research on him, I have a theory on why his notation is used so prevalently in diff eq. He succeeded Euler, who discovered characteristic equations and did lots of other founding work on DE (Euler method of numerical solving comes to mind), at the Prussian Academy of Sciences. One can guess that, with all the discoveries being made by Euler at the time, the Prussian Academy of Sciences probably became the premier DE school. It also probably retained it's status when Lagrange took over. He probably pushed the usage of his notation.
Not that I'm saying all he did was piggy back off the immense awesomeness of Euler. Apparently, he did some serious number theory stuff.
Now, to prove I'm no dumby head: I think I've figured it out:
y''+y'=ex
y=erx+f(x) You called f(x) "yp"
r2+r=0
r={-1,0}
y=C+De-x+f(x)
f(x)=Aex Not really sure how to justify this. It just came to me.
(C+De-x+Aex)''+(C+De-x+Aex)'=ex
solves to
A=1/2
y=C+De-x+.5ex
EDIT: Should I leave C and D or let them be 0?
Is there a name for the nonguess and check technique used for finding f(x)/yp?
This won't work, and you can confirm that it doesn't work by substituting your f(x) into the nonhomogeneous DE.
The
complementary solution y
c, is the general solution to the homogeneous equation. In this case, y
c = c
1 + c
2e
-x.
What I called the particular solution y
p (and you're calling f(x)) is a solution to the nonhomogenous DE, y'' + y' = x.
You have f(x) = Ae
x. To see that it doesn't work, note that f(x) = f'(x) = f''(x) for this function, so we have Ae
x + Ae
x = x, or 2Ae
x = x. This has to be an identity - true for all x - and that isn't the case here.
For the equation y'' + y' = x, a particular solution is y
p = f(x) = Ax + Bx
2.
As for the name of the method to find y
p, I'm not sure there's a name. What I did was to turn the 2nd order nonhomogeneous equation y'' + y' = x into a 4th order homogeneous equation, y
(4) + y
(3) = 0, using what is called the method of annihilators.
As mentioned earlier, the original DE can be represented as D(D + 1)y = x. By noting that the D
2 operator (i.e., the second derivative with respect to x) produces 0 when applied to x, I can tack on a "factor" of D
2 to both sides of the original DE.
This gives D
2D(D + 1)y = D
2(x) = 0, which is now a homogeneous equation.
The characteristic equation is r
3(r + 1) = 0, and the roots are r = 0 (three times) and r = -1.
This gives e
0x and e
-1x as solutions, but I need four independent solutions, not just two. The trick is that I can get two more functions for my set by tacking factors of x and x
2 onto the function that's associated with the repeated roots.
This gives me {e
0, xe
0, x
2e
0, e
-x} for my set of functions, or more simply, {1, x, x
2, e
-x}.
Any solutions of the fourth order homogeneous DE will be a linear combination (sum of constant multiples of) these four functions.
Going back to the original problem, two of these solutions (1 and e
-x) are solutions to the homogeneous problem y'' + y' = 0. The other two (x and x
2) are what I picked for my "guess," looking at all linear combinations, of course. In short, y
p = Ax + Bx
2.