Solveeit Logo

Question

Question: What is a solution to the differential equation \(\dfrac{dy}{dx}=xy\)?...

What is a solution to the differential equation dydx=xy\dfrac{dy}{dx}=xy?

Explanation

Solution

To obtain the solution of the differential equation given use separable of variable formula. Firstly we will separate the variables in the equation and get them together with their respective derivatives. Then we will integrate the equation on both sides with respect to xx. Finally we will solve our integration sign and get the desired answer.

Complete step-by-step solution:
To differential equation given is:
dydx=xy\dfrac{dy}{dx}=xy…….(1)\left( 1 \right)
We will use separable of variable formula in above equation by taking all the xx term with its derivative on one side and all the yy terms with its derivative on other side as:
1y×dy=x×dx\dfrac{1}{y}\times dy=x\times dx
Now we will integrate the above equation by using the formula given below:
xndx=xn+1n+1+C\int{{{x}^{n}}dx}=\dfrac{{{x}^{n+1}}}{n+1}+C
1ydy=lny\int{\dfrac{1}{y}dy=\ln y}
So we get,
1y×dy=x×dx lny=x22+C \begin{aligned} & \Rightarrow \int{\dfrac{1}{y}\times dy}=\int{x\times dx} \\\ & \Rightarrow \ln y=\dfrac{{{x}^{2}}}{2}+C \\\ \end{aligned}
Now, taking logarithm from left side to right side we get,
y=e(x22+C) y=e(x22)×eC y=Aex22 \begin{aligned} & \Rightarrow y={{e}^{\left( \dfrac{{{x}^{2}}}{2}+C \right)}} \\\ & \Rightarrow y={{e}^{\left( \dfrac{{{x}^{2}}}{2} \right)}}\times {{e}^{C}} \\\ & \therefore y=A{{e}^{\dfrac{{{x}^{2}}}{2}}} \\\ \end{aligned}
Where A=ecA={{e}^{c}}
Hence solution of differential equation dydx=xy\dfrac{dy}{dx}=xy is Aex22A{{e}^{\dfrac{{{x}^{2}}}{2}}}.

Note: A differential equation is the one which relates one or more function and derivative of one function i.e. dependent variable with respect to the other variable i.e. independent variable. The function used represents physical quantities whereas the derivatives represent the rate of change. The separation of variable is used when the given differential equation is of the form dydx=f(x)h(y)\dfrac{dy}{dx}=f\left( x \right)h\left( y \right)such that the x,yx,y variable can be separated easily. Ti is widely used in many fields of science like in physics, engineering and even in biology. Logarithm function is an inverse function of exponential function; it is defined as y=logbxy={{\log }_{b}}x where bb is the base. The logarithm function with base 10 is known as natural logarithm.