SOLVER7 Study. Nothing Else.
Miscellaneous Exercise Chapter 9 Q12

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

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have two friends — one named X and one named Y — who each want to go to their own side of the room. A differential equation is like a rule that keeps them mixed together. We gently push all the Y-stuff to one side and all the X-stuff to the other side, like sorting toys into two boxes. Once sorted, we add up (integrate) each box separately. Finally, we use a known starting clue — here, both x and y equal zero — to pin down the exact answer.

Answer: The particular solution is \[ (x+1)(2 - e^{y}) = 1, \] equivalently \[ y = \log\left(\frac{2x+1}{x+1}\right), \quad x \ne -1. \]

📖 Particular Solution of a Variables Separable Differential Equation

Detailed Explanation

A differential equation is called variables separable if we can rewrite it so that all terms containing \( y \) (and \( dy \)) are on one side and all terms containing \( x \) (and \( dx \)) are on the other side. Once separated, we integrate both sides independently. This gives a general solution containing an arbitrary constant \( C \). To find a particular solution, we substitute the given initial condition (here \( y = 0 \) when \( x = 0 \)) to determine the exact value of \( C \). The given equation \( (x+1)\dfrac{dy}{dx} = 2e^{-y} - 1 \) can be arranged into separable form, so this method applies directly.

Formula Used

Variables separable form: \( \dfrac{dy}{dx} = f(x)g(y) \Rightarrow \int \dfrac{dy}{g(y)} = \int f(x)\, dx \). Useful integral: \( \int \dfrac{dx}{x+1} = \log|x+1| + C \).

Solution

  1. Step 1: Start with the given equation \[ (x+1)\frac{dy}{dx} = 2e^{-y} - 1. \] Our aim is to separate the variables. To do this, we want all \( y \)-terms with \( dy \) and all \( x \)-terms with \( dx \).
  2. Step 2: Divide both sides by \( (2e^{-y} - 1) \) and by \( (x+1) \), and multiply by \( dx \): \[ \frac{dy}{2e^{-y} - 1} = \frac{dx}{x+1}. \] The variables are now separated.
  3. Step 3: The left side is easier to integrate if we clear the negative exponent. Multiply numerator and denominator by \( e^{y} \): \[ \frac{e^{y}\, dy}{2 - e^{y}} = \frac{dx}{x+1}. \] This is done so that the numerator becomes the derivative-related part of the denominator.
  4. Step 4: Integrate both sides: \[ \int \frac{e^{y}\, dy}{2 - e^{y}} = \int \frac{dx}{x+1}. \] For the left integral, let \( t = 2 - e^{y} \), so \( dt = -e^{y}\, dy \), which means \( e^{y}\, dy = -dt \).
  5. Step 5: Substitute to get \[ \int \frac{-dt}{t} = \int \frac{dx}{x+1}. \] This gives \[ -\log|t| = \log|x+1| + C_1. \] Replacing \( t = 2 - e^{y} \): \[ -\log|2 - e^{y}| = \log|x+1| + C_1. \]
  6. Step 6: Rearrange to bring the logarithms together: \[ \log|x+1| + \log|2 - e^{y}| = -C_1. \] Using \( \log a + \log b = \log(ab) \): \[ \log\big|(x+1)(2 - e^{y})\big| = -C_1. \] Writing \( -C_1 = \log|C| \), we get \[ (x+1)(2 - e^{y}) = C. \] This is the general solution.
  7. Step 7: Apply the initial condition \( y = 0 \) when \( x = 0 \). Substitute: \[ (0+1)(2 - e^{0}) = C. \] Since \( e^{0} = 1 \): \[ 1 \cdot (2 - 1) = C \Rightarrow C = 1. \]
  8. Step 8: Substitute \( C = 1 \) back into the general solution: \[ (x+1)(2 - e^{y}) = 1. \] This is the required particular solution. We can also solve for \( y \) if a form for \( y \) is preferred: \[ 2 - e^{y} = \frac{1}{x+1} \Rightarrow e^{y} = 2 - \frac{1}{x+1}. \] Hence \[ y = \log\left(2 - \frac{1}{x+1}\right), \quad x \ne -1. \]

Final Answer

The particular solution is \[ (x+1)(2 - e^{y}) = 1, \] equivalently \[ y = \log\left(\frac{2x+1}{x+1}\right), \quad x \ne -1. \]

Common Mistake

