Solveeit Logo

Question

Question: The general solution to the differential equation $\frac{dy}{dx}=2xy$ can be represented as:...

The general solution to the differential equation dydx=2xy\frac{dy}{dx}=2xy can be represented as:

A

y=Kex2y=Ke^{x^2}

B

y=Kxy=Kx

C

y=Kx2y=Kx^2

D

y=Cx2y=Cx^2

Answer

y=Kex2y=Ke^{x^2}

Explanation

Solution

The given differential equation is a first-order separable ordinary differential equation. Separate variables to get dyy=2xdx\frac{dy}{y} = 2x \,dx. Integrate both sides: dyy=2xdx\int \frac{dy}{y} = \int 2x \,dx, which yields lny=x2+C\ln|y| = x^2 + C. Exponentiate both sides to solve for yy: y=ex2+C=ex2eC|y| = e^{x^2+C} = e^{x^2}e^C. Let K=±eCK = \pm e^C (allowing for K=0K=0 to include the trivial solution y=0y=0), resulting in the general solution y=Kex2y=Ke^{x^2}.