If
y = x + tan x, ⇒ tan x = y-x…. (i)
Differentiating with respect to x
⇒
⇒ [putting value of tan x from (i) ]