For each of the differential equations given in Exercises 1 to 12, find the general solution: \(cos^2\ x\dfrac{dy}{dx}+y=tan\ x\left(0\le x<\dfrac{\pi}{2}\right)\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have a messy room and you want to tidy it up neatly. A differential equation is like a messy room — it mixes the unknown value with its rate of change. We find a special helper number called an integrating factor, like a magic key that unlocks the equation. Multiplying by this key makes both sides easy to handle, just like sorting items into boxes. Once sorted, we add up everything to find the tidy answer, which always includes a constant \( C \) because there are many possible starting points.
Answer: The general solution is \[ y = (\tan x - 1) + C e^{-\tan x} \]
A first-order linear differential equation has the standard form \( \dfrac{dy}{dx} + Py = Q \), where \( P \) and \( Q \) are functions of \( x \) only. To solve it, we find the integrating factor \( \text{I.F.} = e^{\int P \, dx} \). Multiplying the equation by the I.F. turns the left side into the derivative of a product, which can then be integrated directly. The given equation is not yet in standard form because of the \( \cos^2 x \) coefficient, so our first job is to divide throughout to reveal \( P \) and \( Q \).
Standard form: \( \dfrac{dy}{dx} + Py = Q \). Integrating factor: \( \text{I.F.} = e^{\int P \, dx} \). General solution: \( y \cdot (\text{I.F.}) = \int Q \cdot (\text{I.F.}) \, dx + C \).
The general solution is \[ y = (\tan x - 1) + C e^{-\tan x} \]
A common mistake is forgetting to first divide by \( \cos^2 x \) to bring the equation into standard form. If you take \( P \) directly from the original coefficients, you get the wrong integrating factor and an incorrect solution. Always ensure the coefficient of \( \dfrac{dy}{dx} \) is 1 before identifying \( P \) and \( Q \).
The general solution is \[ y = (\tan x - 1) + C e^{-\tan x} \]
One common mistake: forgetting to divide the entire equation by \( \cos^2 x \) before identifying \( P \) and \( Q \), which leads to \( P = 1 \) (instead of \( \sec^2 x \)) and gives a completely wrong integrating factor.
Answer: The general solution is \[ y = (\tan x - 1) + C e^{-\tan x} \]
Question: Find the general solution of the differential equation \[ \sin^2 x \, \frac{dy}{dx} + y = \cot x, \quad 0 < x < \frac{\pi}{2} \]
Solution: Step 1: Rewrite in standard linear form. Divide both sides by \( \sin^2 x \): \[ \frac{dy}{dx} + \frac{1}{\sin^2 x}\,y = \frac{\cot x}{\sin^2 x} \] So we have \( P(x) = \csc^2 x \) and \( Q(x) = \frac{\cos x}{\sin^3 x} \). Step 2: Find the integrating factor. \[ \int P(x)\,dx = \int \csc^2 x \, dx = -\cot x \] Therefore the integrating factor is \[ \mu = e^{-\cot x} \] Step 3: Multiply both sides by the integrating factor \( e^{-\cot x} \): \[ \frac{d}{dx}\left(y \cdot e^{-\cot x}\right) = \frac{\cos x}{\sin^3 x} \cdot e^{-\cot x} \] Step 4: Integrate both sides. For the right side, let \( t = -\cot x \), so \( dt = \csc^2 x \, dx = \frac{1}{\sin^2 x} dx \). Also, \( \frac{\cos x}{\sin^3 x} = \cot x \cdot \csc^2 x \). Writing \( \cot x = -t \): \[ \int \frac{\cos x}{\sin^3 x} e^{-\cot x} dx = \int (-t)\, e^{t}\, dt \] Using integration by parts: \[ \int (-t) e^t \, dt = -t e^t + \int e^t \, dt = -t e^t + e^t = e^t(1 - t) \] Substituting back \( t = -\cot x \): \[ = e^{-\cot x}(1 + \cot x) \] Step 5: Write the general solution. \[ y \cdot e^{-\cot x} = e^{-\cot x}(1 + \cot x) + C \] Dividing both sides by \( e^{-\cot x} \): \[ y = 1 + \cot x + C\, e^{\cot x} \]
Answer: \( y = 1 + \cot x + C\, e^{\cot x} \)
Question: Find the general solution of the differential equation \[ (1 + x^2)\frac{dy}{dx} + 2xy = 4x^2 \]
Solution: Step 1: Rewrite in standard linear form. Divide both sides by \( (1 + x^2) \): \[ \frac{dy}{dx} + \frac{2x}{1+x^2}\,y = \frac{4x^2}{1+x^2} \] Here \( P(x) = \frac{2x}{1+x^2} \) and \( Q(x) = \frac{4x^2}{1+x^2} \). Step 2: Find the integrating factor. \[ \int P(x)\,dx = \int \frac{2x}{1+x^2}\,dx = \ln(1+x^2) \] Therefore the integrating factor is \[ \mu = e^{\ln(1+x^2)} = 1 + x^2 \] Step 3: Multiply both sides by \( (1 + x^2) \): \[ \frac{d}{dx}\left[y(1+x^2)\right] = \frac{4x^2}{1+x^2} \cdot (1+x^2) = 4x^2 \] Step 4: Integrate both sides with respect to \( x \): \[ y(1+x^2) = \int 4x^2 \, dx = \frac{4x^3}{3} + C \] Step 5: Write the general solution by dividing both sides by \( (1+x^2) \): \[ y = \frac{4x^3}{3(1+x^2)} + \frac{C}{1+x^2} \]
Answer: \( y = \dfrac{4x^3}{3(1+x^2)} + \dfrac{C}{1+x^2} \)
Question: Find the general solution of the differential equation \[ \sin^2 x \, \frac{dy}{dx} + y = \cot x, \quad 0 < x < \frac{\pi}{2} \]
Answer: The general solution is \[ y = (\cot x + 1) + C\,e^{\cot x} \]