General solution of ordinary differential equation

tracedinair
Messages
47
Reaction score
0

Homework Statement



Find the general solution of the differential equation,

y' + y = be^(-λx)

where b is a real number and λ is a positive constant.

Homework Equations



y' + P(x)y = Q(x)

Integrating factor: e^(∫P(x) dx)

The Attempt at a Solution



Let P(x) = 1, Q(x) = be^(-λx)

The equation is already in the form y' + P(x)y = Q(x).

So, the integrating fator is I(x) = e^(∫1 dx) = e^(x)

Multiplying both sides by the integrating factor.

e^(x)y + e^(x)y = be^(-λx)e^(x)

(e^(x)y)' = be^(-λx)e^(x)

Now integrating the left hand side,

e^(x)y = be^(-λx)e^(x)

Here is my problem. I don't know where to go from here. How do I integrate the right hand side? That's my main problem.


Any help will be greatly appreciated.
 
Physics news on Phys.org
Why not simplify it? e^(-ax) = 1/(e^(ax)).
 
tracedinair said:

Homework Statement



Find the general solution of the differential equation,

y' + y = be^(-λx)

where b is a real number and λ is a positive constant.

Homework Equations



y' + P(x)y = Q(x)

Integrating factor: e^(∫P(x) dx)

The Attempt at a Solution



Let P(x) = 1, Q(x) = be^(-λx)

The equation is already in the form y' + P(x)y = Q(x).

So, the integrating fator is I(x) = e^(∫1 dx) = e^(x)

Multiplying both sides by the integrating factor.

e^(x)y + e^(x)y = be^(-λx)e^(x)

(e^(x)y)' = be^(-λx)e^(x)

Now integrating the left hand side,

e^(x)y = be^(-λx)e^(x)
Please do not write an equation that you know isn't true! You have integrated the left side but not yet the right side so you know they are not equal. You might write
e^xy= \int be^{-\lambda x}e^x dx
to indicate that the right has yet to be integrated.


Here is my problem. I don't know where to go from here. How do I integrate the right hand side? That's my main problem.
e^{-\lambda x}e^x= e^{(1-\lambda)x}
Can you integrate that?

Any help will be greatly appreciated.
 
I apologize for the integral symbol, simple mistake.

I integrated e^((1-λ)x) and came up with this,

∫e^((1-λ)x) dx

Let u = ((1-λ)x) so du = (1-λ) dx

Now,

∫e^(u) du/(1-λ)

1/(1-λ) ∫e^(u) du

1/(1-λ)*e^(u) + C

Substituting back in for u,

1/(1-λ)*e^(x(1-λ)) + C

Going back to e^(x)y = ∫be^(-λx)e^(x) dx, I obtained,

y = be^(-x)*e^(x(1-λ))/(1-λ)

y = [be^(x(1-λ))] / [e^(x)*(1-λ)]
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top