Math 2.0

Number theory Proof

Proof that harmonic numbers grow like log n

Builds on Harmonic numberNatural logarithmIntegral of 1/xLogarithm of a quotientQuotient of continuous functions is continuousContinuous functions are Riemann integrableIntegral of a powerLinearity of the integralMonotonicity of the integralMonotone sequenceMonotone convergence theorem for sequencesLimits preserve non-strict inequalitiesArchimedean propertyThe exponential function is strictly increasingLittle o notationAsymptotic equivalence

Proof

We compare each term 1k\frac{1}{k} with the integral of 1t\frac{1}{t} over [k,k+1][k, k + 1], and use the monotone convergence theorem.

  1. For each integer n≥1n \ge 1, let HnH_n be the nn-th harmonic number, and let an=Hn−ln⁡na_n = H_n - \ln n. Here ln⁡\ln is the natural logarithm.
  2. Let k≥1k \ge 1 be an integer. By the integral of 1/x and the logarithm of a quotient, ∫kk+1dtt=ln⁡k+1k=ln⁡(k+1)−ln⁡k\int_k^{k+1} \frac{dt}{t} = \ln \frac{k+1}{k} = \ln(k + 1) - \ln k.
  3. The function t↦1tt \mapsto \frac{1}{t} is continuous on [k,k+1][k, k + 1], by continuity of quotients. So it is Riemann integrable there, since continuous functions are Riemann integrable.
  4. For a constant cc, the integral of a power with exponent 00 and linearity of the integral give ∫kk+1c dt=c\int_k^{k+1} c \, dt = c.
  5. For t∈[k,k+1]t \in [k, k + 1], we have 1k+1≤1t≤1k\frac{1}{k + 1} \le \frac{1}{t} \le \frac{1}{k}.
  6. By monotonicity of the integral and steps 2 to 5, 1k+1≤ln⁡(k+1)−ln⁡k≤1k.\frac{1}{k + 1} \le \ln(k + 1) - \ln k \le \frac{1}{k}.
  7. For n≥1n \ge 1, an+1−an=1n+1−(ln⁡(n+1)−ln⁡n)a_{n+1} - a_n = \frac{1}{n + 1} - (\ln(n + 1) - \ln n). This is ≤0\le 0 by the left inequality of step 6 with k=nk = n. So (an)(a_n) is decreasing.
  8. Since e0=1e^0 = 1, the definition of ln⁡\ln gives ln⁡1=0\ln 1 = 0.
  9. Summing the right inequality of step 6 over k=1,…,nk = 1, \dots, n gives a telescoping sum: ln⁡(n+1)−ln⁡1≤Hn\ln(n + 1) - \ln 1 \le H_n. By step 8, ln⁡(n+1)≤Hn\ln(n + 1) \le H_n.
  10. By step 9 and step 6 with k=nk = n, an≥ln⁡(n+1)−ln⁡n≥1n+1>0a_n \ge \ln(n + 1) - \ln n \ge \frac{1}{n + 1} > 0. So (an)(a_n) is bounded below by 00.
  11. The sequence (−an)(-a_n) is increasing by step 7, and bounded above by 00 by step 10.
  12. By the monotone convergence theorem, (−an)(-a_n) converges. So (an)(a_n) converges to some real number γ\gamma.
  13. By step 8, a1=1−ln⁡1=1a_1 = 1 - \ln 1 = 1. By steps 7 and 10, 0≤an≤10 \le a_n \le 1 for all n≥1n \ge 1.
  14. Since limits preserve non-strict inequalities, step 13 gives 0≤γ≤10 \le \gamma \le 1. So the limit exists and lies in [0,1][0, 1].
  15. It remains to show Hn∼ln⁡nH_n \sim \ln n. Let ε>0\varepsilon > 0. By the Archimedean property, there is an integer N≥2N \ge 2 with N>e1/εN > e^{1/\varepsilon}.
  16. Let n≥Nn \ge N. Suppose that ln⁡n<1ε\ln n < \frac{1}{\varepsilon}. Since the exponential function is strictly increasing, n=eln⁡n<e1/ε<Nn = e^{\ln n} < e^{1/\varepsilon} < N. This contradicts n≥Nn \ge N.
  17. So ln⁡n≥1ε>0\ln n \ge \frac{1}{\varepsilon} > 0 for all n≥Nn \ge N. With step 13, ∣Hn−ln⁡n∣=an≤1≤εln⁡n|H_n - \ln n| = a_n \le 1 \le \varepsilon \ln n for all n≥Nn \ge N.
  18. By the definition of little o notation, step 17 says Hn−ln⁡n=o(ln⁡n)H_n - \ln n = o(\ln n). This is the definition of asymptotic equivalence, so Hn∼ln⁡nH_n \sim \ln n.

