A Wild Function: Derivative + Integral + Series + Infinite Product
Problem
Explain this
Explanation
We are building and visualizing a very complicated function
This panel explains each piece conceptually, and the canvas shows how these pieces combine and behave as you vary parameters.
1. First term: derivative of a product with an integral
Consider
The first term of is . This is a product of:
- an outer factor , and
- an integral that depends on the upper limit .
To differentiate , we use:
- Product Rule
with
- , so ,
- , where
- Fundamental Theorem of Calculus (FTC):
Putting these together:
So the first term of is a combination of:
- the accumulated area under the curve from 0 to , and
- the instantaneous value of at , all weighted by the growing factor .
In the visualization, you can:
- slide to see how the integral builds up,
- see how amplifies this accumulation, and
- see the derivative as a moving point on a curve.
2. Second term: oscillating infinite series
Features:
- Oscillations: each term is a cosine with phase , so as increases, the oscillation frequency in becomes more and more rapid.
- Alternating sign: the factor makes successive terms flip sign.
- Decay: makes each term smaller as grows.
The decay is strong enough that the series converges for every real . Intuitively, the more we add high-index terms, the more refined “ripples” we add, but they are smaller and smaller.
In the visualization, you can:
- adjust the number of terms used in the partial sum ,
- see the graph of this finite approximation and how adding more terms refines the wavy structure but does not blow up.
3. Third term: infinite product
For each fixed :
- We multiply many small factors .
- As grows, tends to 0 and , so each factor tends to 1.
- The infinite product converges if these small deviations from 1 are “summably small”.
Intuitively, behaves like:
- 1 when is very small (all factors are close to 1),
- something more structured for larger , depending on the whole infinite ladder of multiplicative corrections.
In the visualization, we approximate
with a finite and show how the curve stabilizes as you increase .
4. The full function
Putting everything together,
Each part contributes a different "personality":
- First term : smooth growth shaped by the integral and boosted by the exponential.
- Second term : oscillatory “ripples” at many scales due to the cosine series.
- Third term : more subtle multiplicative shaping through the infinite product.
Around special points (like ) you can analyze:
- The integral near 0: the integrand is continuous and bounded, so for small .
- The exponential: .
- The series and the product can be studied term-by-term at :
- — a convergent numerical constant.
- .
The visualization does not attempt to compute exact symbolic values but lets you see how:
- the derivative of the integral term behaves as you move ,
- the partial sums of the series add finer oscillations,
- the partial products shape the overall magnitude.
How to use the visualization
- Use the x-position slider to explore along the horizontal axis.
- Use term / product depth sliders to see how the series and product parts approach their infinite limits.
- Use component toggles to isolate each building block: integral-derivative, series, and product.
- Watch the animated construction along the curve as time passes (the tracer moves with a parameter along the graph).
Mathematically, this kind of function is an example used to discuss:
- convergence (of the series and product),
- smoothness (differentiability, continuity),
- and how powerful tools (FTC, product rule, infinite sums/products) combine to create highly nontrivial functions.
The canvas turns these abstract constructions into a live, layered picture of how is built.