SOLVER7 Study. Nothing Else.
Miscellaneous Exercise Chapter 9 Q15

The general solution of the differential equation \(e^x\ dy+(y\ e^x+2x)\ dx=0\) is:
(A)\(x\ e^y + x^2 = C\)
(B)\(x\ e^y + y^2 = C\)
(C)\(y\ e^x + x^2 = C\)
(D)\(y\ e^y + x^2 = C\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a messy room and you want everything in one neat box. A differential equation is like a messy room — things are scattered. There is a magic key called an integrating factor that tidies everything into one neat package. Here, the magic key is \( e^{x} \). Multiplying both sides by this key puts the left side into one tidy bundle. Integrating both sides then gives a clean, simple answer relating \( y \) and \( x \).

Answer: The general solution is \( y\,e^{x} + x^{2} = C \), which is option (C).

📖 Solving a Linear First-Order Differential Equation

Detailed Explanation

A first-order linear differential equation has the standard form \( \frac{dy}{dx} + P(x)\,y = Q(x) \), where \( P \) and \( Q \) are functions of \( x \). To solve it, we multiply throughout by an integrating factor \( \text{I.F.} = e^{\int P\,dx} \). This clever multiplier turns the left-hand side into the derivative of a single product, so the equation can be integrated directly. Here the given equation is not yet in standard form, so our first task is to rearrange it. Notice that the integrating factor turns out to be very simple, which makes the integration easy.

Formula Used

For \( \frac{dy}{dx} + P(x)\,y = Q(x) \): \( \text{I.F.} = e^{\int P\,dx} \) and the solution is \( y \cdot \text{I.F.} = \int Q \cdot \text{I.F.}\, dx + C \).

Solution

  1. Step 1: Start with the given equation and divide through by \( dx \) to get it in derivative form. \[ e^x\,dy + (y\,e^x + 2x)\,dx = 0 \] Dividing by \( dx \): \[ e^x \frac{dy}{dx} + y\,e^x + 2x = 0 \]
  2. Step 2: Bring it to the standard linear form by dividing every term by \( e^x \). \[ \frac{dy}{dx} + y = -2x\,e^{-x} \] Here \( P(x) = 1 \) and \( Q(x) = -2x\,e^{-x} \).
  3. Step 3: Compute the integrating factor. Since \( P(x) = 1 \), \[ \text{I.F.} = e^{\int 1\,dx} = e^{x} \]
  4. Step 4: Multiply the standard-form equation by the integrating factor \( e^x \). The left side becomes the derivative of \( y\,e^x \). \[ \frac{d}{dx}\left(y\,e^{x}\right) = e^{x}\cdot(-2x\,e^{-x}) = -2x \] This step works because multiplying by the I.F. always makes the left side \( \frac{d}{dx}(y \cdot \text{I.F.}) \).
  5. Step 5: Integrate both sides with respect to \( x \). \[ y\,e^{x} = \int -2x\,dx = -x^{2} + C \]
  6. Step 6: Rearrange to match the given options. Bringing \( x^2 \) to the left: \[ y\,e^{x} + x^{2} = C \] This matches option (C).

Final Answer

The general solution is \( y\,e^{x} + x^{2} = C \), which is option (C).

Common Mistake

A common mistake is to forget to convert the equation into standard form before finding the integrating factor. Students often use \( e^x \) as coefficient of \( \frac{dy}{dx} \) directly and pick a wrong \( P(x) \); you must first divide by \( e^x \) so the coefficient of \( \frac{dy}{dx} \) is \( 1 \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rewrite the equation in derivative form: Start with the given equation \[ e^{x}\,dy + \left(y\,e^{x} + 2x\right)dx = 0 \] Divide every term by \( dx \) to express it as a single derivative: \[ e^{x}\frac{dy}{dx} + y\,e^{x} + 2x = 0 \] Reason: We need \( \frac{dy}{dx} \) isolated as the leading term before we can match the standard linear form.
  2. Step 2: Bring to standard linear form: Divide every term by \( e^{x} \): \[ \frac{dy}{dx} + y = -2x\,e^{-x} \] Identify \( P(x) = 1 \) and \( Q(x) = -2x\,e^{-x} \). Reason: The standard form \( \frac{dy}{dx} + P(x)\,y = Q(x) \) is required so we can apply the integrating-factor formula correctly.
  3. Step 3: Compute the integrating factor: Since \( P(x) = 1 \), compute \[ \text{I.F.} = e^{\int 1\,dx} = e^{x} \] Reason: The integrating factor is always \( e^{\int P\,dx} \); here \( P = 1 \) makes the integral trivial, giving \( e^{x} \).
  4. Step 4: Multiply both sides by the integrating factor: Multiply the standard-form equation by \( e^{x} \): \[ e^{x}\frac{dy}{dx} + y\,e^{x} = e^{x} \cdot \left(-2x\,e^{-x}\right) \] The right-hand side simplifies to \( -2x \), and the left-hand side is exactly \( \frac{d}{dx}\!\left(y\,e^{x}\right) \), so: \[ \frac{d}{dx}\!\left(y\,e^{x}\right) = -2x \] Reason: Multiplying by the I.F. is the key move — it converts the left side into a perfect derivative, making integration straightforward.
  5. Step 5: Integrate both sides: Integrate both sides with respect to \( x \): \[ \int \frac{d}{dx}\!\left(y\,e^{x}\right)\,dx = \int -2x\,dx \] This gives \[ y\,e^{x} = -x^{2} + C \] Reason: Integrating the left side undoes the derivative, and \( \int -2x\,dx = -x^{2} \); the constant of integration \( C \) accounts for the family of solutions.
  6. Step 6: Rearrange into the standard implicit form: Move \( -x^{2} \) to the left side: \[ y\,e^{x} + x^{2} = C \] Reason: Writing the answer in the implicit form \( y\,e^{x} + x^{2} = C \) matches the option format given in the question and clearly shows the general solution.

Final Answer

The general solution is \( y\,e^{x} + x^{2} = C \), which is option (C).

Common Mistake

One common mistake: forgetting to divide by \( e^{x} \) in Step 2 before identifying \( P(x) \) — students sometimes take \( P(x) = e^{x} \) instead of \( P(x) = 1 \), which leads to a wrong integrating factor and an incorrect solution.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Divide by \( e^x \, dx \) to get standard form: \[ \frac{dy}{dx} + y = -2x\,e^{-x} \] so \( P(x) = 1 \), \( Q(x) = -2x\,e^{-x} \).
  2. Step 2: Integrating factor: \( \text{I.F.} = e^{\int 1 \, dx} = e^{x} \).
  3. Step 3: Multiply through by \( e^{x} \): \[ \frac{d}{dx}\!\left(y\,e^{x}\right) = -2x \] Integrate both sides: \[ y\,e^{x} = -x^{2} + C \]
  4. Step 4: Rearranging: \[ y\,e^{x} + x^{2} = C \]

Answer: The general solution is \( y\,e^{x} + x^{2} = C \), which is option (C).

➕ More Examples

More Examples

Example 1

Question: Find the general solution of the differential equation \( e^{x}\,dy + (y\,e^{x} - 3x^{2})\,dx = 0 \). Choose the correct option. (A) \( y\,e^{x} - x^{3} = C \) (B) \( y\,e^{x} + x^{3} = C \) (C) \( y + e^{x} = x^{3} + C \) (D) \( y\,e^{-x} - x^{3} = C \)

Solution: Start by dividing the entire equation by \( e^{x} \) (which is never zero). Dividing by \( e^{x} \): \[ dy + \left(y - 3x^{2}e^{-x}\right)dx = 0 \] Rewrite in derivative form: \[ \frac{dy}{dx} + y = 3x^{2}e^{-x} \] This is a linear ODE with \( P(x) = 1 \) and \( Q(x) = 3x^{2}e^{-x} \). Compute the integrating factor: \[ \mu = e^{\int 1\,dx} = e^{x} \] Multiply both sides by \( e^{x} \): \[ e^{x}\frac{dy}{dx} + y\,e^{x} = 3x^{2} \] The left-hand side is an exact derivative: \[ \frac{d}{dx}\left(y\,e^{x}\right) = 3x^{2} \] Integrate both sides with respect to \( x \): \[ y\,e^{x} = \int 3x^{2}\,dx \] \[ y\,e^{x} = x^{3} + C \] This can be written as \( y\,e^{x} - x^{3} = C \), which corresponds to option (A).

Answer: (A) \( y\,e^{x} - x^{3} = C \)

Example 2

Question: Find the general solution of the differential equation \( e^{y}\,dx + (x\,e^{y} + 2y)\,dy = 0 \). Choose the correct option. (A) \( x\,e^{y} + y^{2} = C \) (B) \( x\,e^{y} - y^{2} = C \) (C) \( x + e^{y} = y^{2} + C \) (D) \( x\,e^{-y} + y^{2} = C \)

Solution: Divide the entire equation by \( e^{y} \) (treating \( y \) as the independent variable, so we find \( x \) as a function of \( y \)). Dividing by \( e^{y} \): \[ dx + \left(x + 2y\,e^{-y}\right)dy = 0 \] Rewrite as a linear ODE in \( x \): \[ \frac{dx}{dy} + x = -2y\,e^{-y} \] Here \( P(y) = 1 \) and \( Q(y) = -2y\,e^{-y} \). Compute the integrating factor: \[ \mu = e^{\int 1\,dy} = e^{y} \] Multiply both sides by \( e^{y} \): \[ e^{y}\frac{dx}{dy} + x\,e^{y} = -2y \] The left-hand side is an exact derivative: \[ \frac{d}{dy}\left(x\,e^{y}\right) = -2y \] Integrate both sides with respect to \( y \): \[ x\,e^{y} = \int -2y\,dy \] \[ x\,e^{y} = -y^{2} + C \] This can be written as \( x\,e^{y} + y^{2} = C \), which corresponds to option (A).

Answer: (A) \( x\,e^{y} + y^{2} = C \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the general solution of the differential equation \( e^{x}\,dy + (y\,e^{x} - 2x)\,dx = 0 \). Choose the correct option: (A) \( y\,e^{x} - x^{2} = C \) (B) \( y\,e^{x} + x^{2} = C \) (C) \( x\,e^{y} - x^{2} = C \) (D) \( y\,e^{y} - x^{2} = C \)

Solution

  1. Step 1: Rewrite the equation in standard form: Divide throughout by \( e^{x} \): \[ \frac{dy}{dx} + y = 2x\,e^{-x} \] This is a first-order linear ODE of the form \( \frac{dy}{dx} + P(x)\,y = Q(x) \) where \( P(x) = 1 \) and \( Q(x) = 2x\,e^{-x} \).
  2. Step 2: Find the Integrating Factor: The integrating factor is \( \mu = e^{\int P(x)\,dx} = e^{\int 1\,dx} = e^{x} \).
  3. Step 3: Multiply both sides by the Integrating Factor: Multiply both sides by \( e^{x} \): \[ e^{x}\frac{dy}{dx} + y\,e^{x} = 2x \] The left-hand side is the derivative of \( y\,e^{x} \) with respect to \( x \), so: \[ \frac{d}{dx}\left(y\,e^{x}\right) = 2x \]
  4. Step 4: Integrate both sides: Integrate both sides with respect to \( x \): \[ \int \frac{d}{dx}\left(y\,e^{x}\right)\,dx = \int 2x\,dx \] This gives: \[ y\,e^{x} = x^{2} + C \] Rearranging: \[ y\,e^{x} - x^{2} = C \]
  5. Step 5: Identify the correct option: The general solution is \( y\,e^{x} - x^{2} = C \), which matches option (A).

Answer: The general solution is \( y\,e^{x} - x^{2} = C \), which is option (A).

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