A thing is scale-invariant when zooming changes nothing but the units: f(λx) = λk f(x) (a homogeneous function of degree k). Area scales as λ², volume as λ³; a fractal looks the same at every magnification; a power law xk has no natural scale. It is the symmetry of having no yardstick — no special size — and it governs critical phenomena (at a phase transition, fluctuations of every size appear and the system becomes scale-free) and the renormalization group that tamed them. Euler's homogeneous-function theorem ties the degree to the derivatives: x·f′(x) = k·f(x).
The demo checks that f(x)=x² is degree-2 homogeneous: scaling the input by k scales the output by k²: live demo
“Everything has a characteristic size.” — scale-invariant systems do not: fractals, power laws, and critical points look the same at every zoom. The symmetry of no yardstick. cited
The same at every magnification — no special size, only a power of the zoom. The symmetry of the scale-free. Euler / RG
On the canonical compiler, f(x)=x²: scaling x=3 by k=2 gives f(6)=36 = 4·f(3)=4·9 — degree-2 homogeneous: