Where did Laplacian come from? Laplacian things...​​Computational conception of Laplacian Operator​(fully coded)​β1.0
Dara O Shayda
dara@compclassnotes.com
In[]:=
DateObject[]
Out[]=
Wed 21 Oct 2026 02:49:45GMT+1
DOI: 10.13140/RG.2.2.33742.01600
Abstract
This fully coded treatise codes a software laboratory to experiment with symbolically programmable Laplacian(s) of all kinds including continuous Laplacian, discrete Laplacian, Graph Laplacian, Mesh Laplacian and the corresponding Laplacian matrices. This novel computational treatise codes answers to two basic questions, “Where did Laplacian come from?” and “Why is Laplacian ubiquitous in physics?”. The answers are coded in a most general universal paradigm such that the techniques would yield high code-Reuse for other applications. The symbolic computing assumes commutativity, associativity, distributivity, differentiability, integrability, Taylor series polynomial form and functions like O[ ], Gamma[ ], Factorial[ ] and Factorial2[ ] and a few others e.g. limit and algebraic structures of Real numbers. Such a universal paradigm codexplains the ubiquity of the Laplacian in physics, geometry and most other analytical sciences--codexplanations swiftly yield the human narrative. Programmatically constructed proofs of theorems: closed-form integral of a Taylor polynomial expansion on the surface/volume of a sphere and the discrete versions. Moreover, the integral of a Taylor polynomial expansion on surface/volume of a sphere is a sum of powers of Laplacian. Counterexample: programmatically proved that the Laplacian properties of the integral of a Taylor polynomial expansion on surface/volume of a sphere is no longer valid if the underlying axes are not orthonormal--codexplanations reveal the Laplacian orthonormal mandate. References 2-4 contain the earlier fully coded things: Generalized functions derivatives, Hamiltonians and Lagrangians.​​codexplain, codexplanation: code explain as in explain something by its construction code. ​​Live Code Notebooks:​https://www.wolframcloud.com/obj/ccn2/Published/Laplacian_things.nb​​CCN Node:https://discuss.compclassnotes.com/t/where-did-laplacian-come-from-laplacian-things/477 ​​Videos:​​ In case of bugs in the code or the theory please make contact to fix ASAP. ​​
Keywords: Laplacian, discrete Laplacian, Graph Laplacian, Mesh Laplacian, Taylor polynomial expansion,
​
100% Fat Free Mathematics​​
Software
Release: β1.0
Scripts: Symbolic computations performed in Wolfram Mathematica 15.0 .​​Notebook: https://www.wolframcloud.com/obj/ccn2/Published/Hamiltonian_things_par1.nb ​​Support: Contact the author for additional code, bugs, correction in maths and algebraic/mathematical mistakes or invalid inferences.​​Nomenclature: Most functions and most identifiers start with lower case letters, all native vendor identifiers start with upper case. ​​No Packaging: There is no software engineering applied to the code here nor elsewhere in the author’s technical notes to reduce the difficulties and version mismatches in future. The eager readers can simply copy paste the code or download and run the notebook. ​​TODO: 1. Compute, in code, the Taylor polynomials with arbitrary number of variables 2. Compute, in code, the surface integral of the Taylor polynomials with arbitrary number of variables ​
3. Compute and study Laplacian and surface integrals for
n
O[ϵ]
,n>2i.e.permit3rdormoreordersofderivatives
​4. Compute the properties of Gamma[ ] identities5. TODO 2.9:
Δf[x0,y0,z0]=
lim
⟶0
2
(-1)


f
μshell

-f[x0,y0,z0]
in some papers and books has
(-1)

term while in some others
(2)

and the code here matches the latter. Investigate the discrepancy. ​6. enter{x0,y0,z0} had to use x0,y0 and z0 symbols, not the Subscript[ ] symbols since the same symbols x, y and z were used in the integrand which causes anomalies in the Wolfram Mathematica language. While there are multiple proper ways of handling these malfunctions, all alternatives made scripts less familiar and awkward for the newbies.
© 2012-Present CCN Studios​​Creative Commons Attribution-NonCommercial-ShareAlike 4.0​​​
​​
⇒ Preliminaries
⇒1 Initialize
In[]:=
Notation`AutoLoadNotationPalette=False;​​Needs["Notation`"];​​ClearNotations[];​​CloudGet["https://wolfr.am/1ItEvTTUn"];​​ℒinit[]
Out[]=
{version: β1.0, ℋelp}
Enter ℋelp symbol to get the symbol list and values:
In[]:=
ℋelp
Out[]=
{3,2,αs{
α
1
,
α
2
,
α
3
},ɑ
α
1
+
α
2
+
α
3
,ℊ{x,y,z},enter{x0,y0,z0}}
⇒2 Formalism and Notations
●
f[x,y,z]:
3

