Postby Technomancer » Tue Nov 08, 2005 5:15 am
It's not that trivial of a question. Like you said, the actual solution is the sum of the homogenous solution and a particular solution of the non-homogeneous equation.
y=yh+yp
Once you have a particular solution (which will generally be some function), you need to sub it in for y. For example,
y''-4y'+3y=10exp(-2x) y(0)=1, y'(0)=-3
solving for the homogeneous part yields:
yh=c1*exp(x)+c2*exp(3x)
A particular solution which may be dervived from observation may be:
yp=C*exp(-2x)
substituting into the original equation:
4C*exp(-2x)-4*(-2C*exp(-2x))+3C*exp(-2x)=10*exp(-2x)
some algebra will show C to be C=2/3. Further algebra will allow you to solve for c1 and c2.
So far, I've shown you how to use the particular solution to solve the nonhomogeneous DE. However, it is not always possible to find yp by observation, so further mathematics is typically required. These are fairly involved, and you would be better served to pick up a book on DE's for guidance here (Kreyzig is fairly good). In particular, you should read up on the method of undetermined coefficients and the method of variation of parameters.
The scientific method," Thomas Henry Huxley once wrote, "is nothing but the normal working of the human mind." That is to say, when the mind is working; that is to say further, when it is engaged in corrrecting its mistakes. Taking this point of view, we may conclude that science is not physics, biology, or chemistry—is not even a "subject"—but a moral imperative drawn from a larger narrative whose purpose is to give perspective, balance, and humility to learning.
Neil Postman
(The End of Education)
Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that my ignorance is just as good as your knowledge
Isaac Aasimov