Analyzing the Setup
The given differential equation is:
dxdy=(y+1)((y+1)ex2/2−x)
Notice the repetition of the term (y+1). Whenever you see a repeating cluster in a differential equation, your intuition should scream substitution. Let us define a new variable Y=y+1.
Differentiating with respect to x, we get dxdy=dxdY. Substituting this into the original equation yields:
Expanding this, we arrive at:
Linearizing the Bernoulli Equation
Rearranging the terms, we obtain:
This is a classic Bernoulli differential equation. To linearize it, we divide the entire equation by Y2:
Now, we introduce the substitution k=−Y1. Differentiating k with respect to x gives:
Substituting k and dxdk into our equation, we transform it into a standard linear differential equation:
Solving the Linear Equation
This equation is of the form dxdk+Pk=Q, where P=−x and Q=ex2/2. The Integrating Factor (I.F.) is:
Multiplying the linear equation by the I.F., we get:
The exponentials cancel out to become 1, simplifying the integral to:
Applying Boundary Conditions
We are given the boundary condition y(2)=0. Since k=−y+11, at x=2 we have:
Plugging these values into our solution:
Thus, the constant is C=−2−e−2.
Final Calculation
To find the value of y+1 at x=1, we use the relation k=(x+C)ex2/2. Substituting x=1 and our value of C:
k=(1−2−e−2)e1/2=(−1−e−2)e1/2
Since k=−y+11, we have y+1=−k1. Therefore:
y+1=−(−1−e−2)e1/21=(1+e−2)e1/21
This simplifies to the final result: