hey i'm really stuck on these two equations. Can someone please please help me?
y''-4y'+3y = 8exp(-x)- 2exp(x) y(0)= 1 y'(0)= 0
x*2 y'' +xy' + y = sin(ln(x))
thanks so much!x
It will take some work, bu here follow the solution for the first problem. We can rewrite the DE like follows
we firstly consider the homogenous part
which has roots at r=3 and r=1
so we know the solution to the homogenous DE and can write it as follows
now we will take the right hand side into account. Since the right hand side of the DE includes one of the terms we find in the homegenous solutions we need to regard the following terms
if you now plug this into the DE and group the terms with the same x you can determine the constants A, B and C. I found them to be respectively 1, 0 and 1. Then finally for the general solution you just combine everything in the following way
and use the initial conditions to solve for the remaining constants
The second problem will require some more work but you could attack it in the same way by first finding the solution of the homogenous DE and afterward incorporating the right hand side.
A confortable procedure to solve the DE...
... can require a change of variables as illustrated in...
The solution seems to be ...
That second equation is an "Euler type" or "equipotential" equation (the "power" of x in each term is equal to the order of the derivative) and, as ChiSigma shows, the substitution u= ln(x) changes it to an equation with constant coefficients. That can then be solved by finding its characteristic equation.