Find the general solution of the differential equation
\(e^x\ tan\ y \ dx + (1 - e^x) \sec^2\ y \ dy = 0. \)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have a messy room with toys on both sides. You sort all the red toys to one side and blue toys to the other. This equation is like that messy room — it mixes two variables, x and y. We carefully sort all the y-parts to one side and all the x-parts to the other. Once sorted, we count each pile separately by integrating. After counting, we combine the results to find the answer, which tells us how y and x are related.
Answer: The general solution is \[\tan y = C(1 - e^x),\] where \(C\) is an arbitrary constant.
A differential equation is called variables separable if we can rewrite it so that all terms containing one variable (with its differential) are on one side and all terms containing the other variable are on the other side. Once separated, we integrate both sides independently and add a single constant of integration to get the general solution. Here the equation mixes \(x\) and \(y\) terms, but we can group them cleanly. A very useful integration result we will use is that whenever the numerator is exactly the derivative of the denominator, the integral becomes a natural logarithm of the denominator.
Standard result: \[\int \frac{f'(t)}{f(t)} \, dt = \log|f(t)| + C\] Also \[\int \sec^2 y \, dy = \tan y + C\]
The general solution is \[\tan y = C(1 - e^x),\] where \(C\) is an arbitrary constant.
A common mistake is forgetting the negative sign in \(\dfrac{-e^x}{1 - e^x}\). Students often write \(\int \dfrac{e^x}{1 - e^x} dx = \log|1 - e^x|\), missing that the derivative of \(1 - e^x\) is \(-e^x\), which changes the sign of the answer.
The general solution is \[\tan y = C(1 - e^x),\] where \(C\) is an arbitrary constant.
One common mistake: forgetting that when you divide both sides by \(\tan y\) and \((1 - e^x)\) to separate variables, the sign of the numerator on the right side must be \(-e^x\) (not \(+e^x\)); losing this negative sign leads to \(\log(e^x - 1)\) instead of \(\log(1 - e^x)\), which changes the final answer.
Answer: The general solution is \[\tan y = C(1 - e^x),\] where \(C\) is an arbitrary constant.
Question: Find the general solution of the differential equation \[ e^{2x} \sin y \, dx + (1 + e^{2x}) \cos y \, dy = 0. \]
Solution: We rewrite the equation to separate variables. The given equation is \[ e^{2x} \sin y \, dx + (1 + e^{2x}) \cos y \, dy = 0. \] Divide throughout by \( \sin y \cdot (1 + e^{2x}) \) (assuming \( \sin y \ne 0 \) and \( 1 + e^{2x} \ne 0 \)): \[ \frac{e^{2x}}{1 + e^{2x}} \, dx + \frac{\cos y}{\sin y} \, dy = 0 \] This gives \[ \frac{e^{2x}}{1 + e^{2x}} \, dx = -\frac{\cos y}{\sin y} \, dy. \] Integrate both sides. For the left side, let \( u = 1 + e^{2x} \), so \( du = 2e^{2x}\,dx \), giving \( e^{2x}\,dx = \frac{du}{2} \): \[ \int \frac{e^{2x}}{1 + e^{2x}} \, dx = \frac{1}{2} \int \frac{du}{u} = \frac{1}{2} \ln|u| = \frac{1}{2} \ln(1 + e^{2x}). \] For the right side: \[ -\int \frac{\cos y}{\sin y} \, dy = -\ln|\sin y|. \] So the equation becomes \[ \frac{1}{2} \ln(1 + e^{2x}) = -\ln|\sin y| + C_1. \] Multiply through by 2: \[ \ln(1 + e^{2x}) = -2\ln|\sin y| + C_2 \] where \( C_2 = 2C_1 \). Using logarithm rules, \( -2\ln|\sin y| = \ln|\sin y|^{-2} = \ln\frac{1}{\sin^2 y} \). Thus: \[ \ln(1 + e^{2x}) + \ln(\sin^2 y) = C_2. \] This can be written as \[ \ln\left[(1 + e^{2x})\sin^2 y\right] = C_2. \] Exponentiating both sides (letting \( e^{C_2} = C \), where \( C > 0 \)): \[ (1 + e^{2x})\sin^2 y = C. \]
Answer: \( (1 + e^{2x})\sin^2 y = C \)
Question: Find the general solution of the differential equation \[ (e^x + 1)\sec^2 y \, dy + e^x \tan y \, dx = 0. \]
Solution: We rewrite the equation to separate variables. The given equation is \[ (e^x + 1)\sec^2 y \, dy + e^x \tan y \, dx = 0. \] Divide throughout by \( \tan y \cdot (e^x + 1) \) (assuming \( \tan y \ne 0 \) and \( e^x + 1 \ne 0 \)): \[ \frac{\sec^2 y}{\tan y} \, dy + \frac{e^x}{e^x + 1} \, dx = 0. \] Separate: \[ \frac{\sec^2 y}{\tan y} \, dy = -\frac{e^x}{e^x + 1} \, dx. \] Integrate both sides. For the left side, let \( v = \tan y \), so \( dv = \sec^2 y \, dy \): \[ \int \frac{\sec^2 y}{\tan y} \, dy = \int \frac{dv}{v} = \ln|\tan y|. \] For the right side, let \( w = e^x + 1 \), so \( dw = e^x \, dx \): \[ -\int \frac{e^x}{e^x + 1} \, dx = -\int \frac{dw}{w} = -\ln|e^x + 1| = -\ln(e^x + 1) \] (since \( e^x + 1 > 0 \) always). So: \[ \ln|\tan y| = -\ln(e^x + 1) + \ln C \] where \( \ln C \) is the constant of integration. Using logarithm rules: \[ \ln|\tan y| + \ln(e^x + 1) = \ln C. \] This gives \[ \ln\left[|\tan y|(e^x + 1)\right] = \ln C. \] Exponentiating both sides: \[ (e^x + 1)\tan y = C \] where \( C \) is an arbitrary constant.
Answer: \( (e^x + 1)\tan y = C \)
Question: Find the general solution of the differential equation \( e^{2x} \sin y \, dx + (1 + e^{2x}) \cos y \, dy = 0 \).
Answer: The general solution is \[ (1 + e^{2x})\sin^2 y = C \] where \( C \) is an arbitrary constant.