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

Find the general solution of the differential equation :
\((x^2 + 1)\dfrac{dy}{dx}+2xy=\sqrt{x^2+4}\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a messy recipe and you want to tidy it up so it is easy to follow. A differential equation like this is just a rule connecting a mystery function and its rate of change. We multiply both sides by a clever number, called an integrating factor, that magically bundles the left side into something we already know how to handle. It is like finding the right key that unlocks a locked box. Once the box is open, we simply read off the answer inside by integrating the right side.

Answer: \[ y(x^2 + 1) = \frac{x}{2}\sqrt{x^2 + 4} + 2\ln\left| x + \sqrt{x^2 + 4} \right| + C. \]

📖 General Solution of a Linear First-Order Differential Equation

Detailed Explanation

A linear first-order differential equation has the standard form \( \dfrac{dy}{dx} + P(x)\,y = Q(x) \), where \( P \) and \( Q \) are functions of \( x \) only. To solve it, we multiply the whole equation by an integrating factor \( I.F. = e^{\int P \, dx} \). This clever factor turns the left side into the exact derivative of a product, so we can integrate directly. The key first job here is to divide through so that the coefficient of \( \dfrac{dy}{dx} \) is 1, which lets us read off \( P(x) \) and \( Q(x) \) correctly.

Formula Used

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

Solution

  1. Step 1: Write the equation in standard linear form. Divide the given equation \( (x^2 + 1)\dfrac{dy}{dx} + 2xy = \sqrt{x^2 + 4} \) throughout by \( (x^2 + 1) \): \[ \frac{dy}{dx} + \frac{2x}{x^2 + 1}\,y = \frac{\sqrt{x^2 + 4}}{x^2 + 1}. \] Here \( P(x) = \dfrac{2x}{x^2 + 1} \) and \( Q(x) = \dfrac{\sqrt{x^2 + 4}}{x^2 + 1} \).
  2. Step 2: Find the integrating factor. Compute \( \int P \, dx = \int \dfrac{2x}{x^2 + 1} \, dx \). Since the numerator is the derivative of the denominator, \[ \int \frac{2x}{x^2 + 1} \, dx = \ln(x^2 + 1). \] Therefore \[ I.F. = e^{\ln(x^2 + 1)} = x^2 + 1. \]
  3. Step 3: Apply the solution formula. Using \( y \cdot (I.F.) = \int Q \cdot (I.F.) \, dx + C \): \[ y(x^2 + 1) = \int \frac{\sqrt{x^2 + 4}}{x^2 + 1} \cdot (x^2 + 1) \, dx + C. \] The factor \( (x^2 + 1) \) cancels, giving \[ y(x^2 + 1) = \int \sqrt{x^2 + 4} \, dx + C. \]
  4. Step 4: Integrate using the standard result. Recall \[ \int \sqrt{x^2 + a^2} \, dx = \frac{x}{2}\sqrt{x^2 + a^2} + \frac{a^2}{2}\ln\left| x + \sqrt{x^2 + a^2} \right| + C. \] Here \( a^2 = 4 \), so \[ \int \sqrt{x^2 + 4} \, dx = \frac{x}{2}\sqrt{x^2 + 4} + 2\ln\left| x + \sqrt{x^2 + 4} \right|. \]
  5. Step 5: Write the general solution. Substituting back: \[ y(x^2 + 1) = \frac{x}{2}\sqrt{x^2 + 4} + 2\ln\left| x + \sqrt{x^2 + 4} \right| + C. \]

Final Answer

\[ y(x^2 + 1) = \frac{x}{2}\sqrt{x^2 + 4} + 2\ln\left| x + \sqrt{x^2 + 4} \right| + C. \]

Common Mistake

A very common error is forgetting to divide by \( (x^2 + 1) \) first, which leads to using the wrong \( P(x) \) and hence a wrong integrating factor. Always convert the equation to the form \( \dfrac{dy}{dx} + P y = Q \) before finding the I.F.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Divide the entire equation \( (x^2+1)\dfrac{dy}{dx} + 2xy = \sqrt{x^2+4} \) by \( (x^2+1) \) to obtain the standard form: \[ \frac{dy}{dx} + \frac{2x}{x^2+1}\,y = \frac{\sqrt{x^2+4}}{x^2+1}. \] — Reason: The standard linear form requires the coefficient of \( \frac{dy}{dx} \) to be exactly 1, so that we can correctly identify \( P(x) = \frac{2x}{x^2+1} \) and \( Q(x) = \frac{\sqrt{x^2+4}}{x^2+1} \).
  2. Step 2: Compute the integral \( \int P(x)\,dx = \int \frac{2x}{x^2+1}\,dx \). Notice that the numerator \( 2x \) is exactly the derivative of the denominator \( x^2+1 \), so \[ \int \frac{2x}{x^2+1}\,dx = \ln(x^2+1). \] — Reason: Recognising the numerator-as-derivative pattern lets us evaluate this integral instantly using the rule \( \int \frac{f'(x)}{f(x)}\,dx = \ln|f(x)| \).
  3. Step 3: Form the integrating factor: \[ I.F. = e^{\ln(x^2+1)} = x^2+1. \] — Reason: Exponentiating the integral from Step 2 gives the multiplying factor that will convert the left-hand side of the ODE into an exact derivative.
  4. Step 4: Multiply through by the integrating factor and apply the solution formula. The left side becomes \( \frac{d}{dx}\bigl[y(x^2+1)\bigr] \), so: \[ y(x^2+1) = \int \frac{\sqrt{x^2+4}}{x^2+1} \cdot (x^2+1)\,dx + C = \int \sqrt{x^2+4}\,dx + C. \] — Reason: Multiplying \( Q(x) \) by the integrating factor cancels \( (x^2+1) \) in the denominator, leaving a standard integral form.
  5. Step 5: Evaluate \( \int \sqrt{x^2+4}\,dx \) using the standard result \( \int \sqrt{x^2+a^2}\,dx = \frac{x}{2}\sqrt{x^2+a^2} + \frac{a^2}{2}\ln\left|x+\sqrt{x^2+a^2}\right| + C \) with \( a^2 = 4 \): \[ \int \sqrt{x^2+4}\,dx = \frac{x}{2}\sqrt{x^2+4} + \frac{4}{2}\ln\left|x+\sqrt{x^2+4}\right| + C = \frac{x}{2}\sqrt{x^2+4} + 2\ln\left|x+\sqrt{x^2+4}\right| + C. \] — Reason: This is a memorised Class 12 standard integral; identifying \( a^2=4 \) and substituting directly gives the closed-form result.
  6. Step 6: Substitute the evaluated integral back to write the complete general solution: \[ y(x^2+1) = \frac{x}{2}\sqrt{x^2+4} + 2\ln\left|x+\sqrt{x^2+4}\right| + C. \] — Reason: This is the final answer in its simplest explicit form; no further simplification is needed since \( y \) is already expressed in terms of \( x \) after multiplying by the integrating factor.

Final Answer

\[ y(x^2 + 1) = \frac{x}{2}\sqrt{x^2 + 4} + 2\ln\left| x + \sqrt{x^2 + 4} \right| + C. \]

Common Mistake

One common mistake: forgetting to divide the original equation by \( (x^2+1) \) before identifying \( P(x) \) and \( Q(x) \) — if you read off \( P(x) = 2x \) and \( Q(x) = \sqrt{x^2+4} \) without dividing first, the integrating factor and the entire solution will be wrong.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Standard Form: Divide by \( (x^2 + 1) \): \[ \frac{dy}{dx} + \frac{2x}{x^2 + 1}\,y = \frac{\sqrt{x^2 + 4}}{x^2 + 1} \] so \( P(x) = \dfrac{2x}{x^2 + 1} \), \( Q(x) = \dfrac{\sqrt{x^2 + 4}}{x^2 + 1} \).
  2. Step 2: Integrating Factor: \( I.F. = e^{\int \frac{2x}{x^2+1}\,dx} = e^{\ln(x^2+1)} = x^2 + 1 \)
  3. Step 3: Multiply and Integrate: \[ y(x^2 + 1) = \int \sqrt{x^2 + 4}\, dx + C = \frac{x}{2}\sqrt{x^2+4} + 2\ln\left|x + \sqrt{x^2+4}\right| + C \]

Answer: \[ y(x^2 + 1) = \frac{x}{2}\sqrt{x^2 + 4} + 2\ln\left| x + \sqrt{x^2 + 4} \right| + C. \]

➕ More Examples

More Examples

Example 1

Question: Find the general solution of the differential equation: \[ (x^2 + 4)\frac{dy}{dx} + 2xy = x \]

Solution: Step 1: Rewrite in standard linear form by dividing throughout by \( (x^2 + 4) \). \[ \frac{dy}{dx} + \frac{2x}{x^2+4}\,y = \frac{x}{x^2+4} \] Here \( P(x) = \dfrac{2x}{x^2+4} \) and \( Q(x) = \dfrac{x}{x^2+4} \). Step 2: Find the integrating factor. \[ \int P(x)\,dx = \int \frac{2x}{x^2+4}\,dx = \ln|x^2+4| \] So the integrating factor is: \[ \mu = e^{\ln(x^2+4)} = x^2 + 4 \] Step 3: Multiply both sides by \( \mu = x^2 + 4 \). \[ (x^2+4)\frac{dy}{dx} + 2xy = x \] The left-hand side is the derivative of \( y(x^2+4) \), so: \[ \frac{d}{dx}\left[y(x^2+4)\right] = x \] Step 4: Integrate both sides with respect to \( x \). \[ y(x^2+4) = \int x\,dx = \frac{x^2}{2} + C \] Step 5: Write the general solution. \[ y = \frac{x^2 + 2C}{2(x^2+4)} \] Or equivalently, absorbing the constant: \[ y(x^2+4) = \frac{x^2}{2} + C \]

Answer: \( y(x^2+4) = \dfrac{x^2}{2} + C \)

Example 2

Question: Find the general solution of the differential equation: \[ (1 + x^2)\frac{dy}{dx} + 2xy = \cos x \]

Solution: Step 1: Divide throughout by \( (1+x^2) \) to write in standard linear form. \[ \frac{dy}{dx} + \frac{2x}{1+x^2}\,y = \frac{\cos x}{1+x^2} \] Here \( P(x) = \dfrac{2x}{1+x^2} \) and \( Q(x) = \dfrac{\cos x}{1+x^2} \). Step 2: Find the integrating factor. \[ \int P(x)\,dx = \int \frac{2x}{1+x^2}\,dx = \ln(1+x^2) \] So the integrating factor is: \[ \mu = e^{\ln(1+x^2)} = 1 + x^2 \] Step 3: Multiply both sides of the standard form by \( \mu = 1+x^2 \). \[ (1+x^2)\frac{dy}{dx} + 2xy = \cos x \] The left-hand side is exactly \( \dfrac{d}{dx}\left[y(1+x^2)\right] \), so: \[ \frac{d}{dx}\left[y(1+x^2)\right] = \cos x \] Step 4: Integrate both sides with respect to \( x \). \[ y(1+x^2) = \int \cos x\,dx = \sin x + C \] Step 5: Write the general solution. \[ y = \frac{\sin x + C}{1 + x^2} \]

Answer: \( y(1+x^2) = \sin x + C \), i.e., \( y = \dfrac{\sin x + C}{1+x^2} \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the general solution of the differential equation: \[(x^2 + 1)\frac{dy}{dx} + 2xy = \sqrt{x^2 + 9}.\]

Solution

  1. Step 1: Rewrite in Standard Linear Form: Divide both sides by \((x^2 + 1)\) to get: \[\frac{dy}{dx} + \frac{2x}{x^2+1}\,y = \frac{\sqrt{x^2+9}}{x^2+1}.\] Here \(P(x) = \frac{2x}{x^2+1}\) and \(Q(x) = \frac{\sqrt{x^2+9}}{x^2+1}\).
  2. Step 2: Find the Integrating Factor: Compute \(\int P(x)\,dx = \int \frac{2x}{x^2+1}\,dx = \ln(x^2+1)\). Therefore the integrating factor is \[\mu = e^{\ln(x^2+1)} = x^2+1.\]
  3. Step 3: Multiply Both Sides by the Integrating Factor: Multiplying the original equation by \((x^2+1)\) gives \[(x^2+1)\frac{dy}{dx} + 2xy = \sqrt{x^2+9}.\] The left side is the exact derivative of \(y(x^2+1)\), so \[\frac{d}{dx}\left[y(x^2+1)\right] = \sqrt{x^2+9}.\]
  4. Step 4: Integrate Both Sides: Integrate both sides with respect to \(x\): \[y(x^2+1) = \int \sqrt{x^2+9}\,dx + C.\] To evaluate \(\int \sqrt{x^2+9}\,dx\), use the standard formula \[\int \sqrt{x^2+a^2}\,dx = \frac{x}{2}\sqrt{x^2+a^2} + \frac{a^2}{2}\ln\left|x + \sqrt{x^2+a^2}\right| + C.\] With \(a^2 = 9\), we get \[\int \sqrt{x^2+9}\,dx = \frac{x}{2}\sqrt{x^2+9} + \frac{9}{2}\ln\left|x + \sqrt{x^2+9}\right| + C.\]
  5. Step 5: Write the General Solution: Substituting back, the general solution is \[y(x^2+1) = \frac{x}{2}\sqrt{x^2+9} + \frac{9}{2}\ln\left|x + \sqrt{x^2+9}\right| + C.\]

Answer: \[y(x^2+1) = \frac{x}{2}\sqrt{x^2+9} + \frac{9}{2}\ln\left|x + \sqrt{x^2+9}\right| + C.\]

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