MI
Answered byMolly I.Maths Tutor

Show that the integral of tan(x) is ln|sec(x)| + C where C is a constant.

First, recall that tan(x) can be rewritten in terms of sine and cosine.

tan(x) = sin(x)/cos(x)

The rephrasing of our question suggests that we should try the substitution rule of integration.

We should substitute u=cos(x), since then du = -sin(x) dx and so sin(x) dx = -du

So the integral of tan(x) = the integral of sin(x)/cos(x) = the integral of -1/u = - ln|u| +C = - ln|cosx| +C

Now, - ln|cos(x)| = ln(|cos(x)|-1) = ln(1/|cos(x)|) = ln|sec(x)|

Therefore, the integral of tan(x) is ln|sec(x)| + C

Related Maths A Level answers

All answers ▸

Solve the equation: 5^(2x+1) = 7, giving your answer correct to four decimal places.


How do I differentiate something of the form a^x?


What is the differential of (14x^3-3x^2)^3


Find the integral of ((2(7x^(2)-xe^(-2x))-5)/x) . Given that y=27 at x=1, solve the differential equation dy/dx=((2(7x^(2)-xe^(-2x))-5)/-3x).y^(2/3) in terms of y.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning