Key Concepts and Formulas
- Linear First-Order Differential Equation: A differential equation of the form dxdy+P(x)y=Q(x), where P(x) and Q(x) are functions of x.
- Integrating Factor (I.F.): For a linear first-order differential equation, the integrating factor is given by I.F.=e∫P(x)dx.
- Solution of Linear First-Order Differential Equation: The solution is given by y⋅(I.F.)=∫Q(x)⋅(I.F.)dx+C, where C is the constant of integration.
Step-by-Step Solution
Step 1: Rewrite the given differential equation.
We are given the differential equation:
(4+x2)dy−2x(x2+3y+4)dx=0
We want to rewrite it in the form dxdy+P(x)y=Q(x). First, divide both sides by (4+x2)dx:
dxdy−4+x22x(x2+3y+4)=0
dxdy=4+x22x(x2+3y+4)
dxdy=4+x22x3+6xy+8x
dxdy=4+x22x3+8x+4+x26xy
dxdy−4+x26xy=4+x22x3+8x
Step 2: Identify P(x) and Q(x).
Comparing the equation with the standard form dxdy+P(x)y=Q(x), we have:
P(x)=−4+x26x
Q(x)=4+x22x3+8x=4+x22x(x2+4)=2x
Step 3: Calculate the Integrating Factor (I.F.).
The integrating factor is given by:
I.F.=e∫P(x)dx=e∫−4+x26xdx
Let u=4+x2, then du=2xdx. Thus,
∫−4+x26xdx=−3∫4+x22xdx=−3∫udu=−3ln∣u∣=−3ln(4+x2)=ln(4+x2)−3
Therefore,
I.F.=eln(4+x2)−3=(4+x2)−3=(4+x2)31
Step 4: Find the general solution.
The general solution is given by:
y⋅(I.F.)=∫Q(x)⋅(I.F.)dx+C
y⋅(4+x2)31=∫2x⋅(4+x2)31dx+C
Let u=4+x2, then du=2xdx. Thus,
∫(4+x2)32xdx=∫u31du=∫u−3du=−2u−2+C1=−2u21+C1=−2(4+x2)21+C1
So,
(4+x2)3y=−2(4+x2)21+C
y=−2(4+x2)2(4+x2)3+C(4+x2)3
y=−21(4+x2)+C(4+x2)3
Step 5: Apply the initial condition y(0) = 0.
The solution curve passes through the origin, so y(0)=0. Substituting x=0 and y=0 into the general solution:
0=−21(4+02)+C(4+02)3
0=−21(4)+C(4)3
0=−2+64C
64C=2
C=642=321
Step 6: Find the particular solution.
Substituting C=321 into the general solution:
y=−21(4+x2)+321(4+x2)3
Step 7: Calculate y(2).
We want to find y(2). Substitute x=2 into the particular solution:
y(2)=−21(4+22)+321(4+22)3
y(2)=−21(4+4)+321(4+4)3
y(2)=−21(8)+321(8)3
y(2)=−4+321(512)
y(2)=−4+16
y(2)=12
There seems to be an error in the provided answer. Let's recheck the calculations from Step 3 onwards.
Step 3 (Revised): Calculate the Integrating Factor (I.F.).
The integrating factor is given by:
I.F.=e∫P(x)dx=e∫−4+x26xdx
Let u=4+x2, then du=2xdx. Thus,
∫−4+x26xdx=−3∫4+x22xdx=−3∫udu=−3ln∣u∣=−3ln(4+x2)=ln(4+x2)−3
Therefore,
I.F.=eln(4+x2)−3=(4+x2)−3=(4+x2)31
This is correct.
Step 4 (Revised): Find the general solution.
The general solution is given by:
y⋅(I.F.)=∫Q(x)⋅(I.F.)dx+C
y⋅(4+x2)31=∫2x⋅(4+x2)31dx+C
Let u=4+x2, then du=2xdx. Thus,
∫(4+x2)32xdx=∫u31du=∫u−3du=−2u−2+C1=−2u21+C1=−2(4+x2)21+C1
So,
(4+x2)3y=−2(4+x2)21+C
y=−2(4+x2)2(4+x2)3+C(4+x2)3
y=−21(4+x2)+C(4+x2)3
This is correct.
Step 5 (Revised): Apply the initial condition y(0) = 0.
The solution curve passes through the origin, so y(0)=0. Substituting x=0 and y=0 into the general solution:
0=−21(4+02)+C(4+02)3
0=−21(4)+C(4)3
0=−2+64C
64C=2
C=642=321
This is correct.
Step 6 (Revised): Find the particular solution.
Substituting C=321 into the general solution:
y=−21(4+x2)+321(4+x2)3
This is correct.
Step 7 (Revised): Calculate y(2).
We want to find y(2). Substitute x=2 into the particular solution:
y(2)=−21(4+22)+321(4+22)3
y(2)=−21(4+4)+321(4+4)3
y(2)=−21(8)+321(8)3
y(2)=−4+321(512)
y(2)=−4+16
y(2)=12
The calculation remains the same. The solution y(2)=12 does not match the provided answer of 4. Let's review the original differential equation for any errors.
The differential equation is (4+x2)dy−2x(x2+3y+4)dx=0.
We rewrite it as dxdy=4+x22x(x2+3y+4).
dxdy=4+x22x3+6xy+8x.
dxdy−4+x26xy=4+x22x3+8x=4+x22x(x2+4)=2x.
The equation is indeed dxdy−4+x26xy=2x.
P(x)=−4+x26x, Q(x)=2x.
I.F.=e∫P(x)dx=e∫−4+x26xdx=e−3ln(4+x2)=(4+x2)−3.
y(I.F.)=∫Q(x)(I.F.)dx+C.
y(4+x2)−3=∫2x(4+x2)−3dx+C.
y(4+x2)−3=∫(4+x2)−3d(4+x2)/1+C.
y(4+x2)−3=−2(4+x2)−2+C.
y=−21(4+x2)+C(4+x2)3.
y(0)=0=−21(4)+C(4)3.
0=−2+64C.
C=642=321.
y=−21(4+x2)+321(4+x2)3.
y(2)=−21(8)+321(8)3=−4+32512=−4+16=12.
There appears to be an error with the given correct answer. The correct calculation yields y(2)=12.
Common Mistakes & Tips
- Sign Errors: Be extremely careful with signs when integrating and applying the integrating factor. A small sign error can propagate through the entire solution.
- Integration Techniques: Make sure you are comfortable with u-substitution and other integration techniques necessary to find the integral of Q(x)⋅(I.F.).
- Checking the Solution: After finding the particular solution, it's a good practice to plug it back into the original differential equation to verify that it satisfies the equation and the initial condition.
Summary
We solved the given first-order differential equation by identifying it as a linear first-order differential equation. We calculated the integrating factor, found the general solution, and then used the initial condition y(0)=0 to find the particular solution. Finally, we evaluated y(2) using the particular solution. The calculated value is y(2)=12.
Final Answer
The final answer is \boxed{12}.