Idea

The integral ∫kk+1dtt\int_k^{k+1} \frac{dt}{t} lies between 1k+1\frac{1}{k+1} and 1k\frac{1}{k}. So the gap Hn−ln⁡nH_n - \ln n loses a little at each step, but it never drops below 00. A decreasing sequence that is bounded below converges. Since the gap stays bounded while ln⁡n→∞\ln n \to \infty, the two sequences are asymptotically equal.

Reading path

To understand this page from the ground up, read these 316 pages in order. The foundations come first. The path takes the proofs Proof that Darboux and Riemann integrals agree, Proof of the Cauchy–Hadamard theorem, Proof that a function with nonnegative second derivative is convex, Proof of the Weierstrass M-test, Proof of the limit of a sum of sequences, Proof of Rolle's theorem, Proof of the approximation property of the supremum, Proof that every sequence has a monotone subsequence, by peaks, Proof of the formula for the derivative of a polynomial, Proof of the reciprocal rule, Proof of the commutativity of addition by induction, Proof of term-by-term differentiation, Proof of the integral of a power, Proof of the epsilon-delta form of continuity, Proof of the power rule by induction, Proof that absolutely convergent series converge, Proof of the sum of a finite geometric series, Proof that convergent sequences are Cauchy, Proof that there is a natural number n with 1/n below any positive epsilon, Proof of the chain rule with an auxiliary difference quotient, Proof of the Cauchy criterion for series, Proof of the Cauchy criterion for sequences by the Bolzano–Weierstrass theorem, Proof of the reverse triangle inequality, Proof that the exponential series has infinite radius of convergence, Proof of the limit of a quotient of sequences, Proof that continuous functions on a closed bounded interval are uniformly continuous, Proof that a function with nonnegative derivative is increasing, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof of the root test, Proof of the double negation law by a truth table, Proof that the logarithm is the inverse of the exponential, Proof that power series converge uniformly on smaller intervals inside the radius of convergence, Proof of the extreme value theorem by the Bolzano–Weierstrass theorem, Proof of the derivative of the logarithm by the inverse function rule, Proof that the exponential function is positive, Proof of the uniqueness of limits, Proof of the logarithm of a quotient, Proof of strong induction from ordinary induction, Proof that power series are differentiable inside the radius of convergence, Proof of the limit of a product of sequences, Proof that uniform convergence of derivatives allows term-by-term differentiation, Proof that the absolute value is multiplicative, Proof of the squeeze theorem for sequences, Proof of Pascal's rule from the recursive definition, Proof that a differentiable function is convex iff its derivative is increasing, Proof of the linearity of differentiation, Proof that a quotient of continuous functions is continuous, Proof of Riemann's criterion for integrability, Proof of the sequential characterization of limits, Proof that the exponential function is strictly increasing, Proof that Cauchy sequences are bounded, Proof of the triangle inequality for real numbers, Proof of the epsilon-N definition of the limit of a sequence, Proof of the comparison test, Proof of the existence of the infimum by negation, Proof of the continuity of the inverse of a strictly monotone continuous function, Proof of Fermat's theorem on stationary points, Proof that limits preserve non-strict inequalities, Proof that 1 + x is at most exp x, Proof of the linearity of the integral, Proof of the factorial formula for binomial coefficients by induction, Proof that a function with positive derivative is strictly increasing, Proof of the second fundamental theorem of calculus, Proof of the intermediate value theorem by the supremum, Proof of the binomial theorem by induction, Proof that exponentials dominate powers in sequences, by the ratio of consecutive terms, Proof that differentiable functions are continuous, Proof that one-sided limits of a monotone function exist, Proof of the epsilon-delta form of the limit of a function, Proof of the well-ordering principle from strong induction, Proof of the Bolzano–Weierstrass theorem by a monotone subsequence, Proof of the Archimedean property in an Archimedean ordered field, Proof that a composition of continuous functions is continuous, Proof of the exponential of a sum by the Cauchy product, Proof that a decreasing sequence bounded below converges, Proof of the term test, Proof that the exponential function is its own derivative, by term-by-term differentiation, Proof that the reals are Archimedean from the completeness axiom, Proof of the ratio test, Proof that convergent sequences are bounded, Proof of the product rule, Proof of the monotone convergence theorem for sequences, Proof that continuity is equivalent to sequential continuity, Proof of the monotonicity of the integral, Proof of the boundedness theorem by Bolzano–Weierstrass, Proof of the ratio formula for the radius of convergence, Proof that a series of nonnegative terms converges iff its partial sums are bounded, Proof of the mean value theorem from Rolle's theorem, Proof of the logarithm of a product, Proof of the integral of 1/x, Proof that the Cauchy product of absolutely convergent series converges absolutely to the product, Proof that slopes of a convex function are increasing, Proof that continuous functions are Riemann integrable, Proof that the exponential function is strictly convex, Proof of the constant multiple rule.

  1. Big O notation definition
  2. Binomial coefficient definition
  3. Construction of the reals from Cauchy sequences concept
  4. Convex function definition
  5. Definition by recursion concept
  6. Element definition
  7. Factorial definition
  8. Group concept
  9. Harmonic number definition
  10. Integers object
  11. Limit point of a set definition
  12. Local maximum definition
  13. Mathematical induction concept
  14. Natural numbers object
  15. Ordered field definition
  16. Partition of an interval definition
  17. Peano axioms concept
  18. Proposition concept
  19. Rational numbers object
  20. Real numbers object
  21. Sequence definition
  22. Set bounded above definition
  23. Strictly monotone function definition
  24. Little o notation definition
  25. Proof of Pascal's rule from the recursive definition proof
  26. Proof that slopes of a convex function are increasing proof
  27. Strictly convex function definition
  28. Set definition
  29. Ring definition
  30. Ring of integers statement
  31. Limit of a function definition
  32. Local minimum definition
  33. Archimedean ordered field definition
  34. Successor function definition
  35. Mesh of a partition definition
  36. Refinement of a partition definition
  37. Riemann sum definition
  38. Conjunction definition
  39. Disjunction definition
  40. Implication definition
  41. Negation definition
  42. Predicate definition
  43. The reals form a field statement
  44. Real sequence definition
  45. Subsequence definition
  46. Infimum definition
  47. Supremum definition
  48. Asymptotic equivalence definition
  49. Pascal's rule statement
  50. Slopes of a convex function are increasing statement
  51. Ordered pair definition
  52. Commutative ring definition
  53. Continuity at a point definition
  54. Derivative definition
  55. One-sided limit definition
  56. Addition of natural numbers definition
  57. Proof of the Archimedean property in an Archimedean ordered field proof
  58. Riemann integrable function definition
  59. The rationals form a field statement
  60. The successor function is injective statement
  61. Zero is not a successor statement
  62. Biconditional definition
  63. Truth table concept
  64. Modus ponens concept
  65. Existential quantifier definition
  66. Universal quantifier definition
  67. Bounded sequence definition
  68. Cauchy sequence definition
  69. Geometric sequence definition
  70. Limit of a sequence definition
  71. Monotone sequence definition
  72. Sequence tending to infinity definition
  73. Series definition
  74. Completeness axiom statement
  75. Proof of the factorial formula for binomial coefficients by induction proof
  76. Cartesian product definition
  77. Continuous function definition
  78. Differentiable function definition
  79. One-sided derivative definition
  80. Archimedean property statement
  81. Proof of the commutativity of addition by induction proof
  82. Riemann integral definition
  83. Order on the natural numbers definition
  84. Subset definition
  85. The rationals form an ordered field statement
  86. Propositional logic concept
  87. Mathematical proof concept
  88. Upper and lower Darboux sums definition
  89. Uniqueness quantifier definition
  90. Limit superior definition
  91. Proof of the sum of a finite geometric series proof
  92. Convergent sequence definition
  93. Pointwise convergence definition
  94. Sequential continuity definition
  95. The sequence r^n tends to infinity for r > 1 example
  96. Cauchy product definition
  97. Partial sum definition
  98. Power series definition
  99. Factorial formula for binomial coefficients statement
  100. Proof that a composition of continuous functions is continuous proof
  101. Derivative function definition
  102. Binary relation definition
  103. Order on the reals definition
  104. Definite integral definition
  105. Commutativity of addition statement
  106. Proof of strong induction from ordinary induction proof
  107. Tautology definition
  108. Upper and lower Darboux integrals definition
  109. Uniform convergence definition
  110. Sum of a finite geometric series statement
  111. Radius of convergence definition
  112. Convergent series definition
  113. Proof of the binomial theorem by induction proof
  114. Higher derivative definition
  115. Antisymmetric relation definition
  116. Reflexive relation definition
  117. Transitive relation definition
  118. Interval definition
  119. Function definition
  120. Strong induction statement
  121. Uniform convergence on a set definition
  122. Logical equivalence definition
  123. Sum of a series definition
  124. Series of functions definition
  125. Absolute convergence definition
  126. Binomial theorem statement
  127. Second derivative definition
  128. Preorder definition
  129. Proof of the epsilon-delta form of continuity proof
  130. Proof of the epsilon-delta form of the limit of a function proof
  131. Proof of the well-ordering principle from strong induction proof
  132. Proof of the double negation law by a truth table proof
  133. Partial order definition
  134. Epsilon-delta definition of continuity statement
  135. Monotone function definition
  136. Epsilon-delta definition of a limit statement
  137. Well-ordering principle statement
  138. Double negation law statement
  139. Total order definition
  140. Uniform continuity definition
  141. Composition of continuous functions is continuous statement
  142. Proof by contradiction concept
  143. Proof that every sequence has a monotone subsequence, by peaks proof
  144. Uniform continuity on a set definition
  145. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  146. Every sequence has a monotone subsequence statement
  147. The reals form an ordered field statement
  148. Absolute value definition
  149. Proof of the approximation property of the supremum proof
  150. Proof of the existence of the infimum by negation proof
  151. Proof of the triangle inequality for real numbers proof
  152. Proof that the absolute value is multiplicative proof
  153. Proof of the epsilon-N definition of the limit of a sequence proof
  154. Approximation property of the supremum statement
  155. Existence of the infimum statement
  156. Triangle inequality statement
  157. Absolute value is multiplicative statement
  158. Epsilon-N definition of the limit of a sequence statement
  159. Proof of the intermediate value theorem by the supremum proof
  160. Proof that one-sided limits of a monotone function exist proof
  161. Proof that the reals are Archimedean from the completeness axiom proof
  162. Proof of the reverse triangle inequality proof
  163. Proof of the limit of a sum of sequences proof
  164. Proof of the squeeze theorem for sequences proof
  165. Proof of the uniqueness of limits proof
  166. Proof that limits preserve non-strict inequalities proof
  167. Intermediate value theorem statement
  168. Proof that differentiable functions are continuous proof
  169. Proof of the linearity of the integral proof
  170. Proof that convergent sequences are bounded proof
  171. Proof that convergent sequences are Cauchy proof
  172. The reals are Archimedean statement
  173. The sequence 1/n tends to zero example
  174. Proof that Cauchy sequences are bounded proof
  175. Proof of the term test proof
  176. Proof of the monotone convergence theorem for sequences proof
  177. Reverse triangle inequality statement
  178. Differentiable functions are continuous statement
  179. Proof of the continuity of the inverse of a strictly monotone continuous function proof
  180. Proof that there is a natural number n with 1/n below any positive epsilon proof
  181. Limit of a sum of sequences statement
  182. Linearity of the integral statement
  183. Uniqueness of limits statement
  184. Limits preserve non-strict inequalities statement
  185. Proof of the monotonicity of the integral proof
  186. Convergent sequences are bounded statement
  187. Proof of the ratio formula for the radius of convergence proof
  188. Squeeze theorem statement
  189. Proof that Darboux and Riemann integrals agree proof
  190. Convergent sequences are Cauchy statement
  191. Cauchy sequences are bounded statement
  192. Monotone convergence theorem for sequences statement
  193. Proof of the limit of a product of sequences proof
  194. There is a natural number n with 1/n below any positive epsilon statement
  195. Monotonicity of the integral statement
  196. One-sided limits of a monotone function exist statement
  197. Darboux and Riemann integrals agree statement
  198. Term test statement
  199. Proof that a series of nonnegative terms converges iff its partial sums are bounded proof
  200. Proof that a decreasing sequence bounded below converges proof
  201. The sequence r^n tends to zero for |r| < 1 example
  202. Proof of the sequential characterization of limits proof
  203. Proof that continuity is equivalent to sequential continuity proof
  204. Continuity of the inverse of a strictly monotone continuous function statement
  205. Limit of a product of sequences statement
  206. Decreasing sequence bounded below converges statement
  207. Geometric series example
  208. Proof of Riemann's criterion for integrability proof
  209. A series of nonnegative terms converges iff its partial sums are bounded statement
  210. Proof of the limit of a quotient of sequences proof
  211. Continuity is equivalent to sequential continuity statement
  212. Riemann's criterion for integrability statement
  213. Proof that the Cauchy product of absolutely convergent series converges absolutely to the product proof
  214. Sequential characterization of limits statement
  215. Proof of the root test proof
  216. Proof that exponentials dominate powers in sequences, by the ratio of consecutive terms proof
  217. Proof of the Cauchy–Hadamard theorem proof
  218. Proof of the ratio test proof
  219. Proof of the Bolzano–Weierstrass theorem by a monotone subsequence proof
  220. Proof of the comparison test proof
  221. Proof of the chain rule with an auxiliary difference quotient proof
  222. Proof of the product rule proof
  223. Proof of the linearity of differentiation proof
  224. Limit of a quotient of sequences statement
  225. Comparison test statement
  226. Cauchy product of absolutely convergent series statement
  227. Bolzano–Weierstrass theorem statement
  228. Exponentials dominate powers in sequences statement
  229. Chain rule statement
  230. Product rule statement
  231. Proof of the reciprocal rule proof
  232. Linearity of differentiation statement
  233. Proof that continuous functions on a closed bounded interval are uniformly continuous proof
  234. Proof that a quotient of continuous functions is continuous proof
  235. Ratio test statement
  236. Root test statement
  237. Proof of the boundedness theorem by Bolzano–Weierstrass proof
  238. Proof of the Cauchy criterion for sequences by the Bolzano–Weierstrass theorem proof
  239. Derivative of an inverse function statement
  240. Quotient of continuous functions is continuous statement
  241. Continuous functions on a closed bounded interval are uniformly continuous statement
  242. Proof of the constant multiple rule proof
  243. Reciprocal rule statement
  244. Proof of the power rule by induction proof
  245. Boundedness theorem statement
  246. Ratio formula for the radius of convergence statement
  247. Cauchy–Hadamard theorem statement
  248. Cauchy criterion for sequences statement
  249. Constant multiple rule statement
  250. Power rule statement
  251. Proof of the extreme value theorem by the Bolzano–Weierstrass theorem proof
  252. Uniformly Cauchy sequence of functions definition
  253. Proof of the Cauchy criterion for series proof
  254. Proof of the formula for the derivative of a polynomial proof
  255. Extreme value theorem statement
  256. Proof of Fermat's theorem on stationary points proof
  257. Cauchy criterion for series statement
  258. Derivative of a polynomial statement
  259. Proof that continuous functions are Riemann integrable proof
  260. Proof that absolutely convergent series converge proof
  261. Fermat's theorem on stationary points statement
  262. Continuous functions are Riemann integrable statement
  263. Proof of Rolle's theorem proof
  264. Absolutely convergent series converge statement
  265. Rolle's theorem statement
  266. Proof of the Weierstrass M-test proof
  267. Proof of the mean value theorem from Rolle's theorem proof
  268. Weierstrass M-test statement
  269. Mean value theorem statement
  270. Proof that power series converge uniformly on smaller intervals inside the radius of convergence proof
  271. Proof that a function with nonnegative derivative is increasing proof
  272. Proof that a differentiable function is convex iff its derivative is increasing proof
  273. Proof that uniform convergence of derivatives allows term-by-term differentiation proof
  274. Proof that a function with positive derivative is strictly increasing proof
  275. Power series converge uniformly on smaller discs inside the radius of convergence statement
  276. Proof of the second fundamental theorem of calculus proof
  277. A function with nonnegative derivative is increasing statement
  278. A differentiable function is convex iff its derivative is increasing statement
  279. Uniform convergence of derivatives allows term-by-term differentiation statement
  280. Second fundamental theorem of calculus statement
  281. A function with positive derivative is strictly increasing statement
  282. Proof that the exponential series has infinite radius of convergence proof
  283. Proof that a function with nonnegative second derivative is convex proof
  284. Proof of the integral of a power proof
  285. Proof of term-by-term differentiation proof
  286. The exponential series has infinite radius of convergence statement
  287. A function with nonnegative second derivative is convex statement
  288. Integral of a power statement
  289. Term-by-term differentiation statement
  290. Exponential function definition
  291. Proof of the exponential of a sum by the Cauchy product proof
  292. Proof that power series are differentiable inside the radius of convergence proof
  293. Exponential of a sum statement
  294. Power series are differentiable inside the radius of convergence statement
  295. Proof that the exponential function is positive proof
  296. Proof that the exponential function is its own derivative, by term-by-term differentiation proof
  297. The exponential function is positive statement
  298. The exponential function is its own derivative statement
  299. Proof that the exponential function is strictly increasing proof
  300. The exponential function is strictly increasing statement
  301. Proof that the exponential function is strictly convex proof
  302. Proof that 1 + x is at most exp x proof
  303. Natural logarithm definition
  304. The exponential function is convex statement
  305. 1 + x is at most exp x statement
  306. Proof that the logarithm is the inverse of the exponential proof
  307. Logarithm is the inverse of the exponential statement
  308. Proof of the logarithm of a product proof
  309. Proof of the derivative of the logarithm by the inverse function rule proof
  310. Logarithm of a product statement
  311. Derivative of the logarithm statement
  312. Proof of the logarithm of a quotient proof
  313. Logarithm of a quotient statement
  314. Proof of the integral of 1/x proof
  315. Integral of 1/x statement
  316. Proof that harmonic numbers grow like log n proof

Where this leads

6 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Euler%27s_constant, Introduction
About this page
TagQBE5S7KN2B
URIm2://QBE5S7KN2B
Kindproof
WritingW0 stub
MSC11B83, 26A12
ProvesHarmonic numbers grow like log n
UsesHarmonic number, Natural logarithm, Integral of 1/x, Logarithm of a quotient, Quotient of continuous functions is continuous, Continuous functions are Riemann integrable, Integral of a power, Linearity of the integral, Monotonicity of the integral, Monotone sequence, Monotone convergence theorem for sequences, Limits preserve non-strict inequalities, Archimedean property, The exponential function is strictly increasing, Little o notation, Asymptotic equivalence
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.