AP Calculus AB Exam Question - Separation of Variables
Consider the following differential equation:
dxdy=xy(a)(b) Use the solution from part (a) to find the particular solution that satisfies the initial condition y(0)=2.
Solution:
(a) To solve the differential equation using separation of variables, we need to write it in the form dxdy=g(x)h(y), where g(x) is a function of x only and h(y) is a function of y only.
Given equation: dxdy=xy
So, let's rewrite it as:
ydy=xdxNow, we can separate the variables:
∫y1dy=∫xdxIntegrating both sides, we get:
ln∣y∣=21x2+C1Here, C1 represents an arbitrary constant.
To get rid of the absolute value, we can rewrite it as:
y=±e21x2+C1Introducing another arbitrary constant, C2=±eC1, we have:
y=C2e21x2So, the solution to the given differential equation is:
y=C2e21x2(where C2 is an arbitrary constant)(b)2=C2e21(0)2⟹2=C2Therefore, the particular solution is:
y=2e21x2And we're done!