SOLVER7 Study. Nothing Else.
2026 Board Paper Q29(b)

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

Solution

👶 Simple Explanation

Simple Explanation

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.\]

📖 Particular Solution of a Variables Separable Differential Equation

Detailed Explanation

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\).

Formula Used

Variables separable form: \(\frac{dy}{g(y)} = h(x)\,dx\), then integrate both sides: \(\int \frac{dy}{g(y)} = \int h(x)\,dx + C\).

Solution

  1. Step 1: Write the equation and separate the variables. Starting from \((x+1)\frac{dy}{dx}=2e^{-y}-1\), divide both sides so that \(y\)-terms go with \(dy\) and \(x\)-terms go with \(dx\): \[\frac{dy}{2e^{-y}-1}=\frac{dx}{x+1}.\]
  2. Step 2: Simplify the left side by multiplying numerator and denominator by \(e^{y}\). Since \(2e^{-y}-1 = \frac{2 - e^{y}}{e^{y}}\), we get \[\frac{e^{y}\,dy}{2 - e^{y}}=\frac{dx}{x+1}.\]
  3. Step 3: Integrate both sides. For the left side, notice that the derivative of \(2 - e^{y}\) is \(-e^{y}\), so \[\int \frac{e^{y}}{2 - e^{y}}\,dy = -\log|2 - e^{y}|.\] For the right side, \[\int \frac{dx}{x+1} = \log|x+1|.\] Therefore \[-\log|2 - e^{y}| = \log|x+1| + C.\]
  4. Step 4: Rearrange the general solution. Bring both logarithms together: \[\log|x+1| + \log|2 - e^{y}| = -C.\] Combining the logs and writing \(-C\) as a new constant \(\log A\): \[\log\big|(x+1)(2 - e^{y})\big| = \log A,\] which gives \[(x+1)(2 - e^{y}) = A.\]
  5. Step 5: Apply the initial condition \(y=0\) when \(x=0\) to find \(A\). Substituting: \[(0+1)(2 - e^{0}) = A \Rightarrow (1)(2 - 1) = A \Rightarrow A = 1.\]
  6. Step 6: Substitute \(A=1\) back into the general solution to obtain the particular solution: \[(x+1)(2 - e^{y}) = 1.\]

Final 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.\]

Common Mistake

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.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Separate the Variables: Start with the given equation \[ (x+1)\frac{dy}{dx} = 2e^{-y} - 1 \] Divide both sides so that every y-term pairs with dy and every x-term pairs with dx: \[ \frac{dy}{2e^{-y} - 1} = \frac{dx}{x+1} \] Reason: Separating variables is the first requirement for applying the variables-separable integration method.
  2. Step 2: Simplify the Left Side: Rewrite \( 2e^{-y} - 1 \) by expressing it with a common denominator: \[ 2e^{-y} - 1 = \frac{2 - e^{y}}{e^{y}} \] Substituting back into the left side: \[ \frac{dy}{\dfrac{2 - e^{y}}{e^{y}}} = \frac{e^{y} \, dy}{2 - e^{y}} \] So the separated equation becomes \[ \frac{e^{y} \, dy}{2 - e^{y}} = \frac{dx}{x+1} \] Reason: Multiplying numerator and denominator by \( e^{y} \) puts the left side into a recognisable logarithmic-integral form.
  3. Step 3: Integrate Both Sides: Integrate the left side by observing that the derivative of \( 2 - e^{y} \) is \( -e^{y} \), so \[ \int \frac{e^{y}}{2 - e^{y}} \, dy = -\log|2 - e^{y}| \] Integrate the right side: \[ \int \frac{dx}{x+1} = \log|x+1| \] Combining both results with an arbitrary constant \( C \): \[ -\log|2 - e^{y}| = \log|x+1| + C \] Reason: Each side is now a standard integral; recognising the numerator as (minus) the derivative of the denominator on the left lets us apply the formula \( \int \frac{f'(x)}{f(x)} dx = \log|f(x)| + C \).
  4. Step 4: Apply the Initial Condition to Find C: The initial condition is \( y = 0 \) when \( x = 0 \). Substitute into \[ -\log|2 - e^{y}| = \log|x+1| + C \] to get \[ -\log|2 - e^{0}| = \log|0+1| + C \] which simplifies to \[ -\log|2 - 1| = \log 1 + C \] so \[ -\log 1 = 0 + C \] giving \( C = 0 \). Reason: The initial condition pins down the unique particular solution from the family of general solutions.
  5. Step 5: Write the Particular Solution and Simplify: With \( C = 0 \) the equation becomes \[ -\log|2 - e^{y}| = \log|x+1| \] Rearranging using logarithm rules \( -\log A = \log(1/A) \): \[ \log\frac{1}{|2 - e^{y}|} = \log|x+1| \] Since both sides equal the same logarithm, removing the log (exponentiating both sides): \[ \frac{1}{|2 - e^{y}|} = |x+1| \] which gives \[ (x+1)(2 - e^{y}) = 1 \] Reason: Equating the arguments of the logarithms (valid when the logs are equal) and clearing absolute values using the context of the initial condition yields the clean particular solution.

Final 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.\]

Common Mistake

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.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Separate variables: \[ \frac{e^{y}\\,dy}{2 - e^{y}} = \frac{dx}{x+1} \]
  2. Step 2: Integrate both sides: \[ -\log|2 - e^{y}| = \log|x+1| + C \]
  3. Step 3: Apply initial condition \( y = 0 \) when \( x = 0 \): \[ -\log|2 - 1| = \log|1| + C \implies C = 0 \]
  4. Step 4: Substitute \( C = 0 \) and simplify using \( \log A + \log B = \log(AB) \): \[ \log|{(2 - e^{y})(x+1)}| = 0 \implies (x+1)(2 - e^{y}) = 1 \]

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.\]

