differential equations - 2nd order ODE undetermined coefficients -


is equation solvable? , how?

y" = ay + b

a , b (real) constants. tried doing undetermined coefficients didn't work out me. homogeneous part easy enough.

thanks.

you can start assuming solution has form

    y(x) = m*exp(sqrt(a)*x) + n*exp(-sqrt(a)*x) + c 

since exponential parts solution homogeneous equation.

now can substitute our differential equation , try solve c.

    y" = m*a*exp(sqrt(a)*x) + n*a*exp(-sqrt(a)*x)     m*a*exp(sqrt(a)*x) + n*a*exp(-sqrt(a)*x) =          a*(m*exp(sqrt(a)*x) + n*exp(-sqrt(a)*x) + c) + b     0 = a*c + b     c = -b/a. 

therefore:

    y = m*exp(sqrt(a)*x) + n*exp(-sqrt(a)*x) - b/a. 

this example worked because it's constant being added our equation, other inhomogeneous differential equations can still solved using green's function, once have solution corresponding homogeneous equation.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -