Find the general solution of the differential equation :
\((x^2 + 1)\dfrac{dy}{dx}+2xy=\sqrt{x^2+4}\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have a messy recipe and you want to tidy it up so it is easy to follow. A differential equation like this is just a rule connecting a mystery function and its rate of change. We multiply both sides by a clever number, called an integrating factor, that magically bundles the left side into something we already know how to handle. It is like finding the right key that unlocks a locked box. Once the box is open, we simply read off the answer inside by integrating the right side.
Answer: \[ y(x^2 + 1) = \frac{x}{2}\sqrt{x^2 + 4} + 2\ln\left| x + \sqrt{x^2 + 4} \right| + C. \]
A linear first-order differential equation has the standard form \( \dfrac{dy}{dx} + P(x)\,y = Q(x) \), where \( P \) and \( Q \) are functions of \( x \) only. To solve it, we multiply the whole equation by an integrating factor \( I.F. = e^{\int P \, dx} \). This clever factor turns the left side into the exact derivative of a product, so we can integrate directly. The key first job here is to divide through so that the coefficient of \( \dfrac{dy}{dx} \) is 1, which lets us read off \( P(x) \) and \( Q(x) \) correctly.
For \( \dfrac{dy}{dx} + P(x)\,y = Q(x) \), the integrating factor is \( I.F. = e^{\int P \, dx} \), and the solution is \( y \cdot (I.F.) = \int Q \cdot (I.F.) \, dx + C \).
\[ y(x^2 + 1) = \frac{x}{2}\sqrt{x^2 + 4} + 2\ln\left| x + \sqrt{x^2 + 4} \right| + C. \]
A very common error is forgetting to divide by \( (x^2 + 1) \) first, which leads to using the wrong \( P(x) \) and hence a wrong integrating factor. Always convert the equation to the form \( \dfrac{dy}{dx} + P y = Q \) before finding the I.F.
\[ y(x^2 + 1) = \frac{x}{2}\sqrt{x^2 + 4} + 2\ln\left| x + \sqrt{x^2 + 4} \right| + C. \]
One common mistake: forgetting to divide the original equation by \( (x^2+1) \) before identifying \( P(x) \) and \( Q(x) \) — if you read off \( P(x) = 2x \) and \( Q(x) = \sqrt{x^2+4} \) without dividing first, the integrating factor and the entire solution will be wrong.
Answer: \[ y(x^2 + 1) = \frac{x}{2}\sqrt{x^2 + 4} + 2\ln\left| x + \sqrt{x^2 + 4} \right| + C. \]
Question: Find the general solution of the differential equation: \[ (x^2 + 4)\frac{dy}{dx} + 2xy = x \]
Solution: Step 1: Rewrite in standard linear form by dividing throughout by \( (x^2 + 4) \). \[ \frac{dy}{dx} + \frac{2x}{x^2+4}\,y = \frac{x}{x^2+4} \] Here \( P(x) = \dfrac{2x}{x^2+4} \) and \( Q(x) = \dfrac{x}{x^2+4} \). Step 2: Find the integrating factor. \[ \int P(x)\,dx = \int \frac{2x}{x^2+4}\,dx = \ln|x^2+4| \] So the integrating factor is: \[ \mu = e^{\ln(x^2+4)} = x^2 + 4 \] Step 3: Multiply both sides by \( \mu = x^2 + 4 \). \[ (x^2+4)\frac{dy}{dx} + 2xy = x \] The left-hand side is the derivative of \( y(x^2+4) \), so: \[ \frac{d}{dx}\left[y(x^2+4)\right] = x \] Step 4: Integrate both sides with respect to \( x \). \[ y(x^2+4) = \int x\,dx = \frac{x^2}{2} + C \] Step 5: Write the general solution. \[ y = \frac{x^2 + 2C}{2(x^2+4)} \] Or equivalently, absorbing the constant: \[ y(x^2+4) = \frac{x^2}{2} + C \]
Answer: \( y(x^2+4) = \dfrac{x^2}{2} + C \)
Question: Find the general solution of the differential equation: \[ (1 + x^2)\frac{dy}{dx} + 2xy = \cos x \]
Solution: Step 1: Divide throughout by \( (1+x^2) \) to write in standard linear form. \[ \frac{dy}{dx} + \frac{2x}{1+x^2}\,y = \frac{\cos x}{1+x^2} \] Here \( P(x) = \dfrac{2x}{1+x^2} \) and \( Q(x) = \dfrac{\cos x}{1+x^2} \). Step 2: Find the integrating factor. \[ \int P(x)\,dx = \int \frac{2x}{1+x^2}\,dx = \ln(1+x^2) \] So the integrating factor is: \[ \mu = e^{\ln(1+x^2)} = 1 + x^2 \] Step 3: Multiply both sides of the standard form by \( \mu = 1+x^2 \). \[ (1+x^2)\frac{dy}{dx} + 2xy = \cos x \] The left-hand side is exactly \( \dfrac{d}{dx}\left[y(1+x^2)\right] \), so: \[ \frac{d}{dx}\left[y(1+x^2)\right] = \cos x \] Step 4: Integrate both sides with respect to \( x \). \[ y(1+x^2) = \int \cos x\,dx = \sin x + C \] Step 5: Write the general solution. \[ y = \frac{\sin x + C}{1 + x^2} \]
Answer: \( y(1+x^2) = \sin x + C \), i.e., \( y = \dfrac{\sin x + C}{1+x^2} \)
Question: Find the general solution of the differential equation: \[(x^2 + 1)\frac{dy}{dx} + 2xy = \sqrt{x^2 + 9}.\]
Answer: \[y(x^2+1) = \frac{x}{2}\sqrt{x^2+9} + \frac{9}{2}\ln\left|x + \sqrt{x^2+9}\right| + C.\]