Find the particular solution of the differential equation \(\dfrac{dy}{dx}+y\ cot\ x=2x+x^2\ cot\ x\ (x\ne 0)\) given that \(y=0\) when \(x=\dfrac{\pi}{2}.\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have a messy room and you want to tidy it into one neat pile. A differential equation is like a messy instruction for finding a hidden function. We use a special trick — multiplying by a magic number called an integrating factor — to tidy both sides at once. After tidying, we can simply undo the mess by adding things up. Finally, we use one known fact (the starting condition) to pin down the exact answer, just like knowing where you started on a map helps you find exactly where you ended up.
Answer: \[y = x^2 - \frac{\pi^2}{4}\,\csc x, \quad \text{or equivalently} \quad y \sin x = x^2 \sin x - \frac{\pi^2}{4}\]
A first-order linear differential equation has the standard form \(\frac{dy}{dx} + P(x)\,y = Q(x)\), where \(P(x)\) and \(Q(x)\) are functions of \(x\) only. To solve it, we multiply the whole equation by an integrating factor (I.F.) \(= e^{\int P\,dx}\). This special multiplier turns the left-hand side into the exact derivative of \(y \times \text{(I.F.)}\), which makes integration straightforward. After finding the general solution (which contains a constant \(C\)), we use the given condition \(y = 0\) when \(x = \frac{\pi}{2}\) to find \(C\), giving the particular solution.
For \(\frac{dy}{dx} + P(x)\,y = Q(x)\): \[\text{I.F.} = e^{\int P\,dx}, \qquad y \cdot (\text{I.F.}) = \int Q \cdot (\text{I.F.})\,dx + C\]
\[y = x^2 - \frac{\pi^2}{4}\,\csc x, \quad \text{or equivalently} \quad y \sin x = x^2 \sin x - \frac{\pi^2}{4}\]
A common mistake is failing to recognise that \(\int (2x \sin x + x^2 \cos x)\, dx = x^2 \sin x + C\) directly (as it is an exact derivative), and instead struggling with integration by parts and making sign errors. Another frequent error is forgetting the constant \(C\), which makes it impossible to apply the initial condition and find the particular solution.
\[y = x^2 - \frac{\pi^2}{4}\,\csc x, \quad \text{or equivalently} \quad y \sin x = x^2 \sin x - \frac{\pi^2}{4}\]
One common mistake: students forget to apply the initial condition after finding the general solution, leaving \( C \) undetermined and thus reporting only the general solution \( y \sin x = x^2 \sin x + C \) instead of the required particular solution.
Answer: \[y = x^2 - \frac{\pi^2}{4}\,\csc x, \quad \text{or equivalently} \quad y \sin x = x^2 \sin x - \frac{\pi^2}{4}\]
Question: Find the particular solution of the differential equation \(\dfrac{dy}{dx} + y \cot x = 4x \csc x\), given that \(y = 0\) when \(x = \dfrac{\pi}{2}\).
Solution: The given equation is already in standard linear form \(\dfrac{dy}{dx} + P(x)\,y = Q(x)\). Here \(P(x) = \cot x\) and \(Q(x) = 4x \csc x\). Integrating Factor: \[\text{IF} = e^{\int \cot x \, dx} = e^{\ln|\sin x|} = \sin x\] Multiplying both sides by \(\sin x\): \[\frac{d}{dx}\left(y \sin x\right) = 4x \csc x \cdot \sin x = 4x\] Integrating both sides: \[y \sin x = \int 4x \, dx = 2x^2 + C\] Applying the initial condition \(y = 0\) when \(x = \dfrac{\pi}{2}\): \[0 \cdot \sin\left(\frac{\pi}{2}\right) = 2\left(\frac{\pi}{2}\right)^2 + C\] \[0 = \frac{\pi^2}{2} + C\] So \(C = -\dfrac{\pi^2}{2}\). The particular solution is: \[y \sin x = 2x^2 - \frac{\pi^2}{2}\]
Answer: \(y \sin x = 2x^2 - \dfrac{\pi^2}{2}\)
Question: Find the particular solution of the differential equation \(\dfrac{dy}{dx} - y \tan x = -2x \sec x + x^2 \tan x\), given that \(y = 1\) when \(x = 0\).
Solution: The given equation is in standard linear form \(\dfrac{dy}{dx} + P(x)\,y = Q(x)\). Here \(P(x) = -\tan x\) and \(Q(x) = -2x \sec x + x^2 \tan x\). Integrating Factor: \[\text{IF} = e^{\int -\tan x \, dx} = e^{\ln|\cos x|} = \cos x\] Multiplying both sides by \(\cos x\): \[\frac{d}{dx}\left(y \cos x\right) = \left(-2x \sec x + x^2 \tan x\right) \cos x\] \[\frac{d}{dx}\left(y \cos x\right) = -2x + x^2 \sin x\] Integrating both sides: \[y \cos x = \int \left(-2x + x^2 \sin x\right) dx\] For \(\int -2x \, dx\): \[\int -2x \, dx = -x^2\] For \(\int x^2 \sin x \, dx\), using integration by parts twice: Let \(u = x^2\), \(dv = \sin x \, dx\), so \(du = 2x \, dx\), \(v = -\cos x\). \[\int x^2 \sin x \, dx = -x^2 \cos x + 2\int x \cos x \, dx\] For \(\int x \cos x \, dx\): let \(u = x\), \(dv = \cos x \, dx\), so \(du = dx\), \(v = \sin x\). \[\int x \cos x \, dx = x \sin x - \int \sin x \, dx = x \sin x + \cos x\] Therefore: \[\int x^2 \sin x \, dx = -x^2 \cos x + 2x \sin x + 2\cos x\] Combining: \[y \cos x = -x^2 - x^2 \cos x + 2x \sin x + 2\cos x + C\] Applying the initial condition \(y = 1\) when \(x = 0\): \[1 \cdot \cos 0 = -0 - 0 + 0 + 2\cos 0 + C\] \[1 = 2 + C\] So \(C = -1\). The particular solution is: \[y \cos x = -x^2 - x^2 \cos x + 2x \sin x + 2\cos x - 1\]
Answer: \(y \cos x = -x^2 - x^2 \cos x + 2x \sin x + 2\cos x - 1\)
Question: Find the particular solution of the differential equation \[ \frac{dy}{dx} + y\cot x = 4x + x^2 \cot x, \quad x \ne 0, \] given that \( y = 0 \) when \( x = \dfrac{\pi}{2} \).
Answer: The particular solution is \[ y \sin x = x^2 \sin x - 2x \cos x + 2\sin x - \frac{\pi^2}{4} - 2, \] or equivalently \[ y = x^2 - 2x\cot x + 2 - \left(\frac{\pi^2}{4} + 2\right)\csc x. \]