Lab 01 · Chapter 1

Higher Parametric Derivatives

How can the nn-th derivative of a parametric quotient be read off one definite integral?

The identity dndsn[(F(bs)−F(as))/s]=∫abtnf(n)(ts) dt\frac{d^n}{ds^n}\big[(F(bs)-F(as))/s\big]=\int_a^b t^n f^{(n)}(ts)\,dt turns repeated quotient rules into one integral. Compute it for sine, cosine, exponential and hyperbolic kernels, for shifted denominators s−χs-\chi, s2−c2s^2-c^2 and (s−χ1)(s−χ2)(s-\chi_1)(s-\chi_2) through the operators Ω\Omega, and for the power kernel sts^t — 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.

What the book proves

Theory

All quantities are real; angles are in radians; ss is the parameter that is differentiated, tt the integration variable. Throughout, f(n)f^{(n)} denotes the nn-th derivative of ff with respect to its argument, so that ∂sn f(ts)=tnf(n)(ts)\partial_s^{n}\,f(ts) = t^{n} f^{(n)}(ts) — the power tnt^{n} enters exactly once.

§1.0.1 A General Integral Identity, p. 11

A general integral identity

Let φ(s)=∫abf(ts) dt\varphi(s)=\int_a^b f(ts)\,dt, where f∈Cn(I)f\in C^{n}(I) and II is an open interval containing the compact set [as,bs][as,bs]; let F′=fF'=f on II. For s≠0s\neq 0 the substitution u=tsu=ts gives

φ(s)=1s∫asbsf(u) du=F(bs)−F(as)s(1.1)\varphi(s)=\frac1s\int_{as}^{bs}f(u)\,du=\frac{F(bs)-F(as)}{s}\qquad(1.1)

