Find a particular solution of the differential equation
\((x+1)\dfrac{dy}{dx}=2e^{-y}-1,\) given that \(y=0\) when \(x=0.\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have a seesaw with \(x\) on one side and \(y\) on the other. The goal is to push all the \(y\) stuff to one side and all the \(x\) stuff to the other, then count up both sides separately. That counting is called integration. Once you have a general answer, you plug in a known pair of values (here, \(y = 0\) when \(x = 0\)) to pin down the exact curve. It is like knowing one point on a map to figure out exactly which road you are on.
Answer: The particular solution is \[(x+1)(2 - e^{y}) = 1,\] which can also be written as \[2 - e^{y} = \frac{1}{x+1}, \quad x \ne -1.\]
A differential equation is said to be variables separable if we can rewrite it so that all terms containing \(y\) (together with \(dy\)) are on one side and all terms containing \(x\) (together with \(dx\)) are on the other side. Once separated, we integrate both sides. This gives the general solution, which contains an arbitrary constant \(C\). To find a particular solution, we substitute the given initial condition (here \(y=0\) when \(x=0\)) to determine the value of \(C\). The given equation \((x+1)\frac{dy}{dx}=2e^{-y}-1\) can be separated because the right side depends only on \(y\) and the left factor depends only on \(x\).
Variables separable form: \(\frac{dy}{g(y)} = h(x)\,dx\), then integrate both sides: \(\int \frac{dy}{g(y)} = \int h(x)\,dx + C\).
The particular solution is \[(x+1)(2 - e^{y}) = 1,\] which can also be written as \[2 - e^{y} = \frac{1}{x+1}, \quad x \ne -1.\]
A common mistake is to forget to multiply through by \(e^{y}\) before integrating the left side, or to get the sign wrong: since \(\frac{d}{dy}(2-e^{y}) = -e^{y}\), the integral is \(-\log|2-e^{y}|\), not \(+\log|2-e^{y}|\). Another frequent error is skipping the initial condition and leaving the arbitrary constant \(C\) in the answer instead of finding the particular solution.
The particular solution is \[(x+1)(2 - e^{y}) = 1,\] which can also be written as \[2 - e^{y} = \frac{1}{x+1}, \quad x \ne -1.\]
One common mistake: forgetting to multiply numerator and denominator by \( e^{y} \) when simplifying the left side, which leads to an incorrect or unsolvable integral — always convert \( 2e^{-y} - 1 \) into \( \frac{2 - e^{y}}{e^{y}} \) before integrating.
Answer: The particular solution is \[(x+1)(2 - e^{y}) = 1,\] which can also be written as \[2 - e^{y} = \frac{1}{x+1}, \quad x \ne -1.\]
Question: Find the particular solution of the differential equation \[(x-1)\frac{dy}{dx} = 3e^{-y} + 1,\] given that \(y = 0\) when \(x = 2\).
Solution: We separate the variables by writing all y-terms on the left and all x-terms on the right. The equation is \[(x-1)\frac{dy}{dx} = 3e^{-y} + 1.\] Dividing both sides by \((3e^{-y} + 1)\) and multiplying both sides by \(dx\), we get \[\frac{dy}{3e^{-y} + 1} = \frac{dx}{x - 1}.\] Rewrite the left side by multiplying numerator and denominator by \(e^{y}\): \[\frac{e^{y}}{3 + e^{y}} \, dy = \frac{dx}{x - 1}.\] Integrating both sides: \[\int \frac{e^{y}}{3 + e^{y}} \, dy = \int \frac{dx}{x - 1}.\] For the left side, let \(u = 3 + e^{y}\), so \(du = e^{y} \, dy\). Thus the left integral equals \(\ln|u| = \ln|3 + e^{y}|\). For the right side, the integral equals \(\ln|x - 1|\). Hence the general solution is \[\ln(3 + e^{y}) = \ln|x - 1| + C.\] Now apply the initial condition \(y = 0\) when \(x = 2\): \[\ln(3 + e^{0}) = \ln|2 - 1| + C\] \[\ln(3 + 1) = \ln 1 + C\] \[\ln 4 = 0 + C\] so \(C = \ln 4\). Substituting back: \[\ln(3 + e^{y}) = \ln|x - 1| + \ln 4\] \[\ln(3 + e^{y}) = \ln\left(4|x - 1|\right).\] Removing the logarithm: \[3 + e^{y} = 4(x - 1).\] Solving for \(e^{y}\): \[e^{y} = 4(x - 1) - 3 = 4x - 7.\] Therefore the particular solution is \[y = \ln(4x - 7), \quad x > \frac{7}{4}.\]
Answer: \(y = \ln(4x - 7)\)
Question: Find the particular solution of the differential equation \[(x + 2)\frac{dy}{dx} = 2 - e^{y},\] given that \(y = 0\) when \(x = 0\).
Solution: We separate the variables. The equation is \[(x + 2)\frac{dy}{dx} = 2 - e^{y}.\] Dividing both sides by \((2 - e^{y})\) and multiplying by \(dx\): \[\frac{dy}{2 - e^{y}} = \frac{dx}{x + 2}.\] Multiply the numerator and denominator of the left side by \(e^{-y}\): \[\frac{e^{-y}}{2e^{-y} - 1} \, dy = \frac{dx}{x + 2}.\] Integrating both sides: \[\int \frac{e^{-y}}{2e^{-y} - 1} \, dy = \int \frac{dx}{x + 2}.\] For the left side, let \(u = 2e^{-y} - 1\), so \(du = -2e^{-y} \, dy\), which gives \(e^{-y} \, dy = -\frac{du}{2}\). Thus the left integral becomes \[\int \frac{-du/2}{u} = -\frac{1}{2}\ln|u| = -\frac{1}{2}\ln|2e^{-y} - 1|.\] For the right side: \(\ln|x + 2|\). So the general solution is \[-\frac{1}{2}\ln|2e^{-y} - 1| = \ln|x + 2| + C.\] Apply the initial condition \(y = 0\) when \(x = 0\): \[-\frac{1}{2}\ln|2e^{0} - 1| = \ln|0 + 2| + C\] \[-\frac{1}{2}\ln|2 - 1| = \ln 2 + C\] \[-\frac{1}{2}\ln 1 = \ln 2 + C\] \[0 = \ln 2 + C\] so \(C = -\ln 2\). Substituting back: \[-\frac{1}{2}\ln|2e^{-y} - 1| = \ln|x + 2| - \ln 2\] \[-\frac{1}{2}\ln|2e^{-y} - 1| = \ln\left(\frac{x + 2}{2}\right).\] Multiplying both sides by \(-2\): \[\ln|2e^{-y} - 1| = -2\ln\left(\frac{x+2}{2}\right) = \ln\left(\frac{x+2}{2}\right)^{-2}.\] Removing the logarithm: \[|2e^{-y} - 1| = \frac{4}{(x+2)^{2}}.\] Since at \(x = 0, y = 0\): \(2e^{0} - 1 = 1 > 0\), we drop the absolute value: \[2e^{-y} - 1 = \frac{4}{(x+2)^{2}}.\] Solving for \(e^{-y}\): \[2e^{-y} = 1 + \frac{4}{(x+2)^{2}}\] \[e^{-y} = \frac{1}{2}\left(1 + \frac{4}{(x+2)^{2}}\right).\] Taking the natural log of both sides: \[y = -\ln\left[\frac{1}{2}\left(1 + \frac{4}{(x+2)^{2}}\right)\right].\]
Answer: \(y = -\ln\!\left[\dfrac{1}{2}\!\left(1 + \dfrac{4}{(x+2)^{2}}\right)\right]\)
Question: Find a particular solution of the differential equation \[ (x + 2)\frac{dy}{dx} = 3e^{-y} - 1, \] given that \( y = 0 \) when \( x = 0 \).
Answer: The particular solution is \[ (3 - e^{y})(x + 2) = 4, \] which can also be written as \[ 3 - e^{y} = \frac{4}{x + 2}, \quad x \ne -2. \]