Question
Question: What is the solution to the differential equation \[\left( \dfrac{dy}{dx} \right)-y-{{e}^{3x}}=0\]?...
What is the solution to the differential equation (dxdy)−y−e3x=0?
Solution
In this problem, we have to find the solution for the given linear differential equation. We should know that, the differential equation of the form dxdy+Py=Q which is linear in y, has a solution ye∫Pdx=∫Q×e∫Pdxdx+C where, e∫Pdx is the integrating factor. Here we can first find the integrating factor and we can substitute in the solution equation to get the final answer.
Complete step-by-step solution:
We know that the given linear differential equation is,
(dxdy)−y−e3x=0
We can write it as,
⇒(dxdy)−y=e3x……. (1)
We can see that the given linear differential equation is of the form,
dxdy+Py=Q
Where, P=−1,Q=e3x.
We know that the differential equation of the form dxdy+Py=Q which is linear in y, has a solution ye∫Pdx=∫Q×e∫Pdxdx+C……. (2)
where, e∫Pdx is the integrating factor.
We can now find the integrating factor, we get
⇒e∫−1dx=e−x
We can now substitute the above integrating factor and the value of Q in the solution equation (2), we get
⇒ye−x=∫e3x×e−xdx+C
We can now simplify the above step, we get
⇒ye−x=∫e2xdx+C
We can now differentiate the right-hand side, we get
⇒ye−x=21e2x+C
We can now take the exponential part from the left-hand side to the right-hand side, we get
⇒y=21e3x+Cex
Therefore, the solution of the given differential equation (dxdy)−y−e3x=0 is y=21e3x+Cex
Note: We should always remember that a linear differential equation of the form dxdy+Py=Q, can be differentiated using the formula ye∫Pdx=∫Q×e∫Pdxdx+C, where e∫Pdx is the integrating factor. We should also know some of the exponential formulas to simplify the steps for the final answer.