Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Maths Advanced (2027) Integral calculus

Integrating 1/x & Logarithmic Forms

20 practice questions 0 video lessons Theory + worked examples
NSW · Year 12 Mathematics Advanced · Integral calculus

Integrating \(1/x\) and logarithmic forms uses \(\displaystyle\int\dfrac1x\,dx=\ln|x|+C\) and \(\displaystyle\int\dfrac{f'(x)}{f(x)}\,dx=\ln|f(x)|+C\).

Part of the NSW Year 12 Mathematics Advanced course, in the Calculus area of study (Integral calculus focus area) of the 2024 syllabus. Work through practice questions with fully worked solutions and video lessons, or scroll down for the theory summary and worked examples.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

\(\int\dfrac1x dx=\ln|x|+C\) — the case the power rule cannot do. This Year 12 Mathematics Advanced topic (MAV-12-05) integrates \(\dfrac1x\) and \(\dfrac{f'}{f}\) forms.

\(\displaystyle\int\dfrac1x dx=\ln|x|+C\). More generally \(\displaystyle\int\dfrac{f'(x)}{f(x)}dx=\ln|f(x)|+C\) — when the top is the derivative of the bottom.

For a linear bottom, \(\displaystyle\int\dfrac{1}{ax+b}dx=\dfrac1a\ln|ax+b|+C\).

The curve y = 1/xThe curve y = 1 over x with the area from 1 to 4 shaded. xy y=1/x 1 4
\(y=\dfrac1x\); the area from \(1\) to \(e\) is \(1\).
\[\int\dfrac{1}{x}\,dx=\ln|x|+C,\qquad \int\dfrac{f'(x)}{f(x)}\,dx=\ln|f(x)|+C\]
integral of 1 over x is ln mod x plus C; integral of f prime over f is ln mod f plus C

Method

  1. Recognise a fraction whose top is (a multiple of) the derivative of the bottom.
  2. Write \(\ln|\text{bottom}|\).
  3. Divide by \(a\) for a linear bottom.
Example 1 — Basic
Find \(\displaystyle\int \dfrac{1}{x}\,dx\).
Solution
\(\ \)\(=\)\(\ln|x|+C\)
Example 2 — Linear bottom
Find \(\displaystyle\int \dfrac{1}{2x+1}\,dx\).
Solution
\(\ \)\(=\)\(\dfrac12\ln|2x+1|+C\)
Example 3 — Top is derivative
Find \(\displaystyle\int \dfrac{2x}{x^{2}+1}\,dx\).
Solution
\(\ \)\(=\)\(\ln(x^{2}+1)+C\)
Example 4 — Definite
Evaluate \(\displaystyle\int_1^{e} \dfrac{1}{x}\,dx\).
Solution
\(\ \)\(=\)\(\big[\ln x\big]_1^{e}=1\)

Common pitfalls

Absolute value: write \(\ln|x|\).
Divide by \(a\) for a linear bottom.
Check the top is the bottom's derivative before using the log form.

Frequently asked questions

What is the integral of 1 over x?

It is ln of the absolute value of x, plus C.

Why is there an absolute value in ln mod x?

Because the logarithm is only defined for positive numbers, the absolute value lets the rule work for negative x as well.

How do you integrate 1 over (2x+1)?

Divide by the coefficient 2: the integral is one half ln of the absolute value of 2x+1, plus C.

When does an integral give a logarithm?

When the integrand is a fraction whose numerator is the derivative of its denominator, the integral is ln of the absolute value of the denominator.