Let and be the density and pressure perturbations and let be the velocity perturbation. The linear acoustics equations about a uniform quiescent state are
The last relation is the homentropic pressure perturbation law.
Taking the scalar product of the momentum equation with gives
The continuity and pressure relations imply
Therefore the acoustic energy conservation law is
with
The Huffman coding merges may be chosen as
Resolving the tied weights so that the original symbol is merged only at the final step gives the code
Its lengths are and its expected length is
The Huffman coding theorem proves optimality, so an optimal coding with all but one word of the same length does exist. This is an instance of a nonunique optimal prefix code: a different resolution of the ties also gives the optimal profile .
An optimal code cannot have five distinct lengths. By the deepest sibling property of an optimal prefix code, at least two maximal-length codewords have the same length. Thus the answers are respectively
A binary code is a prefix code when no codeword is a proper prefix of another. If the source letters have probabilities and codeword lengths , the expected value of its codeword length is
It is an optimal prefix code when it minimizes among all binary prefix codes for that source.
Suppose but . Exchanging the codewords assigned to and leaves the set of words, and hence prefix-freeness, unchanged. The change in expected length is
contradicting optimality. Thus
which is the probability monotonicity of optimal prefix-code lengths.
Represent the code by its binary prefix tree and choose a codeword of maximal length, where . Its sibling is . If that sibling were not a codeword, it could not have a codeword below it either, since such a word would be longer than . Replacing by would then preserve prefix-freeness and strictly reduce . This is impossible for an optimal code, so is also a maximal-length codeword. The pair differs only in its last digit, proving the deepest sibling property of an optimal prefix code.
The steady incompressible Stokes flow equations are
Taking the curl eliminates the pressure gradient and commutes with the Laplacian, so for the vorticity ,
This is the vorticity part of Harmonic pressure and vorticity in Stokes flow.
For a two-dimensional incompressible flow, choose the stream function convention
Then
Applying the harmonic-vorticity equation gives
the Biharmonic stream function for planar Stokes flow equation.
Because the condition is local and covariant, choose normal coordinates at the point and a Lorentz frame in which the timelike observer is . Rescaling a timelike vector by a positive factor does not affect the sign, so it suffices to use this unit vector. With signature ,
The measured energy density is therefore
The value of , its time derivative, and its spatial first derivatives can be varied independently at a point. Nonnegativity for all such data is therefore equivalent to nonnegativity of all three coefficients:
Thus the most general constraints are
These conditions are also sufficient in every timelike frame, because any timelike vector can be brought to the chosen rest frame. This is the weak energy condition for a quadratic scalar stress-energy ansatz.
The conserved values from part (a),
satisfy these inequalities for real , as required.
Write the Einstein field equations in dimensions as
Taking the trace gives
Therefore the Trace-reversed Einstein field equations in D dimensions are
For the values from part (a), let . Then
and
Substitution cancels the terms and yields
For the convention , the prefactor is . This is the Ricci curvature sourced by a Klein-Gordon scalar field.
Put
Using metric compatibility and the symmetric Hessian of a scalar field, the divergence of the proposed tensor is
For this to vanish for arbitrary solutions and local field data, the two coefficients must vanish. Hence
The resulting tensor is the Conserved Klein-Gordon scalar stress-energy ansatz.
The spatial part of the Lorentz force is
Part (c), together with , gives
Writing and expanding the momentum derivative,
Substitution of gives the coordinate acceleration of a relativistic charged particle:
In the nonrelativistic limit , one has and the final term is smaller by order . Hence
which is precisely Newton's second law with the ordinary Lorentz force.
The four-velocity and particle energy are
With the conventions for the given metric, . The temporal component of the covariant Lorentz force is therefore
Since , cancellation of gives the relativistic electromagnetic work-energy theorem
The absence of reflects that magnetic force is perpendicular to the velocity and does no work.
Write
Since
its derivatives are
The Euler-Lagrange equation therefore gives
Using the electromagnetic field tensor
and dividing by gives
Raising the first index yields the equivalent requested form
This is the Lorentz-force equation from the worldline action.
For a timelike worldline, . Its square root is a Lorentz scalar, and
Thus the first term is the Lorentz-invariant free-particle action . Written as a line element, it is also invariant under a change of the worldline parameter .
The interaction is the scalar line integral
Under an electromagnetic gauge transformation
it changes only by
This endpoint term does not affect a fixed-endpoint variational problem. Hence both Lorentz invariance and gauge invariance select the displayed relativistic charged-particle action, with the expected free-particle and minimal-coupling terms.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact