If is the solution of the differential equation , , such that , then is equal to
- A.
- B.
- C.
- D.
Show answer and solution
Correct option: D
Solution
The equation is linear: dy/dx + y·sec²x = tan(x)·sec²x.
Integrating factor = e^(∫sec²x dx) = e^(tan x).
Multiplying: d/dx[y·e^(tan x)] = tan(x)·sec²x·e^(tan x).
Integrate the right side using substitution t = tan x:
∫t·et dt = et(t - 1) + C = e^(tan x)(tan x - 1) + C.
So y·e^(tan x) = e^(tan x)(tan x - 1) + C.
Apply y(0) = 0: 0·e⁰ = e⁰(0 - 1) + C → C = 1.
Thus y = (tan x - 1) + e^(-tan x).
At x = -π/4: tan(-π/4) = -1, so y = (-1 - 1) + e^(1) = -2 + e = e - 2.
Integrating factor = e^(∫sec²x dx) = e^(tan x).
Multiplying: d/dx[y·e^(tan x)] = tan(x)·sec²x·e^(tan x).
Integrate the right side using substitution t = tan x:
∫t·et dt = et(t - 1) + C = e^(tan x)(tan x - 1) + C.
So y·e^(tan x) = e^(tan x)(tan x - 1) + C.
Apply y(0) = 0: 0·e⁰ = e⁰(0 - 1) + C → C = 1.
Thus y = (tan x - 1) + e^(-tan x).
At x = -π/4: tan(-π/4) = -1, so y = (-1 - 1) + e^(1) = -2 + e = e - 2.
[JEE Main 2019 · 10 Apr · Shift I]