Question

Let y⁢(x) be the solution of the differential equation

d⁢yd⁢x=1+ysecx,forx∈(−π2,π2)

that satisfies y⁢(0)=0 . Then, the value of y⁢(π6) equals

  1. 3log(32)
  2. (32)log(32)
  3. (32)log3
  4. 3log3

Answer: 3log(32)

Solution :-

We have,

d⁢yd⁢x=1+ysecx⟹d⁢yd⁢x−ysecx=1

This is a 1st order 1st degree linear differential equation.
Hence, we solve this differential equation by the method of 1st order 1st degree linear differential equation.

So, d⁢yd⁢x+(−secx)⁢y=1

I.F.=e∫(−secx)⁢d⁢x=e−log(secx+tanx)=elog(secx+tanx)−1=1secx+tanx=cosx1+sinx

So, the solution is

y⋅cosx1+sinx=∫1⋅cosx1+sinxd⁢xy⋅cosx1+sinx=∫cosx1+sinxd⁢x⋯⁢⋯⁢(1)

Now, let 1+sinx=t , then differentiating w. r. to x , we get

d⁢(1+sinx)d⁢x=d⁢td⁢xcosx=d⁢td⁢xcosxd⁢x=d⁢t

Now, put cosxd⁢x=d⁢tand1+sinx=t in eq(1), we get

y⋅cosx1+sinx=∫1td⁢ty⋅cosx1+sinx=logt+cy⋅cosx1+sinx=log(1+sinx)+c⋯⁢⋯⁢(2)(∵1+sinx=t)

Now, given that y⁢(0)=0 , So from eq(2), we have

0⋅cos01+sin0=log(1+sin0)+c0=log(1+0)+c0=0+c∴c=0

Put c = 0 in eq(2), we get

y⋅cosx1+sinx=log(1+sinx)+0∴y=1+sinxcosxlog(1+sinx)Now,y⁢(π6)=1+sinπ6cosπ6log(1+sinπ6)=1+1232log(1+12)=3232log(32)=3log(32)⋅

So, correct answer is option-1, →3log(32)