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 ▸

Find the equation of the tangent to curve y=5x^2-2x+3 at the point x=0


Determine the tangent to the curve y = sin^2(x)/x at the point, x = pi/2. Leave your answer in the form ax+by+c=0


How do you differentiate using the chain rule?


Given the circumference x^2 - 2x + y^2 = 3, find the position of the center P and the value of the Radius. Then find the intercepts with the y axis and the tangent to the circumference at the positive y intercept.


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:

© 2025 by IXL Learning