The user wants me to find the particular solution to the differential equation y′=3y with the initial condition y(0)=2.
-
Identify the type of differential equation:
The equation is y′=3y. This is a first-order linear ordinary differential equation. It is also separable.
-
Solve the differential equation:
-
Apply the initial condition:
The initial condition is y(0)=2.
Substitute x=0 and y=2 into the general solution .
Since , we have:
-
Formulate the particular solution:
Substitute the value of C back into the general solution.
y(x)=2e3x
-
Verify the solution:
- Check the DE: y(x)=2e3x.
.
Does ?
.
Yes, .
-
Construct the final output:
- State the differential equation.
- Separate variables or identify it as exponential growth.
- Integrate to find the general solution.
- Use y(0)=2 to find the constant.
- State the final particular solution.
Let's write it out clearly.
Equation: dxdy
Separating:
Integrating:
Solving for y: . Let .
.
1. Solve the Differential Equation
This is a separable differential equation. We can write dxdy for y′:
dxdy=3y
Separate the variables (y terms on the left, x terms on the right):
y1dy=3dx
Integrate both sides:
∫y1dy=∫3dx
ln∣y∣=3x+C
Solve for y by exponentiating both sides:
y=e3x+C
y=eC⋅
Let A=eC. The general solution is:
y=Ae3x
2. Apply the Initial Condition
Use the given condition y(0)=2 to find the value of A. Substitute x=0 and y=2 into the general solution:
2=Ae3(0)
2=Ae0
3. Final Answer
Substitute the value of A back into the general solution:
y=2e3x