Question Statement
Solve the differential equation:
2(y−1)dy=(3x2+4x+2)dx
with the initial condition y(0)=−1.
Background and Explanation
This problem involves a separable differential equation, where we can rearrange the equation so that all terms involving y are on one side and all terms involving x are on the other. Once separated, we integrate both sides independently and use the initial condition to determine the constant of integration.
Solution
First, expand the left-hand side to prepare for integration:
2(y−1)dy=(2y−2)dy
Now our equation is:
(2y−2)dy=(3x2+4x+2)dx
Integrate both sides:
∫(2y−2)dy=∫(3x2+4x+2)dx
Apply the linearity property of integrals to break this into simpler integrals:
2∫ydy−2∫1dy=3∫x2dx+4∫xdx+2∫1dx
Evaluate each integral:
2⋅2y2−2y=3⋅3x3+4⋅2x2+2x+c
Simplify by cancelling coefficients (the 2s on the left, and the 3 and 4 on the right with their respective denominators):
y2−2y=x3+2x2+2x+c
Apply the initial condition y(0)=−1:
When x=0, we have y=−1. Substitute these values into equation (1):
(−1)2−2(−1)=(0)3+2(0)2+2(0)+c
Simplify:
1+2=0+0+0+c
3=c
Substitute c=3 back into equation (1):
y2−2y=x3+2x2+2x+3
This is the particular solution to the differential equation satisfying the given initial condition.
- Separation of variables: Rearranging a differential equation so that each variable appears on only one side
- Power rule for integration: ∫xndx=n+1xn+1+C for n=−1
- Linearity of integration: ∫[af(x)+bg(x)]dx=a∫f(x)dx+b∫g(x)dx
- Initial value problems: Using a given point (x0,y0) to solve for the constant of integration
Summary of Steps
- Expand and separate: Rewrite 2(y−1)dy as (2y−2)dy to match the separated form
- Integrate both sides: Compute ∫(2y−2)dy=∫(3x2+4x+2)dx to obtain y2−2y=x3+2x2+2x+c
- Apply initial condition: Substitute x=0 and y=−1 to get 1+2=c, so c=3
- State final answer: Substitute c=3 to get the particular solution y2−2y=x3+2x2+2x+3