🌐 العربية
AL-HINDARA · FRAME 2 · OCTOBER 2026

The Tree and the Shadow

A geometric and numerical frame, reproducible in the browser: proof of the 22.5° angle, an interactive simulation, a bar chart, the preliminary measurement table, and a TOST equivalence test computed in-page with automated verification of the t distribution.

Author: Abdulla Mohammed Nasser Al-Jabri Shu'ub — Sana'a — Yemen
Frame 1 DOI: 10.5281/zenodo.23540283 Frame 2 DOI: 10.5281/zenodo.23540796 OSF DOI: 10.17605/OSF.IO/YC9MB

The frame begins with an exact trigonometric result, then builds an interactive simulation on it, then presents preliminary field measurements that are examined exploratorily against a pre-specified equivalence margin.

Opening — Problem, Achievement, Type of Evidence

Problem

How can an exact geometric relationship (tan 22.5° = √2−1) be linked to measurable field observations, and what is actually inferred from a numerical proximity between a crown/height ratio in a small sample and the theoretical value?

Achievement

An exact trigonometric proof of tan(22.5°) = √2−1, the shadow ratio relation S/H = tan(θ) within the geometric model, an interactive simulation, preliminary measurements of five mango trees, and a TOST equivalence test reproducible within the page with visible reference tests.

Type of Evidence

An exact mathematical proof for the trigonometric result. A geometric model with specified conditions (horizontal ground, straight light ray) for the shadow relation. Exploratory field data (n=5) showing numerical proximity, not proof. This frame makes no proven claim of a connection to the Riemann hypothesis.

1. The Exact Mathematical Result

If the angle θ is measured from the vertical, then the sun's elevation angle above the horizon is α = 90° − θ. For a solar ray making elevation angle α with a horizontal ground, a right triangle yields that the ratio of the horizontal shadow to the vertical height is:

S / H = cot(α) = tan(θ)

At θ = 22.5°, α = 67.5°, and therefore:

tan(22.5°) = tan(45° / 2) = √2 − 1 ≈ 0.4142135624

Half-angle proof

Let x = tan(22.5°). Since tan(45°) = 1, the double-angle formula gives:

1 = tan(45°) = 2x / (1 − x²)

Rearranging gives x² + 2x − 1 = 0. Solving the quadratic:

x = −1 ± √2

Since 22.5° is an acute angle, x is positive, therefore:

x = √2 − 1
What has been proved? The exact trigonometric value √2−1, and the geometric shadow relation under the assumptions of horizontal ground, a straight light ray, and a correctly measured angle. This alone does not prove that a crown ratio measured in the field must equal this value.

2. Interactive Geometric Simulation

Change the object height and angle θ to see the theoretical shadow length under the geometric model. θ is measured from the vertical, not the horizon. Angle ranges are complementary: θ ∈ [5°,60°], α = 90°−θ ∈ [30°,85°].

Theoretical shadow length S3.23 m
Ratio S/H0.41421
tan(θ)0.41421
Right triangle showing object height, shadow length, solar ray, and angle θ Diagram is not to scale; displayed lengths are computed from the inputs, not measured from the drawing. H = 7.8 m S = 3.23 m θ = 22.5° Diagram is not to scale; displayed lengths are computed, not measured from the drawing
Height HShadow SSolar ray

Note: changing the sun elevation α updates θ to its complement; changing θ directly updates α to 90°−θ. Bounds are limited to the complementary ranges above.

3. Preliminary Field Measurements

Five mango trees in Shu'ub, Sana'a; recorded measurement date: October 14, 2026. H is total height, h is measured lower height, C = H−h is the vertical difference. The studied ratio is R = (H−h)/H.

Table 1: measurements of the five mango trees (source: frame data, October 14, 2026).
TreeH (m)h (m)C = H−h (m)R = C/HDifference from √2−1
17.804.503.300.42308+0.00886
28.505.003.500.41176−0.00245
37.204.203.000.41667+0.00245
49.005.403.600.40000−0.01421
57.504.403.100.41333−0.00088

Corrections applied: row 5 sign (was +0.00088, now −0.00088) and row 1 rounding (was +0.00887, now +0.00886). All values are computed from the displayed H and h.

Mean R—
Sample standard deviation—
Standard error—
90% CI for the mean—
Crucial distinction between the two models:
  • Geometric model (Section 2): the ratio S/H = tan(θ) applies to a horizontal shadow, under assumptions of horizontal ground, straight ray, and accurate angle measurement.
  • Field data (Section 3): the ratio R = (H−h)/H is a crown/height ratio, not a shadow length.

A successful TOST comparing mean R to √2−1 does not prove the shadow law S/H = tan(θ), because the two are different quantities. The honest phrasing is: "mean crown/height ratio in this sample is numerically close to √2−1 within the specified margin", without claiming causality or generalizing to mango trees at large.

TOST equivalence test — computed from the five data points

The two-one-sided equivalence test at α = 0.05 corresponds to a 90% confidence interval for the mean lying entirely inside [μtarget−Δ, μtarget+Δ]. The margin Δ must be specified before data collection; changing it after seeing the result invalidates the test's confirmatory meaning.

Table 2: TOST output for Table 1 data (n=5, df=4, α=0.05).
QuantityValue

