Sample 02 — Mathematics and Scientific Notes
A worked scientific note showing equations, proofs, booktabs tables, references, macros, matrices, and optional STEM notation.
Source: https://lapotron.com/article/sample-scientific-notes/
A scientific note becomes easier to follow when its assumptions, equations, examples, and sources have distinct roles. Here is a small worked example: estimating the derivative of
The numbers are calculated examples, not experimental measurements. Each source block can be copied into another article; the rendered material below it shows the result.
Choose the notation packages
Core MathJax notation supports fractions, sums, matrices, and document-local macros. This article also enables optional STEM packages in its frontmatter:
In Studio, the same choices live in article Settings → Mathematics. Enable only what the article uses. Physics changes some commands: \div means divergence, while \divsymbol supplies the familiar division sign.
State the definition before using it
A derivative describes a local rate of change; a difference quotient estimates that rate using a nonzero step. The limiting definition and its geometric interpretation are introduced in [1]. Our example below studies the finite-step error directly.
Definition 1 · Forward difference
For
The label def-forward is a stable reference target. Its displayed number is assigned automatically, so adding an earlier statement does not require rewriting every reference.
Build a short argument
The statement components share a document-local counter. Choose the name that matches the role of the statement; numbering alone does not establish that a claim has been proved.
Lemma 2 · Increment of a square
For real
Proof of the increment identity
Expand
∎
Theorem 3 · Exact forward-difference error
For
Other statement names express different parts of the same argument:
Proposition 4 · Smaller positive steps
If
Corollary 5 · Halving the step
Replacing
Example 6 · A concrete evaluation
At
Both Proposition 4 and Corollary 5 follow immediately from Theorem 3. This is a claim about a particular polynomial and exact arithmetic, not a general promise that arbitrarily small floating-point steps always improve a numerical derivative.1
Number a derivation as one equation
An equation container holds exactly one display equation. Put several related lines inside aligned to keep them together.
The finite-step term is visible in Equation 1. Notice that the reference stays readable without manually inserting an equation number.
Compare exact values in a table
Use a captioned table when the values need a label, a note, or a cross-reference. Alignment comes from the ordinary GFM delimiter row.
| Step | Estimate | Error |
|---|---|---|
| 2.500 | 0.500 | |
| 2.250 | 0.250 | |
| 2.125 | 0.125 |
These values use exact arithmetic; the decimal expansions terminate.
Table 1 illustrates Corollary 5. Keep units, precision, and missing values explicit in a real dataset. The booktabs presentation uses horizontal rules and numeric alignment rather than a full grid.
Define a document-local macro
Keep a definition in a math expression before its first use. The definition itself produces no visible symbol.
Lay out matrices and piecewise functions
These common structures work with core notation. Use & to separate columns and \\ to separate rows.
Add the STEM notation you need
Physics adds convenient derivatives and vector notation:
Units, chemical formulas, and cancellation use their own enabled packages:
These are notation examples rather than a single physical model. Prefer separate display equations if a combined line becomes too wide. On a phone, a wide equation scrolls within its own region.
Cite a real, traceable source
Bibliography entries are written explicitly. :cite[key] creates a numbered citation; :ref[label] points to a component in this document. They serve different purposes.
References
[1] OpenStax — Defining the Derivative
OpenStax. Calculus Volume 1, Section 3.1, “Defining the Derivative.” Read the chapter. The finite-step calculations in this sample are worked out in the article itself.
Before adapting this note, check each assumption, retain stable labels, enable the required packages, and review the rendered equations as well as the source.
Footnotes
-
In floating-point arithmetic, subtracting nearby values and dividing by a very small step can amplify rounding effects. A numerical method needs an appropriate step-size strategy as well as a truncation-error argument. ↩