hello dora,
differential equations like ay" + by' + c = K.
I think there must be cy in place of c.
Now for the first order linear differential equation with constant coefficient, like
y' - a0y=g(x) we know the solution is,
y=e^a0x [ integration sign ] e^-a0x g(x) dx (Put integration constant after integration)
Now lets try to solve second order linear differential equation with constant coefficient,
WITHOUT assuming any type of format of the solution at begining.
The differential equation to be soved is
y'' + a1y' + a0y=g(x)
Now we can think that this second order differential equation is formed by two first order differential equation like,
(y' - r0y)' - r1(y' - r0y)=g(x) .......... The idea is, one first order equation inside another first order equation.
Now we have to find the values of r0 and r1.
By equating the coefficients of above two equations we get
a1= - (r1+r0) and a0= r1r0. Now putting r1=a0/r0 in a1= - (r1+r0) we get,
r0^2 + a1r0 + a0=0 ........... This is the so called characteristic equation.
So by solving r0^2 + a1r0 + a0=0 we will get the values of r1 and r0.
Now we have the values of r1 and r0
So lets start to solve the equation,
(y' - r0y)' - r1(y' - r0y)=g(x)
Now, (y'-r0y) = e^r1x [ integration sign ] e^-r1x g(x) dx .......We got this, using formula of first order.
So, y = e^r0x [ integration sign ] e^-r0x e^r1x [ integration sign ] e^-r1x g(x) dx dx .......We got this same way.
Summing up everything we get,
The second order linear differential equation with constant coefficient like,
y'' + a1y' + a0y=g(x)
The solution is,
y = e^r0x [ integration sign ] e^-r0x e^r1x [ integration sign ] e^-r1x g(x) dx dx (Put integration constant after each integration)
Where r0 and r1 are the roots of [anything]^2 + a1[anything] + a0 = 0.
NOTE: If you do not put integration constant after each integration, then you will get only particular integral (means steady state solution)
Integration constants are responsible to make complementary function (means transient solution)
Last of all,
Sorry about the way I asked about D operator. Certainly you know that D is d/dx.
In text books(as far I remember "analysis of linear systems" by D.K Cheng) they say that D operator follows some basic rules.
These basic rules are the basic rules behind multiplication symbol or addition symbol or parentheses symbols.
So they solve first order equation,
y' - a0y=g(x) by writing it like,
(D - a0)y=g(x)
So y= [1/(D-a0)] g(x)
But it is true that the solution is,
y=e^a0x [ integration sign ] e^-a0x g(x) dx
So they DEFINED [1/(D-a0)]g(x) AS e^a0x [ integration sign ] e^-a0x g(x) dx
Now for second order differential equation,
y'' + a1y' + a0y=g(x) they write the equation like,
(D^2 + a1D + a0) y=g(x) so they start to factoring the left side like,
(D - r1)(D - r0)y=g(x) then,
(D - r0)y=[1/(D - r1)]g(x) then,
(D - r0)y=e^r1x [ integration sign ] e^-r1x g(x) dx ....... Using the DEFINATION of [1/(D - a0)]g(x). then,
y=[1/(D - r0)] e^r1x [ integration sign ] e^-r1x g(x) dx then,
y= e^r0x [ integration sign ] e^-r0x e^r1x [ integration sign ] e^-r1x g(x) dx dx .....Same way using the DEFINATION.
I could not like this freedom of D operator(may be some day I will like it), thats why I tried many days to understand D operator.
Then I came to a solution without D operator which I already shown.