Jump to content

User:Thermochap/Sandbox

From Wikipedia, the free encyclopedia
Wide angle view of TEM diffraction tilting.

This page is like an electronic notebook for playing with some equations that I think are cool. It's still not quite as flexible as a physical notebook with numbered and lined pages, but at this point I would say that it is complementary in that regard. The page also serves as a place for storing information on HTML, TeX, and Wikimedia editing markup that might come in handy for displaying equations elsewhere.

Note: Although many of these equations can be used to generate beautiful graphics, on these pages the visualizations will mostly be left to YOUR imagination. Feel free to suggest interesting things to plot, nonetheless.

Did you know?

[edit]

transcription/translation notes

[edit]

Consider this short double-helix region with the template-strand on bottom, somewhere after the upsteam or leftward promoter-region (e.g. which in bacteria offers a binding site to the RNA polymerase sigma-subunit to start transcription of DNA to mRNA), and well before the downstream or rightward terminator-section's inverted-repeats cause transcription to stop:

3'-GACTAGACTGACTACGCATACGATCA-5' (non-template "coding" strand)
5'-CTGATCTGACTGATGCGTATGCTAGT-3' (template strand)

Transcription of the template-strand proceeds from the sugar-phosphate backbone's 5' (upstream phosphate) through the 1' base connections to the 3' (downstream sugar-ring) end, yielding a messenger RNA strand from this section which (now grouped into three-base codons starting from the upstream or 5' side) looks like:

5'-GAC UAG ACU GAC UAC GCA UAC GAU CA-3' (transcribed messenger RNA)

where as usual we've used C⇒G, G⇒C, T⇒A, and A⇒U on the template strand to get a copy of the non-template "coding" strand with T⇒U.

Let's also assume that on this mRNA strand this section starts somewhere after an upstream or leftward ribosome binding site (like AGGAGGU) and the subsequent (AUG ⇒ Methionine) start codon, but before a stop codon (UGA, UAG or UAA) that signals the end of translation to protein:

AsparticAcid-STOP. (resulting protein segment)

Oops. As you can see there was a stop codon in this string, so the resulting protein ends here.

Editing tips

[edit]

Note: The markup to create the following items will be visible in the editing window, if you click on [edit] in the upper right corner of this section.

Here's a sample reference[1] that can be cited more than once[1]. Multiple formats for automatically numbered footnotes are available, although only one of these formats is used below[2].

You can put stuff into a non-wrapping box 
by starting each line with a space.  This 
might be useful for program code (note the
equally-spaced font) as well as to 
highlight an equation or two.

And then there is the question of inter-wikilinks. For example, w:Apple is the article on the (English) Wikipedia for Apple, while wikt:Apple would be the analogous one on Wiktionary. There is probably a list of prefixes, e.g. for wikiversity, wikibooks, wikicommons, et cetera.

Don't forget that you can insert fractions into text like this: 78. You can also put TeX math into text like this: .

An example of TeX math in its own indented line is this equation from Miller index for the normal to the (hkl) plane of a hexagonal crystal in terms of both covariant reciprocal-lattice basis one-forms or co-vectors a*, b*, c*, and contravariant direct-lattice basis vectors a, b, c:

.  

Here of course a*=(b×c)/Vc, b*=(c×a)/Vc, and c*=(a×b)/Vc where the unit cell volume is Vc=a·(b×c).

Two fun equations from scattering theory are the kinematic equation from reciprocal lattice for single-scattering of a coherent beam (e.g. of electrons, photons, or neutrons) by a cluster of atoms,

,

and its angle-averaged sister from powder diffraction, the Deybe equation for scattering from a random collection of such clusters:

.

A pretty example from proper acceleration is this equation for relativistic coordinate acceleration in terms of proper (physical) acceleration A as well as the various geometric accelerations that arise from the coordinate system's affine connection:

.

Experimenting with equations

[edit]

clustering algorithms

[edit]

In laTeX markup, that last equation (circled in those 17 Feb 2019 notes) might look like:

.

As you can see with a look at the markup in the editor, I've tried to put limits on the sums, and used \tfrac instead of \frac to get the whole line to fit across a single page in word.

In mediawiki markup, it might instead look like:

⟨CU⟩ ≡ (Σk=1,Kp[Ck]Σi=1,Ip[A*|Ck]Σj=1,Jp[Ai=Vij|Ck]2 - Σi=1,Ip[A*]Σj=1,Jp[Ai=Vij]2)/K.

In the latter I've added the bold to show that there are actually 5 different probability functions involved. Also, I think that there are ways in wiki markup to "put a hat" on the A, but it seemed easier here just to use an asterisk (A*) instead. Thermochap (talk) 14:50, 18 February 2019 (UTC)

Note that for the wiki markup example, cut-and-paste into google docs, followed by conversion to word, might do a better job than direct pasting into word. Thermochap (talk) 16:00, 18 February 2019 (UTC)

columnar growth on a cylinder

[edit]
Circular darkfield aperture (left) simulation of 2nm metal particles on a nano-cylinder (right)

These equations stem from an investigation of lattice fringe visibility in nanoparticles grown on the surface of a cylindrical fiber or tube. Look for more on the resulting geometry problems here in the days ahead. In the meantime...

How would you solve this equation for φlocal? Here φlocal is the local azimuth of a lattice fringe's tilt axis with respect to a nanotube on which it resides, ζ is the angle between that lattice plane's normal and a reference or growth plane, θ is the angle between the growth plane and the viewing direction, and φview is the azimuth of the projected fringe and the tube axis. If you have a closed-form solution, by all means post it in this section!

It would also be nice to solve this equation for beam angle from face-on, set equal to π/2, for θ:

.

Note: Because of branch cuts associated with inverse trig functions, the solutions might be a bit messy. Suggestions invited, nonetheless.

On the subject of Miller and direct lattice indices for planes and zones in hexagonal crystal and graphene (hk0) layers, do the curious relationships below make sense to you?

In particular, do you know of an easy way to confirm the assertions about directions being parallel?

fringe visibility / bend contour rocking curves

[edit]
Bend contour and lattice fringe visibility as a function of specimen thickness and beam tilt.

Speaking of the visibility of lattice fringes as a function of specimen orientation in a transmission electron microscope, the expression for fringe visibility half-angle looks like:

.

In the expression above, d is the spacing of the lattice planes, t is the crystal thickness, λ is the wavelength of the electrons, and Γ is a “visibility factor” on the order of 1 that empirically accounts for the signal-to-noise ratio in the method used to detect fringes.

Replacing Γ/t with deviation parameter or excitation error s in the above equation, one can solve for deviation parameter in terms of off-edge angle α to get:

.

The Fourier shape transform of a spherical crystal in three dimensions, in terms of spatial frequency g and sphere diameter t, may be written:

.

Consider a lattice plane canted by angle α radians from the edge-on position along the electron-beam direction. Since all reciprocal lattice spots will be convolved with the shape transform, the intensity of Bragg scattering from the brightfield (unscattered beam) image can be estimated by adding amplitudes (in the coherent kinematic scattering case) from both sides of the lattice plane by adding Ξ[s] values for deviation s[α] evaluated at ±α. The result is illustrated in the figure at left.

An interesting related problem: What's the area of the orientation sphere subtended by the intersection between two such bands, say each of half-angle α, since this relates to the probability of encountering lattice cross-fringes in a collection of randomly-oriented crystals. Consider first the case of equal bands intersecting at right angles. We are interested in σ2, twice the area σ1 of a single intersection, because great-circle bands intersect twice on opposing sides of the orientation unit sphere.

For α<π/4 a lovely equation for the exact value of the intersection solid angle has been discovered by Dr. Jon Bailey, to wit:

...,

where hypergeometric function F[n] is

.

For α>π/4, upper and lower visibility zones connect leaving only four circular "cross-free caps". Hence σ1 then becomes 2π(2sin[α]-1).

These observations show that an excellent approximation for small angles is σ2 ~ 2(2α)2, i.e. twice the area one would calculate for a flat square of side 2α. The approximation error (from above) is to first order (4/9)α6, which is still below 0.5% when bandwidth 2α is a radian.

When crossing bands have half-angles of α1 and α2, and they intersect at an angle of φ radians, the flat polygon estimate for the area of an intersection plus its complement (on the other side of the sphere) becomes:

.

Intersection areas of multiple bands, e.g. for analysis of fringe visibility in 10-crystal icosahedral twins, remain an active area of inquiry. If you like thinking about geometry problems like this, leave a note here.

particle outflows due to stellar radiation

[edit]

Most of the lighter elements of which we are made were formed by nuclear processes in red giant stars. Some of these elements (e.g. carbon) likely condensed in the atmospheres of these stars, with the resulting particles ejected into the interstellar medium by radiation pressure from that star. Recent laboratory work on microscopic particles that were formed in the atmosphere of such stars has raised questions about the details of these condensation and ejection processes. The equations here offer some preliminary insights (hopefully) into the latter.

Before worrying about interaction cross-section changes as particle size moves below the wavelength of the radiation, let's consider the process of radiation pressure ejection assuming simple geometric cross-sections. For an initially stationary particle, begin by balancing gravity and radiation pressure forces:

.

Here M is the mass of the star, R is the distance from the star (which cancels out in the equation), L is the star's luminosity (radiative energy output per unit time), and of course G and c are the gravitation and lightspeed constants respectively. Assuming that particle mass m relates to density ρ via m = (4/3)πr3ρ, the foregoing equation yields a critical radius for balancing these two forces which is around a quarter micron for 3 g/cc particles in our solar system, and perhaps 50 times that for particles in the neighborhood of the asymptotic giant branch stars which manufactured the carbon found in micron-sized presolar graphite onions from the meteorite Murchison.

Since these particles are much smaller in size than the critical radius (but still not much smaller than the wavelength of the stellar radiation), we might try ignoring gravity in estimating the resultant acceleration. This yields:

.

Here σ is the constant that figures in the Stefan-Boltzmann law, which for a star presumably looks something like L = 4πR2εσT4. The reason that stellar radius R doesn't appear on the right side of the acceleration equation above is thus because the ratio between stellar luminosity and photosphere area is roughly proportional to T4. This suggests that radiative acceleration at the photosphere surface may be similar for all stars of comparable surface temperature, and in the absence of other factors on the order of 5 m/s2 for the above-mentioned grains.

What are the primary factors that lessen the effect of this radiation pressure just outside the surface of such a star? Collision with gas molecules are one possibility. Do gas densities and velocities make this a significant factor? Where can we find models of molecule and particle number density and size distribution as a function of distance away from the center of an asymptotic giant branch star after 2nd dredge up? To consider gas molecule transport, of course, as well as radiation effects on much smaller particles, we can no longer ignore the wavelength dependence of the interaction cross-section. Rayleigh and Mie scattering equations may come in handy here. Suggestions are invited for getting a quantitative handle on these effects.

some KL divergence stuff

[edit]

informatiion unit table

[edit]
Table of selected units for information-uncertainty[3], entropy[4][5], surprisal[6], Gibbs availability[7], heat capacity[8], etc.
unit #choices base bits nats bytes J/K kcal/K
bit 2#bits 2 ln2[2]=1 ln[2]≅0.693 ln256[2]=0.125 kln[2]≅9.57×10-24 k"ln[2]≅2.29×10-27
nat e#nats e ln2[e]≅1.443 ln[e]=1 ln256[e]≅0.180 k≅1.38×10-23 k"≅3.30×10-27
byte 256#bytes 256 ln2[256]=8 ln[256]≅5.545 ln256[256]=1 kln[256]≅7.66×10-23 k"ln[256]≅1.83×10-26
J/K eS/k e1/k≅101022.5 1/(kln[2])≅1.04×1023 1/k≅7.24×1022 1/(kln[256])≅1.31×1022 kln[e1/k]=1 k"ln[e1/k]≅2.39×10-4
kcal/K eS/k" e1/k"≅101026.1 1/(k"ln[2])≅4.37×1026 1/k"≅3.03×1026 1/(k"ln[256])≅5.47×1025 kln[e1/k"]≅4187 k"ln[e1/k"]=1

measures of useful information

[edit]
Boltzmann's version of S = k ln[W].

There are generally three interconvertable forms: as a fraction or probability p between 0 and 1, as a reciprocal-probablity or multiplicity w between 1 and +∞, and as a log-multiplicity or surprisal in information units between 0 and +∞.

Surprisal:

,

where 0 ≤ p ≤ 1 and 1 ≤ wp ≤ +∞.

When k=1/ln[2] then surprisal units are bits. Probability p = 1/2sBits, so that there are N bits of surprisal in throwing all heads on the first toss of N coins. If k is 1 then the units are nats, while if k is Boltzmann's constant 1.38×10-23 then surprisal is in Joules/Kelvin.

Evidence for a True-False Assertion: .

When k=1/ln[2], evidence is in bits and we can say that "odds-ratio" = 2eBits. Since independent bits of evidence add, thresholds for various levels of proof might be established that are as easy to get a feel for as are the odds of throwing all heads on a handful of coins.

Entropy, uncertainty, or average surprisal:

,

where operating probability-set Σipi = 1 and expected or reference probability-set Σiqi = 1. Although written for discrete probability-sets, this expression also naturally adapts to continuous and quantum mechanical probability-sets.

Note that the upper limit on Sp/p is ln2[N}. Also the fact that Sq/p ≥ Sp/p, i.e. that measurements using the wrong model q are always likely to be more surprised by observational data than those using the operating-model p, underlies maximum-likelyhood parameter-estimation (curve-fitting) and Bayesian model-selection as well as the positivity of the subsystem-correlation and thermodynamic-availability (e.g. ordered-energy) measures discussed below.

Kullback-Leibler divergence or net surprisal of q from p:

,

where q is the expected probability-set and p is the operating probability-set. This quantity is also the negative of the Shannon-Jaynes entropy, useful for Bayesian maximum-entropy inference about systems with average-value constraints when prior-information is available[9].

  • In ecology and related fields, unbiased estimates for the KL divergence of "model from reality" are useful in ranking models against experimental data with help from Akaike Information Criterion applied to residuals that the models fail to explain.
  • In communications theory, in clade analysis, and in quantum computing the KL divergence of "uncorrelated from correlated" measures the mutual information associated with fidelity, inheritance, and entanglement.
  • In thermodynamics, the KL divergence of "ambient from actual" measures distance to equilibrium or Gibbs availability, and when multiplied by ambient temperature: available work.

Here we note that the foregoing are special cases of KL divergence as a measure of useful information. Each is, however, typically applied on only one level of organization at a time. In addition to offering some new and surprising applications, we discuss how some of the most interesting future applications may be more explicit about their relationship to correlations on multiple levels.

Some expansions
[edit]

KL-divergence can also be written as an infinite sum of moments (or averaged powers) for the dimensionless deviation from ambient δi=(pi/qi-1) using the McLaurin expansion for Log[1+δ] as:

.

Here the subscript p on the angle brackets denotes an average over the actual (pi) rather than the ambient (qi) probabilities. Low-order moments would dominate the infinite sum on the right if δi<1 ∀ i∈{1,N}, i.e. if the reference probability qi is less than half the operating probability pi for any value of i. High values of qi/pi cause less trouble in this context.

KL divergence converges more rapidly in moments of δ averaged over ambient probability q:

.

This latter equality uses the fact that the ambient average of δ is zero, and shows that for δ values much less than 1 that KL-divergence is approximately half the ambient average of δ2 i.e. that mutual information for small deviations goes as the ambient mean square deviation or variance from expected.

It might be interesting to examine these convergences further if q is a uniform distribution i.e. if qi = 1/N ∀ i∈{1,N}. Then convergence is assured as long as pi < 2/N ∀ i∈{1,N}, in which case Iq/p ≈ ½kN2⟨(p-q)2q.

Multiple subsystems

[edit]
Mutual information for M=2
[edit]

Mutual information, a special case of KL-divergence, is a measure of correlation between identical subsystems with second-law teeth[10] which finds application to a wide variety of digital systems in the code-based sciences e.g. of molecular codes, data compression, and quantum computing. Put simply, it's the information about the state of system A that you obtain on learning the state of system B and vice-versa, or in mathematical terms the amount by which uncertainty about the whole is less than the sum of uncertainties about the parts i.e. IAB=SA+SB-SAB.

For simplicity one might model N states for each of two identical subsystems so that joint probabilities are written pij where ΣiΣjpij=1 for both i,j ∈ {1,N}. The reference-probability for mutual information is the product rij≡pipj of marginal probabilities pijpij and pjipij. In bits this mutual information

is a multi-moment measure of subsystem correlation, since completely independent subsystems will have pij=pipj≡rij. The upper limit arises if SAB = SA+SB-IAB goes to zero when SA is zero and SB is at its maximum value of ln2[N], i.e. when knowledge of the state of A along with the mutual information IAB fully specifies the system state in the absence of any knowledge about B.

Total correlation for M>2
[edit]

Generalizing mutual information to more than two subsystems is not as simple as one might expect. As in the work above we stick with the KL-divergence strategy because the surprisal-based correlations that it measures are always positive, and because of its 2nd law connections. In this context total-correlation (sum of marginal uncertainties minus the joint uncertainty) and the associated connected-correlations breakdown[11] are tools of complex-system correlation-analysis which show promise for providing insight into the evolution and maintenance of layered correlation-heirarchies as well.

As above, total correlation in bits for M identical systems may be written as

where reference-probability r is a product of M marginals, namely rij...k≡pipj...pk, and each joint-probability has M indices represented by the letters i, j, ..., k.

The Bialek work cited above describes how this total correlation can be broken into order-m terms for m=2 to M, so that Ir/pmIr/p(m) where the order-m correlation terms are also positive. In fact, we conjecture the following upper limits as well:

.

Even for very simple cases (like when M=3 and N=2), calculation of the Ir/p(m) can be a bit messy.

Various probability sets
[edit]

As mentioned above, the general joint probability may be written pij...k while the independent-subsystem reference probability-set may be written as rij...k≡pipj...pk. The uniform probability assignment for M independent subsystems each with N states is uij...k=1/NM so that ΣiΣj...Σkuij...k=1, with marginal probabilities equal to 1/N. For N=2 and M=3, uijk=1/8, while ui=½, uj=½, and uk=½ so that product of marginals rijk≡uiujuk=1/8 as well, confirming subsystem independence.

Aside: The difference between KL divergence of general set q with respect to p and the total correlation of p might be written:

.

Does this in general obey any useful inequalities?

ideal gas applications

[edit]
Pressure versus volume plot of available work from a mole of Argon gas relative to ambient, calculated as To times KL divergence.

For a monatomic ideal gas at fixed temperature one can write the available work with respect to ambient as:

.

where Θ[x]≡x-1-lnx≥0 and

.

Here as usual ambient values for absolute temperature, volume and pressure are represented by To, Vo, and Po respectively.

More generally, we can write the thermodynamic availability in information units as

.

Thus a collection of N gas atoms whose volume V and temperature T differs from ambient is a potential source of net surprisal and hence available work. This is true regardless of whether the collection of atoms is either hotter/cooler than ambient, or more/less dense.

quantifying multilayer correlation

[edit]

Consider an L×n system having L layers each with n possible states per layer. Let M be the multiplicity of correlated layers, where 0≤M≤L-1. For integer values of correlated-layer multiplicity M, the simplest matrix of all nL probabilities has nL-M of those probabilities equal to pmax=1/nL-M with the remaining nL-nL-M probabilities equal to zero. Total state uncertainty is Stot = (L-M) ln2n, and the marginal probability of any given layer j={0,L-1} is pj = 1/n with associated uncertainty of Sj = ln2n. Finally, the mutual information is Inet = ΣSj - Stot = M ln2n. Thus Inet is one of a larger class of net surprisal (KL-divergence) functions that measure an increase in thermodynamic availability, often thanks to reversible thermalization of energy available for doing work in the world around.

The simplest example of this in turn might be for L=3 and n=2. For instance, imagine level 0 substrate states {land, sea}, first level locomotion states {legs, fins}, and second level color states {brown,blue}. In this case the uncorrelated M=0 probability set (all mixtures of states from each level) has these eight probability assignments:

.

The first entry in the array above is the probablity of a brown land dweller with legs, the second is that of a blue land dweller with legs, rightward is that of a brown land dweller with fins et cetera until the last entry: the probability of a blue sea dweller with fins. In this uncorrelated case, all eight different types of organism are found with equal probability e.g. blue land dwellers with fins are as likely as brown sea dwellers with legs. Hence the total uncertainty ln28 = 3 bits equals the sum of the three 1 bit marginal uncertainties, and the mutual information is zero.

For the M=1 set, legs always go with land and fins always with sea while colors remain random. This has a probability array that looks like:

.

In this partially correlated case, total state uncertainty is only 2 bits (four types of organism) even though the marginal uncertainties still sum to 3 bits i.e. you still have one bit of uncertainty about the state of any randomly picked organism on a given niche level. Hence the mutual information is now 3-2=1 bit.

In the fully-correlated M=2 set, land, legs, and brown color always go together as do sea, fins and blue. The probability array now looks like:

.

In this fully correlated case, total state uncertainty is only 1 bit (i.e. there are only two types of organism), the marginal uncertainties still sum to 3 bits, and therefore the mutual information is now 3-1=2 bits. Thus here as elsewhere the niche multiplicity and mutual information (hence KL-divergence) go hand in hand.

Note that both non-substrate levels (i.e. locomotion and color) relate to individual fitness. In that sense they do NOT represent different niche layers if separate layers point inward or outward with respect to distinct physical boundary types (like molecule surfaces, cell membranes, metazoan skins, or code-pool edges). Nonetheless the example does illustrate some elements of correlated-state math in a multi-scale system.

niche layers for metazoans

[edit]

For comparison, a table of properties for a true 7×n multilayer model is provided below. The first two rows refer to the various layers, while the remaining rows refer instead to various values of inter-layer correlation. In those top rows the self and pair columns look inward and outward (respectively) with respect to metazoan skins. The family and hierarchy columns similarly focus in/out with respect to molecule code-pool boundaries, while the culture and profession columns predicate themselves instead on the physical boundary between idea-pools.

Matchups with respect to skin and code-pool boundaries, in a 7-layer model with n states per layer:

layer names substrate self <= => pair family <= => hierarchy culture <= => profession
some relevant properties land, air, water nutrition, fitness, learning friend, partner, mentor ancestors, offspring, inlaws community, employer, government tradition, arts/sports, religion specialty, archives, field/study
niche-layer multiplicity 0 1 2 3 4 5 6
pmax 1/n7 1/n6 1/n5 1/n4 1/n3 1/n2 1/n
Stotal 7 ln2[n] 6 ln2[n] 5 ln2[n] 4 ln2[n] 3 ln2[n] 2 ln2[n] ln2[n]
pmarginal 1/n 1/n 1/n 1/n 1/n 1/n 1/n
ΣSmarginal 7 ln2[n] 7 ln2[n] 7 ln2[n] 7 ln2[n] 7 ln2[n] 7 ln2[n] 7 ln2[n]
Inet=ΣSm-St 0 ln2[n] 2 ln2[n] 3 ln2[n] 4 ln2[n] 5 ln2[n] 6 ln2[n]

A small but important subset of bio and social science issues, relevant mainly to the health of single-species animal communities, are put into an integrative context with this layered-niche network approach. Included in these, for example, are the quantitative relevance of gene and meme pool diversity, the fidelity of molecule and idea code expression and processes associated with the parallel evolution of such codes, the mechanisms and impact of industrial QA, strictures against nepotism in the workplace, the success of work toward decoupling merit systems and politics, and the separate boundaries used by culture (e.g. church) and hierarchy (e.g. state) in comparison to the common boundary shared by professional observation (e.g. science) and cultural belief.

Even this simple model makes room for variability in the assignment of state structures since there's no upper limit on the number of states per layer. Storyboard models for exploring some of the problems above still remain to be written. What applications do you think might be most important to explore?

the layered niche-network simplex

[edit]

In developing operational measures for the niche-layer multiplicity associated with individual metazoans, one might consider the fractional resource allocation fi in time and/or available work to each of six layers (directed inward/outward from skin, gene-pool and meme-pool) via:

where and .

This above conversion between the fij and Mi is one standard way to determine an effective number of accessible states from a set of unequal probabilities. If we put the intermediate quantity into bits, we might also write it as:

 where .

This ad hoc estimate of niche-layer multiplicity for individual organisms might prove useful in ecosystem settings with many species, since it recognizes the extent to which such organisms are able to buffer correlations on multiple scales. The effect of stresses that prevent functioning on more than one level might thus be quantified. Moreover in place of group selection in the traditional sense, physical boundary-focused selection mechanisms that consider code-pool boundaries as well as metazoan skins may guide the development of varied symbioses, including guilds defined as functional groupings between species, just as idea codes passed on to apprentices (thereby expanding a boundary) may have helped to define and support craft-guilds e.g. for shoemakers or bakers in medieval times.

The niche-layer multiplicity associated with a single-species community might further be defined as a harmonic average of the Mi values. The harmonic average M is written

.

In terms of Ci in bits, for a community of N individuals this could also be written as:

where .

More recent work suggests that a linear average (rather than harmonic) might be more appropriate, since for simple systems (see above) the mutual information in a correlated multi-layer system is proportional to multiplicity M rather than to ln2M. This linear average is often written as:

. 

In either case the multiplicity values (Mi, M, and <M>) fall between 1 and 6, while the various C values above fall between 0 and ln2[6] ~ 2.58 bits.

digital darkfield and the sinc wavelet

[edit]

Although mutual information is a multi-moment measure of correlation, second-moment measures lie at the heart of exciting pattern-recognition tools in mathematical harmonic analysis (like wavelet theory) which lie intermediate between direct and reciprocal space. A new frontier for their application lies in detective work on atom-resolution images. The notes here connect these new developments to electron-optical "analog computing" strategies that have been in use for decades.

Using Cartesian coordinates in 2D and a common bandwidth (or frequency scale parameter) Δf for each direction, the windowlet transform of an input function s[x,y] (e.g. a deBroglie wave at the 2D exit surface of a physical specimen) is represented by:

.

Note that the output ψ is generally complex even if the input signal s is real. Here x={x,y} is a direct-space shift vector, and fo is a frequency or reciprocal-space shift vector. Suppose that the kernel h[ξ,η] can be further written, in terms of dimensionless 2D variables ξ in direct-space and η in reciprocal space, as the product wg of a window function w[ξ] and the Fourier modulation function g[ξ,η] = e-2πiξ·η. In that case the Fourier transform of the windowlet becomes:

.

Here of course W and S are the Fourier transforms, respectively, of w and s.

Finally a square Shannon (or Littlewood-Paley) window in frequency space (this corresponds to a square aperture in the back-focal or transverse-momentum plane of an electron optical system) might be written as Wxy] = rectx] rect[ηy] where

