取对数,得 lny=xlntanx 两边对x求导,得 y'/y=lntanx+x/tanx ×sec方x y'=y(lntanx+xsec方x/tanx ) y'=(tanx)^x(lntanx+xsec方x/tanx )