Let y = y(x) be the solution curve of the differential equation (1 + x²)dy + (y − tan⁻¹x)dx = 0, y(0) = 1. Then the value of y(1) is

Let y = y(x) be the solution curve of the differential equation (1 + x²)dy + (y − tan⁻¹x)dx = 0, y(0) = 1. Then the value of y(1) is
MCQ · Mathematics · Differential Equations
Q. Let $y = y(x)$ be the solution curve of the differential equation $$(1 + x^2)\,dy + \left(y – \tan^{-1}x\right)dx = 0,\quad y(0) = 1$$ Then the value of $y(1)$ is :
A$\dfrac{4}{e^{\pi/4}} – \dfrac{\pi}{2} – 1$
B$\dfrac{2}{e^{\pi/4}} + \dfrac{\pi}{4} – 1$  ✓
C$\dfrac{4}{e^{\pi/4}} + \dfrac{\pi}{2} – 1$
D$\dfrac{2}{e^{\pi/4}} – \dfrac{\pi}{4} – 1$
✅ Correct Answer: (B)   $\dfrac{2}{e^{\pi/4}} + \dfrac{\pi}{4} – 1$
Step-by-Step Solution
1
Convert to Standard Linear Form   $\dfrac{dy}{dx} + P(x)\,y = Q(x)$ Divide throughout by $(1 + x^2)$:
$\dfrac{dy}{dx} + \dfrac{1}{1+x^2}\cdot y = \dfrac{\tan^{-1}x}{1+x^2}$
So:   $P(x) = \dfrac{1}{1+x^2}$,   $Q(x) = \dfrac{\tan^{-1}x}{1+x^2}$
2
Find Integrating Factor (IF)
$\text{IF} = e^{\displaystyle\int P\,dx} = e^{\displaystyle\int \frac{dx}{1+x^2}} = e^{\tan^{-1}x}$
3
Multiply both sides by IF and integrate
$\dfrac{d}{dx}\!\left[y \cdot e^{\tan^{-1}x}\right] = \dfrac{\tan^{-1}x}{1+x^2} \cdot e^{\tan^{-1}x}$
Integrating both sides:
$y \cdot e^{\tan^{-1}x} = \displaystyle\int \dfrac{\tan^{-1}x}{1+x^2} \cdot e^{\tan^{-1}x}\,dx \quad \cdots (*)$
4
Evaluate RHS — Substitution: $t = \tan^{-1}x$ $\Rightarrow dt = \dfrac{dx}{1+x^2}$
$\text{RHS} = \displaystyle\int t \cdot e^t\,dt$
Integration by Parts (ILATE: $u=t$, $dv=e^t\,dt$):
$= t\cdot e^t – \displaystyle\int e^t\,dt$

$= t\cdot e^t – e^t + C$

$= e^t(t – 1) + C$
Back-substitute $t = \tan^{-1}x$:
$= e^{\tan^{-1}x}\!\left(\tan^{-1}x – 1\right) + C$
5
Write General Solution from (*)
$y \cdot e^{\tan^{-1}x} = e^{\tan^{-1}x}(\tan^{-1}x – 1) + C$
Divide by $e^{\tan^{-1}x}$:
$y = \tan^{-1}x – 1 + C\,e^{-\tan^{-1}x}$
6
Apply Initial Condition $y(0) = 1$ At $x = 0$: $\tan^{-1}(0) = 0$,   $e^{-\tan^{-1}(0)} = e^0 = 1$
$1 = 0 – 1 + C \cdot 1$

$1 = -1 + C$

$\Rightarrow C = 2$
7
Particular Solution
$y = \tan^{-1}x – 1 + 2\,e^{-\tan^{-1}x}$
8
Find $y(1)$ At $x = 1$: $\tan^{-1}(1) = \dfrac{\pi}{4}$,   $e^{-\tan^{-1}(1)} = e^{-\pi/4} = \dfrac{1}{e^{\pi/4}}$
$y(1) = \dfrac{\pi}{4} – 1 + 2 \cdot \dfrac{1}{e^{\pi/4}}$