.

In direct space, the shape-transform of this aperture is a 2D sinc-window of the form:

.

Although square or rectangular sinc-windowlets are useful when one wishes to comprehensively tile reciprocal space (wavelets per se typically use a hierarchy of 2×2 tilings), circular back-focal plane apertures are more common experimentally. These give rise in direct space to Airy (Bessel function) rather than sinc windows. The convergence properties of Airy windows are more isotropic.

When |fox|<Δf/2 and |foy|<Δf/2, microscopists who use electron-optical methods to do this calculation for an exit wave think of the map of intensity ψ*ψ as a brightfield image (exclusively so when illumination is parallel) because it includes the unscattered beam or DC peak. Regions in the image without scatterers are therefore bright.

Conversely when the frequency-space aperture excludes the unscattered beam, microscopists call the ψ*ψ map a darkfield image. Only objects with periodicity in bandwidth Δf, centered on the frequency shift vector fo of this square aperture, light up in the ψ*ψ field. The corresponding phase maps of arg[ψ] = -i ln[ψ/|ψ|], on the other hand, contain very precise information on vector periodicity-displacement and hence strain tensors in projection. For example, maps of picometer-scale strain in atomic lattices have been made via these transforms, using microscopes with point-resolutions only in the 0.2 nanometer range.

The above windowlet is a direct-reciprocal inversion (in 2D) of the short-time Fourier transform. It has zero mean and is square integrable. Its transform also meets (at least for parallel illumination) the wavelet-decomposition admissibility condition in the darkfield case i.e. when the frequency window does not include the zero-frequency point or DC peak. The weak point of this decomposition is that support in direct space is not compact but instead exhibits sinc-system convergence, proportional to 1/x as x→∞ i.e. at the slow end of the Haar to sinc continuum.

