For each of the differential equations given in Exercises 1 to 12, find the general solution: \(\dfrac{dy}{dx}+(sec\ x)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 want to untangle a knotted rope. A special trick helps you loosen the knot all at once. Here, the equation has y mixed up with other things. We multiply both sides by a clever number called the integrating factor. This is like a magic key that unlocks the tangle. Once we use it, the left side becomes something very easy to work with. We then simply collect everything on the right side and add a constant C to get the full answer.
Answer: \[ y(\sec x + \tan x) = \sec x + \tan x - x + C \]
A first-order linear differential equation is one that can be written in 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 a special factor called the Integrating Factor (I.F.), given by \( e^{\int P\,dx} \). This factor turns the left-hand side into the exact derivative of a product, making the equation easy to integrate. Comparing our equation with the standard form, we see \( P(x) = \sec x \) and \( Q(x) = \tan x \), so it is indeed linear in \( y \).
For \( \frac{dy}{dx} + P(x)\,y = Q(x) \), the Integrating Factor is \( \text{I.F.} = e^{\int P\,dx} \), and the solution is \( y \cdot (\text{I.F.}) = \int Q \cdot (\text{I.F.})\, dx + C \).
\[ y(\sec x + \tan x) = \sec x + \tan x - x + C \]
A common mistake is to write the integrating factor as \( e^{\log|\sec x + \tan x|} \) and forget that it simplifies to \( \sec x + \tan x \); some students leave it in exponential form or wrongly integrate \( \sec x \) as \( \log(\sec x) \). Also, students often forget to convert \( \tan^2 x \) into \( \sec^2 x - 1 \) before integrating, which is the key step for integrating the right-hand side.
\[ y(\sec x + \tan x) = \sec x + \tan x - x + C \]
One common mistake: forgetting to apply the identity \( \tan^2 x = \sec^2 x - 1 \) when integrating \( \tan^2 x \); students often try to integrate \( \tan^2 x \) directly without converting it, leading to an incorrect antiderivative.
Answer: \[ y(\sec x + \tan x) = \sec x + \tan x - x + C \]
Question: Find the general solution of the differential equation \[ \frac{dy}{dx} + (\cot x)\, y = \cos x \quad \left(0 < x < \frac{\pi}{2}\right) \]
Solution: The equation is already in standard linear form \( \frac{dy}{dx} + P(x)y = Q(x) \) where \( P(x) = \cot x \) and \( Q(x) = \cos x \). Compute the Integrating Factor: \[ \text{IF} = e^{\int \cot x \, dx} = e^{\ln|\sin x|} = \sin x \] Multiply both sides of the equation by \( \sin x \): \[ \sin x \frac{dy}{dx} + y \cos x = \sin x \cos x \] The left side is the derivative of a product: \[ \frac{d}{dx}\left(y \sin x\right) = \sin x \cos x \] Integrate both sides with respect to \( x \): \[ y \sin x = \int \sin x \cos x \, dx \] Use the identity \( \sin x \cos x = \frac{1}{2}\sin 2x \): \[ y \sin x = \frac{1}{2} \int \sin 2x \, dx = \frac{1}{2} \cdot \left(-\frac{\cos 2x}{2}\right) + C = -\frac{\cos 2x}{4} + C \] Using \( \cos 2x = 1 - 2\sin^2 x \): \[ y \sin x = -\frac{1 - 2\sin^2 x}{4} + C = \frac{\sin^2 x}{2} - \frac{1}{4} + C \] Absorbing \( -\frac{1}{4} \) into the arbitrary constant \( C \), the general solution is: \[ y \sin x = -\frac{\cos 2x}{4} + C \] or equivalently \[ y = \frac{-\cos 2x + 4C}{4\sin x} \]
Answer: \( y\sin x = -\dfrac{\cos 2x}{4} + C \)
Question: Find the general solution of the differential equation \[ \frac{dy}{dx} + 2y\tan x = \sin x \quad \left(0 \le x < \frac{\pi}{2}\right) \]
Solution: The equation is in standard form \( \frac{dy}{dx} + P(x)y = Q(x) \) with \( P(x) = 2\tan x \) and \( Q(x) = \sin x \). Compute the Integrating Factor: \[ \text{IF} = e^{\int 2\tan x \, dx} = e^{2\ln|\sec x|} = e^{\ln\sec^2 x} = \sec^2 x \] Multiply both sides by \( \sec^2 x \): \[ \sec^2 x \frac{dy}{dx} + 2y \sec^2 x \tan x = \sin x \sec^2 x \] The left side equals \( \frac{d}{dx}\left(y\sec^2 x\right) \): \[ \frac{d}{dx}\left(y\sec^2 x\right) = \sin x \sec^2 x = \frac{\sin x}{\cos^2 x} = \tan x \sec x \] Integrate both sides with respect to \( x \): \[ y \sec^2 x = \int \tan x \sec x \, dx \] Recall that \( \frac{d}{dx}(\sec x) = \sec x \tan x \), so: \[ y \sec^2 x = \sec x + C \] Divide both sides by \( \sec^2 x \): \[ y = \frac{\sec x + C}{\sec^2 x} = \frac{1}{\sec x} + \frac{C}{\sec^2 x} = \cos x + C\cos^2 x \] Therefore, the general solution is: \[ y = \cos x + C\cos^2 x \]
Answer: \( y = \cos x + C\cos^2 x \)
Question: Find the general solution of the differential equation \( \frac{dy}{dx} + (\csc\, x)\, y = \cot x \), where \( 0 < x < \frac{\pi}{2} \).
Answer: \[ y(\csc x - \cot x) = -(\csc x - \cot x) + x + C \]