$= \dfrac{2}{e^{\pi/4}} + \dfrac{\pi}{4} – 1$
∴   $y(1) = \dfrac{2}{e^{\pi/4}} + \dfrac{\pi}{4} – 1$   → Option (B) ✓
Related Theory
📌 First-Order Linear ODE — Standard Form & Recognition
A first-order linear ODE has the form: $$\frac{dy}{dx} + P(x)\,y = Q(x)$$ How to identify it: Both $y$ and $\frac{dy}{dx}$ appear to the first power only. No terms like $y^2$, $y \cdot \frac{dy}{dx}$, or $\sqrt{y}$.

In this problem, the given equation $(1+x^2)dy + (y – \tan^{-1}x)dx = 0$ is rearranged as: $$\frac{dy}{dx} = \frac{\tan^{-1}x – y}{1+x^2} = \frac{\tan^{-1}x}{1+x^2} – \frac{y}{1+x^2}$$ Moving $y$ term to the left gives the standard form with $P = \frac{1}{1+x^2}$ and $Q = \frac{\tan^{-1}x}{1+x^2}$.
📌 Integrating Factor — Why It Works
The integrating factor $\mu = e^{\int P\,dx}$ is chosen because: $$\frac{d}{dx}[y \cdot \mu] = \mu\frac{dy}{dx} + y\frac{d\mu}{dx} = \mu\left(\frac{dy}{dx} + Py\right) = \mu \cdot Q$$ This converts the LHS into a perfect derivative — making the equation directly integrable.

Here $\int \frac{dx}{1+x^2} = \tan^{-1}x$, so $\mu = e^{\tan^{-1}x}$.

IF formula: $e^{\int P(x)\,dx}$ $\int \frac{dx}{1+x^2} = \tan^{-1}x + C$
📌 Integration by Parts — $\int t\,e^t\,dt$
After substituting $t = \tan^{-1}x$, the RHS becomes $\int t\,e^t\,dt$.

Using ILATE rule, take $u = t$ (algebraic) and $dv = e^t\,dt$ (exponential): $$\int t\,e^t\,dt = t\cdot e^t – \int e^t\,dt = te^t – e^t + C = e^t(t-1) + C$$ This is a standard JEE result — memorise it directly:
$\int t\,e^t\,dt = e^t(t-1) + C$
More generally: $\int x\,e^{ax}\,dx = \frac{e^{ax}}{a}\!\left(x – \frac{1}{a}\right) + C$
📌 Key Substitution: $t = \tan^{-1}x$
The substitution works because both $\tan^{-1}x$ and its derivative $\frac{1}{1+x^2}$ appear in the integrand simultaneously: $$\int \frac{\tan^{-1}x}{1+x^2} \cdot e^{\tan^{-1}x}\,dx \xrightarrow{t=\tan^{-1}x} \int t\,e^t\,dt$$ Golden rule: Whenever you see $f(x) \cdot f'(x)$ or $g(f(x)) \cdot f'(x)$ in an integrand, substitution $t = f(x)$ will simplify it perfectly. Here $f(x) = \tan^{-1}x$, $f'(x) = \frac{1}{1+x^2}$.
📌 Role of Initial Condition — Why $y(0) = 1$ Matters
The general solution $y = \tan^{-1}x – 1 + C\,e^{-\tan^{-1}x}$ has one arbitrary constant $C$. The initial condition pins down $C$ uniquely:

With $y(0) = 0$:   $0 = 0 – 1 + C \Rightarrow C = 1$ → gives $y(1) = \frac{1}{e^{\pi/4}} + \frac{\pi}{4} – 1$
With $y(0) = 1$:   $1 = 0 – 1 + C \Rightarrow C = 2$ → gives $y(1) = \frac{2}{e^{\pi/4}} + \frac{\pi}{4} – 1$ ✓

This shows how critically the initial condition affects the final answer. A small change in $y(0)$ changes $C$ and hence $y(1)$ entirely. Always read the initial condition carefully in exam.
📌 Common Mistakes to Avoid
❌ Mistake 1: Not converting to standard form before finding IF. Always divide by the coefficient of $dy/dx$ first.

❌ Mistake 2: Misreading the initial condition. Here $y(0) = 1$, not $0$. This changes $C$ from 1 to 2, changing the final answer completely.

❌ Mistake 3: In integration by parts for $\int t\,e^t\,dt$, taking $u = e^t$ and $dv = t\,dt$ — this makes it more complex. Always take the algebraic term as $u$ (ILATE rule).

❌ Mistake 4: Forgetting that $e^{-\pi/4} = \frac{1}{e^{\pi/4}}$, and writing the final answer incorrectly.