roughness spectra & radial covariance

[edit]

Speaking of harmonic analysis, variations in the vertical height h of a surface can be decomposed into a variance σh2 with units of distance-squared plus a DC or mean-value component (left hand side of the equation below). Parseval's theorem and the Fourier transform H then lets one write this as a sum of azimuthally-averaged vertical roughness values Rn2 for a given lateral spatial frequency-index n:

.

Here n corresponds to the dimensioned spatial frequency f=n/W, where W is the lateral field width of an N×N image, the Nyquist critical (maximum non-aliased) frequency in the data is N/(2W), and

where the azimuthal average in angle brackets is over all Fourier coefficients whose frequency indices l and m squared add more closely to n2 than to some other integer squared. If one then plots log[R] as a function of log[period] where period=1/f, the DC components (n=0) vanish from consideration and a plot over log distance units on both axes can be used to tell the story of topography variation over many orders of magnitude in size.

Thus one can compare a plowed field, a redwood forest, a polished silicon wafer, and a stormy ocean on the same plot. How do vertical variations of these surfaces compare on lateral size scales of a nanometre, a micrometre, a millimetre and a metre? For example, where will they plot on each of these size scales with respect to the "line of hemispheres" i.e. the locus of spectra from equant objects (like hemispherical bumps of radius r) whose vertical variations peak out near R=r at lateral size scales near 1/f=r. Vertical variations over kilometre-scale separations laterally, for all except the silicon wafer, might be interesting as well.

