Today I was reading my favorite calculus textbook, that saw the integration formula for tan(x).(adsbygoogle = window.adsbygoogle || []).push({});

It was : Integral of tan(x) = -ln|cosx| + C .

I know that when we say integral of tanx we mean, what is the function whose derivative is tanx. So started to take the derivative of -ln |cosx|, in order to prove the formula. But what could I do with the absolute value sign ? I just ignored it and took the derivative. It worked and I arrived at the answer, tan(x). Now there are 2 questions. 1. why is the sign there anymore? 2. what is the right approach while taking derivative of functions involving absolute value sign? Do we ignore them always, as I did in this case ?

Thanks

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Integrating tan(x)

Loading...

Similar Threads for Integrating | Date |
---|---|

A Getting a finite result from a non-converging integral | Thursday at 6:32 PM |

I Decomposing a Certain Exponential Integral | Apr 12, 2018 |

How to make this integral (which does not converge) be finite? | Apr 6, 2018 |

I "Imagine" a definite integral with a finite number of discontinuties | Mar 30, 2018 |

I Improper integrals | Mar 30, 2018 |

**Physics Forums - The Fusion of Science and Community**