dx/ x(1+ x)=
A. \(\,\log (\sec x+\tan x)+2\tan (\frac{x}{2})+c\), where c is the constant of integration
B. \(\,\log (\sec x+\tan x)-2\tan (\frac{x}{2})+c\), where c is the constant of integration
C. \(\log (\sec x+\tan x)+\tan (\frac{x}{2})+c\), where c is the constant of integration
D. \(\log (\sec x+\tan x)-\tan (\frac{x}{2})+c\), where c is the constant of integration