❌ Mistake 5: Substituting $x=1$ without knowing $\tan^{-1}(1) = \frac{\pi}{4}$. Standard inverse trig values must be memorised.
📌 Standard Inverse Trig Values (Must Know)
$\tan^{-1}(0) = 0$ $\tan^{-1}(1) = \dfrac{\pi}{4}$ $\tan^{-1}(\sqrt{3}) = \dfrac{\pi}{3}$ $\tan^{-1}\!\left(\dfrac{1}{\sqrt{3}}\right) = \dfrac{\pi}{6}$ $\sin^{-1}(1) = \dfrac{\pi}{2}$ $\cos^{-1}(1) = 0$
📌 Complete Formula Reference
Standard form: $\frac{dy}{dx} + Py = Q$ IF $= e^{\int P\,dx}$ Solution: $y \cdot \text{IF} = \int Q \cdot \text{IF}\,dx + C$ $\int \frac{dx}{1+x^2} = \tan^{-1}x$ $\int t\,e^t\,dt = e^t(t-1)+C$ $e^{-\pi/4} = \frac{1}{e^{\pi/4}}$
📌 JEE Relevance & Exam Strategy
First-order linear ODEs appear in every JEE Main session — typically 1 question worth 4 marks. This specific pattern (ODE with $\tan^{-1}x$ leading to IF $= e^{\tan^{-1}x}$) is a favourite. The complete algorithm is fixed:

(1) Standard form → (2) Compute IF → (3) Integrate RHS using substitution + IBP → (4) Apply initial condition → (5) Substitute target $x$ value.

Mastering this 5-step algorithm guarantees full marks. Average time to solve: 3–4 minutes in exam. Practise until each step takes under 45 seconds.
JN
JEE NEET Experts Editorial Team 10+ Years Experience · JEE & NEET Mathematics Specialist
Expert in Differential Equations, Calculus & Algebra
Frequently Asked Questions
1. What is the standard form of this ODE?
$\frac{dy}{dx} + \frac{y}{1+x^2} = \frac{\tan^{-1}x}{1+x^2}$. Obtained by dividing the given equation by $(1+x^2)$.
2. What is the integrating factor here?
IF $= e^{\int \frac{dx}{1+x^2}} = e^{\tan^{-1}x}$.
3. What substitution is used on the RHS integral?
$t = \tan^{-1}x$, $dt = \frac{dx}{1+x^2}$. This converts the integral into $\int t\,e^t\,dt$.
4. What is $\int t\,e^t\,dt$?
By integration by parts: $e^t(t-1) + C$.
5. What is the general solution?
$y = \tan^{-1}x – 1 + C\,e^{-\tan^{-1}x}$.
6. Why is $C = 2$ and not $C = 1$?
Because the initial condition is $y(0) = 1$ (not 0). Substituting: $1 = 0 – 1 + C \Rightarrow C = 2$.
7. What is the particular solution?
$y = \tan^{-1}x – 1 + 2\,e^{-\tan^{-1}x}$.
8. What is $\tan^{-1}(1)$?
$\tan^{-1}(1) = \frac{\pi}{4}$, since $\tan\!\left(\frac{\pi}{4}\right) = 1$.
9. How is $y(1)$ computed?
$y(1) = \frac{\pi}{4} – 1 + 2\cdot e^{-\pi/4} = \frac{2}{e^{\pi/4}} + \frac{\pi}{4} – 1$.
10. What is the ILATE rule?
ILATE: Inverse trig → Logarithm → Algebraic → Trigonometric → Exponential. In IBP, choose $u$ as whichever comes first in this order.
11. What if $y(0) = 0$ was given instead?
Then $C = 1$, giving $y(1) = \frac{1}{e^{\pi/4}} + \frac{\pi}{4} – 1$, which is a different answer. This shows the critical role of the initial condition.

Related Covered Topics

jee mains jee advanced iit jee neet differential equations jee linear ODE integrating factor method first order ODE integration by parts calculus for jee mains tan inverse integration initial value problem particular solution ODE general solution ODE ILATE rule substitution integration engineering entrance exam important jee mains question important jee advanced question inverse trigonometry jee coordinate geometry jee algebra jee modern physics jee electrostatics jee organic chemistry jee physical chemistry numerical medical entrance exam progressions jee binomial theorem mechanics jee mains
Scroll to Top