Differentiation under the integral sign (Leibniz's rule) and induction give

φ(n)(s)=∫abtnf(n)(ts) dt(1.4)\varphi^{(n)}(s)=\int_a^b t^{n}f^{(n)}(ts)\,dt\qquad(1.4)
  dndsn(F(bs)−F(as)s)=∫abtnf(n)(ts) dt  (1.5)\boxed{\;\frac{d^{n}}{ds^{n}}\left(\frac{F(bs)-F(as)}{s}\right)=\int_a^b t^{n}f^{(n)}(ts)\,dt\;}\qquad(1.5)

Removable singularity at s=0s=0 (book, removable-singularity box in §1.0.5). Since F(bs)−F(as)=f(0)(b−a)s+O(s2)F(bs)-F(as)=f(0)(b-a)s+O(s^{2}), lim⁡s→0F(bs)−F(as)s=f(0)(b−a)\lim_{s\to0}\frac{F(bs)-F(as)}{s}=f(0)(b-a); with φ(0):=f(0)(b−a)\varphi(0):=f(0)(b-a) the identities (1.5)–(1.9) hold at s=0s=0, where φ(n)(0)=f(n)(0) bn+1−an+1n+1\varphi^{(n)}(0)=f^{(n)}(0)\,\frac{b^{n+1}-a^{n+1}}{n+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π/2n\pi/2 replaces the even/odd case split: ∂snsin⁡(ts)=tnsin⁡(ts+nπ2)\partial_s^{n}\sin(ts)=t^{n}\sin(ts+\tfrac{n\pi}{2}) (the book's (1.6) writes the left side as f(n)(ts)f^{(n)}(ts); it is the ss-derivative, which already contains tnt^{n}).

∫abtnsin⁡ ⁣(ts+nπ2) dt=dndsn(cos⁡(as)−cos⁡(bs)s)(1.7)\int_a^b t^{n}\sin\!\Big(ts+\frac{n\pi}{2}\Big)\,dt=\frac{d^{n}}{ds^{n}}\left(\frac{\cos(as)-\cos(bs)}{s}\right)\qquad(1.7)
∫abtncos⁡ ⁣(ts+nπ2) dt=dndsn(sin⁡(bs)−sin⁡(as)s)(1.9)\int_a^b t^{n}\cos\!\Big(ts+\frac{n\pi}{2}\Big)\,dt=\frac{d^{n}}{ds^{n}}\left(\frac{\sin(bs)-\sin(as)}{s}\right)\qquad(1.9)

Setting b=0b=0 (boundary inversion) gives the standalone forms used later for the shift operators:

dndsn(cos⁡(as)s)=(−1)nn!sn+1−∫0atnsin⁡ ⁣(ts+nπ2)dt,dndxn(sin⁡(bx)x)=∫0btncos⁡ ⁣(tx+nπ2)dt\frac{d^{n}}{ds^{n}}\Big(\frac{\cos(as)}{s}\Big)=\frac{(-1)^{n}n!}{s^{n+1}}-\int_0^{a}t^{n}\sin\!\Big(ts+\frac{n\pi}{2}\Big)dt,\qquad \frac{d^{n}}{dx^{n}}\Big(\frac{\sin(bx)}{x}\Big)=\int_0^{b}t^{n}\cos\!\Big(tx+\frac{n\pi}{2}\Big)dt

§1.0.5 Application to Exponential and Hyperbolic Functions, p. 13

Exponential and hyperbolic kernels

∫abtnets dt=dndsn(ebs−eass)\int_a^b t^{n}e^{ts}\,dt=\frac{d^{n}}{ds^{n}}\left(\frac{e^{bs}-e^{as}}{s}\right)
∫abtne−ts dt=(−1)ndndsn(e−as−e−bss)\int_a^b t^{n}e^{-ts}\,dt=(-1)^{n}\frac{d^{n}}{ds^{n}}\left(\frac{e^{-as}-e^{-bs}}{s}\right)

With a=0a=0 and z=tsz=ts:   (−1)ndndsn(1−e−bss)=γ(n+1,bs)sn+1\;(-1)^{n}\frac{d^{n}}{ds^{n}}\Big(\frac{1-e^{-bs}}{s}\Big)=\frac{\gamma(n+1,bs)}{s^{n+1}} (lower incomplete gamma function).

∫ab∂n∂sn[sinh⁡(ts)] dt=dndsn(cosh⁡(bs)−cosh⁡(as)s)\int_a^b \frac{\partial^{n}}{\partial s^{n}}\big[\sinh(ts)\big]\,dt=\frac{d^{n}}{ds^{n}}\left(\frac{\cosh(bs)-\cosh(as)}{s}\right)
∫ab∂n∂sn[cosh⁡(ts)] dt=dndsn(sinh⁡(bs)−sinh⁡(as)s)\int_a^b \frac{\partial^{n}}{\partial s^{n}}\big[\cosh(ts)\big]\,dt=\frac{d^{n}}{ds^{n}}\left(\frac{\sinh(bs)-\sinh(as)}{s}\right)

Here the integrand ∂sn[sinh⁡(ts)]=tnsinh⁡(n)(ts)\partial_s^{n}[\sinh(ts)]=t^{n}\sinh^{(n)}(ts) already carries tnt^{n}; no further factor tnt^{n} appears.

dndsn(eαss)=∫0αtnetsdt+(−1)nn!sn+1,dndsn(e−αss)=(−1)nn!sn+1−(−1)n∫0αtne−tsdt\frac{d^{n}}{ds^{n}}\Big(\frac{e^{\alpha s}}{s}\Big)=\int_0^{\alpha}t^{n}e^{ts}dt+\frac{(-1)^{n}n!}{s^{n+1}},\qquad \frac{d^{n}}{ds^{n}}\Big(\frac{e^{-\alpha s}}{s}\Big)=\frac{(-1)^{n}n!}{s^{n+1}}-(-1)^{n}\int_0^{\alpha}t^{n}e^{-ts}dt

§1.0.6 An Operator Formulation, p. 17

Operator formulation: linear shift operators Ω

For Ωnf(s,χ)=dndsn[f(bs)/(s−χ)]\Omega^{f}_{n}(s,\chi)=\frac{d^{n}}{ds^{n}}\big[f(bs)/(s-\chi)\big] (derived with x=s−χx=s-\chi and the compound-angle formulas; α>0\alpha>0 for the exponentials):

Ωns(s,χ)=dndsn(sin⁡bss−χ)=∫0btncos⁡ ⁣(t(s−χ)+bχ+nπ2) dt+(−1)nn! sin⁡(bχ)(s−χ)n+1\Omega^{s}_{n}(s,\chi)=\frac{d^{n}}{ds^{n}}\left(\frac{\sin bs}{s-\chi}\right)=\int_0^{b} t^{n}\cos\!\Big(t(s-\chi)+b\chi+\frac{n\pi}{2}\Big)\,dt+\frac{(-1)^{n}n!\,\sin(b\chi)}{(s-\chi)^{n+1}}
Ωnc(s,χ)=dndsn(cos⁡bss−χ)=(−1)nn! cos⁡(bχ)(s−χ)n+1−∫0btnsin⁡ ⁣(t(s−χ)+bχ+nπ2) dt\Omega^{c}_{n}(s,\chi)=\frac{d^{n}}{ds^{n}}\left(\frac{\cos bs}{s-\chi}\right)=\frac{(-1)^{n}n!\,\cos(b\chi)}{(s-\chi)^{n+1}}-\int_0^{b} t^{n}\sin\!\Big(t(s-\chi)+b\chi+\frac{n\pi}{2}\Big)\,dt
Ωne−(s,χ)=dndsn(e−αss−χ)=(−1)nn! e−αχ(s−χ)n+1−(−1)n∫0αtne−t(s−χ)−αχ dt\Omega^{e-}_{n}(s,\chi)=\frac{d^{n}}{ds^{n}}\left(\frac{e^{-\alpha s}}{s-\chi}\right)=\frac{(-1)^{n}n!\,e^{-\alpha\chi}}{(s-\chi)^{n+1}}-(-1)^{n}\int_0^{\alpha} t^{n}e^{-t(s-\chi)-\alpha\chi}\,dt
Ωne(s,χ)=dndsn(eαss−χ)=∫0αtnet(s−χ)+αχ dt+(−1)nn! eαχ(s−χ)n+1\Omega^{e}_{n}(s,\chi)=\frac{d^{n}}{ds^{n}}\left(\frac{e^{\alpha s}}{s-\chi}\right)=\int_0^{\alpha} t^{n}e^{t(s-\chi)+\alpha\chi}\,dt+\frac{(-1)^{n}n!\,e^{\alpha\chi}}{(s-\chi)^{n+1}}

Quadratic denominators by partial fractions (the prefactor is 1/(2c)1/(2c); it reduces to 1/21/2 only for c=1c=1, s≠±1s\neq\pm1):

1s2−c2=12c(1s−c−1s+c),dndsn(f(bs)s2−c2)=12c[Ωnf(s,c)−Ωnf(s,−c)]\frac{1}{s^{2}-c^{2}}=\frac{1}{2c}\Big(\frac{1}{s-c}-\frac{1}{s+c}\Big),\qquad \frac{d^{n}}{ds^{n}}\Big(\frac{f(bs)}{s^{2}-c^{2}}\Big)=\frac{1}{2c}\Big[\Omega^{f}_{n}(s,c)-\Omega^{f}_{n}(s,-c)\Big]

A non-symmetric quadratic (s−χ1)(s−χ2)(s-\chi_1)(s-\chi_2) is split the same way (book: s2−3s−4=(s−4)(s+1)s^{2}-3s-4=(s-4)(s+1), weights ±15\pm\tfrac15).

§1.0.6 An Operator Formulation, p. 17

Properties of the shift operator

Linearity: Ωnαf+βg=αΩnf+βΩng\Omega^{\alpha f+\beta g}_{n}=\alpha\Omega^{f}_{n}+\beta\Omega^{g}_{n}. χ-ladder: for k≥0k\ge0,

∂k∂χkΩnf(s,χ)=k! dndsn[f(bs)(s−χ)k+1](1.18)\frac{\partial^{k}}{\partial\chi^{k}}\Omega^{f}_{n}(s,\chi)=k!\,\frac{d^{n}}{ds^{n}}\left[\frac{f(bs)}{(s-\chi)^{k+1}}\right]\qquad(1.18)
dndsn[sin⁡(bs)(s−χ)2]=∫0btn(t−b)sin⁡ ⁣(t(s−χ)+bχ+nπ2) dt+(−1)nn![bcos⁡(bχ)(s−χ)n+1+(n+1)sin⁡(bχ)(s−χ)n+2](1.19)\frac{d^{n}}{ds^{n}}\left[\frac{\sin(bs)}{(s-\chi)^{2}}\right]=\int_0^{b} t^{n}(t-b)\sin\!\Big(t(s-\chi)+b\chi+\frac{n\pi}{2}\Big)\,dt+(-1)^{n}n!\left[\frac{b\cos(b\chi)}{(s-\chi)^{n+1}}+\frac{(n+1)\sin(b\chi)}{(s-\chi)^{n+2}}\right]\qquad(1.19)
dndsn[sin⁡(bs)s2]=∫0btn(t−b)sin⁡ ⁣(ts+nπ2)dt+(−1)nn! bsn+1(1.20)\frac{d^{n}}{ds^{n}}\left[\frac{\sin(bs)}{s^{2}}\right]=\int_0^{b}t^{n}(t-b)\sin\!\Big(ts+\frac{n\pi}{2}\Big)dt+(-1)^{n}n!\,\frac{b}{s^{n+1}}\qquad(1.20)

§1.0.6 An Operator Formulation, p. 17

Unified exponential (power) kernel

φ(s)=∫abst dt=sb−saln⁡s,φ(n)(s)=1sn∫abt!(t−n)! st dt=dndsn(sb−saln⁡s)\varphi(s)=\int_a^b s^{t}\,dt=\frac{s^{b}-s^{a}}{\ln s},\qquad \varphi^{(n)}(s)=\frac{1}{s^{n}}\int_a^b\frac{t!}{(t-n)!}\,s^{t}\,dt=\frac{d^{n}}{ds^{n}}\left(\frac{s^{b}-s^{a}}{\ln s}\right)

Here t!(t−n)!=∏j=0n−1(t−j)\frac{t!}{(t-n)!}=\prod_{j=0}^{n-1}(t-j) is the falling factorial (empty product =1=1), s>0s>0, and s=1s=1 is removable with φ(1)=b−a\varphi(1)=b-a.

§1.0.7 Worked Integral Problems via Fubini’s Theorem, p. 27

Worked integrals via Fubini's theorem

Integrating the n=0n=0 identity in ss and swapping the order of integration:

∫0∞φ(s) ds=∫0∞ ⁣ ⁣∫abf(ts) dt ds=∫ab[∫0∞f(ts) ds]dt\int_0^\infty\varphi(s)\,ds=\int_0^\infty\!\!\int_a^b f(ts)\,dt\,ds=\int_a^b\Big[\int_0^\infty f(ts)\,ds\Big]dt
∫0∞e−s−e−2ssds=ln⁡2,∫0∞π2s(erf⁡2s−erf⁡s)ds=π2ln⁡2,∫01sb−saln⁡sds=ln⁡b+1a+1\int_0^\infty\frac{e^{-s}-e^{-2s}}{s}ds=\ln2,\quad \int_0^\infty\frac{\sqrt\pi}{2s}\big(\operatorname{erf}2s-\operatorname{erf}s\big)ds=\frac{\sqrt\pi}{2}\ln2,\quad \int_0^1\frac{s^{b}-s^{a}}{\ln s}ds=\ln\frac{b+1}{a+1}
∫0∞arctan⁡ss(1+s2)ds=π2ln⁡2,∫0∞e−ztsin⁡ttdt=π2−arctan⁡z  (z>0)\int_0^\infty\frac{\arctan s}{s(1+s^{2})}ds=\frac{\pi}{2}\ln2,\qquad \int_0^\infty\frac{e^{-zt}\sin t}{t}dt=\frac{\pi}{2}-\arctan z\ \ (z>0)

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→∞b\to\infty in the decay identity with a=0a=0 (Re⁡s>0\operatorname{Re}s>0): (−1)n∫0∞tne−stdt=Dsn(1/s)(-1)^{n}\int_0^\infty t^{n}e^{-st}dt=D_s^{n}(1/s). For f(t)=∑antnf(t)=\sum a_nt^{n} (t≥0t\ge0) and a fixed real s>0s>0 with the sufficient condition ∑∣an∣ n!/sn+1<∞\sum|a_n|\,n!/s^{n+1}<\infty, Tonelli and Fubini justify

∑n=0∞an∫0∞tne−stdt=∑n=0∞an(−Ds)n(1s)=∫0∞e−stf(t) dt\sum_{n=0}^\infty a_n\int_0^\infty t^{n}e^{-st}dt=\sum_{n=0}^\infty a_n(-D_s)^{n}\Big(\frac1s\Big)=\int_0^\infty e^{-st}f(t)\,dt

The condition is sufficient, not necessary; the series domain need not equal the full Laplace domain.

Operational summary table

Corrected against the book: hyperbolic rows carry no second tⁿ, Ωᵉ⁻ has e^(−αχ) (not e^(−αs)) in its singular part, and the quadratic rows use 1/(2c).

Derivative representationIntegral workspace representation
dndsn(cos⁡(as)−cos⁡(bs)s)\dfrac{d^{n}}{ds^{n}}\Big(\frac{\cos(as)-\cos(bs)}{s}\Big)∫abtnsin⁡(ts+nπ2)dt\int_a^b t^{n}\sin\big(ts+\tfrac{n\pi}{2}\big)dt
dndsn(sin⁡(bs)−sin⁡(as)s)\dfrac{d^{n}}{ds^{n}}\Big(\frac{\sin(bs)-\sin(as)}{s}\Big)∫abtncos⁡(ts+nπ2)dt\int_a^b t^{n}\cos\big(ts+\tfrac{n\pi}{2}\big)dt
dndsn(ebs−eass)\dfrac{d^{n}}{ds^{n}}\Big(\frac{e^{bs}-e^{as}}{s}\Big)∫abtnetsdt\int_a^b t^{n}e^{ts}dt
dndsn(e−as−e−bss)\dfrac{d^{n}}{ds^{n}}\Big(\frac{e^{-as}-e^{-bs}}{s}\Big)(−1)n∫abtne−tsdt(-1)^{n}\int_a^b t^{n}e^{-ts}dt
dndsn(1−e−bss)\dfrac{d^{n}}{ds^{n}}\Big(\frac{1-e^{-bs}}{s}\Big)(−1)nγ(n+1,bs)sn+1(-1)^{n}\dfrac{\gamma(n+1,bs)}{s^{n+1}}
dndsn(cosh⁡(bs)−cosh⁡(as)s)\dfrac{d^{n}}{ds^{n}}\Big(\frac{\cosh(bs)-\cosh(as)}{s}\Big)∫ab∂sn[sinh⁡(ts)] dt=∫abtnsinh⁡(n)(ts) dt\int_a^b \partial_s^{n}[\sinh(ts)]\,dt=\int_a^b t^{n}\sinh^{(n)}(ts)\,dt
dndsn(sinh⁡(bs)−sinh⁡(as)s)\dfrac{d^{n}}{ds^{n}}\Big(\frac{\sinh(bs)-\sinh(as)}{s}\Big)∫ab∂sn[cosh⁡(ts)] dt=∫abtncosh⁡(n)(ts) dt\int_a^b \partial_s^{n}[\cosh(ts)]\,dt=\int_a^b t^{n}\cosh^{(n)}(ts)\,dt
dndsn(sin⁡(bs)s−χ)\dfrac{d^{n}}{ds^{n}}\Big(\frac{\sin(bs)}{s-\chi}\Big)∫0btncos⁡(t(s−χ)+bχ+nπ2)dt+(−1)nn!sin⁡(bχ)(s−χ)n+1\int_0^b t^{n}\cos\big(t(s-\chi)+b\chi+\tfrac{n\pi}{2}\big)dt+\dfrac{(-1)^{n}n!\sin(b\chi)}{(s-\chi)^{n+1}}
dndsn(cos⁡(bs)s−χ)\dfrac{d^{n}}{ds^{n}}\Big(\frac{\cos(bs)}{s-\chi}\Big)(−1)nn!cos⁡(bχ)(s−χ)n+1−∫0btnsin⁡(t(s−χ)+bχ+nπ2)dt\dfrac{(-1)^{n}n!\cos(b\chi)}{(s-\chi)^{n+1}}-\int_0^b t^{n}\sin\big(t(s-\chi)+b\chi+\tfrac{n\pi}{2}\big)dt
dndsn(e−αss−χ)\dfrac{d^{n}}{ds^{n}}\Big(\frac{e^{-\alpha s}}{s-\chi}\Big)(−1)nn! e−αχ(s−χ)n+1−(−1)n∫0αtne−t(s−χ)−αχdt\dfrac{(-1)^{n}n!\,e^{-\alpha\chi}}{(s-\chi)^{n+1}}-(-1)^{n}\int_0^\alpha t^{n}e^{-t(s-\chi)-\alpha\chi}dt
dndsn(eαss−χ)\dfrac{d^{n}}{ds^{n}}\Big(\frac{e^{\alpha s}}{s-\chi}\Big)∫0αtnet(s−χ)+αχdt+(−1)nn! eαχ(s−χ)n+1\int_0^\alpha t^{n}e^{t(s-\chi)+\alpha\chi}dt+\dfrac{(-1)^{n}n!\,e^{\alpha\chi}}{(s-\chi)^{n+1}}
dndsn(f(bs)s2−c2)\dfrac{d^{n}}{ds^{n}}\Big(\frac{f(bs)}{s^{2}-c^{2}}\Big)12c[Ωnf(s,c)−Ωnf(s,−c)](f=sin⁡,cos⁡,e±αs)\dfrac{1}{2c}\Big[\Omega^{f}_{n}(s,c)-\Omega^{f}_{n}(s,-c)\Big]\quad(f=\sin,\cos,e^{\pm\alpha s})
dndsn(f(bs)(s−χ1)(s−χ2))\dfrac{d^{n}}{ds^{n}}\Big(\frac{f(bs)}{(s-\chi_1)(s-\chi_2)}\Big)1χ1−χ2[Ωnf(s,χ1)−Ωnf(s,χ2)]\dfrac{1}{\chi_1-\chi_2}\Big[\Omega^{f}_{n}(s,\chi_1)-\Omega^{f}_{n}(s,\chi_2)\Big]
dndsn(sb−saln⁡s)\dfrac{d^{n}}{ds^{n}}\Big(\frac{s^{b}-s^{a}}{\ln s}\Big)1sn∫abt!(t−n)! stdt(s>0)\dfrac{1}{s^{n}}\int_a^b\dfrac{t!}{(t-n)!}\,s^{t}dt\quad(s>0)

Compute

Interactive calculator

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=d3ds3(cos⁡(πs)−1s)∣s=2D_3=\frac{d^{3}}{ds^{3}}\left(\frac{\cos(\pi s)-1}{s}\right)\Big|_{s=2}
Sine kernel with a=π, b=0\text{Sine kernel with } a=\pi,\ b=0
D3=∫π0t3sin⁡ ⁣(2t+3π2)dt=∫0πt3cos⁡(2t) dtD_3=\int_{\pi}^{0} t^{3}\sin\!\Big(2t+\tfrac{3\pi}{2}\Big)dt=\int_0^{\pi} t^{3}\cos(2t)\,dt
Book (corrected):3π24\text{Book (corrected):}\quad \frac{3\pi^{2}}{4}
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: 3π24\frac{3\pi^{2}}{4}

§1.0.5 Application to Exponential and Hyperbolic Functions, p. 13

Third derivative of the normalised sine kernel

Dsin⁡=d3ds3(sin⁡(5s)s)D_{\sin}=\frac{d^{3}}{ds^{3}}\left(\frac{\sin(5s)}{s}\right)
Cosine kernel with a=0, b=5\text{Cosine kernel with } a=0,\ b=5
Dsin⁡=∫05t3cos⁡ ⁣(ts+3π2)dt=∫05t3sin⁡(ts) dtD_{\sin}=\int_0^{5} t^{3}\cos\!\Big(ts+\tfrac{3\pi}{2}\Big)dt=\int_0^5 t^{3}\sin(ts)\,dt
Book (corrected):(−125s+30s3)cos⁡(5s)+(75s2−6s4)sin⁡(5s)\text{Book (corrected):}\quad \begin{aligned}&\left(-\frac{125}{s}+\frac{30}{s^{3}}\right)\cos(5s)\\&+\left(\frac{75}{s^{2}}-\frac{6}{s^{4}}\right)\sin(5s)\end{aligned}
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: 69 sin⁡(5)−95 cos⁡(5)69\,\sin(5) - 95\,\cos(5)

§1.0.5 Application to Exponential and Hyperbolic Functions, p. 13

Second derivative of a damped quotient

D2=d2ds2(e−s−e−2ss)∣s=3D_2=\frac{d^{2}}{ds^{2}}\left(\frac{e^{-s}-e^{-2s}}{s}\right)\Big|_{s=3}
Decay exponential, n=2, a=1, b=2\text{Decay exponential, } n=2,\ a=1,\ b=2
D2=∫12t2e−3t dtD_2=\int_1^{2} t^{2}e^{-3t}\,dt
Book (corrected):17e−3−50e−627\text{Book (corrected):}\quad \frac{17e^{-3}-50e^{-6}}{27}
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: 1727 e−3−5027 e−6\frac{17}{27}\,e^{-3} - \frac{50}{27}\,e^{-6}

§1.0.6 An Operator Formulation, p. 17

Quadratic denominator, sine operator

d2ds2(sin⁡2ss2−1)∣s=2=12[Ω2(2,1)−Ω2(2,−1)]\frac{d^{2}}{ds^{2}}\left(\frac{\sin 2s}{s^{2}-1}\right)\Big|_{s=2}=\frac12\big[\Omega_2(2,1)-\Omega_2(2,-1)\big]
Ω2(2,1)=−2sin⁡4−4cos⁡4\Omega_2(2,1)=-2\sin 4-4\cos 4
Ω2(2,−1)=−3427sin⁡4−49cos⁡4\Omega_2(2,-1)=-\tfrac{34}{27}\sin 4-\tfrac{4}{9}\cos 4
Book (corrected):−1027sin⁡4−169cos⁡4=−10sin⁡4−48cos⁡427\text{Book (corrected):}\quad -\frac{10}{27}\sin 4-\frac{16}{9}\cos 4=\frac{-10\sin 4-48\cos 4}{27}
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: −1027 sin⁡(4)−169 cos⁡(4)-\frac{10}{27}\,\sin(4) - \frac{16}{9}\,\cos(4)

§1.0.6 An Operator Formulation, p. 17

Second derivative via operator mapping

d2ds2(sin⁡πss2−1)∣s=2=12[Ω2S(2,1)−Ω2S(2,−1)]\frac{d^{2}}{ds^{2}}\left(\frac{\sin \pi s}{s^{2}-1}\right)\Big|_{s=2}=\frac12\big[\Omega^{S}_2(2,1)-\Omega^{S}_2(2,-1)\big]
Ω2S(2,1)=∫0πt2cos⁡t dt=−2π\Omega^{S}_2(2,1)=\int_0^{\pi}t^{2}\cos t\,dt=-2\pi
Ω2S(2,−1)=∫0πt2cos⁡3t dt=−2π9\Omega^{S}_2(2,-1)=\int_0^{\pi}t^{2}\cos 3t\,dt=-\tfrac{2\pi}{9}
Book (corrected):−8π9\text{Book (corrected):}\quad -\frac{8\pi}{9}
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: −8π9-\frac{8\pi}{9}

§1.0.6 An Operator Formulation, p. 17

Third derivative, cosine operator, scaled quadratic

d3ds3(cos⁡πs4s2−1)∣s=3=14[Ω3(3,12)−Ω3(3,−12)]\frac{d^{3}}{ds^{3}}\left(\frac{\cos \pi s}{4s^{2}-1}\right)\Big|_{s=3}=\frac14\big[\Omega_3(3,\tfrac12)-\Omega_3(3,-\tfrac12)\big]
cos⁡πs4s2−1=14⋅cos⁡πss2−(1/2)2\frac{\cos\pi s}{4s^2-1}=\frac14\cdot\frac{\cos\pi s}{s^2-(1/2)^2}
Ω3(3,12)=96625−12π225, Ω3(3,−12)=962401−12π249\Omega_3(3,\tfrac12)=\tfrac{96}{625}-\tfrac{12\pi^{2}}{25},\ \Omega_3(3,-\tfrac12)=\tfrac{96}{2401}-\tfrac{12\pi^{2}}{49}
Book (corrected):426241500625−72π21225≈−0.5516868693\text{Book (corrected):}\quad \frac{42624}{1500625}-\frac{72\pi^{2}}{1225}\approx-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): −288π21225+1704961500625-\frac{288\pi^{2}}{1225} + \frac{170496}{1500625}

§1.0.6 An Operator Formulation, p. 17

Second derivative, cosine operator

d2ds2(cos⁡2ss2−4)∣s=3=14[Ω2c(3,2)−Ω2c(3,−2)]\frac{d^{2}}{ds^{2}}\left(\frac{\cos 2s}{s^{2}-4}\right)\Big|_{s=3}=\frac14\big[\Omega^{c}_2(3,2)-\Omega^{c}_2(3,-2)\big]
Ω2c(3,2)=4sin⁡6−2cos⁡6\Omega^{c}_2(3,2)=4\sin 6-2\cos 6
Ω2c(3,−2)=425sin⁡6−98125cos⁡6\Omega^{c}_2(3,-2)=\tfrac{4}{25}\sin 6-\tfrac{98}{125}\cos 6
Book (corrected):2425sin⁡6−38125cos⁡6\text{Book (corrected):}\quad \frac{24}{25}\sin 6-\frac{38}{125}\cos 6
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: 2425 sin⁡(6)−38125 cos⁡(6)\frac{24}{25}\,\sin(6) - \frac{38}{125}\,\cos(6)

§1.0.6 An Operator Formulation, p. 17

Example 1.0.1 · exponential shift, singularity at the origin

d2ds2(e2ss)∣s=3=Ω22(3,0)\frac{d^{2}}{ds^{2}}\left(\frac{e^{2s}}{s}\right)\Big|_{s=3}=\Omega^{2}_2(3,0)
∫02t2e3t dt+227=(2627e6−227)+227\int_0^{2}t^{2}e^{3t}\,dt+\frac{2}{27}=\Big(\frac{26}{27}e^{6}-\frac{2}{27}\Big)+\frac{2}{27}
Book (corrected):2627e6\text{Book (corrected):}\quad \frac{26}{27}e^{6}
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: 2627 e6\frac{26}{27}\,e^{6}

§1.0.6 An Operator Formulation, p. 17

Example 1.0.2 · exponential shift, displaced singularity

d2ds2(e2ss−1)∣s=3=Ω22(3,1)\frac{d^{2}}{ds^{2}}\left(\frac{e^{2s}}{s-1}\right)\Big|_{s=3}=\Omega^{2}_2(3,1)
e2∫02t2e2t dt+e24e^{2}\int_0^{2}t^{2}e^{2t}\,dt+\frac{e^{2}}{4}
∫02t2e2t dt=54e4−14\int_0^2 t^2e^{2t}\,dt=\frac54e^4-\frac14
Book (corrected):54e6\text{Book (corrected):}\quad \frac{5}{4}e^{6}
Closed form (engine)
504.2859918659
AD of the expression
504.2859918659
Quadrature of the integral form
504.2859918659
Verdict
All three agree with the book

Engine's exact output: 54 e6\frac{5}{4}\,e^{6}

§1.0.6 An Operator Formulation, p. 17

Example 1.0.3 · quadratic denominator

d2ds2(e2ss2−9)∣s=4=16Ω22(4,3)−16Ω22(4,−3)\frac{d^{2}}{ds^{2}}\left(\frac{e^{2s}}{s^{2}-9}\right)\Big|_{s=4}=\frac16\Omega^{2}_2(4,3)-\frac16\Omega^{2}_2(4,-3)
Ω22(4,3)=2e8\Omega^{2}_2(4,3)=2e^{8}
Ω22(4,−3)=170343e8\Omega^{2}_2(4,-3)=\frac{170}{343}e^{8}
Book (corrected):86343e8\text{Book (corrected):}\quad \frac{86}{343}e^{8}
Closed form (engine)
747.4122066635
AD of the expression
747.4122066635
Quadrature of the integral form
747.4122066635
Verdict
All three agree with the book

Engine's exact output: 86343 e8\frac{86}{343}\,e^{8}

§1.0.6 An Operator Formulation, p. 17

Non-symmetric quadratic polynomial

Dasym=d2ds2(sin⁡ss2−3s−4)∣s=2=15[Ω2s(2,4)−Ω2s(2,−1)]D_{\mathrm{asym}}=\frac{d^{2}}{ds^{2}}\left(\frac{\sin s}{s^{2}-3s-4}\right)\Big|_{s=2}=\frac15\big[\Omega^{s}_2(2,4)-\Omega^{s}_2(2,-1)\big]
s2−3s−4=(s−4)(s+1)s^2-3s-4=(s-4)(s+1)
Ω2s(2,4)=14sin⁡2−12cos⁡2,  Ω2s(2,−1)=−727sin⁡2−29cos⁡2\Omega^{s}_2(2,4)=\tfrac14\sin2-\tfrac12\cos2,\ \ \Omega^{s}_2(2,-1)=-\tfrac{7}{27}\sin2-\tfrac29\cos2
Book (corrected):11108sin⁡2−118cos⁡2≈0.1157329\text{Book (corrected):}\quad \frac{11}{108}\sin 2-\frac{1}{18}\cos 2\approx 0.1157329

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: 11108 sin⁡(2)−118 cos⁡(2)\frac{11}{108}\,\sin(2) - \frac{1}{18}\,\cos(2)

§1.0.6 An Operator Formulation, p. 17

Unified exponential (power) kernel

d2ds2(s1−s0ln⁡s)∣s=e=1e2∫01(t2−t)et dt\frac{d^{2}}{ds^{2}}\left(\frac{s^{1}-s^{0}}{\ln s}\right)\Big|_{s=e}=\frac{1}{e^{2}}\int_0^1(t^2-t)e^{t}\,dt
1e2[et(t2−3t+3)]01\frac{1}{e^{2}}\Big[e^{t}(t^{2}-3t+3)\Big]_0^1
Book (corrected):e−3e2\text{Book (corrected):}\quad \frac{e-3}{e^{2}}
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−3 e−2e^{-1} - 3\,e^{-2}

§1.0.7 Worked Integral Problems via Fubini’s Theorem, p. 27

Fubini worked integrals (n = 0)

IntegralBookValueQuadrature
∫0∞e−s−e−2ss ds\int_0^\infty\frac{e^{-s}-e^{-2s}}{s}\,dsln⁡2\ln 20.69314718060.6931471806
∫0∞π2s(erf⁡2s−erf⁡s) ds\int_0^\infty\frac{\sqrt\pi}{2s}(\operatorname{erf}2s-\operatorname{erf}s)\,dsπ2ln⁡2\tfrac{\sqrt\pi}{2}\ln 20.61428569470.6142856947
∫01s2−sln⁡s ds\int_0^1\frac{s^{2}-s}{\ln s}\,dsln⁡32\ln\tfrac320.40546510810.4054651081
∫0∞arctan⁡ss(1+s2) ds\int_0^\infty\frac{\arctan s}{s(1+s^2)}\,dsπ2ln⁡2\tfrac{\pi}{2}\ln 21.0887930451.088793045
∫0∞e−tsin⁡tt dt\int_0^\infty\frac{e^{-t}\sin t}{t}\,dtπ4\tfrac{\pi}{4}0.78539816340.7853981634

The book's summary table prints (√π/2) ln 2 ≈ 0.613706; the correct decimal is 0.6142857. The exact form is right.

§1.0.6 An Operator Formulation, p. 17 · exercises

Exercises (answers computed here)

  1. d2ds2(cos⁡2πss2−5s+6)∣s=1\frac{d^{2}}{ds^{2}}\Big(\frac{\cos 2\pi s}{s^{2}-5s+6}\Big)\Big|_{s=1} — non-symmetric quadratic, χ₁ = 2, χ₂ = 3.
    Answer−2π2+74-2\pi^{2} + \frac{7}{4} ≈ −17.9892088022
  2. d3ds3(s e2s+1s−2)∣s=3\frac{d^{3}}{ds^{3}}\Big(\frac{s\,e^{2s}+1}{s-2}\Big)\Big|_{s=3} — split with Property 1 (linearity) after writing ss−2=1+2s−2\frac{s}{s-2}=1+\frac{2}{s-2}.
    Answer4835.14552191 (by automatic differentiation of the whole quotient)
  3. d4ds4(s2sin⁡3ss−π)∣s=π/2\frac{d^{4}}{ds^{4}}\Big(\frac{s^{2}\sin 3s}{s-\pi}\Big)\Big|_{s=\pi/2} — a polynomial factor; combine Leibniz with Ωˢ.
    Answer−123.016060748 (by automatic differentiation of the whole quotient)
  4. d5ds5(eπss−1)∣s=2\frac{d^{5}}{ds^{5}}\Big(\frac{e^{\pi s}}{s-1}\Big)\Big|_{s=2} — operator Ωᵉ with α = π, χ = 1.
    Answer(π5−5π4+20π3−60π2+120π−120) e2π\left(\pi^{5} - 5\pi^{4} + 20\pi^{3} - 60\pi^{2} + 120\pi - 120\right)\,e^{2\pi} ≈ 55645.4106047

Independent checks

Numerical verification

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
CasensADIntegral formClosed formMethodVerdict
sin kernel, [0, 1]020.7080734182740.7080734182740.708073418274AD series at 0 · seriesAgree (Δ ≤ 2.2 × 10⁻¹⁶)
sin kernel, [0, 1]120.1006120042760.1006120042760.100612004276AD series at 0 · seriesAgree (Δ ≤ 1.4 × 10⁻¹⁷)
sin kernel, [0, 1]22−0.30868542255−0.30868542255−0.30868542255AD series at 0 · seriesAgree (Δ ≤ 5.6 × 10⁻¹⁷)
sin kernel, [0, 1] (high order)2020.04474838196110.04474838196110.0447483819611AD series at 0 · seriesAgree (Δ ≤ 1.4 × 10⁻¹⁷)
cos kernel, [−1, 3/2], negative s9-4/55.156919133315.156919133315.15691913331AD series at 0 · seriesAgree (Δ ≤ 8.9 × 10⁻¹⁶)
e^u kernel, [1, 2], high order2033.1589796232 × 10⁷3.1589796232 × 10⁷3.1589796232 × 10⁷AD series at 0 · seriesAgree (Δ ≤ 7.5 × 10⁻⁹)
e^(−u) kernel near s = 0151e-6−4095.99228989−4095.99228989−4095.99228989AD series at 0 · seriesAgree (Δ ≤ 4.5 × 10⁻¹³)
sinh kernel exactly at s = 0303.9843753.9843753.984375AD series at 0 · limitAgree (Δ ≤ 0)
cosh kernel, reversed limits43/4−12.5821450119−12.5821450119−12.5821450119AD series at 0 · seriesAgree (Δ ≤ 3.6 × 10⁻¹⁵)
Ωˢ, removable s = χ = π/24pi/2−6.4−6.4−6.4AD series at pole · seriesAgree (Δ ≤ 0)
Ωᶜ, s² − 1/4 (book §1.0.6, ×4)33−2.20674747702−2.20674747702−2.20674747702AD direct · tabularAgree (Δ ≤ 1.3 × 10⁻¹⁵)
Ωᵉ⁻, χ = −2/3, n = 10105/47690.526955317690.526955317690.52695531AD direct · tabularAgree (Δ ≤ 3.6 × 10⁻¹²)
Ωᵉ, close to the pole s = 151.01−3.26193819415 × 10¹⁴−3.26193819415 × 10¹⁴−3.26193819415 × 10¹⁴AD direct · tabularAgree (Δ ≤ 0)
Non-symmetric quadratic, n = 202021.7563216671 × 10¹¹1.7563216671 × 10¹¹1.7563216671 × 10¹¹AD direct · tabularAgree (Δ ≤ 9.2 × 10⁻⁵)
sin(πs)/(s² − 1) at the removable s = −12-1−4.38231461665−4.38231461665−4.38231461665AD series at pole · seriesAgree (Δ ≤ 8.9 × 10⁻¹⁶)
χ-ladder (1.19), n = 12129/4464482.658013464482.658013464482.658013AD direct · tabularAgree (Δ ≤ 2.9 × 10⁻⁹)
power kernel at s = 1 (removable)214.583333333334.583333333334.58333333333series · limitAgree (Δ ≤ 8.9 × 10⁻¹⁶)
power kernel next to s = 161.00123.305383502223.305383502223.3053835022series · seriesAgree (Δ ≤ 5 × 10⁻¹⁴)
power kernel, book example2e−0.0381264085384−0.0381264085384−0.0381264085384series · seriesAgree (Δ ≤ 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,n+12)\text{Near-singular zone: } |s-\chi|\cdot b \le \max\big(6,\tfrac{n+1}{2}\big) — there the direct quotient would lose about (n+1)!/Xn+1(n+1)!/X^{n+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)f\in C^{n}(I) on an open interval I⊃[as,bs]I\supset[as,bs], F′=fF'=f; the substitution u=tsu=ts needs s≠0s\neq0.
  • Ω operators: real bb; α>0\alpha>0 for e±αse^{\pm\alpha s} (book §1.0.6); s≠χs\neq\chi unless the numerator vanishes at χ\chi.
  • Quadratics: c≠0c\neq0 (prefactor 1/(2c)1/(2c)); χ1≠χ2\chi_1\neq\chi_2. A double root needs the χ-ladder (1.18)–(1.20), which the book states for the sine kernel.
  • Power kernel: s>0s>0 (real ln⁡s\ln s); Case III additionally needs a,b>−1a,b>-1 for ∫01stds\int_0^1 s^{t}ds to converge.
  • Fubini cases: a,b>0a,b>0 for Frullani-type integrals; z>0z>0 for ∫0∞e−ztsin⁡t/t dt\int_0^\infty e^{-zt}\sin t/t\,dt (absolute integrability on [ε,z]×[0,∞)[\varepsilon,z]\times[0,\infty)).
  • Laplace (§1.0.8): real s>0s>0 and ∑∣an∣ n!/sn+1<∞\sum|a_n|\,n!/s^{n+1}<\infty — a sufficient condition only.

Removable singularities and limits

  • s=0s=0 in (1.5)–(1.9): φ(0)=f(0)(b−a)\varphi(0)=f(0)(b-a) and φ(n)(0)=f(n)(0) (bn+1−an+1)/(n+1)\varphi^{(n)}(0)=f^{(n)}(0)\,(b^{n+1}-a^{n+1})/(n+1); the page shows this limit exactly.
  • s=χs=\chi for f(bs)/(s−χ)f(bs)/(s-\chi) when f(bχ)=0f(b\chi)=0 (e.g. sin⁡(bs)\sin(bs) with bχ∈πZb\chi\in\pi\mathbb Z, cos⁡(bs)\cos(bs) with bχ∈π2+πZb\chi\in\tfrac{\pi}{2}+\pi\mathbb Z): the singular part of Ω is exactly 0 and Ω equals its (finite) integral part. Detected exactly when bχb\chi is a rational multiple of π.
  • s=1s=1 for the power kernel: ln⁡s=0\ln s=0, φ(1)=b−a\varphi(1)=b-a.
  • Near these points the closed forms contain cancelling terms 1/sj+11/s^{j+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)|s-\chi|\,b\le\max(6,(n+1)/2).
  • Genuine poles (numerator ≠0\neq0) 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≤200\le n\le 20 (power kernel: n≤12n\le 12).
  • ∣a∣,∣b∣,∣b∣Ω≤50|a|,|b|,|b|_{\Omega}\le 50, ∣s∣≤100|s|\le100, and ∣bs∣≤500|bs|\le500 for growing kernels so that e∣bs∣e^{|bs|} stays inside double precision.
  • Exact output when every input is a rational number or a rational multiple of π\pi (type 3/4, 0.25, pi/2, 3pi/4). The constant ee is accepted as a number; the power kernel prints exact values at s=es=e and s=1s=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−χs-\chi or s2−c2s^2-c^2 (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))D^{n}(1/(s^{2}+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.

Finding-Higher-Order-Parametric-Derivatives-Using-Definite-Integrals on GitHub (opens in a new tab)

https://github.com/rida313jamal-source/Finding-Higher-Order-Parametric-Derivatives-Using-Definite-Integrals

Corrections applied (14)

ItemEarlier text (GitHub / old site)Corrected book (used here)
Calculator integrand, denominator ss (GitHub .py) §1.0.1Integrand built as tn⋅fnt^n\cdot f_n with fn=(bt)nsin⁡(bts+nπ/2)f_n=(bt)^n\sin(bts+n\pi/2) (and (±αt)ne±αts(\pm\alpha t)^n e^{\pm\alpha ts}), integrated over [0,b][0,b]: the power of tt is applied twice (t2nt^{2n}) and the argument is rescaled by bb, so the "integral representation" disagrees with the derivative it is printed next to.dndsn[(F(bs)−F(as))/s]=∫abtnf(n)(ts) dt\frac{d^n}{ds^n}\big[(F(bs)-F(as))/s\big]=\int_a^b t^n f^{(n)}(ts)\,dt with f(n)f^{(n)} the derivative in the argument; e.g. ∫abtnsin⁡(ts+nπ/2) dt\int_a^b t^n\sin(ts+n\pi/2)\,dt — tnt^n appears once (eq. 1.5, 1.7, 1.9).
Meaning of f(n)(ts)f^{(n)}(ts) in (1.6)/(1.8) §1.0.3GitHub text copies "f(n)(ts)=tnsin⁡(ts+nπ/2)f^{(n)}(ts)=t^n\sin(ts+n\pi/2)" and then inserts it into ∫tnf(n)(ts) dt\int t^n f^{(n)}(ts)\,dt, which counts tnt^n twice.In (1.6)/(1.8) the left side is the ss-derivative ∂snf(ts)=tnf(n)(ts)\partial_s^n f(ts)=t^n f^{(n)}(ts); in (1.5) f(n)f^{(n)} is the argument derivative. The site writes ∂sn\partial_s^n explicitly; the book's results (1.7), (1.9) are unaffected.
Hyperbolic kernels §1.0.5∫abtn dndsn[sinh⁡(ts)] dt=dndsn(cosh⁡bs−cosh⁡ass)\int_a^b t^n\,\frac{d^n}{ds^n}[\sinh(ts)]\,dt=\frac{d^n}{ds^n}\Big(\frac{\cosh bs-\cosh as}{s}\Big) (and the same for cosh⁡\cosh): an extra tnt^n, since dndsnsinh⁡(ts)\frac{d^n}{ds^n}\sinh(ts) already contains tnt^n.∫abdndsn[sinh⁡(ts)] dt=dndsn(cosh⁡bs−cosh⁡ass)\int_a^b \frac{d^n}{ds^n}[\sinh(ts)]\,dt=\frac{d^n}{ds^n}\Big(\frac{\cosh bs-\cosh as}{s}\Big), ∫abdndsn[cosh⁡(ts)] dt=dndsn(sinh⁡bs−sinh⁡ass)\int_a^b \frac{d^n}{ds^n}[\cosh(ts)]\,dt=\frac{d^n}{ds^n}\Big(\frac{\sinh bs-\sinh as}{s}\Big).
Singular part of Ωne−(s,χ)\Omega^{e-}_n(s,\chi) §1.0.6GitHub text and summary table: (−1)nn! e−αs(s−χ)n+1−(−1)n∫0αtne−t(s−χ)−αχdt\frac{(-1)^n n!\,e^{-\alpha s}}{(s-\chi)^{n+1}}-(-1)^n\int_0^\alpha t^n e^{-t(s-\chi)-\alpha\chi}dt (the repository's code uses e−αχe^{-\alpha\chi}).Ωne−(s,χ)=(−1)nn! e−αχ(s−χ)n+1−(−1)n∫0αtne−t(s−χ)−αχ dt\Omega^{e-}_n(s,\chi)=\frac{(-1)^n n!\,e^{-\alpha\chi}}{(s-\chi)^{n+1}}-(-1)^n\int_0^\alpha t^n e^{-t(s-\chi)-\alpha\chi}\,dt, α>0\alpha>0.
Prefactor of the quadratic shift identity §1.0.6An earlier manuscript (§1.0.6, flagged in a previous review) printed 12[Ωnf(s,c)−Ωnf(s,−c)]\frac12\big[\Omega^f_n(s,c)-\Omega^f_n(s,-c)\big] for general cc.dndsn(f(bs)s2−c2)=12c[Ωnf(s,c)−Ωnf(s,−c)]\frac{d^n}{ds^n}\Big(\frac{f(bs)}{s^2-c^2}\Big)=\frac{1}{2c}\big[\Omega^f_n(s,c)-\Omega^f_n(s,-c)\big]; the corrected book prints 1/(2c)1/(2c) and uses 12\frac12 only in the specialisation c=1c=1, s≠±1s\neq\pm1. The GitHub app already shows 1/(2c)1/(2c).
Calculator, exponential numerators over ss §1.0.5"ss (no shift)" fixes a=0a=0 and the upper limit b=αb=\alpha, so "e^{αs}" over ss computes (eαs−1)/s(e^{\alpha s}-1)/s, and "e^{−αs}" multiplies the expression by (−1)n(-1)^n before differentiating.General limits a,ba,b in (1.5); e±αs/se^{\pm\alpha s}/s itself is the χ=0\chi=0 case of Ωe\Omega^{e}, Ωe−\Omega^{e-} (book's short derivation: dndsneαss=∫0αtnetsdt+(−1)nn!sn+1\frac{d^n}{ds^n}\frac{e^{\alpha s}}{s}=\int_0^\alpha t^ne^{ts}dt+\frac{(-1)^nn!}{s^{n+1}}).
Quadratic denominators in the calculator §1.0.6GitHub app states that the quadratic case uses partial fractions and the Ω operators, but differentiates the quotient directly with sympy.Evaluated as 12c[Ω(s,c)−Ω(s,−c)]\frac{1}{2c}[\Omega(s,c)-\Omega(s,-c)] (and 1χ1−χ2[Ω(s,χ1)−Ω(s,χ2)]\frac{1}{\chi_1-\chi_2}[\Omega(s,\chi_1)-\Omega(s,\chi_2)]) as in the book; direct differentiation is used only as the independent AD check.
Admissible orders §1.0.7GitHub calculator: n≥1n\ge1.n≥0n\ge0 (the n=0n=0 case is the base identity used for the Fubini integrals in §1.0.7).
Removable singularity at s=0s=0 §1.0.5Old site: "(F(bs) − F(as))/s … at s = 0 it is not defined", inputs restricted to ∣s∣≥0.25|s|\ge0.25; GitHub app: no treatment (symbolic substitution gives 0/0).s=0s=0 is removable: φ(0):=f(0)(b−a)\varphi(0):=f(0)(b-a) and (1.5)–(1.9) hold at s=0s=0, with φ(n)(0)=f(n)(0)bn+1−an+1n+1\varphi^{(n)}(0)=f^{(n)}(0)\frac{b^{n+1}-a^{n+1}}{n+1}. Likewise s=χs=\chi when f(bχ)=0f(b\chi)=0, and s=1s=1 for the power kernel.
Order of the limits a,ba,b §1.0.5Old site: identity panel required a<ba<b.Any real a,ba,b; the book uses boundary inversion (a=πa=\pi, b=0b=0 in Example 1, ∫π0=−∫0π\int_\pi^0=-\int_0^\pi).
Subject of the old lab §1Old "Derivative Lab" (lib/math/derivatives.ts): nn-th derivatives of sin⁡(ax)\sin(ax), cos⁡(ax)\cos(ax), eaxe^{ax}, sinh⁡\sinh, cosh⁡\cosh, 1/(x2+a2)1/(x^2+a^2) in xx, and the identity only for sine/cosine kernels with n≤8n\le8.Chapter 1 concerns ss-derivatives of quotients: (1.5) for all six kernels, the Ω\Omega operators for s−χs-\chi, s2−c2s^2-c^2, (s−χ1)(s−χ2)(s-\chi_1)(s-\chi_2), the χ-ladder, the power kernel, Fubini integrals and the Laplace representation. 1/(s2+1)1/(s^2+1) appears only as Case V (s>0s>0), with its proof deferred to Chapters 2 and 4.
Printed decimal of Ω3(3,12)\Omega_3(3,\tfrac12) (corrected book) §1.0.6Ω3(3,1/2)=96625−12π225≈−4.58223\Omega_3(3,1/2)=\frac{96}{625}-\frac{12\pi^2}{25}\approx-4.58223.96625−12π225=−4.583810…\frac{96}{625}-\frac{12\pi^2}{25}=-4.583810\ldots (exact form unchanged; the final f′′′(3)≈−0.5516868693f'''(3)\approx-0.5516868693 is right).
Printed decimal of DasymD_{\mathrm{asym}} (corrected book) §1.0.6Dasym=11108sin⁡2−118cos⁡2≈0.1157336D_{\mathrm{asym}}=\frac{11}{108}\sin2-\frac1{18}\cos2\approx0.1157336 (intermediate 0.09261430.0926143).11108sin⁡2−118cos⁡2=0.1157329…\frac{11}{108}\sin2-\frac1{18}\cos2=0.1157329\ldots (intermediate 0.09261360.0926136); exact form unchanged.
Printed decimal of π2ln⁡2\frac{\sqrt\pi}{2}\ln2 (corrected book) §1.0.7π2ln⁡2≈0.613706\frac{\sqrt\pi}{2}\ln2\approx0.613706 (Case 2 and the summary table).π2ln⁡2=0.6142857…\frac{\sqrt\pi}{2}\ln2=0.6142857\ldots; 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.