Find the particular solution of the differential equation \(xy\dfrac{dy}{dx}=(x + 2) (y + 2),\) given that \(y(1)=-1.\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have a messy room and you want to sort toys on one side and books on the other. This equation is like that — we move all the y-pieces to one side and all the x-pieces to the other side. Once everything is sorted, we add them up using a special maths tool called integration. After adding up both sides, we use a clue — the fact that y equals -1 when x equals 1 — to find the one missing number. That gives us the exact answer.
Answer: The particular solution is \[ y-2\ln|y+2|=x+2\ln|x|-2 \]
A differential equation is variables separable if we can rearrange it so that all terms in \( y \) (including \( dy \)) are on one side and all terms in \( x \) (including \( dx \)) are on the other side. Here the equation \( xy\dfrac{dy}{dx}=(x+2)(y+2) \) can be reorganised by dividing both sides by \( x(y+2) \). After separating, we integrate each side. Some fractions may need to be split (like \( \dfrac{y}{y+2} \)) so they can be integrated using standard forms. The general solution contains an arbitrary constant \( C \). To get the particular solution we substitute the given initial condition \( y(1)=-1 \) to determine \( C \).
Variables separable form: \( g(y)\,dy = f(x)\,dx \Rightarrow \int g(y)\,dy = \int f(x)\,dx \). Useful integrals: \( \int \dfrac{1}{x}\,dx = \ln|x| \), and \( \int 1\,dx = x \).
The particular solution is \[ y-2\ln|y+2|=x+2\ln|x|-2 \]
A very common error is trying to integrate \( \dfrac{y}{y+2} \) or \( \dfrac{x+2}{x} \) directly as \( \ln \) forms without first splitting them into \( 1-\dfrac{2}{y+2} \) and \( 1+\dfrac{2}{x} \). Forgetting this splitting step leads to a wrong integral.
The particular solution is \[ y-2\ln|y+2|=x+2\ln|x|-2 \]
One common mistake: Students often forget to decompose \( \frac{y}{y+2} \) and \( \frac{x+2}{x} \) into simpler parts before integrating, and instead attempt to integrate these compound fractions directly — this leads to incorrect results. Always split such fractions first using the identity \( \frac{a+b}{b} = \frac{a}{b} + 1 \) or polynomial long division before integrating.
Answer: The particular solution is \[ y-2\ln|y+2|=x+2\ln|x|-2 \]
Question: Find the particular solution of the differential equation \[ x(y+3)\frac{dy}{dx} = (x+1)y \] given that \( y(2) = 3 \).
Solution: Step 1: Separate the variables. Rearrange to bring all y-terms to the left and all x-terms to the right. \[ x(y+3)\,dy = (x+1)y\,dx \] Divide both sides by \( xy \): \[ \frac{y+3}{y}\,dy = \frac{x+1}{x}\,dx \] This simplifies to: \[ \left(1 + \frac{3}{y}\right)dy = \left(1 + \frac{1}{x}\right)dx \] Step 2: Integrate both sides. \[ \int\left(1 + \frac{3}{y}\right)dy = \int\left(1 + \frac{1}{x}\right)dx \] \[ y + 3\ln|y| = x + \ln|x| + C \] Step 3: Apply the initial condition \( y(2) = 3 \), i.e., \( x = 2,\, y = 3 \). \[ 3 + 3\ln 3 = 2 + \ln 2 + C \] \[ C = 1 + 3\ln 3 - \ln 2 \] Step 4: Substitute C back to get the particular solution. \[ y + 3\ln|y| = x + \ln|x| + 1 + 3\ln 3 - \ln 2 \] This can be rewritten as: \[ y - x - 1 = \ln|x| - 3\ln|y| + 3\ln 3 - \ln 2 \] Or equivalently: \[ y + 3\ln|y| = x + \ln|x| + 1 + \ln\left(\frac{27}{2}\right) \]
Answer: \( y + 3\ln|y| = x + \ln|x| + 1 + \ln\left(\dfrac{27}{2}\right) \)
Question: Find the particular solution of the differential equation \[ (x-1)(y+2)\frac{dy}{dx} = xy \] given that \( y(2) = 2 \).
Solution: Step 1: Separate the variables. Rearrange to bring all y-terms to one side and all x-terms to the other. \[ (x-1)(y+2)\,dy = xy\,dx \] Divide both sides by \( y(x-1) \): \[ \frac{y+2}{y}\,dy = \frac{x}{x-1}\,dx \] This simplifies to: \[ \left(1 + \frac{2}{y}\right)dy = \left(1 + \frac{1}{x-1}\right)dx \] Step 2: Integrate both sides. \[ \int\left(1 + \frac{2}{y}\right)dy = \int\left(1 + \frac{1}{x-1}\right)dx \] \[ y + 2\ln|y| = x + \ln|x-1| + C \] Step 3: Apply the initial condition \( y(2) = 2 \), i.e., \( x = 2,\, y = 2 \). \[ 2 + 2\ln 2 = 2 + \ln|2-1| + C \] \[ 2 + 2\ln 2 = 2 + \ln 1 + C \] Since \( \ln 1 = 0 \): \[ C = 2\ln 2 \] Step 4: Substitute C back to get the particular solution. \[ y + 2\ln|y| = x + \ln|x-1| + 2\ln 2 \] This can also be written as: \[ y + 2\ln|y| = x + \ln|x-1| + \ln 4 \] Or equivalently: \[ y + \ln(y^2) = x + \ln\left(4|x-1|\right) \]
Answer: \( y + 2\ln|y| = x + \ln|x-1| + \ln 4 \)
Question: Find the particular solution of the differential equation \( xy\dfrac{dy}{dx} = (x+3)(y+3) \), given that \( y(1) = -2 \).
Answer: The particular solution is \[ y - 3\ln|y+3| = x + 3\ln|x| - 3 \]