Solveeit Logo

Question

Question: The solution of \(\dfrac{dy}{dx}={{e}^{3x+y}}\) given \(y=0\) when \(x=0\) is: A. \({{e}^{3x}}+3{{...

The solution of dydx=e3x+y\dfrac{dy}{dx}={{e}^{3x+y}} given y=0y=0 when x=0x=0 is:
A. e3x+3ey=4{{e}^{3x}}+3{{e}^{-y}}=4
B. ey=e3x+4{{e}^{-y}}={{e}^{3x}}+4
C. 3ey=e3x+123{{e}^{-y}}={{e}^{3x}}+12
D. y=e3x+y3y=\dfrac{{{e}^{3x+y}}}{3}

Explanation

Solution

To obtain the solution of the differential equation we will use the Variable Separable method and integration of the exponent formula. Firstly we will separate the exponent in two terms with x,yx,y variable each then we will take each variable with its derivative and integrate them to get a solution. Finally we will put the given points to get the value of the constant and our desired answer.

Complete step-by-step solution:
The differential equation given to us is as follows:
dydx=e3x+y\dfrac{dy}{dx}={{e}^{3x+y}}
We will use exponent property which is ea+b=ea×eb{{e}^{a+b}}={{e}^{a}}\times {{e}^{b}} in above equation as follows:
dydx=e3x×ey\dfrac{dy}{dx}={{e}^{3x}}\times {{e}^{y}}
Now we will take each variable with its derivative as follows:
dyey=e3xdx eydy=e3xdx \begin{aligned} & \dfrac{dy}{{{e}^{y}}}={{e}^{3x}}dx \\\ & \Rightarrow {{e}^{-y}}dy={{e}^{3x}}dx \\\ \end{aligned}
Integrate both side of the above value as:
eydy=e3xdx\int{{{e}^{-y}}dy}=\int{{{e}^{3x}}dx}
Now we will use exponent integration method which is eaxdx=eaxa\int{{{e}^{ax}}dx}=\dfrac{{{e}^{ax}}}{a} above and get,
ey1=e3x3+c ey=e3x+3c3 3ey=e3x+c \begin{aligned} & \dfrac{{{e}^{-y}}}{-1}=\dfrac{{{e}^{3x}}}{3}+c \\\ & \Rightarrow -{{e}^{-y}}=\dfrac{{{e}^{3x}}+3c}{3} \\\ & \Rightarrow -3{{e}^{-y}}={{e}^{3x}}+c \\\ \end{aligned}
3ey+e3x=3c\therefore 3{{e}^{-y}}+{{e}^{3x}}= -3c….(1)\left( 1 \right)
Next to find the value of constant put y=0y=0 and x=0x=0 in above value as follows:
3e0+e3×0=3c 3×1+1=3c 3+1=3c c=43 \begin{aligned} & 3{{e}^{0}}+{{e}^{3\times 0}}= -3c \\\ & \Rightarrow 3\times 1+1= -3c \\\ & \Rightarrow 3+1= -3c \\\ & \therefore c= \dfrac{-4}{3} \\\ \end{aligned}
Putting the above value in equation (1) we get,
3ey+e3x=43{{e}^{-y}}+{{e}^{3x}}=4
Hence correct option is (A).

Note: A differential equation is an equation that involves independent variable, dependent variable and the derivative of the dependent variables. We can solve a differential equation by many methods depending on the terms in it. Some methods are Variable separable method, Linear Integration, Homogeneous equation etc. Firstly we try to solve the differential equation using variable separable methods as it is easy. We just have to separate the variables and try to pair them up with their respective derivatives and integrate the whole equation and if it doesn’t work we try other methods.