p₁ is the one-sided test of the lower bound (H₀: μ ≤ μtarget−Δ); p₂ is the one-sided test of the upper bound (H₀: μ ≥ μtarget+Δ); p_TOST = max(p₁, p₂). Equivalence at α=0.05 is concluded when p_TOST < 0.05. Note that n=5 is small, statistical power is limited, and the conclusion depends on the chosen margin.

Independent verification of the t distribution (visible reference tests)

These tests run automatically on page load; results are visible below. Reference values are taken from standard t distribution tables.

tdfExpectedActual|Error|Result

4. Bar Chart: Individual Ratios vs. Theoretical Value

Each bar represents R for one tree; the dashed line is the theoretical value √2−1 ≈ 0.41421. The chart compares values but does not establish that the similarity is causal.

Measured ratio RTheoretical value √2−1

5. Evidence Interpretation Table

ClaimStatusLimits of inference
tan(22.5°) = √2−1Proven mathematicallyExact trigonometric result
S/H = tan(θ)Correct within the geometric modelRequires horizontal ground and consistent angle/shadow measurements
Mean R for trees is close to √2−1Numerical description of a small sampleFive trees at one site; insufficient for generalization
Mean equivalence within Δ (value computed above)Test conditional on chosen marginMargin is practical/conventional and must be justified before data collection; power is limited at n=5
General link to the Riemann hypothesisNot provenNumerical similarity does not create a proof or a mathematical connection

Statistical note

The displayed 90% CI is the t-based interval for the sample mean (n=5, df=4). The TOST in Section 3 is computed from the same five data points and reports the margin, degrees of freedom, p₁, p₂, and p_TOST. Passing the test does not amount to proving exact equality or a general natural law. The reference tests of the t distribution (Section 3) show whether the displayed p-values can be trusted before relying on them.

6. Proof Formulation and Final Conclusion

  1. Model assumptions: a vertical object of height H above horizontal ground, with a light ray making elevation angle α with the horizon.
  2. From the right triangle: tan(α) = H/S, hence S/H = 1/tan(α).
  3. Angle defined from the vertical: θ = 90°−α, therefore cot(α) = tan(θ), yielding S/H = tan(θ).
  4. At θ = 22.5°: the theoretical shadow-to-height ratio is √2−1 ≈ 0.41421356.
  5. Data check: the field mean R ≈ 0.41297 is numerically close to the theoretical value, but R = (H−h)/H is not S/H unless the measurement established that H−h is the horizontal shadow length; therefore this sample is not a direct test of the shadow law.
Proven result: S/H = tan(θ), and at θ=22.5° it equals √2−1.
Controlled conclusion: the geometric proof is exact. The mango data are exploratory and show numerical proximity between mean R and √2−1, not a demonstration that nature imposes this ratio on trees. Nothing on this page proves a connection to the Riemann hypothesis or to a broader cosmic law.

7. Reproduction Steps and Links

Exported CSV structure

The file begins with #-comment metadata identifying the frame, author, DOI, collection date and site, units, and a summary of descriptive statistics, followed by the column header row:

tree, H_m, h_m, C_m, R, target_sqrt2_minus_1, difference_from_target

Columns tree, H_m, h_m are the measured data; C_m, R, difference_from_target are derived; target_sqrt2_minus_1 is a theoretical constant. The file does not contain additional raw measurements or a record of instruments and uncertainty, which must be added before use in a new analysis.

← الشجرة(Tree) 🏠 الرئيسيةHome الشجرة2(tree2) → الشجرة3(tree3) →

8. Geometric Extension: From Plane to Space (The Magic Angle)

After proving in Section 1 that \( \tan(22.5^\circ) = \sqrt{2} - 1 \) in the 2D plane (The Tree and the Shadow), we now transition to 3D geometry. What happens if we move from a right-angled triangle to a cube?

The Magic Angle

In a cube, the angle between the space diagonal (passing through the center) and any of its connecting edges is called the "Magic Angle". It is famous in Nuclear Magnetic Resonance (NMR) because it cancels out specific dipolar interactions in a magnetic field. Its value is:

θ_m = arccos(1/√3) = arctan(√2) ≈ 54.7356103°

It can also be expressed using the tangent function (tan):

tan(θ_m) = √2 ≈ 1.41421356

The Exact Mathematical Link with Frame 2

What is the relationship between this angle and 22.5°?
In the Tree and Shadow (plane): \( \tan(22.5^\circ) = \sqrt{2} - 1 \).
In the Cube (space): \( \tan(54.7356^\circ) = \sqrt{2} \).
This gives us an exact mathematical identity:

tan(θ_m) = tan(22.5°) + 1

Both depend on the square root of 2, but in different dimensions! This proves that the constant \( \sqrt{2} \) plays a pivotal role in both planar and spatial geometry.

Conclusion: The angle 22.5° is a quarter of a right angle (90°), whereas the Magic Angle 54.7356° is the spatial angle in a cube. The exact mathematical link between them is the identity: \( \tan(\theta_m) = \tan(22.5^\circ) + 1 \).

Comparative Geometric Diagram

22.5° tan(θ) = √2 - 1

Plane (2D)
Tree & Shadow

54.73° tan(θ_m) = √2

Space (3D)
Cube Diagonal

Methodological Note: This section illustrates an exact mathematical geometric link between the plane and space. However, it does not claim a direct physical link between the shadow phenomenon in nature and the geometric properties of the cube, unless proven by an independent physical experiment.