Solve the Differential Equation #dy/dx +3y = 0# with #x=0# when #y=1#?
3 Answers
# y = e^(-x) #
Explanation:
We have:
#dy/dx +3y = 0# with#x=0# when#y=1# ..... [A]
We can use an integrating factor when we have a First Order Linear non-homogeneous Ordinary Differential Equation of the form;
# dy/dx + P(x)y=Q(x) #
The given equation is already in standard form, So
Then the integrating factor is given by;
# I = e^(int P(x) dx) #
# \ \ = exp(int \ 3 \ dx) #
# \ \ = exp( 3x ) #
# \ \ = e^(3x) #
And if we multiply the DE [A] by this Integrating Factor,
# e^(3x)dy/dx +3e^(3x)y = 2e^(-x)e^(3x) #
# :. d/dx ( e^(3x)y ) = 2e^(2x) #
Which we can directly integrate to get:
# e^(3x)y = int \ 2e^(2x) \ dx #
# :. e^(3x)y = e^(2x) + C #
Using the initial condition
# :. e^(0) = e^(0) + C => C = 0 #
Thus,
# e^(3x)y = e^(2x) #
# :. y = e^(2x)e^(-3x) #
# \ \ \ \ \ \ \ = e^(-x) #
And the given answer is incorrect.
The solution is:
Explanation:
Solve the homogeneous differential equation:
The characteristic equation is:
so the general solution of the homogeneous equation is:
Search now a particular solution using Lagrange methods of variable coefficients in the form:
where
Substituting into the equation:
using the product rule:
We can take the solution for
The general solution of the equation is then:
Imposing
In fact:
Explanation:
I try to find solution of
After taking Laplace transformation both sides,
After taking inverse Laplace transform, I found