Let \(y(x) = a(x + 1)\log(x + 1) + bx + 5\) be the solution of the differential equation \(e^{\frac{dy}{dx}} = x + 1;\ y(0) = 5\), then the value of \((a + b)\) is:
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → 0
Taking logarithms of both sides of the differential equation:
\( \displaystyle \frac{dy}{dx} = \log(x + 1) \)
Differentiating the given solution by the product rule:
\( \displaystyle \frac{dy}{dx} = a\log(x + 1) + a(x + 1)\cdot\frac{1}{x + 1} + b \)
\( \displaystyle \frac{dy}{dx} = a\log(x + 1) + (a + b) \)
Comparing with \(\log(x + 1)\):
\(a = 1,\quad a + b = 0\)
So b = −1, and y(0) = 0 + 0 + 5 = 5 holds as well. The solution is \(y = (x + 1)\log(x + 1) - x + 5\), and a + b = 0.