➕ More Examples

More Examples

Example 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)\)

Example 2

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]\)

🎯 Try a Similar Question

Try a Similar Question

Question: Find a particular solution of the differential equation \[ (x + 2)\frac{dy}{dx} = 3e^{-y} - 1, \] given that \( y = 0 \) when \( x = 0 \).

Solution

  1. Step 1: Separate the Variables: Rewrite the equation as \[ \frac{dy}{3e^{-y} - 1} = \frac{dx}{x + 2}. \] Multiply numerator and denominator of the left side by \( e^{y} \): \[ \frac{e^{y}}{3 - e^{y}} \, dy = \frac{dx}{x + 2}. \]
  2. Step 2: Integrate Both Sides: Integrate the left side using the substitution \( u = 3 - e^{y} \), so \( du = -e^{y} \, dy \), giving \( e^{y} \, dy = -du \). The left integral becomes \[ \int \frac{-du}{u} = -\ln|u| = -\ln|3 - e^{y}|. \] The right integral is \[ \int \frac{dx}{x + 2} = \ln|x + 2|. \] Combining, the general solution is \[ -\ln|3 - e^{y}| = \ln|x + 2| + C. \]
  3. Step 3: Simplify the General Solution: Rewrite as \[ \ln|3 - e^{y}| + \ln|x + 2| = -C. \] Let \( -C = \ln|k| \) for some constant \( k \). Then \[ \ln|(3 - e^{y})(x + 2)| = \ln|k|, \] so the general solution is \[ (3 - e^{y})(x + 2) = k. \]
  4. Step 4: Apply the Initial Condition: Use \( y = 0 \) when \( x = 0 \): \[ (3 - e^{0})(0 + 2) = k \] \[ (3 - 1)(2) = k \] \[ k = 4. \]
  5. Step 5: Write the Particular Solution: Substituting \( k = 4 \) back into the general solution: \[ (3 - e^{y})(x + 2) = 4, \] which can also be written as \[ 3 - e^{y} = \frac{4}{x + 2}, \quad x \ne -2. \]

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. \]

Everything you get with Solver7

More questions in Differential Equations

Chapter 9 Examples Q1(i) 65/2/1 2022 / Section A Q1 Chapter 9 Examples Q1(ii) 65/2/2 2023 / Section A Q2 Chapter 9 Examples Q1(iii) 65/2/2 2023 / Section A Q3 Chapter 9 Examples Q2 Chapter 9 Examples Q3 Chapter 9 Examples Q4 Chapter 9 Examples Q5 65/1/1 2023 / Section A Q7 65/2/1 2024 / Section A Q7 65/3/1 2024 / Section A Q7 65/4/1 2022 / Section A Q5 Chapter 9 Examples Q6 65/1/1 2024 / Section A Q8 65/3/1 2023 / Section A Q8 Chapter 9 Examples Q7 65/3/1 2023 / Section A Q9 65/4/2 2024 / Section A Q9 Chapter 9 Examples Q8 65(B) 2026 / Section A Q10 65/4/1 2023 / Section A Q10 Chapter 9 Examples Q9 65(B) 2026 / Section A Q11 65/1/1 2026 / Section A Q11 65/2/1 2022 / Section B Q9 65/4/1 2023 / Section A Q11 Chapter 9 Examples Q10 65/1/1 2026 / Section A Q12 65/4/1 2026 / Section A Q12 Chapter 9 Examples Q11 65/3/1 2026 / Section A Q13 65/4/1 2026 / Section A Q13 65/4/2 2024 / Section A Q13 65/5/1 2026 / Section A Q13 Chapter 9 Examples Q12 65/1/1 2024 / Section A Q14 65/2/1 2024 / Section A Q14 65/5/1 2026 / Section A Q14 Chapter 9 Examples Q13 65/1/1 2023 / Section A Q15 65/2/3 2026 / Section A Q15 Chapter 9 Examples Q14 65/2/3 2026 / Section A Q16 65/4/1 2022 / Section C Q12(a) Chapter 9 Examples Q15 65/4/1 2022 / Section C Q12(b) Chapter 9 Examples Q16 Chapter 9 Examples Q17 65/3/1 2026 / Section A Q19 Chapter 9 Examples Q18 Chapter 9 Miscellaneous Examples Q19 Chapter 9 Miscellaneous Examples Q20 Chapter 9 Miscellaneous Examples Q21 Chapter 9 Miscellaneous Examples Q22 Exercise 9.1 Q1 Exercise 9.1 Q2 Exercise 9.1 Q3 Exercise 9.1 Q4