The foregoing connects us to a number of pragmatic issues. One of these is the implicit periodic-boundary assumption of this discrete transform, which often gives rise to "edge effects" e.g. in power spectra of experimental data. Elegant ways around these remain to be discovered, although many different work-arounds have been discussed.

A book-keeping issue that comes up when writing programs is the discrete transform's normalization, below defined for the 2D transform using constants a and b. The inverse transform is obtained by changing the sign of both a and b, and of course exchanging h and H as well.

.

The roughness analysis above uses {a,b}={-1,±1} so that the forward transform looks like an average over all pixels, although the signal processing convention is {a,b} = {1,-1}. More symmetric unitary transform conventions use {a,b} = {0,±1}. In one dimension the comparable equation looks like:

.

Can you guess how a similar transformation in three dimensions would be set up?

sample bias and error in the mean

[edit]

Here's an application example for sample autocovariance: An unbiased estimate of squared error in the mean of variable A, sampled at N known locations on an n-dimensional manifold x, may be written as:

,

where σAA[tij] is the autocovariance for variable A sampled at points i and j, σA is the population standard deviation, and the bar over A refers to the sample average. If we define sample bias coefficient ρ as the dimensionless average of A's auto-correlation over all sample point pairs, i.e. as

,

then this becomes

.

The above relation can also be written in terms of expected value for sample variance (taken as a population):

