Solve the differential equation
\((tan^{-1}y-x)\ dy\ =(1+y^2)\ dx.\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
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}.\]
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.
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.\)
\[x = \tan^{-1}y - 1 + C\,e^{-\tan^{-1}y}.\]
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.
\[x = \tan^{-1}y - 1 + C\,e^{-\tan^{-1}y}.\]
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.
Answer: \[x = \tan^{-1}y - 1 + C\,e^{-\tan^{-1}y}.\]
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} \)
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} \)
Question: Solve the differential equation \(\left(\tan^{-1}y - 2x\right)dy = \left(1 + y^2\right)dx\).
Answer: \[x = \frac{\tan^{-1}y}{2} - \frac{1}{4} + C\,e^{-2\tan^{-1}y}\]