Lesson 2: Logarithmic integrals: ln⁡∣x∣\ln|x| and f′(x)f(x)\frac{f'(x)}{f(x)}

Integrate tan⁡(x)\tan(x)

SkillLogarithmic integrals

Worked example

  • Simple familiar
  • Technology free

Determine ∫tan⁡(x) dx\int \tan(x)\,dx.

1 of 4 steps
  1. Step 1: Write tan as a quotient

    tan⁡(x)=sin⁡(x)cos⁡(x)\tan(x) = \frac{\sin(x)}{\cos(x)}

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Write the integrand as a fraction.

  2. Check whether the numerator is a constant multiple of the derivative of the denominator.

  3. Take the constant out and write ln⁡∣f(x)∣+c\ln|f(x)| + c.

Watch out for

  • Losing the minus sign: the derivative of cos⁡(x)\cos(x) is −sin⁡(x)-\sin(x).

  • Writing ln⁡∣cos⁡(x)∣\ln|\cos(x)| without the absolute value: cos⁡(x)\cos(x) is negative on part of its domain.

Save your progress with a free account