,

if we can show that an unbiased estimator for σA2 is:

.

This follows by expanding the definition of sA2 to show that:

.

As a result:

.

A useful "cube-cube containment estimate" of ρ for a 3D specimen with grain size d and sample size D is:

.

An exact "sphere-sphere containment model", which is non-physical because one cannot fill space completely with sphere of a single size, instead looks like:

.

one map two clocks

[edit]

One starting point is Minkowski's flat-space metric equation as definition of the traveler time δτ elapsed between event points on the traveler's world-line separated by map distance δx and map time δt on a single reference map-frame of interconnected yardsticks and synchronized clocks:

.

Dividing this by (cδt)2 yields an expression relating Lorentz factor γ≡δt/δτ and coordinate velocity v≡δx/δt. Dividing (cδτ)2 yields an expression relating Lorentz factor γ and proper-velocity w≡δx/δτ.

.

All three of these velocity parameters also relate to hyperbolic velocity angle or rapdity:

.

Next define proper-acceleration as the change in proper-velocity w≡dx/dτ per unit time felt by the traveler e.g. in moving from frame C to C'. The unidirectional proper-velocity addition rule (Lorentz-factors γ≡dt/dτ multiply while coordinate-velocities v≡dx/dt add) then says that from map-frame B's point of view:

.

