Academy

∫1/x dx = ln|x| + C

A river splits a town into two halves with no bridge. What happens on one bank says nothing about the other bank.

ln x + C (x > 0) y = ln(x) + cln(−x) + D (x < 0) y = ln(-x) + d
-4-3-2-11234-3-2-1123xyln x + C (x > 0)ln(−x) + D (x < 0)Psanjibsikder.com
Drag to move · pinch or scroll to zoom · tap to read a point
slope at P0.5
1/x at P0.5
c (C (right piece)) = 1
d (D (left piece)) = 0
t (move P) = 2

Step by step

  1. 1/x is not defined at x = 0. So any integral of it lives on two separate pieces.
  2. For x > 0, ln x has derivative 1/x. For x < 0, ln(−x) also has derivative 1/x (chain rule: (1/(−x)) × (−1)).
  3. Both pieces together are ln|x|. Move P to each side: the slope is 1/x on both.
  4. Move C and D. Each piece moves on its own and still fits. Books write ln|x| + C, with one C for each piece in mind.

Try this

  • Make both pieces the dashed ln|x|.
  • Make the left piece pass through (−1, 2).
  • Find the slope at x = −0.5. Is it negative?

Practise this

Problems on Integrals with checks, marks and help from Sir are on the exam site (sign in). Practise Integrals on the exam site →