A common mistake is forgetting to convert \( 2e^{-y} - 1 \) into a friendlier form before integrating, or mishandling the sign when substituting \( t = 2 - e^{y} \) (missing the negative from \( dt = -e^{y}\, dy \)). Another frequent error is applying the initial condition to the general solution incorrectly, e.g. using \( e^{0} = 0 \) instead of \( e^{0} = 1 \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down the equation and plan the separation: The given differential equation is \[ (x+1)\frac{dy}{dx} = 2e^{-y} - 1. \] Reason: Writing it out clearly lets us identify that \( y \)-dependent terms appear only on the right and \( x \)-dependent terms appear only on the left, so the variables-separable technique is applicable.
  2. Step 2: Separate the variables: Divide both sides by \( (2e^{-y} - 1) \) and by \( (x+1) \), then multiply through by \( dx \) to obtain \[ \frac{dy}{2e^{-y} - 1} = \frac{dx}{x+1}. \] Reason: This isolates all \( y \)-terms on the left and all \( x \)-terms on the right, which is the requirement before integrating each side independently.
  3. Step 3: Clear the negative exponent on the left side: Multiply the numerator and denominator of the left-hand side by \( e^{y} \): \[ \frac{e^{y}\, dy}{2 - e^{y}} = \frac{dx}{x+1}. \] Reason: Eliminating the negative exponent converts the left side into a standard form \( \frac{f'(y)}{f(y)}\, dy \) (since the derivative of \( 2 - e^{y} \) is \( -e^{y} \)), which integrates directly using the logarithm rule.
  4. Step 4: Integrate both sides: Integrate the left side using \( \int \frac{e^{y}}{2-e^{y}}\, dy = -\log|2-e^{y}| \) and the right side using \( \int \frac{dx}{x+1} = \log|x+1| \): \[ -\log|2 - e^{y}| = \log|x+1| + C. \] Reason: Both are standard log-type integrals; placing the constant \( C \) on the right-hand side is conventional and simplifies the next step.
  5. Step 5: Apply the initial condition \( y = 0 \) when \( x = 0 \) to find \( C \): Substitute \( x = 0 \) and \( y = 0 \) into the integrated equation: \[ -\log|2 - e^{0}| = \log|0+1| + C. \] This gives \[ -\log|2 - 1| = \log 1 + C, \] so \[ -\log 1 = 0 + C, \] hence \( C = 0 \). Reason: The initial condition pins down the unique particular solution from the family of general solutions.
  6. Step 6: Write the particular solution in simplified form: With \( C = 0 \), the equation becomes \[ -\log|2 - e^{y}| = \log|x+1|. \] Adding \( \log|2 - e^{y}| \) to both sides and using \( \log A + \log B = \log(AB) \): \[ 0 = \log\left|(x+1)(2 - e^{y})\right|, \] so \[ (x+1)(2 - e^{y}) = 1. \] Reason: Combining the logarithms and exponentiating both sides removes the logs and yields an explicit algebraic relation between \( x \) and \( y \).
  7. Step 7: Express \( y \) explicitly in terms of \( x \): From \( (x+1)(2 - e^{y}) = 1 \), isolate \( e^{y} \): \[ 2 - e^{y} = \frac{1}{x+1}, \] so \[ e^{y} = 2 - \frac{1}{x+1} = \frac{2(x+1)-1}{x+1} = \frac{2x+1}{x+1}. \] Taking the natural logarithm: \[ y = \log\left(\frac{2x+1}{x+1}\right), \quad x \ne -1. \] Reason: Making \( y \) the subject confirms the explicit particular solution and highlights the domain restriction \( x \ne -1 \) where the original equation is undefined.

Final Answer

The particular solution is \[ (x+1)(2 - e^{y}) = 1, \] equivalently \[ y = \log\left(\frac{2x+1}{x+1}\right), \quad x \ne -1. \]

Common Mistake

One common mistake: forgetting to multiply the left-hand side by \( \frac{e^{y}}{e^{y}} \) before integrating, which leads students to attempt the integral \( \int \frac{dy}{2e^{-y}-1} \) in its original form and arrive at an incorrect antiderivative — always clear negative exponents first to reveal the standard log form.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Separate Variables: Given: \[ (x+1)\frac{dy}{dx} = 2e^{-y} - 1 \] Multiply both sides by \( e^{y} \) and separate: \[ \frac{e^{y}}{2 - e^{y}} \, dy = \frac{dx}{x+1} \]
  2. Step 2: Integrate Both Sides: Integrating: \[ -\log|2 - e^{y}| = \log|x+1| + C \] which gives \[ \log|2 - e^{y}| + \log|x+1| = K \] so \[ (x+1)(2 - e^{y}) = A \]
  3. Step 3: Apply Initial Condition \( y = 0 \) when \( x = 0 \): Substituting \( x = 0,\, y = 0 \): \[ (0+1)(2 - e^{0}) = A \Rightarrow A = 1 \]
  4. Step 4: Write Particular Solution: Solving for \( y \): \[ 2 - e^{y} = \frac{1}{x+1} \Rightarrow e^{y} = \frac{2x+1}{x+1} \Rightarrow y = \log\!\left(\frac{2x+1}{x+1}\right) \]

Answer: The particular solution is \[ (x+1)(2 - e^{y}) = 1, \] equivalently \[ y = \log\left(\frac{2x+1}{x+1}\right), \quad x \ne -1. \]

➕ More Examples

More Examples

Example 1

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

Solution: We start with the equation \( (x-1)\dfrac{dy}{dx} = 3e^{-y} + 1 \). Separating variables, divide both sides by \( (3e^{-y}+1) \) and multiply both sides by \( dx \): \[ \frac{dy}{3e^{-y}+1} = \frac{dx}{x-1} \] Multiply numerator and denominator of the left side by \( e^{y} \): \[ \frac{e^{y}\, dy}{3 + e^{y}} = \frac{dx}{x-1} \] Now integrate both sides. Left side: let \( t = 3 + e^{y} \), so \( dt = e^{y}\, dy \): \[ \int \frac{e^{y}}{3+e^{y}} \, dy = \ln|3 + e^{y}| + C_1 \] Right side: \[ \int \frac{1}{x-1} \, dx = \ln|x-1| + C_2 \] Combining constants, 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 4 = \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\,4(x-1) \] Exponentiating both sides: \[ 3 + e^{y} = 4(x-1) \] Therefore the particular solution is \[ e^{y} = 4(x-1) - 3 = 4x - 7 \] which can also be written as \( y = \ln(4x - 7) \), valid for \( x > \dfrac{7}{4} \).

Answer: \( y = \ln(4x - 7) \), i.e., \( e^{y} = 4x - 7 \)

Example 2

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

Solution: We start with \( (2x+3)\dfrac{dy}{dx} = e^{y} + 2 \). Separating variables: \[ \frac{dy}{e^{y}+2} = \frac{dx}{2x+3} \] Multiply numerator and denominator on the left by \( e^{-y} \): \[ \frac{e^{-y}\, dy}{1 + 2e^{-y}} = \frac{dx}{2x+3} \] For the left side, let \( u = 1 + 2e^{-y} \), then \( du = -2e^{-y}\, dy \), so \( e^{-y}\, dy = -\dfrac{du}{2} \): \[ \int \frac{e^{-y}}{1+2e^{-y}} \, dy = -\frac{1}{2}\int \frac{du}{u} = -\frac{1}{2}\ln|1+2e^{-y}| + C_1 \] For the right side: \[ \int \frac{dx}{2x+3} = \frac{1}{2}\ln|2x+3| + C_2 \] Combining, the general solution is \[ -\frac{1}{2}\ln(1+2e^{-y}) = \frac{1}{2}\ln|2x+3| + C \] Multiplying through by \( -2 \): \[ \ln(1+2e^{-y}) = -\ln|2x+3| + K \quad \text{where } K = -2C \] This can be written as \[ \ln(1+2e^{-y}) + \ln|2x+3| = K \] \[ \ln\left[(1+2e^{-y})(2x+3)\right] = K \] So \[ (1+2e^{-y})(2x+3) = A \quad \text{where } A = e^{K} \] Applying the initial condition \( y = 0 \) when \( x = -1 \): \[ (1 + 2e^{0})(2(-1)+3) = A \] \[ (1+2)(1) = A \] \[ A = 3 \] Therefore the particular solution is \[ (1+2e^{-y})(2x+3) = 3 \] This can be rearranged as \[ 1 + 2e^{-y} = \frac{3}{2x+3} \] \[ 2e^{-y} = \frac{3}{2x+3} - 1 = \frac{3 - (2x+3)}{2x+3} = \frac{-2x}{2x+3} \] \[ e^{-y} = \frac{-x}{2x+3} \] Taking the natural log: \[ -y = \ln\!\left(\frac{-x}{2x+3}\right) \] So the particular solution in implicit form is \[ (1+2e^{-y})(2x+3) = 3 \]

Answer: \( (1 + 2e^{-y})(2x + 3) = 3 \)

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1: Separate the Variables: Rewrite the equation by separating \( y \)-terms on the left and \( x \)-terms on the right. Starting from \( (x-1)\dfrac{dy}{dx} = 2e^{-y} + 1 \), divide both sides appropriately: \[ \frac{dy}{2e^{-y} + 1} = \frac{dx}{x - 1} \] Multiply numerator and denominator on the left by \( e^{y} \): \[ \frac{e^{y}\,dy}{2 + e^{y}} = \frac{dx}{x - 1} \]
  2. Step 2: Integrate Both Sides: Integrate both sides. For the left side, note that the numerator \( e^{y} \) is the derivative of the denominator \( 2 + e^{y} \): \[ \int \frac{e^{y}}{2 + e^{y}}\,dy = \int \frac{1}{x-1}\,dx \] Evaluating each integral: \[ \log|2 + e^{y}| = \log|x - 1| + C \]
  3. Step 3: Apply the Initial Condition: Use \( y = 0 \) when \( x = 2 \): \[ \log|2 + e^{0}| = \log|2 - 1| + C \] \[ \log 3 = \log 1 + C \] Since \( \log 1 = 0 \), we get \( C = \log 3 \).
  4. Step 4: Write the Particular Solution: Substitute \( C = \log 3 \) back into the general solution: \[ \log(2 + e^{y}) = \log(x - 1) + \log 3 \] Using the logarithm property \( \log a + \log b = \log(ab) \): \[ \log(2 + e^{y}) = \log\bigl(3(x-1)\bigr) \] Exponentiating both sides: \[ 2 + e^{y} = 3(x - 1) \] Therefore \( e^{y} = 3x - 5 \), giving: \[ y = \log(3x - 5), \quad x \ne 1, \quad x > \frac{5}{3} \]

Answer: The particular solution is \( e^{y} = 3x - 5 \), equivalently \[ y = \log(3x - 5), \quad x > \frac{5}{3},\; x \ne 1. \]

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