JEE Main 2026 · 21 January · morning · Single correct · +4 / −1

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 :

  1. (a) 4/e^(π/4)-π/2-1
  2. (b) 2/e^(π/4)+π/4-1
  3. (c) 4/e^(π/4)+π/2-1
  4. (d) 2/e^(π/4)-π/4-1
Answer and solution

Answer (b) 2/e^(π/4)+π/4-1

Solution

Maths sir · 4 steps

Divide by 1+x² and it is linear in y. Then put t = tan⁻¹ x and it gets easy.

  1. Make it linear. Divide by (1+x²) dx to get dy/dx + y/(1+x²) = (tan⁻¹ x)/(1+x²). This is linear in y with P = 1/(1+x²), so the integrating factor is e^(∫ P dx) = e^(tan⁻¹ x).
  2. Substitute t. Multiply through by the integrating factor, then write the right side as an integral. Put t = tan⁻¹ x, so dt = dx/(1+x²), and integrate t eᵗ by parts.

    y eᵗ = ∫ t eᵗ dt = (t-1)eᵗ + C ⇒ y = t - 1 + C e⁻ᵗ

  3. Find C. At x = 0 we have t = 0 and y = 1, so 1 = 0 - 1 + C and C = 2. The solution is y = tan⁻¹ x - 1 + 2e^(-tan⁻¹ x).
  4. So. At x = 1, t = π/4, so y(1) = 2/e^(π/4) + π/4 - 1. That is option (b).

The idea to keep. When the integrating factor is e^(tan⁻¹ x), put t = tan⁻¹ x. The integral becomes ∫ t eᵗ dt, which is a one-line integration by parts.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Differential Equations

Asked about 200 times in JEE Main since 2020. This question is from 2026.