If we think of energy as E ≡ γmc2 one obtains a (1+1)D work-energy relation for mass m objects of the form:

.

A similar argument for momentum p ≡ mw = γmv relates the (1+1)D frame-variant force dp/dt to acceleration as well:

.

From this follow three integrals of (1+1)D constant proper-accelerated motion that reduce to the familiar equations of constant coordinate-acceleration at low speeds:

.

These integrals also survive in the (3+1)D case, albeit with certain directional corrections required:

.

some four-vector rearrangements

[edit]

The four-vector equation in the editing tips section can be broken into timelike and spacelike parts. If w is the proper velocity dx/dτ, γ is as usual dt/dτ, we might the write the following:

.
.

In the above equations, ao is an acceleration due to proper forces and ag is presumably due to geometric forces. At low speeds they track the familiar coordinate acceleration vector. For unidirectional motion at any speed, ao's magnitude tracks proper acceleration's magnitude. How do these quantities relate to the 4-vector terms above more generally?

If we multiply the above equations by mass m and divide by γ=dt/dτ, one obtains:

(timelike) and (spacelike).

The map frame rate of change of proper velocity dw/dt can, in turn, be broken down into proper and geometric force components based on the original 4-vector equation as follows:

Are fo and fg here similarly proper and geometric force components seen from the map-frame coordinate system, which respectively sum to cause the observed motion? If so, how do these components relate to the 4-vector components above, and the frame invariant proper force Fo=mα seen by the object?

