Post

Created by @nathanedwards
 at November 1st 2023, 5:35:15 pm.

AP Calculus AB Exam Question:

Consider the differential equation:

dydx=2xy\frac{{dy}}{{dx}} = 2xy

(a) Use separation of variables to find the general solution of the differential equation.

(b) Find the particular solution of the differential equation that satisfies the initial condition y(0)=1y(0) = 1.


Answer:

(a) To solve the differential equation using separation of variables, we first rewrite it as:

dydx=2xy\frac{{dy}}{{dx}} = 2xy

Dividing both sides by yy and multiplying both sides by dxdx, we have:

dyy=2xdx\frac{{dy}}{{y}} = 2x\,dx

Now, we integrate both sides of the equation with respect to their respective variables:

dyy=2xdx\int \frac{{dy}}{{y}} = \int 2x\,dx

Integrating, we get:

lny=x2+C1\ln|y| = x^2 + C_1

Where C1C_1 is the constant of integration.

Taking exponential of both sides to eliminate the logarithm, we have:

y=ex2+C1y = e^{x^2 + C_1}

Simplifying, we obtain:

y=Cex2y = Ce^{x^2}

Where C=eC1C = e^{C_1} is an arbitrary constant.

Thus, the general solution of the given differential equation is y=Cex2y = Ce^{x^2}.

(b) To find the particular solution that satisfies the initial condition y(0)=1y(0) = 1, we substitute the given values into the general solution:

1=Ce021=Ce01=C1 = Ce^{0^2} \Rightarrow 1 = C\cdot e^0 \Rightarrow 1 = C

Hence, the particular solution that satisfies the initial condition is y=ex2y = e^{x^2}.


Note: The constant of integration, CC, is found by substituting the initial condition into the general solution.