AP Calculus AB Exam Question
Consider the differential equation:
dxdy=2x
-
Using separation of variables, find the general solution of the given differential equation.
-
Find the particular solution to the differential equation with the initial condition y(0)=1.
Answer
- To solve the given differential equation using separation of variables, we first write it in the form:
dxdy=2x
Now, we can separate the variables by multiplying both sides of the equation by dx and dividing both sides by x:
xdy=2x dx
Next, we can integrate both sides of the equation separately. The integral on the left side is with respect to y, and the integral on the right side is with respect to x:
∫xdy=∫2x dx
To evaluate the integral on the left side, we use the natural logarithm function:
ln∣y∣=x2+C1
where C1 is the constant of integration.
- Now, to find the particular solution with the initial condition y(0)=1, we substitute x=0 and y=1 into the general solution:
ln∣1∣=02+C1
0=C1
Hence, the particular solution to the differential equation with the initial condition y(0)=1 is:
ln∣y∣=x2
y=ex2
Therefore, the particular solution to the given differential equation with the initial condition y(0)=1 is y=ex2.