If f(x)=cosx−cos2x+cos3x−…∞ then ∫f(x)d¨x is equal to
tanx2+C
x-tanx2+C
x−12tanx2+C
x−tanx22+C
∵f(x)=cosx−cos2x+cos3x−…∞=cosx1+cosx∴∫f(x)dx=∫1+cosx1+cosxdx−∫11+cosxdx =x−12∫sec2x2dx =x−12tanx2⋅2+C=x−tanx2+C