t6x3
- 4
- 0
∫(tanxsec^{2}x)dx <---Original function to integrate.
I do:
∫(tanxsec^{2}x)dx ---> ∫(tanx\frac{1}{cos^{2}x})dx ---> ∫((\frac{sinx}{cosx})(\frac{1}{cos^{2}x}))dx ---> ∫(\frac{sinx}{cos^{3}x})dx ---> substitution: [t=cosx , dt=-sinxdx -> [itex]\frac{dt}{-sinx}[/itex]=dx] ---> ∫(\frac{sinx}{t^{3}})\frac{dt}{-sinx} ---> -∫(t^{-3})dt ---> -\frac{t^{-2}}{-2} + k ---> \frac{1}{2t^{2}} + k ---> \frac{1}{2cos^{2}x} + k <---My answer
However my book gives \frac{tan^{2}x}{2} +k as an answer, I followed their process and understand what they did, I just want to know if my answer is also correct and what would happened if this was a definite integral instead of an indefinite one? would arriving at different results create problems when computing definite integrals?
I do:
∫(tanxsec^{2}x)dx ---> ∫(tanx\frac{1}{cos^{2}x})dx ---> ∫((\frac{sinx}{cosx})(\frac{1}{cos^{2}x}))dx ---> ∫(\frac{sinx}{cos^{3}x})dx ---> substitution: [t=cosx , dt=-sinxdx -> [itex]\frac{dt}{-sinx}[/itex]=dx] ---> ∫(\frac{sinx}{t^{3}})\frac{dt}{-sinx} ---> -∫(t^{-3})dt ---> -\frac{t^{-2}}{-2} + k ---> \frac{1}{2t^{2}} + k ---> \frac{1}{2cos^{2}x} + k <---My answer
However my book gives \frac{tan^{2}x}{2} +k as an answer, I followed their process and understand what they did, I just want to know if my answer is also correct and what would happened if this was a definite integral instead of an indefinite one? would arriving at different results create problems when computing definite integrals?