SOLVER7 Study. Nothing Else.
2022 Board Paper Q12(a)

Find the particular solution of the differential equation
\(x\dfrac{dy}{dx}+y+\dfrac{1}{1+x^2}=0,\) given that \( y(1) = 0.\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a machine that mixes two ingredients together. A differential equation is like a recipe telling you how the mix changes. Sometimes the recipe is messy, so you multiply both sides by a clever number to tidy it up. Once tidy, you can work backwards to find the original mixture. Using a special starting clue — that when \( x = 1 \), \( y = 0 \) — you pin down exactly which mixture fits, giving the unique answer.

Answer: \[ xy + \tan^{-1} x = \frac{\pi}{4}, \quad\text{or equivalently}\quad y = \frac{1}{x}\left(\frac{\pi}{4} - \tan^{-1} x\right). \]

📖 Particular Solution of a Linear Differential Equation

Detailed Explanation

A first-order linear 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 special factor makes the left-hand side become the exact derivative of \( y \times \text{(I.F.)} \), so we can integrate both sides directly. The given equation is not yet in standard form, so our first job is to rearrange it. After finding the general solution (which contains an arbitrary constant \( C \)), we use the condition \( y(1) = 0 \) to find \( C \), giving the particular solution.

Formula Used

Standard form: \( \dfrac{dy}{dx} + P(x)\,y = Q(x) \). Integrating factor: \( \text{I.F.} = e^{\int P\,dx} \). Solution: \( y \cdot \text{I.F.} = \int Q \cdot \text{I.F.}\, dx + C \).

Solution

  1. Step 1: Write the equation in standard linear form. Starting from \( x\dfrac{dy}{dx} + y + \dfrac{1}{1+x^2} = 0 \), divide throughout by \( x \): \[ \frac{dy}{dx} + \frac{1}{x}\,y = -\frac{1}{x(1+x^2)}. \] Here \( P(x) = \dfrac{1}{x} \) and \( Q(x) = -\dfrac{1}{x(1+x^2)} \).
  2. Step 2: Find the integrating factor. \[ \text{I.F.} = e^{\int P\,dx} = e^{\int \frac{1}{x}\,dx} = e^{\ln x} = x. \] Multiplying by this factor is what turns the left side into a perfect derivative.
  3. Step 3: Multiply the standard-form equation by the I.F. \( x \). The left side becomes the derivative of \( y \cdot x \): \[ \frac{d}{dx}(xy) = x \cdot \left(-\frac{1}{x(1+x^2)}\right) = -\frac{1}{1+x^2}. \]
  4. Step 4: Integrate both sides with respect to \( x \): \[ xy = \int -\frac{1}{1+x^2}\, dx + C. \] Since \( \int \dfrac{1}{1+x^2}\,dx = \tan^{-1} x \), we get \[ xy = -\tan^{-1} x + C. \] This is the general solution.
  5. Step 5: Apply the initial condition \( y(1) = 0 \). Substitute \( x = 1,\ y = 0 \): \[ (1)(0) = -\tan^{-1}(1) + C. \] Since \( \tan^{-1}(1) = \dfrac{\pi}{4} \), \[ 0 = -\frac{\pi}{4} + C \quad\Rightarrow\quad C = \frac{\pi}{4}. \]
  6. Step 6: Substitute \( C = \dfrac{\pi}{4} \) back into the general solution: \[ xy = -\tan^{-1} x + \frac{\pi}{4}. \] This is the required particular solution.

Final Answer

\[ xy + \tan^{-1} x = \frac{\pi}{4}, \quad\text{or equivalently}\quad y = \frac{1}{x}\left(\frac{\pi}{4} - \tan^{-1} x\right). \]

Common Mistake

A common mistake is forgetting to divide the whole equation by \( x \) before identifying \( P(x) \), which leads to a wrong integrating factor. Always convert the equation to the exact form \( \dfrac{dy}{dx} + P(x)y = Q(x) \) with coefficient \( 1 \) on \( \dfrac{dy}{dx} \) first.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Rearrange into Standard Linear Form: Start with the given equation \( x\dfrac{dy}{dx} + y + \dfrac{1}{1+x^2} = 0 \). Divide every term by \( x \) to isolate \( \dfrac{dy}{dx} \): \[ \frac{dy}{dx} + \frac{1}{x}\\,y = -\frac{1}{x(1+x^2)} \] — Reason: The integrating-factor method requires the equation to be in the form \( \frac{dy}{dx} + P(x)y = Q(x) \), so we must first isolate \( \frac{dy}{dx} \) with coefficient 1. Here \( P(x) = \dfrac{1}{x} \) and \( Q(x) = -\dfrac{1}{x(1+x^2)} \).
  2. Step 2: Compute the Integrating Factor: Calculate \( \int P(x)\\,dx = \int \dfrac{1}{x}\\,dx = \ln x \), so the integrating factor is \[ \text{I.F.} = e^{\ln x} = x \] — Reason: The integrating factor \( e^{\int P\\,dx} \) is the multiplier that converts the left-hand side into a single exact derivative, making the equation directly integrable.
  3. Step 3: Multiply Through by the Integrating Factor: Multiply both sides of the standard-form equation by \( x \): \[ x\frac{dy}{dx} + y = -\frac{1}{1+x^2} \] The left side is recognised as \( \dfrac{d}{dx}(xy) \), so we write: \[ \frac{d}{dx}(xy) = -\frac{1}{1+x^2} \] — Reason: When we multiply by the integrating factor, the left side always collapses to \( \frac{d}{dx}\bigl(y \cdot \text{I.F.}\bigr) \) by the product rule, which is the entire point of choosing this factor.
  4. Step 4: Integrate Both Sides: Integrate both sides with respect to \( x \): \[ xy = \int -\frac{1}{1+x^2}\\,dx = -\tan^{-1} x + C \] So the general solution is \[ xy + \tan^{-1} x = C \] — Reason: Integrating \( \frac{d}{dx}(xy) \) simply gives \( xy \), and the standard result \( \int \frac{1}{1+x^2}\\,dx = \tan^{-1} x \) handles the right side. The constant \( C \) is determined by an initial condition.
  5. Step 5: Apply the Initial Condition \( y(1) = 0 \): Substitute \( x = 1 \) and \( y = 0 \) into \( xy + \tan^{-1} x = C \): \[ (1)(0) + \tan^{-1}(1) = C \] Since \( \tan^{-1}(1) = \dfrac{\pi}{4} \), we get \( C = \dfrac{\pi}{4} \). — Reason: The initial condition pins down the unique particular solution from the family of all general solutions.
  6. Step 6: Write the Particular Solution: Substitute \( C = \dfrac{\pi}{4} \) back into the general solution: \[ xy + \tan^{-1} x = \frac{\pi}{4} \] Solving explicitly for \( y \) gives \[ y = \frac{1}{x}\left(\frac{\pi}{4} - \tan^{-1} x\right) \] — Reason: This is the unique curve satisfying both the differential equation and the condition \( y = 0 \) when \( x = 1 \).

Final Answer

\[ xy + \tan^{-1} x = \frac{\pi}{4}, \quad\text{or equivalently}\quad y = \frac{1}{x}\left(\frac{\pi}{4} - \tan^{-1} x\right). \]

Common Mistake

One common mistake: forgetting to divide the entire original equation by \( x \) before identifying \( P(x) \) and \( Q(x) \) — if you read off \( P(x) = 1 \) instead of \( P(x) = \frac{1}{x} \), you compute the wrong integrating factor and every subsequent step is incorrect.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Standard Form: Divide \( x\dfrac{dy}{dx} + y + \dfrac{1}{1+x^2} = 0 \) by \( x \): \[ \frac{dy}{dx} + \frac{1}{x}\,y = -\frac{1}{x(1+x^2)} \] so \( P(x) = \dfrac{1}{x} \), \( Q(x) = -\dfrac{1}{x(1+x^2)} \).
  2. Step 2: Integrating Factor and General Solution: I.F. \( = e^{\int \frac{1}{x}\,dx} = x \). Multiply and integrate: \[ \frac{d}{dx}(xy) = -\frac{1}{1+x^2} \Rightarrow xy = -\tan^{-1} x + C \]
  3. Step 3: Apply Initial Condition \( y(1) = 0 \): At \( x = 1,\, y = 0 \): \( 0 = -\tan^{-1}(1) + C \Rightarrow C = \dfrac{\pi}{4} \).

Answer: \[ xy + \tan^{-1} x = \frac{\pi}{4}, \quad\text{or equivalently}\quad y = \frac{1}{x}\left(\frac{\pi}{4} - \tan^{-1} x\right). \]

➕ More Examples

More Examples

Example 1

Question: Find the particular solution of the differential equation \[ x\,\frac{dy}{dx} - y = x^2\sin x, \] given that \( y(\pi) = 0 \).

Solution: Step 1 — Rewrite in standard linear form by dividing throughout by \( x \): \[ \frac{dy}{dx} - \frac{1}{x}\,y = x\sin x. \] Here \( P(x) = -\dfrac{1}{x} \) and \( Q(x) = x\sin x \). Step 2 — Find the integrating factor: \[ \mu = e^{\int -\frac{1}{x}\,dx} = e^{-\ln|x|} = \frac{1}{x}. \] Step 3 — Multiply both sides by \( \dfrac{1}{x} \): \[ \frac{1}{x}\,\frac{dy}{dx} - \frac{y}{x^2} = \sin x. \] The left side is \( \dfrac{d}{dx}\!\left(\dfrac{y}{x}\right) \), so \[ \frac{d}{dx}\!\left(\frac{y}{x}\right) = \sin x. \] Step 4 — Integrate both sides with respect to \( x \): \[ \frac{y}{x} = \int \sin x\,dx = -\cos x + C. \] Hence the general solution is \[ y = x(-\cos x + C) = -x\cos x + Cx. \] Step 5 — Apply the initial condition \( y(\pi) = 0 \): \[ 0 = -\pi\cos\pi + C\pi = -\pi(-1) + C\pi = \pi + C\pi. \] Solving: \( C\pi = -\pi \), so \( C = -1 \). Step 6 — Write the particular solution: \[ y = -x\cos x + (-1)\cdot x = -x\cos x - x = -x(\cos x + 1). \]

Answer: \( y = -x(1 + \cos x) \)

Example 2

Question: Find the particular solution of the differential equation \[ (1 + x^2)\,\frac{dy}{dx} + 2xy = \frac{1}{1+x^2}, \] given that \( y(0) = 1 \).

Solution: Step 1 — Rewrite in standard linear form by dividing throughout by \( (1+x^2) \): \[ \frac{dy}{dx} + \frac{2x}{1+x^2}\,y = \frac{1}{(1+x^2)^2}. \] Here \( P(x) = \dfrac{2x}{1+x^2} \) and \( Q(x) = \dfrac{1}{(1+x^2)^2} \). Step 2 — Find the integrating factor: \[ \mu = e^{\int \frac{2x}{1+x^2}\,dx} = e^{\ln(1+x^2)} = 1 + x^2. \] Step 3 — Multiply both sides by \( (1+x^2) \): \[ (1+x^2)\,\frac{dy}{dx} + 2x\,y = \frac{1}{1+x^2}. \] The left side is \( \dfrac{d}{dx}\!\left[(1+x^2)\,y\right] \), so \[ \frac{d}{dx}\!\left[(1+x^2)\,y\right] = \frac{1}{1+x^2}. \] Step 4 — Integrate both sides with respect to \( x \): \[ (1+x^2)\,y = \int \frac{1}{1+x^2}\,dx = \tan^{-1} x + C. \] Hence the general solution is \[ y = \frac{\tan^{-1} x + C}{1+x^2}. \] Step 5 — Apply the initial condition \( y(0) = 1 \): \[ 1 = \frac{\tan^{-1}(0) + C}{1 + 0} = \frac{0 + C}{1} = C. \] So \( C = 1 \). Step 6 — Write the particular solution: \[ y = \frac{\tan^{-1} x + 1}{1 + x^2}. \]

Answer: \( y = \dfrac{1 + \tan^{-1} x}{1 + x^2} \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the particular solution of the differential equation \[ x\frac{dy}{dx} + y = \frac{2}{1+x^2}, \] given that \( y(1) = 0 \).

Solution

  1. Step 1: Rewrite in Standard Linear Form: Divide both sides of the equation by \( x \) (assuming \( x \ne 0 \)): \[ \frac{dy}{dx} + \frac{1}{x}\,y = \frac{2}{x(1+x^2)}. \] This is now in the standard form \( \frac{dy}{dx} + P(x)\,y = Q(x) \) with \( P(x) = \frac{1}{x} \) and \( Q(x) = \frac{2}{x(1+x^2)} \).
  2. Step 2: Find the Integrating Factor: The integrating factor is \[ \mu = e^{\int P(x)\,dx} = e^{\int \frac{1}{x}\,dx} = e^{\ln|x|} = x. \]
  3. Step 3: Multiply Through by the Integrating Factor: Multiplying both sides by \( x \): \[ x\frac{dy}{dx} + y = \frac{2}{1+x^2}. \] The left side is the exact derivative of \( xy \): \[ \frac{d}{dx}(xy) = \frac{2}{1+x^2}. \]
  4. Step 4: Integrate Both Sides: Integrating both sides with respect to \( x \): \[ xy = \int \frac{2}{1+x^2}\,dx = 2\tan^{-1} x + C. \]
  5. Step 5: Apply the Initial Condition: We are given \( y(1) = 0 \), i.e., when \( x = 1 \), \( y = 0 \). Substituting: \[ (1)(0) = 2\tan^{-1}(1) + C. \] Since \( \tan^{-1}(1) = \frac{\pi}{4} \), we get \[ 0 = 2 \cdot \frac{\pi}{4} + C = \frac{\pi}{2} + C. \] Therefore \( C = -\frac{\pi}{2} \).
  6. Step 6: Write the Particular Solution: Substituting the value of \( C \) back: \[ xy = 2\tan^{-1} x - \frac{\pi}{2}. \] Dividing both sides by \( x \): \[ y = \frac{1}{x}\left(2\tan^{-1} x - \frac{\pi}{2}\right). \]

Answer: The particular solution is \[ xy = 2\tan^{-1} x - \frac{\pi}{2}, \quad \text{or equivalently} \quad y = \frac{1}{x}\left(2\tan^{-1} x - \frac{\pi}{2}\right). \]

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 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 65/3/1 2023 / Section C Q26(a)