SOLVER7 Study. Nothing Else.
Exercise 9.3 Q10

For each of the differential equations in Exercises 1 to 10, find the general solution: \(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 and books all mixed up. You want to sort toys on one side and books on the other. This equation is like that room — it mixes \( x \) and \( y \) together. We carefully sort all the \( y \) pieces to one side and all the \( x \) pieces to the other. Once sorted, we use a special counting trick called integration on both sides. The answer tells us exactly how \( y \) and \( x \) are connected.

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

📖 General Solution of e^x tan y dx + (1-e^x) sec^2 y dy = 0

Detailed Explanation

A first-order differential equation is called variables separable if it can be rewritten so that all terms containing \( x \) (and \( dx \)) are on one side and all terms containing \( y \) (and \( dy \)) are on the other side. Once separated, we simply integrate both sides. The given equation mixes \( x \) and \( y \) terms, but by dividing carefully we can group them separately. A key tool here is that an integral of the form \( \int \frac{f'(t)}{f(t)} \, dt = \log|f(t)| + C \), which appears on both sides after separation.

Formula Used

Variables separable form: \( g(y) \, dy = h(x) \, dx \Rightarrow \int g(y) \, dy = \int h(x) \, dx \). Also \( \int \frac{f'(t)}{f(t)} \, dt = \log|f(t)| + C \).

Solution

  1. Step 1: Write the given equation: \[ e^x \tan y \, dx + (1 - e^x)\sec^2 y \, dy = 0. \] We want to separate the variables so that \( x \)-terms and \( y \)-terms are on opposite sides.
  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 \) to isolate the variables: \[ \frac{\sec^2 y}{\tan y} \, dy = \frac{-\,e^x}{1 - e^x} \, dx. \]
  3. Step 3: Rewrite the right side so its numerator becomes the derivative of its denominator. The derivative of \( 1 - e^x \) is \( -e^x \), which is exactly the numerator. So: \[ \frac{\sec^2 y}{\tan y} \, dy = \frac{(1 - e^x)'}{1 - e^x} \, dx. \] This is the ideal form for using \( \int \frac{f'}{f} = \log|f| \).
  4. Step 4: Integrate both sides. On the left, the derivative of \( \tan y \) is \( \sec^2 y \), so the numerator is the derivative of the denominator again: \[ \int \frac{\sec^2 y}{\tan y} \, dy = \int \frac{-e^x}{1 - e^x} \, dx. \] This gives \[ \log|\tan y| = \log|1 - e^x| + \log C. \]
  5. Step 5: Combine the logarithms on the right using \( \log a + \log b = \log(ab) \): \[ \log|\tan y| = \log\big(C\,|1 - e^x|\big). \] Removing the logarithm from both sides: \[ \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 error is forgetting the negative sign that appears when the derivative of \( 1 - e^x \) is \( -e^x \). Students often write \( \frac{e^x}{1 - e^x} \) directly as \( \frac{f'}{f} \) without adjusting the sign, leading to an incorrect solution. Always check that the numerator matches the derivative of the denominator, including its sign.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down the given equation: Start with the equation as given: \[ e^x \tan y \, dx + (1 - e^x)\sec^2 y \, dy = 0. \] Reason: Clearly identifying what we are working with prevents sign and term errors in later steps.
  2. Step 2: Rearrange to begin separating variables: Move the first term to the right-hand side: \[ (1 - e^x)\sec^2 y \, dy = -e^x \tan y \, dx. \] Reason: We need the \( x \)-terms and \( y \)-terms on opposite sides before we can divide them apart.
  3. Step 3: Complete the separation by dividing both sides: Divide both sides by \( (1 - e^x) \tan y \): \[ \frac{\sec^2 y}{\tan y} \, dy = \frac{-e^x}{1 - e^x} \, dx. \] Reason: Dividing by \( (1 - e^x)\tan y \) isolates the \( y \)-expression on the left and the \( x \)-expression on the right, achieving full variable separation.
  4. Step 4: Recognise the logarithmic integral structure: Notice that the derivative of \( \tan y \) is \( \sec^2 y \), so the left side has the form \( \frac{(\tan y)'}{\tan y} \). Similarly, the derivative of \( 1 - e^x \) is \( -e^x \), which is exactly the numerator on the right side, giving \( \frac{(1 - e^x)'}{1 - e^x} \). Reason: Recognising this pattern lets us apply \( \int \frac{f'}{f} \, dt = \log|f| + C \) directly on both sides.
  5. Step 5: Integrate both sides: Integrate the left side with respect to \( y \) and the right side with respect to \( x \): \[ \int \frac{\sec^2 y}{\tan y} \, dy = \int \frac{-e^x}{1 - e^x} \, dx. \] Applying the logarithmic rule to each side: \[ \log|\tan y| = \log|1 - e^x| + \log|C_1|, \] where \( \log|C_1| \) is the combined arbitrary constant of integration written in logarithmic form for convenience. Reason: Integrating both sides simultaneously preserves the equality and produces the general solution.
  6. Step 6: Simplify using logarithm properties: Using \( \log A = \log B + \log C \Rightarrow A = B \cdot C \), combine the right-hand side: \[ \log|\tan y| = \log|C_1(1 - e^x)|. \] Removing the logarithms: \[ \tan y = C_1(1 - e^x). \] Replacing \( C_1 \) with the arbitrary constant \( C \): \[ \tan y = C(1 - e^x). \] Reason: Merging logarithm terms and then exponentiating both sides converts the logarithmic equation into its clean algebraic form.

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 dividing by \( (1 - e^x)\tan y \) requires both factors to be non-zero, and also incorrectly writing the right-hand integral as \( \log|e^x - 1| \) instead of \( \log|1 - e^x| \), which changes the sign absorbed into the constant and may lead to an incorrect final answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Separate variables by dividing both sides by \( (1 - e^x)\tan y \): \[ \frac{\sec^2 y}{\tan y} \, dy = \frac{-e^x}{1 - e^x} \, dx \]
  2. Step 2: Integrate both sides using \( \int \frac{f'(t)}{f(t)} \, dt = \log|f(t)| + C \): \[ \log|\tan y| = \log|1 - e^x| + \log|C| \]
  3. Step 3: Combine logarithms and exponentiate: \[ \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} \cot y \, dx + (1 - e^{2x}) \csc^2 y \, dy = 0 \]

Solution: We separate variables by rearranging the equation. Starting with: \[ e^{2x} \cot y \, dx + (1 - e^{2x}) \csc^2 y \, dy = 0 \] Rearrange to: \[ (1 - e^{2x}) \csc^2 y \, dy = -e^{2x} \cot y \, dx \] Divide both sides by \( \cot y \cdot (1 - e^{2x}) \) (assuming \( \cot y \ne 0 \) and \( e^{2x} \ne 1 \)): \[ \frac{\csc^2 y}{\cot y} \, dy = \frac{-e^{2x}}{1 - e^{2x}} \, dx \] Integrate both sides. For the left side, note that \( \frac{\csc^2 y}{\cot y} = \frac{1}{\sin^2 y} \cdot \frac{\sin y}{\cos y} = \frac{1}{\sin y \cos y} \). A neater substitution: let \( u = \cot y \), so \( du = -\csc^2 y \, dy \). Then: \[ \int \frac{\csc^2 y}{\cot y} \, dy = \int \frac{-du}{u} = -\ln|u| = -\ln|\cot y| \] For the right side, let \( v = 1 - e^{2x} \), so \( dv = -2e^{2x} \, dx \), which gives \( e^{2x} \, dx = -\frac{dv}{2} \): \[ \int \frac{-e^{2x}}{1 - e^{2x}} \, dx = \int \frac{-1}{v} \cdot \left(-\frac{dv}{2}\right) = \frac{1}{2} \int \frac{dv}{v} = \frac{1}{2} \ln|v| = \frac{1}{2} \ln|1 - e^{2x}| \] Setting both integrals equal: \[ -\ln|\cot y| = \frac{1}{2} \ln|1 - e^{2x}| + C_1 \] Multiply through by \(-1\): \[ \ln|\cot y| = -\frac{1}{2} \ln|1 - e^{2x}| + C_2 \] Exponentiating both sides: \[ |\cot y| = \frac{A}{\sqrt{|1 - e^{2x}|}} \] where \( A \) is an arbitrary positive constant. Writing this in a cleaner form: \[ \cot y = \frac{C}{\sqrt{1 - e^{2x}}} \] This can also be written as \[ \cot^2 y = \frac{C^2}{1 - e^{2x}} \] or equivalently \[ \cot y \cdot \sqrt{1 - e^{2x}} = C \]

Answer: \( \cot y \cdot \sqrt{1 - e^{2x}} = C \) (general solution)

Example 2

Question: Find the general solution of the differential equation: \[ \sin x \cdot \tan y \, dx + \cos x \cdot \sec^2 y \, dy = 0 \]

Solution: We use separation of variables. Starting with: \[ \sin x \cdot \tan y \, dx + \cos x \cdot \sec^2 y \, dy = 0 \] Rearrange: \[ \cos x \cdot \sec^2 y \, dy = -\sin x \cdot \tan y \, dx \] Divide both sides by \( \cos x \cdot \tan y \) (assuming \( \cos x \ne 0 \) and \( \tan y \ne 0 \)): \[ \frac{\sec^2 y}{\tan y} \, dy = \frac{-\sin x}{\cos x} \, dx \] Simplify the right side: \[ \frac{\sec^2 y}{\tan y} \, dy = -\tan x \, dx \] Integrate both sides. For the left side, let \( u = \tan y \), so \( du = \sec^2 y \, dy \): \[ \int \frac{\sec^2 y}{\tan y} \, dy = \int \frac{du}{u} = \ln|\tan y| \] For the right side: \[ \int -\tan x \, dx = -\int \frac{\sin x}{\cos x} \, dx \] Let \( t = \cos x \), so \( dt = -\sin x \, dx \): \[ -\int \frac{\sin x}{\cos x} \, dx = -\int \frac{-dt}{t} = \int \frac{dt}{t} = \ln|\cos x| \] Setting both integrals equal (with constant of integration): \[ \ln|\tan y| = \ln|\cos x| + \ln|C| \] where \( \ln|C| \) is an arbitrary constant. Using logarithm laws: \[ \ln|\tan y| = \ln|C \cos x| \] Exponentiating both sides: \[ \tan y = C \cos x \] where \( C \) is an arbitrary constant. This is the general solution.

Answer: \( \tan y = C \cos x \) (general solution)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the general solution of the differential equation: \[ e^x \cot y \, dx + (1 + e^x) \csc^2 y \, dy = 0 \]

Solution

  1. Step 1: Rearrange and Separate Variables: Rewrite the equation by moving terms to opposite sides: \[ e^x \cot y \, dx = -( 1 + e^x) \csc^2 y \, dy \] Divide both sides by \( \cot y \cdot (1 + e^x) \) to separate the variables: \[ \frac{e^x}{1 + e^x} \, dx = -\frac{\csc^2 y}{\cot y} \, dy \]
  2. Step 2: Simplify the Right-Hand Side: Simplify \( \dfrac{\csc^2 y}{\cot y} \). Recall that \( \csc^2 y = \dfrac{1}{\sin^2 y} \) and \( \cot y = \dfrac{\cos y}{\sin y} \), so \[ \frac{\csc^2 y}{\cot y} = \frac{1}{\sin^2 y} \cdot \frac{\sin y}{\cos y} = \frac{1}{\sin y \cos y} \] Alternatively, write it as \( \dfrac{\csc^2 y}{\cot y} = \dfrac{1}{\cot y \sin^2 y} \). A cleaner approach: note that \( \csc^2 y = 1 + \cot^2 y \), but it is easier to substitute \( t = \cot y \), so \( dt = -\csc^2 y \, dy \). Thus the right side becomes \( -\dfrac{\csc^2 y}{\cot y} \, dy = \dfrac{1}{t} \, dt \) after substitution.
  3. Step 3: Integrate Both Sides: Integrate the left side with respect to \( x \) and the right side using the substitution \( t = \cot y \): \[ \int \frac{e^x}{1 + e^x} \, dx = \int \frac{dt}{t} \] For the left side, let \( u = 1 + e^x \), so \( du = e^x \, dx \): \[ \int \frac{du}{u} = \ln|u| = \ln|1 + e^x| \] For the right side: \[ \int \frac{dt}{t} = \ln|t| = \ln|\cot y| \] So we get: \[ \ln|1 + e^x| = \ln|\cot y| + \ln|C_1| \] where \( C_1 \) is an arbitrary positive constant.
  4. Step 4: Solve for the General Solution: Using logarithm properties, combine the right side: \[ \ln|1 + e^x| = \ln|C_1 \cot y| \] Exponentiating both sides: \[ 1 + e^x = C_1 \cot y \] Writing \( C = \dfrac{1}{C_1} \) as an arbitrary constant, we get: \[ \cot y = C(1 + e^x) \]
  5. Step 5: State the General Solution: The general solution of the differential equation is \[ \cot y = C(1 + e^x) \] where \( C \) is an arbitrary constant.

Answer: The general solution is \[ \cot y = C(1 + e^x) \] 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