Dissecting a Wild Function: Derivative + Infinite Series + Infinite Product
Problem
Explain this to me
Explanation
We’re studying a complicated function
The goal here is to understand what each piece means and how it behaves, not to compute an exact closed form.
1. First term: derivative of a product with an integral
The first term is
Inside the derivative, we have a product:
- : a rapidly growing smooth function.
- : an integral whose upper limit is , so it depends on .
To differentiate , use the product rule:
- Derivative of :
- Derivative of the integral : by the Fundamental Theorem of Calculus, if then Here
so
Putting this together:
So the first term is a smooth function built from:
- a growing factor ,
- an accumulated integral ,
- plus a contribution from the instantaneous value of the integrand at .
In the visualization, we’ll treat this term as a green-ish curve you can show or hide, and we approximate the integral numerically.
2. Second term: an infinite oscillating series
The second term is
Features:
- Oscillation: each term is a cosine with phase ; varying both in and .
- Alternating sign: flips the sign of each term.
- Damping: the factor makes the terms shrink quickly, so the series converges for all real .
Mathematically:
- For large , and converges, so is absolutely convergent.
- Being a nice sum of smooth terms, under standard theorems, is smooth in and you can usually differentiate term-by-term on bounded intervals.
In the visualization, we truncate the sum at some (e.g., or user-controlled), and show how the partial sums approximate the series as a magenta curve.
3. Third term: an infinite product
The third term is
This is an infinite product: instead of adding infinitely many terms, we multiply infinitely many factors.
Each factor:
- .
- For fixed , as , , so each new factor is very close to 1.
Convergence idea:
- For large , behaves like , so the series converges.
- A classical criterion: if , then converges to a nonzero limit (assuming terms avoid hitting 0).
- Here, , so the product converges for any fixed real .
At , every factor becomes , so
In the visualization, we approximate the product up to some , track the cumulative product, and plot an orange curve.
4. Putting it together: the full function
We define
Conceptual behavior:
- Smoothness: each component (derivative-of-integral, convergent series, convergent product) is smooth in . So is very smooth.
- Growth / decay:
- can grow quickly because of .
- stays bounded, oscillating.
- is positive and typically not enormous because each factor is close to 1.
At :
- Integral term:
- .
- So the product inside the derivative is .
- But we care about , the derivative at 0:
- Series term:
This has no simple closed form, but it converges to some finite real number.
- Product term:
So
In other words, is a specific real constant, determined by that convergent series minus 1.
5. What the visualization shows
The interactive canvas helps you build intuition by:
-
Plotting on a horizontal -axis (with a Cartesian transform) the following curves:
- First term (cyan/green): derivative of the integral-product.
- Series (pink/magenta): partial sums with terms.
- Product (yellow/orange): partial products with factors.
- Full function (bright cyan): combination of the three.
-
Letting you control:
- the x–range so you can zoom in/out,
- the number of terms used to approximate the series and product,
- which components are visible.
-
Using light animation to show how partial sums/products stabilise as increases.
Focus points while exploring:
- Near : observe that all components behave smoothly and that the product tends to 1.
- As grows: watch the first term grow due to , while the series still oscillates and the product deforms more gently.
- Vary the term count: see partial sums/products converge visually.
This doesn’t give a closed-form formula for , but it gives a strong qualitative picture of how each component behaves and how they interact to form the full function.