SOLVER7 Study. Nothing Else.
2023 Board Paper Q29(b)

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

Solution

👶 Simple Explanation

Simple Explanation

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.

📖 General Solution by Variables Separable

Detailed Explanation

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.

Formula Used

Standard result: \[\int \frac{f'(t)}{f(t)} \, dt = \log|f(t)| + C\] Also \[\int \sec^2 y \, dy = \tan y + C\]

Solution

  1. Step 1: Write down the given equation: \[e^x \tan y \, dx + (1 - e^x)\sec^2 y \, dy = 0.\] Our goal is to separate the \(x\)-terms from the \(y\)-terms.
  2. Step 2: Move one term to the other side: \[(1 - e^x)\sec^2 y \, dy = -e^x \tan y \, dx.\] Now divide both sides by \((1 - e^x)\tan y\) so each variable stays with its own differential: \[\frac{\sec^2 y}{\tan y} \, dy = \frac{-e^x}{1 - e^x} \, dx.\]
  3. Step 3: Notice both sides now have the form derivative-of-denominator over denominator. On the left, the derivative of \(\tan y\) is \(\sec^2 y\). On the right, the derivative of \(1 - e^x\) is \(-e^x\), which is exactly the numerator. This is why the logarithm result will apply directly.
  4. Step 4: Integrate both sides: \[\int \frac{\sec^2 y}{\tan y} \, dy = \int \frac{-e^x}{1 - e^x} \, dx.\] The left side gives \[\log|\tan y|.\] For the right side, since the derivative of \(1 - e^x\) is \(-e^x\), we get \[\log|1 - e^x|.\]
  5. Step 5: Combine the results and add the constant of integration: \[\log|\tan y| = \log|1 - e^x| + \log C.\] Writing the constant as \(\log C\) makes the next simplification neat.
  6. Step 6: Use the log property \(\log a + \log b = \log(ab)\) to combine the right side: \[\log|\tan y| = \log|C(1 - e^x)|.\] Removing the logarithms on both sides gives \[\tan y = C(1 - e^x).\]

Final Answer

The general solution is \[\tan y = C(1 - e^x),\] where \(C\) is an arbitrary constant.

Common Mistake

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.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the given equation: Start with the equation as given: \[e^x \tan y \\, dx + (1 - e^x)\sec^2 y \\, dy = 0.\] — Reason: Writing the equation clearly helps us see which terms involve \(x\) and which involve \(y\), making it easier to plan the separation.
  2. Step 2: Rearrange to separate the variables: Shift the first term to the right side: \[(1 - e^x)\sec^2 y \\, dy = -e^x \tan y \\, dx.\] Then divide both sides by \((1 - e^x)\tan y\) to isolate each variable with its own differential: \[\frac{\sec^2 y}{\tan y} \\, dy = \frac{-e^x}{1 - e^x} \\, dx.\] — Reason: Dividing by \((1 - e^x)\tan y\) cleanly groups all \(y\)-terms on the left and all \(x\)-terms on the right, which is the core requirement for the separation-of-variables method.
  3. Step 3: Recognise the logarithmic integration pattern on both sides: On the left side, the derivative of \(\tan y\) is \(\sec^2 y\), so the integrand has the exact form numerator = derivative of denominator. On the right side, the derivative of \((1 - e^x)\) is \(-e^x\), which is exactly the numerator already present. — Reason: Spotting this pattern on both sides confirms that both integrals will produce natural logarithms directly, avoiding any additional substitution.
  4. Step 4: Integrate both sides: Applying \(\displaystyle\int \frac{f'(t)}{f(t)} \\, dt = \log|f(t)| + C\) to both sides: \[\int \frac{\sec^2 y}{\tan y} \\, dy = \int \frac{-e^x}{1 - e^x} \\, dx.\] Left side gives \(\log|\tan y|\) and right side gives \(\log|1 - e^x|\), so we obtain: \[\log|\tan y| = \log|1 - e^x| + \log|C_1|,\] where \(\log|C_1|\) is the constant of integration written in logarithmic form. — Reason: Expressing the integration constant as \(\log|C_1|\) rather than a plain constant makes it straightforward to combine the logarithms in the next step.
  5. Step 5: Combine the logarithms: Using the property \(\log A = \log B + \log C \Rightarrow \log A = \log(BC)\): \[\log|\tan y| = \log|C_1(1 - e^x)|.\] Removing the logarithms by exponentiating both sides: \[\tan y = C_1(1 - e^x).\] — Reason: Combining all log terms into a single log and then exponentiating gives an explicit, clean algebraic relationship between \(y\) and \(x\).
  6. Step 6: Write the general solution: Replacing the arbitrary constant \(C_1\) with \(C\) (standard notation), the general solution is: \[\tan y = C(1 - e^x).\] — Reason: Renaming the constant \(C_1\) as \(C\) is purely a notational convention; \(C\) still represents any arbitrary real constant, and the solution remains fully general.

Final Answer

The general solution is \[\tan y = C(1 - e^x),\] where \(C\) is an arbitrary constant.

Common Mistake

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.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Separate variables: \[\frac{\sec^2 y}{\tan y} \\, dy = \frac{-e^x}{1 - e^x} \\, dx\]
  2. Step 2: Integrate both sides: \[\int \frac{\sec^2 y}{\tan y} \\, dy = \int \frac{-e^x}{1 - e^x} \\, dx\] giving \[\log|\tan y| = \log|1 - e^x| + \log|C|\]
  3. Step 3: Combine logarithms: \[\log|\tan y| = \log|C(1 - e^x)|\] so \[\tan y = C(1 - e^x)\]

Answer: The general solution is \[\tan y = C(1 - e^x),\] where \(C\) is an arbitrary constant.

➕ More Examples

More Examples

Example 1

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 \)

Example 2

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 \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the general solution of the differential equation \( e^{2x} \sin y \, dx + (1 + e^{2x}) \cos y \, dy = 0 \).

Solution

  1. Step 1: Rearrange to Separate Variables: Rewrite the equation by moving the terms so that expressions in \( x \) are on one side and expressions in \( y \) are on the other side. Starting with: \[ e^{2x} \sin y \, dx + (1 + e^{2x}) \cos y \, dy = 0 \] Divide through 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 \]
  2. Step 2: Write in Integrable Form: Rearrange to: \[ \frac{\cos y}{\sin y} \, dy = -\frac{e^{2x}}{1 + e^{2x}} \, dx \] Both sides are now ready to be integrated separately.
  3. Step 3: Integrate the Left Side: Integrate the left side: \[ \int \frac{\cos y}{\sin y} \, dy = \int \cot y \, dy = \ln |\sin y| + C_1 \] This is a standard result since the derivative of \( \sin y \) is \( \cos y \).
  4. Step 4: Integrate the Right Side: Integrate the right side: \[ -\int \frac{e^{2x}}{1 + e^{2x}} \, dx \] Let \( u = 1 + e^{2x} \), so \( du = 2e^{2x} \, dx \), which gives \( e^{2x} \, dx = \frac{du}{2} \). Substituting: \[ -\int \frac{1}{u} \cdot \frac{du}{2} = -\frac{1}{2} \ln |u| + C_2 = -\frac{1}{2} \ln(1 + e^{2x}) + C_2 \] (Note: \( 1 + e^{2x} > 0 \) always, so the absolute value can be dropped.)
  5. Step 5: Combine Both Sides: Equating both integrals (absorbing constants into a single constant \( K \)): \[ \ln |\sin y| = -\frac{1}{2} \ln(1 + e^{2x}) + K \] Multiply throughout by 2: \[ 2\ln |\sin y| = -\ln(1 + e^{2x}) + 2K \] This can be written as: \[ \ln(\sin^2 y) + \ln(1 + e^{2x}) = 2K \] Using logarithm properties: \[ \ln\left[(1 + e^{2x})\sin^2 y\right] = 2K \]
  6. Step 6: Write the General Solution: Exponentiating both sides: \[ (1 + e^{2x})\sin^2 y = e^{2K} \] Let \( C = e^{2K} \) be an arbitrary positive constant (which we allow to be any nonzero constant for generality). The general solution is: \[ (1 + e^{2x})\sin^2 y = C \] where \( C \) is an arbitrary constant.

Answer: The general solution is \[ (1 + e^{2x})\sin^2 y = C \] where \( C \) is an arbitrary constant.

Everything you get with Solver7

More questions in Differential Equations

Chapter 9 Examples Q1(i) 65/2/1 2022 / Section A Q1 Chapter 9 Examples Q1(ii) 65/2/2 2023 / Section A Q2 Chapter 9 Examples Q1(iii) 65/2/2 2023 / Section A Q3 Chapter 9 Examples Q2 Chapter 9 Examples Q3 Chapter 9 Examples Q4 Chapter 9 Examples Q5 65/1/1 2023 / Section A Q7 65/2/1 2024 / Section A Q7 65/3/1 2024 / Section A Q7 65/4/1 2022 / Section A Q5 Chapter 9 Examples Q6 65/1/1 2024 / Section A Q8 65/3/1 2023 / Section A Q8 Chapter 9 Examples Q7 65/3/1 2023 / Section A Q9 65/4/2 2024 / Section A Q9 Chapter 9 Examples Q8 65(B) 2026 / Section A Q10 65/4/1 2023 / Section A Q10 Chapter 9 Examples Q9 65(B) 2026 / Section A Q11 65/1/1 2026 / Section A Q11 65/2/1 2022 / Section B Q9 65/4/1 2023 / Section A Q11 Chapter 9 Examples Q10 65/1/1 2026 / Section A Q12 65/4/1 2026 / Section A Q12 Chapter 9 Examples Q11 65/3/1 2026 / Section A Q13 65/4/1 2026 / Section A Q13 65/4/2 2024 / Section A Q13 65/5/1 2026 / Section A Q13 Chapter 9 Examples Q12 65/1/1 2024 / Section A Q14 65/2/1 2024 / Section A Q14 65/5/1 2026 / Section A Q14 Chapter 9 Examples Q13 65/1/1 2023 / Section A Q15 65/2/3 2026 / Section A Q15 Chapter 9 Examples Q14 65/2/3 2026 / Section A Q16 65/4/1 2022 / Section C Q12(a) Chapter 9 Examples Q15 65/4/1 2022 / Section C Q12(b) Chapter 9 Examples Q16 Chapter 9 Examples Q17 65/3/1 2026 / Section A Q19 Chapter 9 Examples Q18 Chapter 9 Miscellaneous Examples Q19 Chapter 9 Miscellaneous Examples Q20 Chapter 9 Miscellaneous Examples Q21 Chapter 9 Miscellaneous Examples Q22 Exercise 9.1 Q1 Exercise 9.1 Q2 Exercise 9.1 Q3 Exercise 9.1 Q4