If the function f(x)=tanx−xex(etanx−x−1)+loge(secx+tanx)−x is continuous at x=0, then the value of f(0) is equal to
Solutions · 1
Official solution
Given that f(x) is continuous at x=0 means x→0limf(x)=f(0)f(0)=x→0limtanx−xex(etanx−x−1)+loge(secx+tanx)−xf(0)=x→0limtanx−xex(etanx−x−1)+x→0limtanx−xloge(secx+tanx)−x
Using standard limit f(x)ef(x)−1=1 if f(x)→0
Let f(x)=tanx−x, then x→0limtanx−xetanx−x−1=1
Second limit is 00 form use L'Hopital Rule
f(0)=1+x→0limdxd(tanx−x)dxd(log(secx+tanx)−x)=1+x→0limsec2x−1secx+tanx1(secxtanx+sec2x)−1=1+x→0lim(secx+tanx)(sec2x−1)secxtanx+sec2x−secx−tanx=1+x→0lim(secx+tanx)(sec2x−1)tanx(secx−1)+secx(secx−1)=1+x→0lim(secx+tanx)(sec2x−1)(secx−1)(secx+tanx)=1+x→0limsecx+11⇒f(0)=1+21=23