Key Concepts and Formulas
- Separable Differential Equations: A differential equation of the form dxdy=f(x)g(y) is separable.
- Solving Separable Equations: Separate variables and integrate both sides: ∫g(y)dy=∫f(x)dx.
- Exponential Integral: ∫exdx=ex+C
Step-by-Step Solution
Step 1: Separate the variables
We are given the differential equation:
dxdy=xy−1+x−y
Rearrange the terms on the right-hand side to factor:
dxdy=x(y+1)−(y+1)
dxdy=(x−1)(y+1)
Now, separate the variables by dividing both sides by (y+1) and multiplying both sides by dx:
y+1dy=(x−1)dx
The equation is now separated.
Step 2: Integrate both sides
Integrate both sides of the equation with respect to their respective variables:
∫y+1dy=∫(x−1)dx
The integral on the left side is:
∫y+1dy=ln∣y+1∣+C1
The integral on the right side is:
∫(x−1)dx=2x2−x+C2
Combining these, we have:
ln∣y+1∣=2x2−x+C
where C=C2−C1 is an arbitrary constant.
Step 3: Apply the initial condition
We are given the initial condition y(0)=0. Substitute x=0 and y=0 into the general solution:
ln∣0+1∣=202−0+C
ln(1)=0+C
0=C
Thus, C=0.
Step 4: Find the particular solution
Substitute C=0 back into the general solution:
ln∣y+1∣=2x2−x
Since we expect y(1) to be positive, we can drop the absolute value. Exponentiate both sides to solve for y:
eln(y+1)=e2x2−x
y+1=e2x2−x
y=e2x2−x−1
Step 5: Evaluate y(1)
Substitute x=1 into the particular solution to find y(1):
y(1)=e212−1−1
y(1)=e21−1−1
y(1)=e−21−1
Step 6: Check the options
The correct answer is therefore y(1)=e−21−1.
However, the correct answer is given as y(1) = 1. Let's re-evaluate the solution.
Step 1: Re-examine the factorization.
dxdy=xy−1+x−y=xy−y+x−1=y(x−1)+(x−1)=(y+1)(x−1)
Okay, the factorization is correct.
Step 2: Re-examine the Integration
∫y+1dy=∫(x−1)dx
ln∣y+1∣=2x2−x+C
Step 3: Re-examine the initial condition
y(0) = 0
ln∣0+1∣=20−0+C
0=C
Step 4: Re-examine the solution for y(x)
ln∣y+1∣=2x2−x
y+1=e2x2−x
y=e2x2−x−1
Step 5: Re-examine y(1)
y(1)=e21−1−1=e−21−1
Okay, we have made no errors. However, the answer provided is y(1) = 1. Let's consider if the question actually had a typo. Suppose the equation was dxdy=1−x+y−xy. This would yield
dxdy=(1−x)+y(1−x)=(1−x)(1+y)
∫1+ydy=∫(1−x)dx
ln∣1+y∣=x−2x2+C
y(0)=0⟹ln(1)=0−0+C⟹C=0
ln∣1+y∣=x−2x2
y=ex−2x2−1
y(1)=e1−21−1=e21−1
This corresponds to option D.
However, if the question was dxdy=y+x−xy−1=y(1−x)+(x−1)=(y−1)(1−x), then
y−1dy=(1−x)dx
ln∣y−1∣=x−2x2+C
y(0) = 0, so
ln∣−1∣=0−0+C
0=C
ln∣y−1∣=x−2x2
y−1=ex−2x2
y=ex−2x2+1
y(1)=e1−21+1=e21+1
Still not giving us the right answer.
Let's assume that y(1) = 1 is correct.
1=e21−1−1
2=e−21
ln(2)=−21
Which is not true.
Let's assume that the differential equation is dxdy=xy−y+1−x
dxdy=y(x−1)−(x−1)=(y−1)(x−1)
∫y−1dy=∫(x−1)dx
ln(y−1)=2x2−x+C
y(0)=0,ln(−1)=0+C
This is impossible.
Common Mistakes & Tips
- Double-check your factorization and integration steps.
- Be careful with signs when separating variables.
- Remember to apply the initial condition to find the particular solution.
Summary
We separated the variables, integrated both sides, and applied the initial condition to solve the differential equation. The solution we obtained is y=e2x2−x−1. Evaluating at x=1 gives y(1)=e−21−1. Since none of the options match this result, and we have checked and re-checked the solution, we must conclude that the answer key given is incorrect. There appears to be an error in the question or answer key. If we assume y(1)=1, this contradicts our derived solution. Thus, we assume the correct differential equation is dxdy=1−x+y−xy, which would result in y(1)=e21−1.
Final Answer
The final answer should be y(1)=e−21−1 for the given equation. The correct answer provided, y(1)=1, is incorrect. Given the choices, there is no correct option.