Question
Question: Show that \[y=\dfrac{2}{3}{{e}^{x}}+{{e}^{-2x}}\] is a solution of the differential equation \[{y}'+...
Show that y=32ex+e−2x is a solution of the differential equation y′+2y=2ex?
Solution
In this question, we have to show something and showing something is a solution to an equation means plugging in the given expression. Therefore, in order to find a solution to this problem, we have to differentiate the y equation and then plug the expression of y and y′ to that differential equation, and then we have to make sure it holds true.
Complete step-by-step solution:
Here, we are given the differential equation y′+2y=2ex, and we are asked to verify that it works when y=32ex+e−2x.
Since the differential equation needs y′ as well as y, we first have to find dxdy for the given y,
We have our equation as:
⇒y=32ex+e−2x
On differentiating with respect to x, we get our above equation as:
⇒y′=dxdy(32ex+e−2x)
On differentiating, we get:
⇒y′=32ex−2e−2x
Now, as we have expressions for both y and y′, which we can now plug into our differential equation ⇒(y′+2y=2ex).
And if this produces a true statement that is equal to our differential equation, then the given expression for y is a valid solution.
Therefore, on substituting the expression for y and y′ in our differential equation that is y′+2y=2ex, we get:
⇒(32ex−2e−2x)+2(32ex+e−2x)=2ex
On simplifying, we get:
⇒(32ex−2e−2x)+(34ex+2e−2x)=2ex
On expanding our equation, we get:
⇒32ex−2e−2x+34ex+2e−2x=2ex
On simplifying and cancelling 2e−2x term, we get:
⇒32ex+34ex=2ex
On solving left-hand side and simplifying, we get:
⇒(32+34)ex=2ex
On simplifying, we get:
⇒(36)ex=2ex
On simplifying, we get:
⇒2ex=2ex
That is equal to the right-hand side.
Since the differential equation holds true for the given y. Therefore, it is a valid solution of the differential equation.
Note: While solving this type of differential equation, there are two other methods to solve this problem, they could be done using the factor that it is a linear DE with constant coefficients. It can also be solved by using an Integrating Factor but from First Principles. We have to decide which method is efficient and use that method to solve the problem.