Question:medium

The general solution of the differential equation \((x+1)\frac{dy}{dx}-y=e^{x}(x+1)^{2}\) is given by:

Show Hint

Divide by x plus 1 to get the standard linear form and multiply by the integrating factor.
Updated On: Nov 12, 2026
  • \(y=(x+1)(e^{x}+c)\)
  • \(y=(x+1)(e^{-x}+c)\)
  • \(y=\frac{e^{x}+c}{x+1}\)
  • \(y=e^{x}+c(x+1)\)
Show Solution

The Correct Option is A

Solution and Explanation

Step 1: Idea
Notice that the left side is related to the derivative of $\dfrac{y}{x+1}$.

Step 2: Quotient Rule
$\dfrac{d}{dx}\left(\dfrac{y}{x+1}\right)=\dfrac{(x+1)y'-y}{(x+1)^{2}}$.

Step 3: Use the Equation
The numerator equals $e^{x}(x+1)^{2}$, so $\dfrac{d}{dx}\left(\dfrac{y}{x+1}\right)=e^{x}$.

Step 4: Integrate
$\dfrac{y}{x+1}=e^{x}+c$, which gives $y=(x+1)(e^{x}+c)$.

Final Answer:
Integrating the exact derivative gives the same solution. \[ \boxed{\text{(A) }y=(x+1)(e^{x}+c)} \]
Was this answer helpful?
0