In short, we might therefore write...

(timelike) and (spacelike).

some geometric force rearrangements

[edit]

Coordinate acceleration arot associated with an object from the perspective of a rotating frame adds to the object's physical or proper acceleration ao a series of geometric terms:

.

The first "centrifugal acceleration" term depends only on the radial position r and not velocity of our object, the second "Coriolis acceleration" term depends only on the object's velocity in the rotating frame vrot but not its position, and the third "Euler acceleration" term depends only on position and the rate of change of the frame's angular velocity ω.

For an object observed at low speed from the vantage point of an accelerating frame, the coordinate acceleration observed depends on the acceleration of the frame. If the object is being accelerated in the same way as the frame, it appears to have no acceleration at all.

In the Schwarzschild shell-frame case, we might similarly write:

where Schwarzschild radius rs=2GM/c2. Thus for r>>rs, an upward proper force of magnitude GMm/r2 is needed to prevent one from accelerating downward. At the earth's surface this becomes:

where g is the downward 9.8 m/s2 acceleration due to gravity, and r-hat is a unit vector in the radially outward direction from the center of the gravitating body. Thus here an outward proper force of mg is needed to keep one from accelerating downward.

Note: The foregoing results follow if one first calculates the Christoffel symbols:

for the far-coordinate Schwarzschild metric (c dτ)2 = (1-rs/r)(c dt)2 - (1/(1-rs/r))dr2 - r22 - (r sin[θ])22, where rs is the Schwarzschild radius 2GM/c2. The resulting array of coefficients becomes:

.

From this you can obtain the shell-frame proper acceleration by setting coordinate acceleration to zero and thus requiring that proper acceleration cancel the geometric acceleration of a stationary object i.e. = {0,GM/r2,0,0}. This does not solve the problem yet, since Schwarzschild coordinates in curved spacetime are book-keeper coordinates but not those of a local observer. The magnitude of the above proper acceleration 4-vector, namely α=Sqrt[1/(1-rs/r)]GM/r2, is however precisely what we want i.e. the upward frame-invariant proper acceleration needed to counteract the downward geometric acceleration felt by dwellers on the surface of a planet.

A special case of the above Christoffel symbol set is the flat-space spherical coordinate set obtained by setting rs or M above to zero:

.

From this we can obtain, for example, the centripetal proper acceleration needed to cancel the centrifugal geometric acceleration of an object moving at constant angular velocity ω=dφ/dτ at the equator where θ=π/2. Forming the same 4-vector sum as above for the case of dθ/dτ and dr/dτ zero yields nothing more than the classical acceleration for rotational motion given above, i.e. = {0,-r(dφ/dτ)2,0,0} so that ao2r. Coriolis effects also reside in these connection coefficients, and similarly arise from coordinate-frame geometry alone.

Inserting collapsible animations

[edit]

This is a useful trick, that I think I first encountered on the kinematics page, which allows one to make animations (or static figures for that matter as well) available only on demand. It also has potential for illustrating how the concepts on a given page can be used to address sample challenges. The simpler the solution, the better the correlation between page concepts and the problem at hand.

The perspective of a linearly-accelerated frame might be illustrated with specific calculated examples. For instance:

The rotating frame perspective might be illustrated with specific calculated examples. For instance:

Blockquotes, and code repair

[edit]

Aside: The following paragraphs were used to temporarily replace a consensus introduction after it was unceremoniously deleted. How does such activity relate to mechanisms for regulation and repair of molecular codes similarly offered up for community access in eukaryotic cell interiors? This also illustrates use of Wikipedia's blockquote qualifier:

When an object is constrained to move in circular motion, the outward radial force seen to be acting on that object from its rotating vantage point is known as the centrifugal force (from Latin centrum "center" and fugere "to flee").

Because this force arises from the connection term in the accelerated coordinate system's covariant derivative, it may be referred to as a geometric or fictitious force (as distinct from a proper or physical force) even though its consequences from the perspective of that frame are very real. Such geometric forces allow one to apply Newton's laws locally in accelerated frames, and they act on every ounce of an object's being rather than e.g. via direct contact or electrostatic repulsion.