⟶
any scalar valued smooth (at least up to 2n derivatives) function e.g. a potential. For this example assume f[ ] it is an abstract function therefore allows no reductions. In general
f[
x
1
,
x
2
,...,
x

]:


⟶
, which the default value here is 3, see below;​● Compute f [ ]’s Taylor expansion in 3 variables corresponding to to the 3 coordinate values;​●
[
α
1
,
α
2
,
α
3
]
f
[x,y,z]
represents the
α
1
-th derivative index of the first argument to f [ ] or x-coordinate followed by the the
α
2
-th derivative index with regards to y and the
α
3
-th derivative index derivative with regards to z. 0 values for
α
1
,
α
2
and
α
3
indicates no derivative evaluated for that variable in function f[ ] ;​●
ɑ=∑
α
i
, had to use a different alpha symbol namely ɑ since the indexed
α
i
required an undefined Symbol α;​●
αs={
α
i
}
a list of indexed
α
i
;​●
{x0,y0,z0}
represents the a fixed point in
3

for which the said derivatives are evaluated for;​●
{x0,y0,z0}
also represents the a fixed point in
3

as the center of a convex geometrical region e.g Sphere, Ball or a convex hollow or filled polygon.​●
{x,y,z}
represents a variable of type vector representing the coordinates;
Evaluate the ℒinit[ ] function to initialize the symbolics system, anytime during the session.
In[]:=
ℒinit[]
Out[]=
{version: β1.0}
Evaluate the ℋelp symbol to output the system variables.
In[]:=
ℋelp
Out[]=
{3,2,αs{
α
1
,
α
2
,
α
3
},ɑ
α
1
+
α
2
+
α
3
,ℊ{x,y,z},enter{x0,y0,z0}}
Alter the args , namely the argument list to the function f[ ] and the following symbols  and αs are automatically updated and thus ɑ evaluates to the sum of alphas in αs .
In[]:=
ℊ={x,y,z,t,u,v}
Out[]=
{x,y,z,t,u,v}
In[]:=
enter
Out[]=
{x0,y0,z0,t0,u0,v0}
In[]:=

