deivative tg(x)