Differentiate w.r.t. x : (i) (e^x + e^ -x ) (ii) (e^x/e^x+1 ) (iii) e^ x · x (iv) x + e^ √x
Question 803 marksMedium
Differentiate w.r.t. x:
(i)log(ex+e−x)
(ii)log(ex+1ex)
(iii)etanx⋅logtanx
(iv)logx+ex
Solution:
Key idea: Here log is the natural logarithm. We use dxdlogu=u1⋅dxdu and dxdeu=eu⋅dxdu, together with the product rule, and in part (ii) we simplify with the laws of logarithms first.
Step 1 — Part (i): differentiate log(ex+e−x).
The inner function is ex+e−x, which is always positive. Its derivative is ex−e−x, because the derivative of e−x is −e−x.
dxdlog(ex+e−x)=ex+e−xex−e−x
Step 2 — Part (ii): simplify log(ex+1ex).
We use the quotient law of logarithms, and logex is simply x.
y=logex−log(ex+1)=x−log(ex+1)
Step 3 — Part (ii): differentiate.
The derivative of log(ex+1) is ex+1ex. We then subtract over the common denominator ex+1.
dxdy=1−ex+1ex=ex+1ex+1−ex=ex+11
Step 4 — Part (iii): differentiate etanxlogtanx.
We use the product rule with u=etanx (derivative etanxsec2x) and v=logtanx (derivative tanxsec2x), for tanx>0. Then tanx1 is written as cotx.