SOLVER7 Study. Nothing Else.
Exercise 9.3 Q16

For the differential equation \(xy\ \dfrac{dy}{dx}=(x+2)(y+2),\) find the solution curve passing through the point \((1, –1).\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have two groups of friends who only talk to each other — one group only likes the letter y and the other only likes the letter x. A differential equation is like a noisy room where both groups are mixed together. We politely ask each group to move to their own side of the room. Once separated, each side can be counted on its own. A special starting point — like a dot on a map — tells us exactly which solution curve we land on.

Answer: The solution curve is \[ y - x + 2 = 2\ln\left| x(y+2) \right|. \] Equivalently, \( y - 2\ln|y+2| = x + 2\ln|x| - 2 \).

📖 Solution Curve of a Variables-Separable Differential Equation

Detailed Explanation

A differential equation is called variables separable if it can be rearranged 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 independently. The result is the general solution, which contains an arbitrary constant \(C\). To find a particular solution (a specific curve), we substitute the coordinates of the given point to determine the value of \(C\). Here the equation \(xy\,\frac{dy}{dx}=(x+2)(y+2)\) can be separated by dividing suitably, and the resulting integrals are handled by writing improper fractions as a polynomial part plus a simple fractional part.

Formula Used

Variables separable form: \( g(y)\,dy = f(x)\,dx \Rightarrow \int g(y)\,dy = \int f(x)\,dx + C \). Also \( \int \frac{du}{u} = \ln|u| \).

Solution

  1. Step 1: Start with the given equation \[ xy\,\frac{dy}{dx} = (x+2)(y+2). \] We want all \(y\)-terms with \(dy\) and all \(x\)-terms with \(dx\). Divide both sides by \(x(y+2)\) to separate the variables.
  2. Step 2: After separation we get \[ \frac{y}{y+2}\,dy = \frac{x+2}{x}\,dx. \] Now the left side depends only on \(y\) and the right side only on \(x\), so we can integrate each side separately.
  3. Step 3: Simplify each fraction so it becomes easy to integrate. For the left side: \[ \frac{y}{y+2} = 1 - \frac{2}{y+2}. \] For the right side: \[ \frac{x+2}{x} = 1 + \frac{2}{x}. \] This step is important because we cannot directly integrate an improper-looking fraction; splitting it gives standard forms.
  4. Step 4: Integrate both sides. \[ \int \left(1 - \frac{2}{y+2}\right) dy = \int \left(1 + \frac{2}{x}\right) dx. \] This gives \[ y - 2\ln|y+2| = x + 2\ln|x| + C. \] Here \(C\) is the arbitrary constant of integration, so this is the general solution.
  5. Step 5: Apply the given point \((1,\,-1)\) to find \(C\). Substitute \(x=1\) and \(y=-1\): \[ -1 - 2\ln|{-1}+2| = 1 + 2\ln|1| + C. \] Since \(\ln 1 = 0\), this becomes \[ -1 - 0 = 1 + 0 + C, \] so \[ C = -2. \]
  6. Step 6: Substitute \(C=-2\) back into the general solution to get the required particular solution (the specific curve through the point): \[ y - 2\ln|y+2| = x + 2\ln|x| - 2. \] Rearranging, \[ y - x + 2 = 2\ln|x| + 2\ln|y+2|, \] which can also be written as \[ y - x + 2 = 2\ln\left| x(y+2) \right|. \]

Final Answer

The solution curve is \[ y - x + 2 = 2\ln\left| x(y+2) \right|. \] Equivalently, \( y - 2\ln|y+2| = x + 2\ln|x| - 2 \).

Common Mistake

A common mistake is forgetting to split the improper fractions before integrating and trying to integrate \( \frac{y}{y+2} \) or \( \frac{x+2}{x} \) directly. Another frequent error is dropping the modulus in \( \ln|\,\cdot\,| \), which then makes it impossible to substitute negative values like \(y=-1\) correctly.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write the given equation and plan the separation: Begin with the given differential equation \[ xy\,\frac{dy}{dx} = (x+2)(y+2). \] Reason: Identifying the structure first helps us decide how to rearrange — we need all \( y \)-terms on the left and all \( x \)-terms on the right.
  2. Step 2: Separate the variables: Divide both sides by \( x(y+2) \) (assuming \( x \ne 0 \) and \( y \ne -2 \)) to obtain \[ \frac{y}{y+2}\,dy = \frac{x+2}{x}\,dx. \] Reason: After this division the left side contains only \( y \) and the right side contains only \( x \), which is exactly the separated form required for integration.
  3. Step 3: Rewrite each fraction in integrable form: Split the left-side fraction: \[ \frac{y}{y+2} = 1 - \frac{2}{y+2}. \] Split the right-side fraction: \[ \frac{x+2}{x} = 1 + \frac{2}{x}. \] Reason: Expressing improper-looking fractions as a whole-number part plus a simple fractional part converts them into standard forms whose integrals are immediate.
  4. Step 4: Integrate both sides: Integrate the left side with respect to \( y \): \[ \int \left(1 - \frac{2}{y+2}\right)dy = y - 2\ln|y+2|. \] Integrate the right side with respect to \( x \): \[ \int \left(1 + \frac{2}{x}\right)dx = x + 2\ln|x|. \] Setting the two results equal and absorbing the constant of integration gives \[ y - 2\ln|y+2| = x + 2\ln|x| + C. \] Reason: Integrating both sides simultaneously is valid because the variables have been completely separated; the arbitrary constant \( C \) represents the family of all solution curves.
  5. Step 5: Apply the initial condition to find C: The curve passes through the point \( (1, -1) \). Substitute \( x = 1 \) and \( y = -1 \) into \[ y - 2\ln|y+2| = x + 2\ln|x| + C \] to get \[ -1 - 2\ln|{-1+2}| = 1 + 2\ln|1| + C. \] Since \( \ln 1 = 0 \), this simplifies to \[ -1 - 0 = 1 + 0 + C, \] so \( C = -2 \). Reason: The initial condition pins down the unique curve from the whole family of solutions.
  6. Step 6: Write the particular solution: Substitute \( C = -2 \) back into the general solution: \[ y - 2\ln|y+2| = x + 2\ln|x| - 2. \] Rearrange by grouping logarithms on one side: \[ y - x + 2 = 2\ln|x| + 2\ln|y+2| = 2\ln\left|x(y+2)\right|. \] Reason: Using the logarithm rule \( \ln A + \ln B = \ln(AB) \) lets us write the answer in a compact, equivalent form.

Final Answer

The solution curve is \[ y - x + 2 = 2\ln\left| x(y+2) \right|. \] Equivalently, \( y - 2\ln|y+2| = x + 2\ln|x| - 2 \).

Common Mistake

One common mistake: forgetting to rewrite \( \frac{y}{y+2} \) as \( 1 - \frac{2}{y+2} \) before integrating — trying to integrate the fraction directly without splitting it leads to an incorrect antiderivative and a wrong answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Separate Variables: Divide both sides of \( xy\,\frac{dy}{dx} = (x+2)(y+2) \) by \( x(y+2) \) to get \[ \frac{y}{y+2}\,dy = \frac{x+2}{x}\,dx. \]
  2. Step 2: Rewrite Fractions: Rewrite as \[ \left(1 - \frac{2}{y+2}\right)dy = \left(1 + \frac{2}{x}\right)dx. \]
  3. Step 3: Integrate Both Sides: Integrating: \[ y - 2\ln|y+2| = x + 2\ln|x| + C. \]
  4. Step 4: Apply Initial Condition \( (1, -1) \): Substitute \( x = 1,\, y = -1 \): \(-1 - 2\ln 1 = 1 + 2\ln 1 + C\) gives \( C = -2 \), so \[ y - 2\ln|y+2| = x + 2\ln|x| - 2, \] which rearranges to \[ y - x + 2 = 2\ln|x| + 2\ln|y+2| = 2\ln\left|x(y+2)\right|. \]

Answer: The solution curve is \[ y - x + 2 = 2\ln\left| x(y+2) \right|. \] Equivalently, \( y - 2\ln|y+2| = x + 2\ln|x| - 2 \).

➕ More Examples

More Examples

Example 1

Question: For the differential equation \[ xy \frac{dy}{dx} = (x+3)(y+3), \] find the solution curve passing through the point \( (1, -2) \).

Solution: We start with the differential equation \[ xy \frac{dy}{dx} = (x+3)(y+3). \] Separating variables by bringing all y-terms to the left and all x-terms to the right: \[ \frac{y}{y+3} \, dy = \frac{x+3}{x} \, dx. \] Rewrite each side using algebraic manipulation. For the left side: \[ \frac{y}{y+3} = 1 - \frac{3}{y+3}. \] For the right side: \[ \frac{x+3}{x} = 1 + \frac{3}{x}. \] So the equation becomes \[ \left(1 - \frac{3}{y+3}\right) dy = \left(1 + \frac{3}{x}\right) dx. \] Integrating both sides: \[ \int \left(1 - \frac{3}{y+3}\right) dy = \int \left(1 + \frac{3}{x}\right) dx. \] This gives \[ y - 3\ln|y+3| = x + 3\ln|x| + C. \] Now apply the initial condition \( (x, y) = (1, -2) \): \[ -2 - 3\ln|-2+3| = 1 + 3\ln|1| + C. \] Since \( \ln(1) = 0 \): \[ -2 - 3\ln(1) = 1 + 0 + C \Rightarrow -2 - 0 = 1 + C \ \Rightarrow C = -3. \] Substituting back, the particular solution is \[ y - 3\ln|y+3| = x + 3\ln|x| - 3. \] This can be rearranged as \[ y - x + 3 = 3\ln|x| + 3\ln|y+3| = 3\ln\bigl(|x||y+3|\bigr). \]

Answer: \[ y - x + 3 = 3\ln\bigl(|x(y+3)|\bigr) \]

Example 2

Question: For the differential equation \[ xy \frac{dy}{dx} = (x-2)(y-2), \] find the solution curve passing through the point \( (2, 1) \).

Solution: We begin with \[ xy \frac{dy}{dx} = (x-2)(y-2). \] Separating variables: \[ \frac{y}{y-2} \, dy = \frac{x-2}{x} \, dx. \] Rewrite using partial fractions or simple algebra. For the left side: \[ \frac{y}{y-2} = 1 + \frac{2}{y-2}. \] For the right side: \[ \frac{x-2}{x} = 1 - \frac{2}{x}. \] So the equation becomes \[ \left(1 + \frac{2}{y-2}\right) dy = \left(1 - \frac{2}{x}\right) dx. \] Integrating both sides: \[ \int \left(1 + \frac{2}{y-2}\right) dy = \int \left(1 - \frac{2}{x}\right) dx. \] This gives \[ y + 2\ln|y-2| = x - 2\ln|x| + C. \] Applying the initial condition \( (x, y) = (2, 1) \): \[ 1 + 2\ln|1-2| = 2 - 2\ln|2| + C. \] Since \( |1-2| = 1 \) and \( \ln(1) = 0 \): \[ 1 + 0 = 2 - 2\ln 2 + C \ \Rightarrow C = -1 + 2\ln 2. \] Substituting back: \[ y + 2\ln|y-2| = x - 2\ln|x| - 1 + 2\ln 2. \] Rearranging: \[ y - x + 1 = -2\ln|x| - 2\ln|y-2| + 2\ln 2 = 2\ln\frac{2}{|x(y-2)|}. \]

Answer: \[ y - x + 1 = 2\ln\left(\frac{2}{|x(y-2)|}\right) \]

🎯 Try a Similar Question

Try a Similar Question

Question: For the differential equation \( xy\,\dfrac{dy}{dx} = (x+3)(y+3) \), find the solution curve passing through the point \( (1, -2) \).

Solution

  1. Step 1: Rewrite and Separate Variables: We have \( xy\,\frac{dy}{dx} = (x+3)(y+3) \). Separate the variables by bringing all \( y \)-terms to the left and all \( x \)-terms to the right: \[ \frac{y}{y+3}\,dy = \frac{x+3}{x}\,dx \]
  2. Step 2: Simplify Each Side: Rewrite the left side: \[ \frac{y}{y+3} = 1 - \frac{3}{y+3} \] Rewrite the right side: \[ \frac{x+3}{x} = 1 + \frac{3}{x} \] So the equation becomes: \[ \left(1 - \frac{3}{y+3}\right)dy = \left(1 + \frac{3}{x}\right)dx \]
  3. Step 3: Integrate Both Sides: Integrate the left side with respect to \( y \) and the right side with respect to \( x \): \[ \int \left(1 - \frac{3}{y+3}\right)dy = \int \left(1 + \frac{3}{x}\right)dx \] This gives: \[ y - 3\ln|y+3| = x + 3\ln|x| + C \]
  4. Step 4: Apply the Initial Condition: The curve passes through \( (1, -2) \). Substitute \( x = 1 \) and \( y = -2 \): \[ -2 - 3\ln|-2+3| = 1 + 3\ln|1| + C \] Since \( \ln 1 = 0 \) and \( \ln|-2+3| = \ln 1 = 0 \), we get: \[ -2 - 0 = 1 + 0 + C \] Therefore \( C = -3 \).
  5. Step 5: Write the Particular Solution: Substitute \( C = -3 \) back into the general solution: \[ y - 3\ln|y+3| = x + 3\ln|x| - 3 \] Rearranging: \[ y - x + 3 = 3\ln|x| + 3\ln|y+3| \] Using the logarithm property \( \ln A + \ln B = \ln(AB) \): \[ y - x + 3 = 3\ln\left|x(y+3)\right| \]

Answer: The solution curve is \[ y - x + 3 = 3\ln\left|x(y+3)\right| \] or equivalently \( y - 3\ln|y+3| = x + 3\ln|x| - 3 \).

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