Excellent and insightful question! This touches on a deep and fundamental concept in analysis regarding the boundary between convergence and divergence.
The answer to both of your questions is yes. Let's construct such functions.
The "Boundary" Functions
First, let's formalize the sequence of functions you mentioned. Let's define the iterated logarithm as:
log^(1)(x) = log(x)
log^(2)(x) = log(log(x))
log^(k)(x) = log(log^(k-1)(x))
The functions in your sequence are:
F_0(x) = x
F_1(x) = x * log(x) = x * log^(1)(x)
F_2(x) = x * log(x) * log(log(x)) = x * log^(1)(x) * log^(2)(x)
F_k(x) = x * Π_{i=1 to k} log^(i)(x)
For any of these functions, the integral of its reciprocal diverges. For example, let's check F_k(x) using a u-substitution where u = log^(k+1)(x):
du = 1 / (x * log(x) * ... * log^(k)(x)) dx
So, ∫ 1/F_k(x) dx = ∫ du = u = log^(k+1)(x).
The definite integral from some large number a to infinity is:
∫[a, ∞] 1/F_k(x) dx = [log^(k+1)(x)]_a^∞ = ∞
This confirms that the reciprocal integral of every function in your sequence diverges.
Part 1: Finding f(x)
Question: Is there a function f(x) that grows faster than all F_k(x) yet ∫ 1/f(x) dx still diverges?
Yes. We need to construct a function that eventually includes more log terms than any fixed k. We can do this by making the number of log terms a function of x itself.
1. Define the Inverse Function
Let's use the iterated logarithm function, often written as log*(x). This function is the inverse of tetration; it counts how many times you must apply the log function to x to get a result less than or equal to 1.
log*(x) grows incredibly slowly. For example:
log*(e) = 1
log*(e^e) = 2
log*(e^(e^e)) ≈ log*(1.5 x 10^9) = 3
2. Construct f(x)
Let K(x) = floor(log*(x)). Now, we define our function f(x) as:
f(x) = x * Π_{i=1 to K(x)} log^(i)(x)
3. Prove f(x) Grows Faster
To show f(x) grows faster than any F_k(x), we need to show that lim_{x→∞} f(x) / F_k(x) = ∞ for any fixed integer k.
For any k, as x becomes large enough, K(x) = floor(log*(x)) will eventually become larger than k. For such x:
f(x) / F_k(x) = (x * Π_{i=1 to K(x)} log^(i)(x)) / (x * Π_{i=1 to k} log^(i)(x))
= Π_{i=k+1 to K(x)} log^(i)(x)
As x → ∞, we have K(x) → ∞. The product on the right is a product of terms that are all greater than 1 and growing, so the product goes to infinity. Thus, f(x) grows faster than any function in your sequence.
4. Prove the Integral of 1/f(x) Diverges
This is the clever part. We analyze the integral ∫ 1/f(x) dx by breaking it up into intervals where K(x) is constant.
Let t_n be the number such that log^(n)(t_n) = 1. (So t_1 = e, t_2 = e^e, etc.).
For any x in the interval [t_n, t_{n+1}), the value of K(x) = floor(log*(x)) is fixed at n.
So, the integral from some t_N to infinity can be written as a sum:
∫[t_N, ∞] 1/f(x) dx = Σ_{n=N to ∞} ∫[t_n, t_{n+1}] 1/f(x) dx
On each interval [t_n, t_{n+1}], f(x) = x * Π_{i=1 to n} log^(i)(x). Let's evaluate the integral over one such interval:
∫[t_n, t_{n+1}] 1 / (x * Π_{i=1 to n} log^(i)(x)) dx
The antiderivative is log^(n+1)(x). So the definite integral is:
[log^(n+1)(x)]_{t_n}^{t_{n+1}} = log^(n+1)(t_{n+1}) - log^(n+1)(t_n)
By our definition of t_n:
log^(n+1)(t_{n+1}) = 1
log^(n+1)(t_n) = log(log^(n)(t_n)) = log(1) = 0
So, the integral over the enormous interval [t_n, t_{n+1}] is exactly 1 - 0 = 1.
The total integral is therefore Σ_{n=N to ∞} 1, which is an infinite sum of 1s and clearly diverges.
Part 2: Finding a Faster g(x)
Question: Is there a g(x) that grows faster than f(x) and still meets the same constraint?
Yes. We can apply the exact same logic again. The key is to find a function that grows to infinity, but does so extremely slowly, and multiply f(x) by it.
Let's use our f(x) from Part 1. We want to find a g(x) such that g(x)/f(x) → ∞ and ∫ 1/g(x) dx diverges.
1. Construct g(x)
Let's multiply f(x) by an even more slowly growing term derived from log*(x). A great candidate is log(log*(x)).
g(x) = f(x) * log(log*(x))
g(x) = (x * Π_{i=1 to log*(x)} log^(i)(x)) * log(log*(x))
2. Prove g(x) Grows Faster
This is straightforward. lim_{x→∞} g(x)/f(x) = lim_{x→∞} log(log*(x)) = ∞.
3. Prove the Integral of 1/g(x) Diverges
We use the same interval decomposition as before.
∫[t_N, ∞] 1/g(x) dx = Σ_{n=N to ∞} ∫[t_n, t_{n+1}] 1/g(x) dx
On the interval [t_n, t_{n+1}]:
f(x) = x * Π_{i=1 to n} log^(i)(x)
n ≤ log*(x) < n+1, which means log(n) ≤ log(log*(x)) < log(n+1)
- So,
1/log(n+1) < 1/log(log*(x)) ≤ 1/log(n)
Let's analyze the integral over the interval [t_n, t_{n+1}]:
∫[t_n, t_{n+1}] 1 / (f(x) * log(log*(x))) dx
> ∫[t_n, t_{n+1}] 1 / (f(x) * log(n+1)) dx
= (1/log(n+1)) * ∫[t_n, t_{n+1}] 1/f(x) dx
We already know that ∫[t_n, t_{n+1}] 1/f(x) dx = 1. So, the integral of 1/g(x) over this interval is greater than 1/log(n+1).
The total integral is therefore greater than the sum Σ_{n=N to ∞} 1/log(n+1). The series Σ 1/log(n) diverges by comparison with the harmonic series (Σ 1/n), since log(n) < n.
Therefore, the integral ∫ 1/g(x) dx also diverges.
The General Principle
This process can be repeated infinitely. This idea is central to a class of functions known as Hardy's logarithmico-exponential functions. The general principle, established by G.H. Hardy, is that there is no "sharp" boundary between convergence and divergence.
- For any function
h(x) where ∫ 1/h(x) dx diverges, you can always find a function m(x) that grows faster than h(x) (m = ω(h)) for which ∫ 1/m(x) dx also diverges.
- Symmetrically, for any function
h(x) where ∫ 1/h(x) dx converges, you can always find a function m(x) that grows slower than h(x) (m = o(h)) for which ∫ 1/m(x) dx also converges.
You can continue our construction indefinitely:
g(x) * log(log(log*(x)))
g(x) * log(log(log*(x))) * log(log(log(log*(x))))
...and so on. Each new function will grow faster than the last, and the integral of its reciprocal will still diverge.