SOLVER7 Study. Nothing Else.
Chapter 9 Miscellaneous Examples Q22

Solve the differential equation
\((tan^{-1}y-x)\ dy\ =(1+y^2)\ dx.\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine you are trying to find where a ball rolls over time, but the ball's position depends on a tricky mix of two things changing together. Sometimes it is easier to swap which thing you watch and which thing you track. Here, instead of finding y from x, we find x from y. Once we swap, the problem looks like a simple balancing act, and a special multiplying trick helps us untangle it. The final answer tells us exactly where x lands for any value of y.

Answer: \[x = \tan^{-1}y - 1 + C\,e^{-\tan^{-1}y}.\]

📖 Solving a Linear Differential Equation in x

Detailed Explanation

At first glance the equation \((\tan^{-1}y - x)\,dy = (1+y^2)\,dx\) does not look separable or homogeneous. The trick is to rearrange it so that \(x\) becomes the dependent variable and \(y\) the independent variable. When we divide through and collect terms, we get an equation of the form \(\frac{dx}{dy} + P(y)\,x = Q(y)\), which is a first-order linear differential equation in \(x\). We solve such equations using an integrating factor \(e^{\int P\,dy}\). This is the same linear method you know for \(\frac{dy}{dx} + Py = Q\), just with the roles of the variables swapped.

Formula Used

For a linear equation \(\frac{dx}{dy} + Px = Q\) (with \(P, Q\) functions of \(y\)): Integrating Factor \(\text{I.F.} = e^{\int P\,dy}\), and the solution is \(x\cdot(\text{I.F.}) = \int Q\cdot(\text{I.F.})\,dy + C.\)

Solution

  1. Step 1: Rewrite the equation to find \(\frac{dx}{dy}\). From \((\tan^{-1}y - x)\,dy = (1+y^2)\,dx\), divide both sides by \(dy\) and by \((1+y^2)\): \[\frac{dx}{dy} = \frac{\tan^{-1}y - x}{1+y^2}.\]
  2. Step 2: Bring it into linear form. Split the right side and move the \(x\) term to the left: \[\frac{dx}{dy} + \frac{x}{1+y^2} = \frac{\tan^{-1}y}{1+y^2}.\] This is linear in \(x\), with \(P = \dfrac{1}{1+y^2}\) and \(Q = \dfrac{\tan^{-1}y}{1+y^2}.\)
  3. Step 3: Find the integrating factor. Since \(\int \frac{1}{1+y^2}\,dy = \tan^{-1}y\), we get \[\text{I.F.} = e^{\int P\,dy} = e^{\tan^{-1}y}.\]
  4. Step 4: Write the solution using the formula \(x\cdot(\text{I.F.}) = \int Q\cdot(\text{I.F.})\,dy + C\): \[x\,e^{\tan^{-1}y} = \int \frac{\tan^{-1}y}{1+y^2}\,e^{\tan^{-1}y}\,dy + C.\]
  5. Step 5: Evaluate the integral by substitution. Let \(t = \tan^{-1}y\), so \(dt = \frac{1}{1+y^2}\,dy\). The integral becomes \[\int t\,e^{t}\,dt.\] Using integration by parts, \[\int t\,e^{t}\,dt = t\,e^{t} - e^{t} = e^{t}(t-1).\]
  6. Step 6: Substitute back \(t = \tan^{-1}y\): \[x\,e^{\tan^{-1}y} = e^{\tan^{-1}y}\left(\tan^{-1}y - 1\right) + C.\] Dividing throughout by \(e^{\tan^{-1}y}\) gives \[x = \tan^{-1}y - 1 + C\,e^{-\tan^{-1}y}.\]

Final Answer

\[x = \tan^{-1}y - 1 + C\,e^{-\tan^{-1}y}.\]

Common Mistake

Students often try to force this into the form \(\frac{dy}{dx} + Py = Q\), treating \(y\) as the dependent variable. Here it is far easier to treat \(x\) as the dependent variable and \(y\) as independent, giving \(\frac{dx}{dy} + Px = Q\). Missing this switch makes the equation appear unsolvable at this level.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Express \(\frac{dx}{dy}\) from the given equation: Starting from \((\tan^{-1}y - x)\,dy = (1 + y^2)\,dx\), divide both sides by \((1 + y^2)\,dy\) to isolate \(\frac{dx}{dy}\): \[\frac{dx}{dy} = \frac{\tan^{-1}y - x}{1 + y^2}.\] Reason: The equation is neither separable nor homogeneous in x and y, but dividing this way naturally isolates the derivative and sets up x as the dependent variable.
  2. Step 2: Rearrange into standard linear form: Move the x term to the left side by rewriting: \[\frac{dx}{dy} + \frac{x}{1 + y^2} = \frac{\tan^{-1}y}{1 + y^2}.\] Comparing with \(\frac{dx}{dy} + P(y)\,x = Q(y)\), we identify \(P(y) = \frac{1}{1 + y^2}\) and \(Q(y) = \frac{\tan^{-1}y}{1 + y^2}\). Reason: This standard form is required before we can apply the integrating factor method.
  3. Step 3: Compute the integrating factor: Evaluate \(\int P\,dy = \int \frac{1}{1 + y^2}\,dy = \tan^{-1}y\). Therefore the integrating factor is \[\text{I.F.} = e^{\tan^{-1}y}.\] Reason: Multiplying both sides of the linear ODE by the integrating factor collapses the left side into an exact derivative, making the equation directly integrable.
  4. Step 4: Multiply through by the integrating factor: Multiply both sides of the linear ODE by \(e^{\tan^{-1}y}\): \[\frac{d}{dy}\left(x\,e^{\tan^{-1}y}\right) = \frac{\tan^{-1}y}{1 + y^2}\cdot e^{\tan^{-1}y}.\] Reason: The left side now equals the exact derivative \(\frac{d}{dy}(x \cdot \text{I.F.})\), which is the whole point of the integrating factor technique.
  5. Step 5: Integrate both sides: Integrate both sides with respect to y: \[x\,e^{\tan^{-1}y} = \int \frac{\tan^{-1}y}{1 + y^2}\cdot e^{\tan^{-1}y}\,dy.\] For the right-hand side, substitute \(t = \tan^{-1}y\), so \(dt = \frac{1}{1+y^2}\,dy\). The integral becomes \(\int t\,e^{t}\,dt\). Applying integration by parts with \(u = t\) and \(dv = e^t\,dt\): \[\int t\,e^{t}\,dt = t\,e^{t} - e^{t} + C = (t - 1)\,e^{t} + C.\] Substituting back \(t = \tan^{-1}y\): \[x\,e^{\tan^{-1}y} = (\tan^{-1}y - 1)\,e^{\tan^{-1}y} + C.\] Reason: The substitution converts the integral into the standard form \(\int t\,e^t\,dt\), and integration by parts yields a clean closed-form result.
  6. Step 6: Solve for x: Divide both sides by \(e^{\tan^{-1}y}\): \[x = (\tan^{-1}y - 1) + C\,e^{-\tan^{-1}y}.\] Reason: Dividing by the integrating factor isolates x and gives the general solution in its simplest form.

Final Answer

\[x = \tan^{-1}y - 1 + C\,e^{-\tan^{-1}y}.\]

Common Mistake

One common mistake: Students forget to swap the roles of x and y and instead try to write \(\frac{dy}{dx}\), which leads to a much more complicated (non-linear) equation. Always check whether treating x as the dependent variable simplifies the structure before proceeding.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Rewrite as linear ODE in \( x \): divide \( (\tan^{-1}y - x)\,dy = (1+y^2)\,dx \) by \( (1+y^2)\,dy \) to get \[\frac{dx}{dy} + \frac{x}{1+y^2} = \frac{\tan^{-1}y}{1+y^2}\]
  2. Step 2: Integrating factor: \( P = \dfrac{1}{1+y^2} \), so \[\text{I.F.} = e^{\int \frac{1}{1+y^2}\,dy} = e^{\tan^{-1}y}\]
  3. Step 3: Multiply through and integrate: \[x\,e^{\tan^{-1}y} = \int \frac{\tan^{-1}y}{1+y^2}\,e^{\tan^{-1}y}\,dy\] Set \( t = \tan^{-1}y \) so \( dt = \dfrac{dy}{1+y^2} \), giving \[x\,e^{\tan^{-1}y} = \int t\,e^{t}\,dt = e^{t}(t-1) + C = e^{\tan^{-1}y}(\tan^{-1}y - 1) + C\]
  4. Step 4: Divide by \( e^{\tan^{-1}y} \): \[x = \tan^{-1}y - 1 + C\,e^{-\tan^{-1}y}\]

Answer: \[x = \tan^{-1}y - 1 + C\,e^{-\tan^{-1}y}.\]

➕ More Examples

More Examples

Example 1

Question: Solve the differential equation \[ (\tan^{-1}x - y)\,dx = (1 + x^2)\,dy. \]

Solution: Rewrite the equation by dividing both sides by \( (1+x^2)\,dx \): \[ \frac{dy}{dx} = \frac{\tan^{-1}x - y}{1+x^2}. \] Rearranging: \[ \frac{dy}{dx} + \frac{y}{1+x^2} = \frac{\tan^{-1}x}{1+x^2}. \] This is a first-order linear ODE in \( y \) as a function of \( x \), with \[ P(x) = \frac{1}{1+x^2}, \quad Q(x) = \frac{\tan^{-1}x}{1+x^2}. \] Compute the integrating factor: \[ \mu = e^{\int \frac{1}{1+x^2}\,dx} = e^{\tan^{-1}x}. \] Multiply both sides by \( \mu \): \[ \frac{d}{dx}\left(y\,e^{\tan^{-1}x}\right) = \frac{\tan^{-1}x}{1+x^2}\,e^{\tan^{-1}x}. \] Integrate both sides with respect to \( x \). Let \( t = \tan^{-1}x \), so \( dt = \frac{dx}{1+x^2} \): \[ y\,e^{\tan^{-1}x} = \int t\,e^{t}\,dt. \] Using integration by parts \( \int t\,e^{t}\,dt = t\,e^{t} - e^{t} + C \): \[ y\,e^{\tan^{-1}x} = (\tan^{-1}x - 1)\,e^{\tan^{-1}x} + C. \] Divide through by \( e^{\tan^{-1}x} \): \[ y = \tan^{-1}x - 1 + C\,e^{-\tan^{-1}x}. \]

Answer: \( y = \tan^{-1}x - 1 + C\,e^{-\tan^{-1}x} \)

Example 2

Question: Solve the differential equation \[ (\sin^{-1}y - x)\,dy = \sqrt{1-y^2}\,dx. \]

Solution: Divide both sides by \( \sqrt{1-y^2}\,dy \) (treating \( x \) as a function of \( y \)): \[ \frac{dx}{dy} = \frac{\sin^{-1}y - x}{\sqrt{1-y^2}}. \] Rearranging: \[ \frac{dx}{dy} + \frac{x}{\sqrt{1-y^2}} = \frac{\sin^{-1}y}{\sqrt{1-y^2}}. \] This is a linear ODE with \( x \) as the dependent variable and \( y \) as the independent variable: \[ P(y) = \frac{1}{\sqrt{1-y^2}}, \quad Q(y) = \frac{\sin^{-1}y}{\sqrt{1-y^2}}. \] Compute the integrating factor: \[ \mu = e^{\int \frac{1}{\sqrt{1-y^2}}\,dy} = e^{\sin^{-1}y}. \] Multiply both sides by \( \mu \): \[ \frac{d}{dy}\left(x\,e^{\sin^{-1}y}\right) = \frac{\sin^{-1}y}{\sqrt{1-y^2}}\,e^{\sin^{-1}y}. \] Integrate both sides with respect to \( y \). Let \( t = \sin^{-1}y \), so \( dt = \frac{dy}{\sqrt{1-y^2}} \): \[ x\,e^{\sin^{-1}y} = \int t\,e^{t}\,dt. \] Applying integration by parts \( \int t\,e^{t}\,dt = t\,e^{t} - e^{t} + C \): \[ x\,e^{\sin^{-1}y} = (\sin^{-1}y - 1)\,e^{\sin^{-1}y} + C. \] Divide through by \( e^{\sin^{-1}y} \): \[ x = \sin^{-1}y - 1 + C\,e^{-\sin^{-1}y}. \]

Answer: \( x = \sin^{-1}y - 1 + C\,e^{-\sin^{-1}y} \)

🎯 Try a Similar Question

Try a Similar Question

Question: Solve the differential equation \(\left(\tan^{-1}y - 2x\right)dy = \left(1 + y^2\right)dx\).

Solution

  1. Step 1: Rewrite as a linear ODE in x: Divide both sides by \(\left(1+y^2\right)dy\) to get \(\frac{dx}{dy}\) on the left: \[\frac{dx}{dy} = \frac{\tan^{-1}y - 2x}{1+y^2}\] Rearranging: \[\frac{dx}{dy} + \frac{2}{1+y^2}\,x = \frac{\tan^{-1}y}{1+y^2}\] This is a first-order linear ODE in \(x\) with \(P(y) = \frac{2}{1+y^2}\) and \(Q(y) = \frac{\tan^{-1}y}{1+y^2}\).
  2. Step 2: Find the integrating factor: The integrating factor is \[\mu = e^{\int P(y)\,dy} = e^{\int \frac{2}{1+y^2}\,dy} = e^{2\tan^{-1}y}\]
  3. Step 3: Multiply through by the integrating factor: Multiplying both sides of the ODE by \(e^{2\tan^{-1}y}\): \[\frac{d}{dy}\left(x\,e^{2\tan^{-1}y}\right) = \frac{\tan^{-1}y}{1+y^2}\cdot e^{2\tan^{-1}y}\]
  4. Step 4: Integrate the right-hand side: We need to evaluate \(\int \frac{\tan^{-1}y}{1+y^2}\,e^{2\tan^{-1}y}\,dy\). Let \(t = \tan^{-1}y\), so \(dt = \frac{1}{1+y^2}\,dy\). The integral becomes \[\int t\,e^{2t}\,dt\] Using integration by parts with \(u = t\) and \(dv = e^{2t}\,dt\): \[\int t\,e^{2t}\,dt = \frac{t\,e^{2t}}{2} - \int \frac{e^{2t}}{2}\,dt = \frac{t\,e^{2t}}{2} - \frac{e^{2t}}{4} + C\] Substituting back \(t = \tan^{-1}y\): \[\int \frac{\tan^{-1}y}{1+y^2}\,e^{2\tan^{-1}y}\,dy = \frac{\tan^{-1}y\cdot e^{2\tan^{-1}y}}{2} - \frac{e^{2\tan^{-1}y}}{4} + C\]
  5. Step 5: Write the general solution: From Step 3 and Step 4: \[x\,e^{2\tan^{-1}y} = \frac{\tan^{-1}y\cdot e^{2\tan^{-1}y}}{2} - \frac{e^{2\tan^{-1}y}}{4} + C\] Dividing every term by \(e^{2\tan^{-1}y}\): \[x = \frac{\tan^{-1}y}{2} - \frac{1}{4} + C\,e^{-2\tan^{-1}y}\]

Answer: \[x = \frac{\tan^{-1}y}{2} - \frac{1}{4} + C\,e^{-2\tan^{-1}y}\]

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 Exercise 9.1 Q1 Exercise 9.1 Q2 Exercise 9.1 Q3 Exercise 9.1 Q4 65/3/1 2023 / Section C Q26(a)