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.
- Integrating Factor (IF): The integrating factor is given by IF=e∫P(y)dy.
- General Solution: The general solution of the first-order linear differential equation is x⋅(IF)=∫Q(y)⋅(IF)dy+C, where C is the constant of integration.
Step-by-Step Solution
Step 1: Transform the Equation into Standard Linear Form
The given differential equation is dydx=y1+x−y2. We want to rewrite this in the standard form dydx+P(y)x=Q(y).
First, we rewrite the right-hand side:
dydx=y1+yx−yy2=y1+yx−y
Next, move the term containing x to the left side:
dydx−yx=y1−y
Rewrite this as:
dydx+(−y1)x=y1−y2
Comparing with the standard form, we identify:
P(y)=−y1
Q(y)=y1−y2
Step 2: Calculate the Integrating Factor (IF)
The integrating factor is given by IF=e∫P(y)dy.
Substitute P(y):
IF=e∫−y1dy
Now, integrate:
∫−y1dy=−ln∣y∣
Therefore, the integrating factor is:
IF=e−ln∣y∣=eln∣y∣−1=∣y∣−1=∣y∣1
Since the initial condition is x(1)=1, we can assume y>0 in the region of interest, so ∣y∣=y.
IF=y1
Step 3: Find the General Solution
The general solution is given by x⋅(IF)=∫Q(y)⋅(IF)dy+C.
Substitute IF=y1 and Q(y)=y1−y2:
x⋅(y1)=∫(y1−y2)⋅(y1)dy+C
yx=∫y21−y2dy+C
yx=∫(y21−1)dy+C
yx=∫(y−2−1)dy+C
Now, integrate:
yx=−1y−1−y+C
yx=−y1−y+C
Multiply by y to express x as a function of y:
x=−1−y2+Cy
Step 4: Apply the Initial Condition
We are given x(1)=1. Substitute x=1 and y=1 into the general solution:
1=−1−(1)2+C(1)
1=−1−1+C
1=−2+C
C=3
Step 5: Formulate the Particular Solution
Substitute C=3 into the general solution:
x=−1−y2+3y
Step 6: Evaluate 5x(2)
First, find x(2) by substituting y=2 into the particular solution:
x(2)=−1−(2)2+3(2)
x(2)=−1−4+6
x(2)=1
Now, calculate 5x(2):
5x(2)=5×1=5
Common Mistakes & Tips
- Sign Errors: Be extremely careful with signs when rearranging the equation and integrating.
- Integrating Factor: Ensure you correctly calculate the integrating factor. A mistake here will invalidate the rest of the solution.
- Constant of Integration: Don't forget the constant of integration, C, when finding the general solution.
Summary
We solved the first-order linear differential equation by transforming it into standard form, finding the integrating factor, determining the general solution, applying the initial condition to find the particular solution, and finally evaluating 5x(2).
The final answer is \boxed{5}.