Centrifugal force should not be confused with the inward-acting centripetal force that causes a moving object to follow a circular path. The proper reaction to this centripetal force, exerted by such revolving objects on their surroundings, was in earlier times also called centrifugal[12] although this use is less common today.

Pages to help develop

[edit]

Who has these interests?

[edit]

Complex-system informatics, nanoscience, materials astronomy, and the thermo-chapters of introductory physics?

[edit]

Other useful wikicode

[edit]
  • <ref>{{cite web |url= |title= |accessdate=2024-11-26 |quote= |publisher= }}</ref>
  • <ref>{{cite journal |url= |title= | last = | first = | journal = | volume = | issue = | pages = |accessdate=2024-11-26 |quote= |publisher= }}</ref>
  • <ref>{{cite book |last= |first= |authorlink= |coauthors= |title= |year= |publisher= |quote= | url= |isbn= }}</ref>
  • <ref>{{cite news |first= |last= |authorlink= |coauthors= |title= |url= |quote= |publisher=[[New York Times]] |date= |accessdate=2024-11-26 }}</ref>
  • <ref>{{cite news |first= |last= |authorlink= |coauthors= |title= |url= |quote= |publisher=[[Time (magazine)]] |date= |accessdate=2024-11-26 }}</ref>
  • <ref>{{cite news |first= |last= |authorlink= |coauthors= |title= |url= |quote= |publisher=[[National Public Radio]] |date= |accessdate=2024-11-26 }}</ref>
  • <ref>{{cite news |first= |last= |authorlink= |coauthors= |title= |url= |quote= |publisher=[[Rolling Stone]] |date= |accessdate=2024-11-26 }}</ref>
  • <ref>{{cite journal | last = | first = | authorlink = | coauthors = | date = | year = | month = | title = | journal = | volume = | issue = | pages = | publisher = | location = | issn = | pmid = | doi = | bibcode = | oclc = | id = | url = | language = | format = | accessdate = | laysummary = | laysource = | laydate = | quote = }}</ref>
  • {{Lifetime|1900|2000|Last, First}}
  • {{commons ok}}
  • {{Birth date|1911|10|20}} {{Death date and age|1940|12|23|1911|10|20}}
  • {{coord|40.527917|-74.591578|display=inline}}
  • [[Category:National Aviation Hall of Fame]]
  • [[Category:Missing middle or first names]]
  • {{Geolinks-US-streetscale|40.568687|-74.6106}}
  • <div class="references-small" style="-moz-column-count:2; column-count:2;">
  • <ref name=usgs></ref> <ref name=usgs/>
  • {{Maintained|[[User:Richard Arthur Norton (1958- )|'''Richard Arthur Norton (1958- )]]'''}}
  • {{Infobox Person | name = | image = | image_size = | caption = | birth_name = | birth_date = {{Birth date|1911|10|20}} | birth_place = | death_date = {{Death date and age|1940|12|23|1911|10|20}} | death_place = | death_cause = | resting_place = | resting_place_coordinates = | residence = | nationality = | other_names = | known_for = | education = | employer = | occupation = | title = | salary = | networth = | height = | weight = | term = | predecessor = | successor = | party = | boards = | religion = | spouse = | partner = | children = | parents = | relatives = | signature = | website = | footnotes = }}

Footnotes

[edit]
  1. ^ a b Geim, A. K. and Novoselov, K. S. (2007) The rise of graphene, Nature Materials 6:183-191
  2. ^ Louis-Victor de Broglie (1925) Recherches sur la Théorie des Quanta, Ann. de Phys. 10e série, t. III (translation)
  3. ^ Claude E. Shannon and Warren Weaver (1949, 1975-6th ed) The mathematical theory of commnication (Univerisity of Illinois Press, Urbana IL).
  4. ^ E. T. Jaynes (1957) "Information theory and statistical mechanics", Physical Review 106:620 (link).
  5. ^ E. T. Jaynes (1957) "Information theory and statistical mechanics II", Physical Review 108:171 (link).
  6. ^ Myron Tribus (1961) Thermodynamics and thermostatics (D. Van Nostrand, New York)
  7. ^ J.W. Gibbs (1873) "A method of geometrical representation of thermodynamic properties of substances by means of surfaces", reprinted in The Collected Works of J. W. Gibbs, Volume I Thermodynamics, ed. W. R. Longley and R. G. Van Name (New York: Longmans, Green, 1931) footnote page 52.
  8. ^ P. Fraundorf (2003) "Heat capacity in bits", American Journal of Physics 71:11, 1142-1151 (link).
  9. ^ Phil C. Gregory (2005) Bayesian logical data analysis for the physical sciences: A comparative approach with Mathematica support (Cambridge U. Press, Cambridge UK) preview.
  10. ^ Seth Lloyd (1989) "Use of mutual information to decrease entropy: Implications for the second law of thermodynamics", Physical Review A 39, 5378-5386 (link).
  11. ^ Elad Schneidman, Susanne Still, Michael J. Berry II, and William Bialek (2003) "Network information and connected correlations", Phys. Rev. Lett. 91:23, 238701 (link).
  12. ^ Isaac Newton (Translation of 1833). Philosophiae naturalis principia mathematica. Vol. Vol. 1 (3. ed. (1726), with variant readings / assembled and ed. by Alexandre Koyré ed.). [Cambridge Mass.] Harvard University Press. ISBN 0674664752. {{cite book}}: |volume= has extra text (help); Check date values in: |year= (help)CS1 maint: year (link), cf. page 109 of this translation: read and search