Key Concepts and Formulas
- First-Order Linear Differential Equation: A differential equation of the form dydx+P(y)x=Q(y), where P(y) and Q(y) are functions of y only.
- Integrating Factor (IF): IF=e∫P(y)dy. Multiplying the differential equation by the IF makes the left-hand side a perfect derivative.
- General Solution: x⋅(IF)=∫Q(y)⋅(IF)dy+C, where C is the constant of integration.
- Integration by Parts: ∫udv=uv−∫vdu
Step-by-Step Solution
Step 1: Rewrite the Differential Equation in Standard Linear Form
We are given the differential equation ydydx=2x+y3(y+1)ey. Our goal is to rewrite it in the standard form dydx+P(y)x=Q(y).
First, rearrange the equation to isolate the dydx term and group the x term:
ydydx−2x=y3(y+1)ey
Now, divide both sides by y (assuming y=0, which is valid since we are evaluating at y=1 and y=e):
dydx−y2x=yy3(y+1)ey
Simplify:
dydx−y2x=y2(y+1)ey
Now, we can identify P(y) and Q(y):
P(y)=−y2
Q(y)=y2(y+1)ey
Step 2: Calculate the Integrating Factor (IF)
The Integrating Factor is given by IF=e∫P(y)dy.
We have P(y)=−y2, so we need to calculate ∫P(y)dy:
∫P(y)dy=∫−y2dy=−2∫y1dy=−2ln∣y∣
Since y is positive in our domain (1 and e), we can drop the absolute value:
−2lny=ln(y−2)=ln(y21)
Now, calculate the Integrating Factor:
IF=eln(y21)=y21
Step 3: Find the General Solution
The general solution is given by x⋅(IF)=∫Q(y)⋅(IF)dy+C.
Substitute IF=y21 and Q(y)=y2(y+1)ey:
x⋅y21=∫y2(y+1)ey⋅y21dy+C
Simplify:
y2x=∫(y+1)eydy+C
Now, we need to evaluate ∫(y+1)eydy. We use integration by parts with u=y+1 and dv=eydy. Then du=dy and v=ey.
∫(y+1)eydy=(y+1)ey−∫eydy=(y+1)ey−ey=yey+ey−ey=yey
Substitute this back into the general solution:
y2x=yey+C
Multiply both sides by y2 to solve for x:
x(y)=y2(yey+C)
Step 4: Apply the Initial Condition to Find the Particular Solution
We are given x(1)=0. Substitute y=1 and x=0 into the general solution:
0=(1)2(1⋅e1+C)
0=1(e+C)
C=−e
Now, substitute C=−e back into the general solution to get the particular solution:
x(y)=y2(yey−e)
Step 5: Evaluate x(e)
We want to find x(e). Substitute y=e into the particular solution:
x(e)=(e)2(e⋅ee−e)
x(e)=e2(ee+1−e)
Factor out an e from the parenthesis:
x(e)=e2⋅e(ee−1)
x(e)=e3(ee−1)
Common Mistakes & Tips
- Sign Errors: Be extra careful with the negative signs when calculating P(y) and integrating.
- Integration by Parts: Remember the correct formula for integration by parts and carefully choose u and dv. A good choice makes the integral simpler.
- Constant of Integration: Don't forget the constant of integration, C, when finding the general solution.
Summary
We solved the given first-order linear differential equation by first rewriting it in standard form, calculating the integrating factor, finding the general solution, and then using the initial condition to find the particular solution. Finally, we evaluated the particular solution at y=e to find the value of x(e). The value of x(e) is e3(ee−1).
The final answer is e3(ee−1), which corresponds to option (A).