If for the solution curve y = f(x) of the differential equation dydx+(tan x)y=2+sec x(1+2 sec x)2, x∈(–π2,π2), f(π3)=310, then f(π4) is equal to: [2025]
(3)
We have, dydx+(tan x)y=2+sec x(1+2 sec x)2
Here, P = tan x and Q=2+sec x(1+2 sec x)2
I.F.=e∫Pdx=e∫tan xdx=elog|sec x|=sec x
∴ Solution is given by,
y·sec x=∫(2+sec x)(1+2 sec x)2·sec xdx+c
⇒ y·sec x=∫2cosx+1(cos x+2)2dx+c
Put cos x=1–t21+t2 ⇒–sin xdx=–4t(1+t2)2dt
∴ y·sec x=∫2(1–t21+t2)+1(1–t21+t2+2)2·2dt(1+t2)+c
⇒ y·sec x=∫2–2t2+1+t2(1–t2+2+2t2)2·2dt+c
⇒ y·sec x=2∫3–t2(t2+3)2dt+c
Put t+3t=u ⇒ (1–3t2)dt=du
∴ y·sec x=–2∫duu2+c
⇒ y·sec x=2u+c ⇒ y·sec x=2t+3/t+c
Now, at x=π3, t=13, y=310
⇒ 2310=21/3+33+c ⇒ c=0
Hence, y·sec x=2t+3/t ⇒ y=2sec x·(t+3/t)
At x=π4, t=2–1
∴ f(π4)=12·2(2–1)(2–1)2+3
=2(2–1)6–22=2–26–22×6+226+22
=12–22–436–8=8–2228=4–214