For each of the differential equations given in Exercises 1 to 12, find the general solution: \((1+x^2)\ dy+2xy\ dx=cot\ x\ dx\ (x\ne 0)\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have a messy recipe and want to tidy it up so baking is easy. This equation is like that messy recipe — we rearrange it into a neat form. We then multiply both sides by a clever number called the integrating factor, which is \( 1 + x^2 \). This makes one side look like something we already know how to handle. After that, we simply collect everything together and write the final tidy answer.
Answer: \[ y(1+x^2) = \ln|\sin x| + C \]
A first-order linear differential equation has the standard form \( \frac{dy}{dx} + P y = Q \), where \( P \) and \( Q \) are functions of \( x \) only. To solve it, we multiply throughout by a special factor called the integrating factor (I.F.), given by \( e^{\int P \, dx} \). This turns the left side into the derivative of a single product, which we can then integrate directly. The given equation must first be rearranged into this standard form before we can identify \( P \) and \( Q \).
For \( \frac{dy}{dx} + Py = Q \): Integrating Factor \( = e^{\int P \, dx} \), and the solution is \( y \cdot (\text{I.F.}) = \int Q \cdot (\text{I.F.}) \, dx + C \).
\[ y(1+x^2) = \ln|\sin x| + C \]
A common mistake is to forget to divide the equation by \( (1+x^2) \) first, and then wrongly take \( P = 2x \). The integrating factor must be computed from the coefficient of \( y \) only after the equation is written in the standard form \( \frac{dy}{dx} + Py = Q \).
\[ y(1+x^2) = \ln|\sin x| + C \]
One common mistake: Students forget to divide by \( (1+x^2) \) before computing the integrating factor, incorrectly reading \( P = 2x \) instead of \( P = \frac{2x}{1+x^2} \), which leads to a wrong integrating factor and an incorrect solution.
Answer: \[ y(1+x^2) = \ln|\sin x| + C \]
Question: Find the general solution of the differential equation \((1 + x^2)\,dy + 2xy\,dx = \sin x\,dx\), where \(x \ne 0\).
Solution: Step 1: Rewrite in standard linear form by dividing throughout by \((1+x^2)\,dx\): \[\frac{dy}{dx} + \frac{2x}{1+x^2}\,y = \frac{\sin x}{1+x^2}\] Here \(P(x) = \frac{2x}{1+x^2}\) and \(Q(x) = \frac{\sin x}{1+x^2}\). Step 2: Find the integrating factor. \[\int P(x)\,dx = \int \frac{2x}{1+x^2}\,dx = \ln\left|1+x^2\right|\] 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 = \sin x\] The left side is the derivative of \(y(1+x^2)\): \[\frac{d}{dx}\left[y(1+x^2)\right] = \sin x\] Step 4: Integrate both sides with respect to \(x\): \[y(1+x^2) = \int \sin x\,dx = -\cos x + C\] Step 5: Write the general solution: \[y = \frac{-\cos x + C}{1+x^2}\]
Answer: \(y(1+x^2) = -\cos x + C\), i.e., \(y = \dfrac{C - \cos x}{1+x^2}\)
Question: Find the general solution of the differential equation \((1 + x^2)\,\frac{dy}{dx} + 2xy = \tan^{-1} x\).
Solution: Step 1: Divide both sides by \((1+x^2)\) to write in standard linear form: \[\frac{dy}{dx} + \frac{2x}{1+x^2}\,y = \frac{\tan^{-1} x}{1+x^2}\] Here \(P(x) = \frac{2x}{1+x^2}\) and \(Q(x) = \frac{\tan^{-1} x}{1+x^2}\). Step 2: Find the integrating factor. \[\int P(x)\,dx = \int \frac{2x}{1+x^2}\,dx = \ln\left(1+x^2\right)\] So the integrating factor is: \[\mu = e^{\ln(1+x^2)} = 1+x^2\] Step 3: Multiply both sides by \(\mu = 1+x^2\): \[\frac{d}{dx}\left[y(1+x^2)\right] = \tan^{-1} x\] Step 4: Integrate both sides. Use integration by parts for the right side, letting \(u = \tan^{-1} x\) and \(dv = dx\), so \(du = \frac{1}{1+x^2}\,dx\) and \(v = x\): \[\int \tan^{-1} x\,dx = x\tan^{-1} x - \int \frac{x}{1+x^2}\,dx\] Now, \(\int \frac{x}{1+x^2}\,dx = \frac{1}{2}\ln(1+x^2)\), so: \[\int \tan^{-1} x\,dx = x\tan^{-1} x - \frac{1}{2}\ln(1+x^2) + C\] Step 5: Write the general solution: \[y(1+x^2) = x\tan^{-1} x - \frac{1}{2}\ln(1+x^2) + C\] Dividing by \((1+x^2)\): \[y = \frac{x\tan^{-1} x - \frac{1}{2}\ln(1+x^2) + C}{1+x^2}\]
Answer: \(y(1+x^2) = x\tan^{-1} x - \dfrac{1}{2}\ln(1+x^2) + C\)
Question: Find the general solution of the differential equation \[ (1 + x^2)\,dy + 2xy\,dx = \tan x\,dx, \quad x \ne \frac{\pi}{2} + n\pi,\; n \in \mathbb{Z}. \]
Answer: \[ y(1+x^2) = \ln|\sec x| + C \]