Solveeit Logo

Question

Question: Show that \[y=\dfrac{2}{3}{{e}^{x}}+{{e}^{-2x}}\] is a solution of the differential equation \[{y}'+...

Show that y=23ex+e2xy=\dfrac{2}{3}{{e}^{x}}+{{e}^{-2x}} is a solution of the differential equation y+2y=2ex{y}'+2y=2{{e}^{x}}?

Explanation

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 yy equation and then plug the expression of yy and y{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{y}'+2y=2{{e}^{x}}, and we are asked to verify that it works when y=23ex+e2xy=\dfrac{2}{3}{{e}^{x}}+{{e}^{-2x}}.
Since the differential equation needs y{y}' as well as yy, we first have to find dydx\dfrac{dy}{dx} for the given yy,
We have our equation as:
y=23ex+e2x\Rightarrow y=\dfrac{2}{3}{{e}^{x}}+{{e}^{-2x}}
On differentiating with respect to xx, we get our above equation as:
y=dydx(23ex+e2x)\Rightarrow {y}'=\dfrac{dy}{dx}\left( \dfrac{2}{3}{{e}^{x}}+{{e}^{-2x}} \right)
On differentiating, we get:
y=23ex2e2x\Rightarrow {y}'=\dfrac{2}{3}{{e}^{x}}-2{{e}^{-2x}}
Now, as we have expressions for both yy and y{y}', which we can now plug into our differential equation (y+2y=2ex)\Rightarrow \left( {y}'+2y=2{{e}^{x}} \right).
And if this produces a true statement that is equal to our differential equation, then the given expression for yy is a valid solution.
Therefore, on substituting the expression for yy and y{y}' in our differential equation that is y+2y=2ex{y}'+2y=2{{e}^{x}}, we get:
(23ex2e2x)+2(23ex+e2x)=2ex\Rightarrow \left( \dfrac{2}{3}{{e}^{x}}-2{{e}^{-2x}} \right)+2\left( \dfrac{2}{3}{{e}^{x}}+{{e}^{-2x}} \right)=2{{e}^{x}}
On simplifying, we get:
(23ex2e2x)+(43ex+2e2x)=2ex\Rightarrow \left( \dfrac{2}{3}{{e}^{x}}-2{{e}^{-2x}} \right)+\left( \dfrac{4}{3}{{e}^{x}}+2{{e}^{-2x}} \right)=2{{e}^{x}}
On expanding our equation, we get:
23ex2e2x+43ex+2e2x=2ex\Rightarrow \dfrac{2}{3}{{e}^{x}}-2{{e}^{-2x}}+\dfrac{4}{3}{{e}^{x}}+2{{e}^{-2x}}=2{{e}^{x}}
On simplifying and cancelling 2e2x2{{e}^{-2x}} term, we get:
23ex+43ex=2ex\Rightarrow \dfrac{2}{3}{{e}^{x}}+\dfrac{4}{3}{{e}^{x}}=2{{e}^{x}}
On solving left-hand side and simplifying, we get:
(23+43)ex=2ex\Rightarrow \left( \dfrac{2}{3}+\dfrac{4}{3} \right){{e}^{x}}=2{{e}^{x}}
On simplifying, we get:
(63)ex=2ex\Rightarrow \left( \dfrac{6}{3} \right){{e}^{x}}=2{{e}^{x}}
On simplifying, we get:
2ex=2ex\Rightarrow 2{{e}^{x}}=2{{e}^{x}}
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.