How can the n-th derivative of a parametric quotient be read off one definite integral?
The identity dsndn[(F(bs)−F(as))/s]=∫abtnf(n)(ts)dt turns repeated quotient rules into one integral. Compute it for sine, cosine, exponential and hyperbolic kernels, for shifted denominators s−χ, s2−c2 and (s−χ1)(s−χ2) through the operators Ω, and for the power kernel st — with exact closed forms, removable singularities as limits, and two independent numerical checks. Fubini's worked integrals and the differential form of the Laplace transform complete the chapter.
All quantities are real; angles are in radians; s is the parameter that is differentiated, t the integration variable. Throughout, f(n) denotes the n-th derivative of fwith respect to its argument, so that ∂snf(ts)=tnf(n)(ts) — the power tn enters exactly once.
§1.0.1 A General Integral Identity, p. 11
A general integral identity
Let φ(s)=∫abf(ts)dt, where f∈Cn(I) and I is an open interval containing the compact set [as,bs]; let F′=f on I. For s=0 the substitution u=ts gives
φ(s)=s1∫asbsf(u)du=sF(bs)−F(as)(1.1)
Differentiation under the integral sign (Leibniz's rule) and induction give
φ(n)(s)=∫abtnf(n)(ts)dt(1.4)
dsndn(sF(bs)−F(as))=∫abtnf(n)(ts)dt(1.5)
Removable singularity at s=0 (book, removable-singularity box in §1.0.5). Since F(bs)−F(as)=f(0)(b−a)s+O(s2), lims→0sF(bs)−F(as)=f(0)(b−a); with φ(0):=f(0)(b−a) the identities (1.5)–(1.9) hold at s=0, where φ(n)(0)=f(n)(0)n+1bn+1−an+1.
§1.0.3 The Unified Sine Kernel Formulation, p. 12 · §1.0.4 The Unified Cosine Kernel Formulation, p. 12
Unified sine and cosine kernels
A continuous phase shift nπ/2 replaces the even/odd case split: ∂snsin(ts)=tnsin(ts+2nπ) (the book's (1.6) writes the left side as f(n)(ts); it is the s-derivative, which already contains tn).
The first is Frullani's integral; Fubini's theorem is the mechanism used to evaluate it.
§1.0.8 Differential Representation of the Laplace Transform, p. 33
Differential representation of the Laplace transform
Letting b→∞ in the decay identity with a=0 (Res>0): (−1)n∫0∞tne−stdt=Dsn(1/s). For f(t)=∑antn (t≥0) and a fixed real s>0 with the sufficient condition ∑∣an∣n!/sn+1<∞, Tonelli and Fubini justify
Loading the interactive calculator… It runs entirely in your browser and needs JavaScript.
Loading the Fubini calculator… It runs entirely in your browser and needs JavaScript.
Loading the Laplace calculator… It runs entirely in your browser and needs JavaScript.
From the book
Worked examples
Every example below is taken from Chapter 1 of the corrected book. The value in the box is the book's exact result; underneath, this page recomputes it from the closed form, by automatic differentiation of the original expression, and by quadrature of the integral form. Each example is also a preset in the calculator.
§1.0.5 Application to Exponential and Hyperbolic Functions, p. 13
Third derivative by boundary inversion
D3=ds3d3(scos(πs)−1)s=2
Sine kernel with a=π,b=0
D3=∫π0t3sin(2t+23π)dt=∫0πt3cos(2t)dt
Book (corrected):43π2
Closed form (engine)
7.402203300817
AD of the expression
7.402203300817
Quadrature of the integral form
7.402203300817
Verdict
All three agree with the book
Engine's exact output: 43π2
§1.0.5 Application to Exponential and Hyperbolic Functions, p. 13
Third derivative of the normalised sine kernel
Dsin=ds3d3(ssin(5s))
Cosine kernel with a=0,b=5
Dsin=∫05t3cos(ts+23π)dt=∫05t3sin(ts)dt
Book (corrected):(−s125+s330)cos(5s)+(s275−s46)sin(5s)
Closed form (engine), at s = 1
−93.11368257076
AD of the expression
−93.11368257076
Quadrature of the integral form
−93.11368257076
Verdict
All three agree with the book
Engine's exact output: 69sin(5)−95cos(5)
§1.0.5 Application to Exponential and Hyperbolic Functions, p. 13
Second derivative of a damped quotient
D2=ds2d2(se−s−e−2s)s=3
Decay exponential, n=2,a=1,b=2
D2=∫12t2e−3tdt
Book (corrected):2717e−3−50e−6
Closed form (engine)
0.02675713160815
AD of the expression
0.02675713160815
Quadrature of the integral form
0.02675713160816
Verdict
All three agree with the book
Engine's exact output: 2717e−3−2750e−6
§1.0.6 An Operator Formulation, p. 17
Quadratic denominator, sine operator
ds2d2(s2−1sin2s)s=2=21[Ω2(2,1)−Ω2(2,−1)]
Ω2(2,1)=−2sin4−4cos4
Ω2(2,−1)=−2734sin4−94cos4
Book (corrected):−2710sin4−916cos4=27−10sin4−48cos4
Closed form (engine)
1.442330324242
AD of the expression
1.442330324242
Quadrature of the integral form
1.442330324242
Verdict
All three agree with the book
Engine's exact output: −2710sin(4)−916cos(4)
§1.0.6 An Operator Formulation, p. 17
Second derivative via operator mapping
ds2d2(s2−1sinπs)s=2=21[Ω2S(2,1)−Ω2S(2,−1)]
Ω2S(2,1)=∫0πt2costdt=−2π
Ω2S(2,−1)=∫0πt2cos3tdt=−92π
Book (corrected):−98π
Closed form (engine)
−2.792526803191
AD of the expression
−2.792526803191
Quadrature of the integral form
−2.792526803191
Verdict
All three agree with the book
Engine's exact output: −98π
§1.0.6 An Operator Formulation, p. 17
Third derivative, cosine operator, scaled quadratic
Book (corrected):150062542624−122572π2≈−0.5516868693
The book prints Ω₃(3, 1/2) ≈ −4.58223; the exact value gives Ω₃(3, 1/2) = 96/625 − 12π²/25 ≈ −4.583810. The exact form in the book is correct; only the decimal is off.
Closed form (engine)
−0.5516868692552
AD of the expression
−0.5516868692552
Quadrature of the integral form
−0.5516868692552
Verdict
All three agree with the book
Engine's exact output (before the factor 1/4): −1225288π2+1500625170496
§1.0.6 An Operator Formulation, p. 17
Second derivative, cosine operator
ds2d2(s2−4cos2s)s=3=41[Ω2c(3,2)−Ω2c(3,−2)]
Ω2c(3,2)=4sin6−2cos6
Ω2c(3,−2)=254sin6−12598cos6
Book (corrected):2524sin6−12538cos6
Closed form (engine)
−0.5601306454127
AD of the expression
−0.5601306454127
Quadrature of the integral form
−0.5601306454127
Verdict
All three agree with the book
Engine's exact output: 2524sin(6)−12538cos(6)
§1.0.6 An Operator Formulation, p. 17
Example 1.0.1 · exponential shift, singularity at the origin
ds2d2(se2s)s=3=Ω22(3,0)
∫02t2e3tdt+272=(2726e6−272)+272
Book (corrected):2726e6
Closed form (engine)
388.4869863263
AD of the expression
388.4869863263
Quadrature of the integral form
388.4869863263
Verdict
All three agree with the book
Engine's exact output: 2726e6
§1.0.6 An Operator Formulation, p. 17
Example 1.0.2 · exponential shift, displaced singularity
The book prints D_asym ≈ 0.1157336; the exact value gives 11/108 sin 2 − 1/18 cos 2 = 0.1157329…. The exact form in the book is correct; only the decimal is off.
Closed form (engine)
0.1157328955034
AD of the expression
0.1157328955034
Quadrature of the integral form
0.1157328955034
Verdict
All three agree with the book
Engine's exact output: 10811sin(2)−181cos(2)
§1.0.6 An Operator Formulation, p. 17
Unified exponential (power) kernel
ds2d2(lnss1−s0)s=e=e21∫01(t2−t)etdt
e21[et(t2−3t+3)]01
Book (corrected):e2e−3
Closed form (engine)
−0.0381264085384
AD of the expression
−0.0381264085384
Quadrature of the integral form
−0.0381264085384
Verdict
All three agree with the book
Engine's exact output: e−1−3e−2
§1.0.7 Worked Integral Problems via Fubini’s Theorem, p. 27
Fubini worked integrals (n = 0)
Integral
Book
Value
Quadrature
∫0∞se−s−e−2sds
ln2
0.6931471806
0.6931471806
∫0∞2sπ(erf2s−erfs)ds
2πln2
0.6142856947
0.6142856947
∫01lnss2−sds
ln23
0.4054651081
0.4054651081
∫0∞s(1+s2)arctansds
2πln2
1.088793045
1.088793045
∫0∞te−tsintdt
4π
0.7853981634
0.7853981634
The book's summary table prints (√π/2) ln 2 ≈ 0.613706; the correct decimal is 0.6142857. The exact form is right.
ds3d3(s−2se2s+1)s=3 — split with Property 1 (linearity) after writing s−2s=1+s−22.Answer4835.14552191 (by automatic differentiation of the whole quotient)
ds4d4(s−πs2sin3s)s=π/2 — a polynomial factor; combine Leibniz with Ωˢ.Answer−123.016060748 (by automatic differentiation of the whole quotient)
Three independent computations per row: AD — Taylor-mode automatic differentiation (jets) of the original quotient, with no integral and no partial fractions; integral form — adaptive Gauss–Kronrod quadrature of the book's integral representation (for Ω: quadrature of the integral part plus the singular part); closed form — the tabular (Leibniz) expression, or its convergent power series at a removable singularity. Agreement is judged relative to the larger value or to 10⁻¹² of ∫|integrand|.
Numerical verification of the Chapter 1 identities
Case
n
s
AD
Integral form
Closed form
Method
Verdict
sin kernel, [0, 1]
0
2
0.708073418274
0.708073418274
0.708073418274
AD series at 0 · series
Agree (Δ ≤ 2.2 × 10⁻¹⁶)
sin kernel, [0, 1]
1
2
0.100612004276
0.100612004276
0.100612004276
AD series at 0 · series
Agree (Δ ≤ 1.4 × 10⁻¹⁷)
sin kernel, [0, 1]
2
2
−0.30868542255
−0.30868542255
−0.30868542255
AD series at 0 · series
Agree (Δ ≤ 5.6 × 10⁻¹⁷)
sin kernel, [0, 1] (high order)
20
2
0.0447483819611
0.0447483819611
0.0447483819611
AD series at 0 · series
Agree (Δ ≤ 1.4 × 10⁻¹⁷)
cos kernel, [−1, 3/2], negative s
9
-4/5
5.15691913331
5.15691913331
5.15691913331
AD series at 0 · series
Agree (Δ ≤ 8.9 × 10⁻¹⁶)
e^u kernel, [1, 2], high order
20
3
3.1589796232 × 10⁷
3.1589796232 × 10⁷
3.1589796232 × 10⁷
AD series at 0 · series
Agree (Δ ≤ 7.5 × 10⁻⁹)
e^(−u) kernel near s = 0
15
1e-6
−4095.99228989
−4095.99228989
−4095.99228989
AD series at 0 · series
Agree (Δ ≤ 4.5 × 10⁻¹³)
sinh kernel exactly at s = 0
3
0
3.984375
3.984375
3.984375
AD series at 0 · limit
Agree (Δ ≤ 0)
cosh kernel, reversed limits
4
3/4
−12.5821450119
−12.5821450119
−12.5821450119
AD series at 0 · series
Agree (Δ ≤ 3.6 × 10⁻¹⁵)
Ωˢ, removable s = χ = π/2
4
pi/2
−6.4
−6.4
−6.4
AD series at pole · series
Agree (Δ ≤ 0)
Ωᶜ, s² − 1/4 (book §1.0.6, ×4)
3
3
−2.20674747702
−2.20674747702
−2.20674747702
AD direct · tabular
Agree (Δ ≤ 1.3 × 10⁻¹⁵)
Ωᵉ⁻, χ = −2/3, n = 10
10
5/4
7690.52695531
7690.52695531
7690.52695531
AD direct · tabular
Agree (Δ ≤ 3.6 × 10⁻¹²)
Ωᵉ, close to the pole s = 1
5
1.01
−3.26193819415 × 10¹⁴
−3.26193819415 × 10¹⁴
−3.26193819415 × 10¹⁴
AD direct · tabular
Agree (Δ ≤ 0)
Non-symmetric quadratic, n = 20
20
2
1.7563216671 × 10¹¹
1.7563216671 × 10¹¹
1.7563216671 × 10¹¹
AD direct · tabular
Agree (Δ ≤ 9.2 × 10⁻⁵)
sin(πs)/(s² − 1) at the removable s = −1
2
-1
−4.38231461665
−4.38231461665
−4.38231461665
AD series at pole · series
Agree (Δ ≤ 8.9 × 10⁻¹⁶)
χ-ladder (1.19), n = 12
12
9/4
464482.658013
464482.658013
464482.658013
AD direct · tabular
Agree (Δ ≤ 2.9 × 10⁻⁹)
power kernel at s = 1 (removable)
2
1
4.58333333333
4.58333333333
4.58333333333
series · limit
Agree (Δ ≤ 8.9 × 10⁻¹⁶)
power kernel next to s = 1
6
1.001
23.3053835022
23.3053835022
23.3053835022
series · series
Agree (Δ ≤ 5 × 10⁻¹⁴)
power kernel, book example
2
e
−0.0381264085384
−0.0381264085384
−0.0381264085384
series · series
Agree (Δ ≤ 1.4 × 10⁻¹⁷)
In addition, the test suite compares the engine with 407 reference values computed independently with sympy (exact differentiation, 250-digit evaluation) and mpmath (quadrature): orders n = 0, 1, 2, 5–20, points next to and exactly at removable singularities, reversed and negative limits, and genuine poles approached from outside. The reference script is scratch/ch1/sympy_check.py; the values live in lib/math/ch1/fixtures/reference.json.
Near-singular zone: ∣s−χ∣⋅b≤max(6,2n+1) — there the direct quotient would lose about (n+1)!/Xn+1 to cancellation, so series are used instead.
When the formulas hold
Assumptions & domain
Hypotheses (as stated in the book)
(1.5): f∈Cn(I) on an open interval I⊃[as,bs], F′=f; the substitution u=ts needs s=0.
Ω operators: real b; α>0 for e±αs (book §1.0.6); s=χ unless the numerator vanishes at χ.
Quadratics: c=0 (prefactor 1/(2c)); χ1=χ2. A double root needs the χ-ladder (1.18)–(1.20), which the book states for the sine kernel.
Power kernel: s>0 (real lns); Case III additionally needs a,b>−1 for ∫01stds to converge.
Fubini cases: a,b>0 for Frullani-type integrals; z>0 for ∫0∞e−ztsint/tdt (absolute integrability on [ε,z]×[0,∞)).
Laplace (§1.0.8): real s>0 and ∑∣an∣n!/sn+1<∞ — a sufficient condition only.
Removable singularities and limits
s=0 in (1.5)–(1.9): φ(0)=f(0)(b−a) and φ(n)(0)=f(n)(0)(bn+1−an+1)/(n+1); the page shows this limit exactly.
s=χ for f(bs)/(s−χ) when f(bχ)=0 (e.g. sin(bs) with bχ∈πZ, cos(bs) with bχ∈2π+πZ): the singular part of Ω is exactly 0 and Ω equals its (finite) integral part. Detected exactly when bχ is a rational multiple of π.
s=1 for the power kernel: lns=0, φ(1)=b−a.
Near these points the closed forms contain cancelling terms 1/sj+1; the engine switches to convergent power series (and AD to the Taylor series about the singular point) inside the zone ∣s−χ∣b≤max(6,(n+1)/2).
Genuine poles (numerator =0) are refused at the pole and drawn as gaps in the plots; close to a pole the values are large but exact.
Supported, and safe limits
Orders 0≤n≤20 (power kernel: n≤12).
∣a∣,∣b∣,∣b∣Ω≤50, ∣s∣≤100, and ∣bs∣≤500 for growing kernels so that e∣bs∣ stays inside double precision.
Exact output when every input is a rational number or a rational multiple of π (type 3/4, 0.25, pi/2, 3pi/4). The constant e is accepted as a number; the power kernel prints exact values at s=e and s=1.
All identities on this page are identities between ordinary functions of a real variable; no distributional statements are involved.
Not supported
Arbitrary user-entered kernels or numerators (only those treated in Chapter 1).
Hyperbolic numerators over s−χ or s2−c2 (not treated by the book or the repository).
Complex parameters; fractional or negative orders.
The proof of the Case V formula for Dn(1/(s2+1)): the book defers it to Chapters 2 and 4; here it is only checked numerically.
Where this comes from
Source
Corrected book
Analytical Methods for Higher-Order Derivatives, Integral Transforms, and Matrix-Based Techniques (corrected edition). Section numbers and printed pages below are generated from the corrected PDF.
Ch. 1Finding Higher-Order Parametric Derivatives Using Definite Integralsp. 11
§1.0.1A General Integral Identityp. 11
§1.0.2Application to Trigonometric Functionsp. 12
§1.0.3The Unified Sine Kernel Formulationp. 12
§1.0.4The Unified Cosine Kernel Formulationp. 12
§1.0.5Application to Exponential and Hyperbolic Functionsp. 13
§1.0.6An Operator Formulationp. 17
§1.0.7Worked Integral Problems via Fubini’s Theoremp. 27
§1.0.8Differential Representation of the Laplace Transformp. 33
Reference implementation
The interactive cases on this page are ported from the author's open-source lab. Where the repository and the corrected book disagree, the book is followed and the difference is listed below.
Calculator integrand, denominator s (GitHub .py) §1.0.1
Integrand built as tn⋅fn with fn=(bt)nsin(bts+nπ/2) (and (±αt)ne±αts), integrated over [0,b]: the power of t is applied twice (t2n) and the argument is rescaled by b, so the "integral representation" disagrees with the derivative it is printed next to.
dsndn[(F(bs)−F(as))/s]=∫abtnf(n)(ts)dt with f(n) the derivative in the argument; e.g. ∫abtnsin(ts+nπ/2)dt — tn appears once (eq. 1.5, 1.7, 1.9).
Meaning of f(n)(ts) in (1.6)/(1.8) §1.0.3
GitHub text copies "f(n)(ts)=tnsin(ts+nπ/2)" and then inserts it into ∫tnf(n)(ts)dt, which counts tn twice.
In (1.6)/(1.8) the left side is the s-derivative ∂snf(ts)=tnf(n)(ts); in (1.5) f(n) is the argument derivative. The site writes ∂sn explicitly; the book's results (1.7), (1.9) are unaffected.
Hyperbolic kernels §1.0.5
∫abtndsndn[sinh(ts)]dt=dsndn(scoshbs−coshas) (and the same for cosh): an extra tn, since dsndnsinh(ts) already contains tn.
An earlier manuscript (§1.0.6, flagged in a previous review) printed 21[Ωnf(s,c)−Ωnf(s,−c)] for general c.
dsndn(s2−c2f(bs))=2c1[Ωnf(s,c)−Ωnf(s,−c)]; the corrected book prints 1/(2c) and uses 21 only in the specialisation c=1, s=±1. The GitHub app already shows 1/(2c).
Calculator, exponential numerators over s §1.0.5
"s (no shift)" fixes a=0 and the upper limit b=α, so "e^{αs}" over s computes (eαs−1)/s, and "e^{−αs}" multiplies the expression by (−1)n before differentiating.
General limits a,b in (1.5); e±αs/s itself is the χ=0 case of Ωe, Ωe− (book's short derivation: dsndnseαs=∫0αtnetsdt+sn+1(−1)nn!).
Quadratic denominators in the calculator §1.0.6
GitHub app states that the quadratic case uses partial fractions and the Ω operators, but differentiates the quotient directly with sympy.
Evaluated as 2c1[Ω(s,c)−Ω(s,−c)] (and χ1−χ21[Ω(s,χ1)−Ω(s,χ2)]) as in the book; direct differentiation is used only as the independent AD check.
Admissible orders §1.0.7
GitHub calculator: n≥1.
n≥0 (the n=0 case is the base identity used for the Fubini integrals in §1.0.7).
Removable singularity at s=0 §1.0.5
Old site: "(F(bs) − F(as))/s … at s = 0 it is not defined", inputs restricted to ∣s∣≥0.25; GitHub app: no treatment (symbolic substitution gives 0/0).
s=0 is removable: φ(0):=f(0)(b−a) and (1.5)–(1.9) hold at s=0, with φ(n)(0)=f(n)(0)n+1bn+1−an+1. Likewise s=χ when f(bχ)=0, and s=1 for the power kernel.
Order of the limits a,b §1.0.5
Old site: identity panel required a<b.
Any real a,b; the book uses boundary inversion (a=π, b=0 in Example 1, ∫π0=−∫0π).
Subject of the old lab §1
Old "Derivative Lab" (lib/math/derivatives.ts): n-th derivatives of sin(ax), cos(ax), eax, sinh, cosh, 1/(x2+a2) in x, and the identity only for sine/cosine kernels with n≤8.
Chapter 1 concerns s-derivatives of quotients: (1.5) for all six kernels, the Ω operators for s−χ, s2−c2, (s−χ1)(s−χ2), the χ-ladder, the power kernel, Fubini integrals and the Laplace representation. 1/(s2+1) appears only as Case V (s>0), with its proof deferred to Chapters 2 and 4.
Printed decimal of Ω3(3,21) (corrected book) §1.0.6
Ω3(3,1/2)=62596−2512π2≈−4.58223.
62596−2512π2=−4.583810… (exact form unchanged; the final f′′′(3)≈−0.5516868693 is right).
10811sin2−181cos2=0.1157329… (intermediate 0.0926136); exact form unchanged.
Printed decimal of 2πln2 (corrected book) §1.0.7
2πln2≈0.613706 (Case 2 and the summary table).
2πln2=0.6142857…; exact form unchanged.
Parity with the GitHub (Streamlit) lab
Every section of the repository app is ported: the general identity, the unified sine/cosine kernels, the exponential and hyperbolic formulations, the four shift operators Ω, the quadratic extension, the interactive calculator (function type × denominator type × n × s × b/α × χ/c), the operational summary table and the non-symmetric quadratic example D_asym. The calculator adds what the book contains beyond the app: removable singularities, the χ-ladder (1.19)–(1.20), the power kernel, the Fubini worked integrals and the Laplace representation. Where the repository differs from the corrected book (doubled powers of t in its calculator and hyperbolic formulas, e^(−αs) in the Ωᵉ⁻ text), the book is followed; see the corrections table above.