Out[]=
6
In[]:=
ɑ
Out[]=
α
1
+
α
2
+
α
3
+
α
4
+
α
5
+
α
6
In[]:=
αs
⇒3 Universal Paradigm
In science and philosophy, a paradigm (/ˈpærədaɪm/ PARR-ə-dyme) is a distinct set of concepts or thought patterns, including theories, research methods, postulates, and standards for what constitute legitimate contributions to a field. The word paradigm is Greek in origin, meaning “pattern”. It is closely related to the discussion of theory-ladenness in the philosophy of science. [8]
​
Paradigm comes from Greek παράδειγμα (parádeigma); “pattern, example, sample”; from the verb παραδείκνυμι (paradeíknumi); “exhibit, represent, expose”; and that from παρά (pará); “beside, beyond”; and δείκνυμι (deíknumi); “to show, to point out”.
​
In classical (Greek-based) rhetoric, a paradeigma aims to provide an audience with an illustration of a similar occurrence. This illustration is not meant to take the audience to a conclusion; however, it is used to help guide them to get there.
​
​Universal Paradigm’s similar components: commutativity, associativity, distributivity, differentiability, integrability, Taylor series polynomial form and functions like O[ ], Gamma[ ], Factorial[ ] and Factorial2[ ] and a few others e.g. limit and algebraic structures of Real numbers.
​
We do not need the exact description of the Gamma[ ] function; all we need are its properties, identities and Taylor polynomial form.
​
If we have such similar components then we can build software systems to digitally and computationally realize symbolic manipulations that are in congruence with the Universal Paradigm at hand. Such a software system is called Symbolic computing.
1. Taylor Polynomial expansion: Construction
Finally we have constructed such a polynomial to agree at x0 with the first n-th derivatives:
With a bit of work, you can construct Taylor polynomials in several variables.
1. Taylor Polynomial expansion of an abstract function
In this experiment we focus on the structure of a Taylor polynomial, from the degrees of derivations to the powers of terms to coefficients of partial derivatives and more.
Abstraction function outputs the most general possible Taylor polynomial:
1.1 seriesDerv[ ]
seriesDerv[ ] returns the list of partial derivatives found in the series with degrees up to 2 or whatever other integer entered as the last argument:
1.2 seriesDervSum[ ]
seriesDervSum[ ] is quite useful for it returns all the partial derivatives which the sum of the degrees add up to a fixed integer namely sum the last argument:
The same seriesDervSum[ ] overloaded with one more trailing variable, a pure function, which serves as a filter to sieve the partial difference degrees tuple e.g. keeping all even degrees and cull the rest:
1.3 Coefficient[ ]
1.4 Partial Derivatives Indices and Coefficients
Currying [6] turns a function that takes multiple arguments (like f(a, b)) into a sequence of single-argument functions so you can call it like f(a)(b).
​
​1.5 Curried Derivative
Use the curry to linearize the 2D typeset for much easier symbolic programming.
Sequence or Sequence@@ transforms a list as a single variable to multiple variables suitable as arguments to functions:
1.6 Defaults
1.7 Bookkeeping
2. Surface Integral of Taylor Expansion polynomial (series) on 3d Sphere
meanSurfaceValue : This is the mean surface value of the Taylor expansion , a polynomial in multiple variables, which was computed by taking a continuous surface integral on the shell of a sphere and divided by the area of the sphere as the normalizer.
2.1 seriesDerv[ ]
This function returns a list of all derivatives and their corresponding arguments as appeared in a Taylor-like series.
​
​● All derivative indices are even thanks to the surface integral on a sphere.
Note 2.1.1: The odd orders of derivatives of f[x0,y0,z0] are missing!
2.2 2nd order approximation to the meanSurfaceValue
Note the 1/2 halving of the radius r’s powers:
2.3 Programmatic parts of the meanSurfaceValue sum
Notice the odd index 3 is missing, because it is 0 and this plays an important role in the later results for Laplacian powers.
2.4 Laplacian at the center of a sphere
Recall that  is set to 3 the length of the argument list to the function f[ ].
​
Subtract from the mean surface integral on the sphere the value of the function f or f[x0,y0,z0] and multiple certain coefficients:
This is the surface integral of a Taylor series of a function which is always the Laplacian !
What followed so far is the proof by construction for the following theorem:
Definition 2.8: The assumptions argument in the latter proof is called the Universal Paradigm similar to the concept Universal Property.
3. Surface Integral of Taylor polynomial for (series - f[x0,y0,z0]) on 3d Sphere
Apply the same Universal Paradigm:
3.2 Surface Integral of Taylor Expansion polynomial on 4d Sphere
Make sure to update the system variables as below:
Note: The latter series2 and the surface integral namely meanSurfaceValue3, might take quite a few minutes to finish computing, therefore the computed results are stored in the following Cloud Symbol for your convenience:
● Area of 4d Sphere:
● Compute the ordered powers of  :
4. Integral of Taylor Expansion as powers of Laplacian
Repeated or nested application of Laplacian operators is called the Laplacian powers.
Do initialize again since the previous 4d Sphere computations altered the dimensionality of the system and variables.
For expressions of x, y and z, set a new function e.g. g[ ] representing the expression in order for the programmatic Laplacian powers work:
Most general and parametric way to create the monomials is the following:
Assumptions contain additional parity check:
4.5 Simplification : Factorial ! only
Compute the identity:
4.5.1 Example
✓ Test 4.5.3
4.6 Simplification : Factorial2 !! only
5. Powers of Laplacian
5.2 Experiment: exponentsToDervs[ ]
Gadget to tinker with:
​
1. exponentsToDervs[ ] transforms a monomial to a partial derivative of an abstract function f, by default set to 2-multiple useful for the Laplacian powers:
For other powers e.g. 1, simply pass the numeral as the last argument:
We show that the exponentsToDervs[ ] transform faithfully preserved the multiplications and the variable power exponents to the corresponding partial different operator degrees:
2. Any missing variable in the monomial namely with power 0 is taken into account:
3. Our experiment starts now, simply take powers of the Laplacian
4. Transform the expanded monomials to partial derivatives
✓ Test 5. Test if the two are equal
Note: This 𝜟 is not the Wolfram Δ; 𝜟 is a Unicode symbol to avoid clobbering the native Δ operator.
Now with these experimental results in our software lab we can proceed to give a simple proof of the above theorem.
5.4 Theorem: Mean Value Integrals of a function on the surface/volume of a sphere is equal to a weighted sum of function’s Laplacian powers.
6. Volume Integral on 3d Sphere
Digression: Gamma[ ]
7. CONNECTIONS WITH THE DISCRETE LAPLACIAN
Almost always the SurfaceIntegrate[ ] computation is computationally out of reach and that was why we applied the series expansion prior.
​
For discrete cases we have no choice but to use an alternative method as computed below again a direct consequence of Taylor series however the average is obtained by the values of the function in 6 points of intersection of axes or 2d and d being the dimension of the space and numeral 2 factor is for the positive and negative axes value intersections.
7.1 Rotated Orthonormal Axes
This tells us that no matter how a scalar field is configured in terms of orientation in space, its Laplacian remains the same differential operator form!
​
This is in part what the physicists mean by laws of physics are the same regardless of the fames of reference (neglecting to mention as long as the space has an orthonormal representation).
7.3 Non-Orthonormal Axes
Reorder the list to assign vector value in a system of equations:
7.5 Example Scalar Fields
Approaches 0.
Remains far away from 0 or blows up.
9. Volume Mesh Graph Laplacian
9.1 Experiment computing a graph out of the volume-segments in discretization
9.2 Plot the graph
● Green ball is the center of the center vertex and the red balls are its immediate neighbors;
9.3 Exploded view
● Green ball is the center of the original volume;
9.3 Compute the volume segments graph of a filled Torus
9.4 Stats and Measurements
9.4.1 Histogram of total number of immediate neighbors
With finer discretization approaches 0 in both Max/Min.
With finer discretization still remains far from 0 Max/Min or blows up.
Coda: The Universal Paradigm
If you are an average guy, then your Laplacian is 0
Imagine yourself sitting in a football stadium and suddenly you realize that your height is equal to the average of those sitting around you. Your income is the average of the income of the people sitting around you. Your age is the average of the age of those sitting around you! Don’t be sad! Be happy since you just discovered your Laplacian is 0!
​
Now imagine you discovered that everyone in the stadium has this average-property like unto you! Then the Laplacian of the crowd is also 0.
​
Finally imagine that you got a text message from your broker that your investment portfolio had a fantastic sudden upshot of gain! While you cheer, you notice that the people sitting around you also start cheering for their financial gains and the people sitting around them and so on. However the farther they sit their gains got smaller than yours.
​
As you watch the game, you note that your gains start tapering off while those sitting around you are still cheering more gains.
​
By the time the game is over, again your financial portfolio equals to the average of all portfolios of people sitting around you! Dang, you are average again!
​
Now you understand zero Laplacian! Because you are one!
​
References
[1] Jeffrey S. Ovall ,The Laplacian and Mean and Extreme Values
https://discuss.compclassnotes.com/t/where-did-laplacian-come-from-laplacian-things/477/2
​
[2] Derivating things: Construction of the Generalized functions and computing their derivatives (fully coded) Part1-ν2.1
DOI: 10.13140/RG.2.2.30726.23364
https://www.researchgate.net/publication/395806943_Derivating_things_Construction_of_the_Generalized_functions_and_computing_their_derivatives_fully_coded_Part1-n21
​
[3] Hamiltonian, Lagrangian things Part1-β2.1
DOI: 10.13140/RG.2.2.27370.79047
https://www.researchgate.net/publication/395012799_Hamiltonian_Lagrangian_things_Part1-b21
​
[4] Hamiltonian, Lagrangian things: Graph Lagrangian for CO2 and Benzene to compute vibrational spectra (fully coded) Part2-β2.1
DOI: 10.13140/RG.2.2.13949.01766
https://www.researchgate.net/publication/395339700_Hamiltonian_Lagrangian_things_Graph_Lagrangian_for_CO2_and_Benzene_to_compute_vibrational_spectra_fully_coded_Part2-b21
​
[5] Laplacian Definition
https://en.wikipedia.org/wiki/Laplace_operator
​
[6] https://en.wikipedia.org/wiki/Currying
​
[7] https://mathworld.wolfram.com/GammaFunction.html
​
[8[ https://en.wikipedia.org/wiki/Paradigm
​
​
​
​
​