Variation of parameters to obtain PS of 2nd Order non-hom equation

robot1000
Messages
5
Reaction score
0
The question I'm trying to solve is:

y" - 6y' + 9y = \frac{exp(3x)}{(1+x)}

I formulated the Gen solution which are:

y1(x) = exp(3x) and y2(x) = xexp(3x)

I've then calculated the wronskian to get: exp(6x)

I then went onto to use the variation of parameters formula, which is where I got a bit stuck

eq0027M.gif


I ended up with

-exp(3x)*(x - ln(x+1) + xexp(3x)*ln(1+x)

The problem is, it just doesn't look right.

I would appreciate some guidance with this problem
 
Physics news on Phys.org
Except for a parentheses that you missed to close the (x - ln(x+1)), it looks right to me. Why would you say that it doesn't look right, and what guidance do you expect to get?
 
robot1000 said:
I would appreciate some guidance with this problem

Here's what you do. You solve it numerically first and then plot the analytic solution you get over the numeric solution. If they agree, right on top of one another, then there is very good odds your analytic solution is correct. If you're going to work with DEs, this is a very useful practice in my opinion. So learn how to set all this up in Mathematica or another CAS and you will never say again, "that don't look right."
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top