0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【第5回】分子の零点はどこにいる? 単位円と接円盤を調べる

0
Last updated at Posted at 2026-11-15

目次
https://qiita.com/Shamoo/items/c9e43a6f4034f58e1a7e

前の記事
https://qiita.com/Shamoo/items/ae2122914435fb491fc9

概要

「深さが増えると、分子の零点は単位円に集まる」。これだけ聞くと全部の零点が円周へ向かいそうですが、今回気になるのは 全体の割合 と 一個の根の居場所 です。点1を拡大したとき何が出てくるかも、簡単な等比和から見てみます。

奇数から次の奇数への加速コラッツ写像を $c$ とします。深さ $s$ は $c$ を適用する回数、$V$ はその間の2による総除算回数です。正奇数終点 $u$ にちょうど深さ $s$ で着く逆像を $V$ ごとに数えて、$z^V$ の係数に入れた母関数を $\Psi_s(u;z)$ とします。

P_s=2\cdot3^{s-1},\qquad
\Psi_s(u;z)=\frac{M_{s,u}(z)}{(1-z)^{s-1}(1-z^{P_s})},\qquad
M_s(z)=M_{s,1}(z).

遠くから見ると、単位円に集まる

3で割れない終点について、分子の原点以外の零点を重複度込みで数えます。個数は $P_s+O(s)$。研究で示したのは、任意に定めた薄い帯 $e^{-\varepsilon}<|z|<e^\varepsilon$($\varepsilon>0$ は固定)の外に残る割合が0に向かい、偏角も一様になることです。例えば角度が0度から90度の範囲にある根の割合は4分の1に向かいます。これは、非零根の分布が単位円上の一様分布へ弱収束するという結果です。終点 $u$ によらない誤差評価が得られます。

絶対値の部分は、計算で使う式を見ると意味が分かります。原点以外の根を $\alpha$ とすると、次の和が深さの二乗の定数倍以下です。

\sum_{\alpha}\bigl|\log|\alpha|\bigr|=O(s^2).

帯の外の根は、この和に少なくとも $\varepsilon$ ずつ寄与します。だから帯の外に出る根は高々 $O(s^2/\varepsilon)$ 個です。全体はほぼ $2\cdot3^{s-1}$ 個なので、比を取れば0に向かいます。偏角についても、任意の弧の実測個数と、一様配置なら期待される個数との差が $O(s\sqrt{P_s})$ に収まります。こちらも全体で割ると0です。

小さい例で感覚をつかむ。 8個の根のうち2個が帯から外れたら、外れた割合は $2/8=25\%$。800個のうち同じ2個なら $2/800=0.25\%$。どちらにも帯の外に根が2個あります。あとで出す接円盤の反例と、全体の分布の定理が両立するのはこのためです。

点1を拡大する

点1の近くに寄って、複素数 $w$ を使って $z=e^{w/P_s}$ と置きます。分子の極限は次の形です。$w$ の範囲を閉じた有界な領域に固定すれば、その全体で一様に収束します。$w=0$ の右辺は極限値の1です。

M_{s,u}(e^{w/P_s})\longrightarrow\frac{e^w-1}{w}
\qquad (s\to\infty,\ 3\nmid u).

なぜこの右辺なのか、まず幾何和だけ計算します。$(1+z+\cdots+z^{P_s-1})/P_s$ に $z=e^{w/P_s}$ を入れると

\frac{1}{P_s}\sum_{j=0}^{P_s-1} e^{w j/P_s}
\longrightarrow \int_0^1 e^{wt}\,dt=\frac{e^w-1}{w}.

$j/P_s$ は0から1までの細かい目盛り、$t$ はその積分変数です。分子はこの平均に $z^s$ と、正規化した母関数 $P_s((1-z)/z)^s\Psi_s(u;z)$ を掛けると得られます。深さを増やすと $e^{ws/P_s}\to1$。論文では逆像の漸化式を使って、残る正規化した因子も拡大座標の適切な円周上で1へ収束することを示し、分子の収束を得ました。

手計算その1。 $s=2$ なら $P_2=6$。$w=2\pi i$ を入れると、幾何和では6乗根が一周ぶん並び、平均は0になります。一方、終点1の分子は $M_2(z)=z^4$ で、$z=e^{2\pi i/6}$ を入れると $-1/2-i\sqrt3/2$、絶対値は1です。有限の深さでは、幾何和の根をそのまま分子の根に移せないのが見えます。

極限の関数は $w=2\pi i j$($j$ は0以外の整数)で単純零点を持ちます。$j$ を固定すると、十分大きい深さでは、拡大座標でその点の近くに分子の単純零点が一つ現れます。この一つを保証する話は、次の小円盤の例でも使います。

次の図では、虚軸方向の区間で深さ2〜5を比べます。右は深さ3と5の非零根の数値近似です。曲線と散布図は、証明された収束が小さい深さでどんな形に見えるかを示します。

05_near_one.png

図を作るPythonコード
from functools import lru_cache
from pathlib import Path

import matplotlib.pyplot as plt
from matplotlib import font_manager
import numpy as np


def period(depth):
    return 2 * 3**(depth - 1)


def divide_by_geometric_sum(poly, length):
    """Divide exactly by 1 + z + ... + z**(length - 1), low degree first."""
    while len(poly) > 1 and poly[-1] == 0:
        poly.pop()
    if poly == [0]:
        return (0,)
    quotient = [0] * (len(poly) - length + 1)
    for j in range(len(quotient) - 1, -1, -1):
        coefficient = poly[j + length - 1]
        quotient[j] = coefficient
        for k in range(length):
            poly[j + k] -= coefficient
    assert not any(poly)
    return tuple(quotient)


@lru_cache(maxsize=None)
def numerator(depth, endpoint):
    if endpoint % 3 == 0:
        return (0,)
    if depth == 1:
        return (0, 0, 1) if endpoint % 3 == 1 else (0, 1)
    total = [0] * (period(depth) + period(depth - 1) + depth)
    for a in range(1, period(depth) + 1):
        previous, remainder = divmod((1 << a) * endpoint - 1, 3)
        if remainder == 0:
            for j, coefficient in enumerate(numerator(depth - 1, previous % 3**(depth - 1))):
                total[a + j] += coefficient
    return divide_by_geometric_sum(total, period(depth - 1))


fonts = {font.name for font in font_manager.fontManager.ttflist}
japanese = next(
    (font for font in ("Noto Sans CJK JP", "Yu Gothic", "Hiragino Sans", "IPAexGothic") if font in fonts),
    None,
)
if japanese:
    plt.rcParams["font.family"] = japanese

assert numerator(2, 1) == (0, 0, 0, 0, 1)
assert all(sum(numerator(s, 1)) == 1 for s in range(2, 6))

fig, axes = plt.subplots(1, 2, figsize=(10, 4.55), layout="constrained")
y = np.linspace(0, 4 * np.pi, 450)
colors = ["#808c9c", "#a05c90", "#d66a2c", "#187078"]
for s, color in zip(range(2, 6), colors):
    values = np.polynomial.polynomial.polyval(np.exp(1j * y / period(s)), numerator(s, 1))
    axes[0].plot(y / (2 * np.pi), np.abs(values), label=f"s = {s}", color=color,
                 linewidth=1.85, alpha=0.9)
axes[0].plot(y / (2 * np.pi), np.abs(np.sinc(y / (2 * np.pi))), color="#161d24",
             ls="--", lw=1.7, label="極限" if japanese else "Limit")
axes[0].set(title="点1を拡大した値" if japanese else "Zoomed values near 1",
            xlabel=r"$\operatorname{Im}(w)/(2\pi)$", ylabel=r"$|M_s(e^{w/P_s})|$")
axes[0].legend(frameon=False, fontsize=8)

angle = np.linspace(0, 2 * np.pi, 360)
axes[1].plot(np.cos(angle), np.sin(angle), color="#91a5a6", lw=1.1, ls="--")
for s, color, area in [(3, colors[1], 50), (5, colors[3], 15)]:
    coeffs = numerator(s, 1)
    start = next(i for i, value in enumerate(coeffs) if value != 0)
    roots = np.polynomial.polynomial.polyroots(np.array(coeffs[start:], dtype=float))
    axes[1].scatter(roots.real, roots.imag, color=color, s=area, alpha=0.75, label=f"s = {s}")
axes[1].set_aspect("equal", adjustable="box")
axes[1].set(title="非零根の数値近似" if japanese else "Numerical nonzero roots",
            xlabel="実部" if japanese else "Real part", ylabel="虚部" if japanese else "Imaginary part")
axes[1].legend(frameon=False, fontsize=8)
for ax in axes:
    ax.grid(alpha=0.20)
    ax.spines[["top", "right"]].set_visible(False)
fig.savefig(Path("05_near_one.png"), dpi=180)

根が一個あることを保証する

手計算その2。 試しに $f(z)=(z-1)+\{1+(z-1)^2\}/10$ を、$|z-1|<1/4$ の内側で調べます。円周上で一次項の大きさは $1/4$。残りは高々

\left|\frac{1+(z-1)^2}{10}\right|
\le \frac{1+(1/4)^2}{10}=\frac{17}{160}<\frac14 .

ルーシェの定理を使うと、円周上でこの不等式が成り立つとき、一次項だけの場合と零点の個数は変わりません。一次項の根は中心に一つ。したがって $f$ にも、この小円盤の中に重複度込みで一つの根があります。

本物の分子に当てはめる

目標は、原点に接する開円盤 $|z-1/4|<1/4$ の中を調べること。終点1の分子に対して、次の小円盤を取りました。

深さ 小円盤の中心(有限小数で指定) 半径
76 $0.158001560+0.231163501i$ 0.001
79 $0.214024109+0.220351884i$ 0.011

図の左で共役な円盤も含めた配置、右で上半平面の二つを拡大して見られます。丸の中心は根の位置の推定ではなく、根を一個含むと認証した領域を指定する値です。

05_certified_disks.png

図を作るPythonコード
from fractions import Fraction
from pathlib import Path

import matplotlib.pyplot as plt
from matplotlib import font_manager
from matplotlib.patches import Circle, Patch


fonts = {font.name for font in font_manager.fontManager.ttflist}
japanese = next(
    (font for font in ("Noto Sans CJK JP", "Yu Gothic", "Hiragino Sans", "IPAexGothic") if font in fonts),
    None,
)
if japanese:
    plt.rcParams["font.family"] = japanese

disks = [
    (76, Fraction("0.158001560"), Fraction("0.231163501"), Fraction("0.001"), "#245aa0"),
    (79, Fraction("0.214024109"), Fraction("0.220351884"), Fraction("0.011"), "#d66a2c"),
]
for _, real, imag, radius, _ in disks:
    # C = 1/4, R = 1/4. Compare |center-C| < R-radius without rounding.
    assert (real - Fraction(1, 4))**2 + imag**2 < (Fraction(1, 4) - radius)**2

fig, axes = plt.subplots(1, 2, figsize=(9.2, 4.7), layout="constrained")
for ax in axes:
    ax.add_patch(Circle((0.25, 0), 0.25, fc="#e7f2f2", ec="#31817e", lw=1.7))
    for depth, real, imag, radius, color in disks:
        for sign in (1, -1):
            ax.add_patch(Circle((float(real), sign * float(imag)), float(radius),
                                fc=color, ec=color, lw=1.2, alpha=0.48, zorder=3))
        ax.annotate(f"s = {depth}", (float(real), float(imag)),
                    xytext=(5, 6), textcoords="offset points", fontsize=9, color=color, zorder=4)
    ax.set_aspect("equal", adjustable="box")
    ax.set_xlabel("実部" if japanese else "Real part")
    ax.set_ylabel("虚部" if japanese else "Imaginary part")
    ax.grid(alpha=0.18)

axes[0].set(xlim=(-0.027, 0.523), ylim=(-0.275, 0.275),
            title="全体と共役な小円盤" if japanese else "Whole disk and conjugate disks")
axes[1].set(xlim=(0.139, 0.238), ylim=(0.204, 0.258),
            title="上半平面の二つを拡大" if japanese else "Upper-half-plane detail")
fig.legend(handles=[
    Patch(facecolor="#e7f2f2", edgecolor="#31817e", label=r"$|z-1/4|<1/4$"),
    Patch(facecolor=disks[0][-1], alpha=0.48, label="s = 76"),
    Patch(facecolor=disks[1][-1], alpha=0.48, label="s = 79"),
], loc="outside lower center", ncol=3, frameon=False)
fig.suptitle("単純零点を1個ずつ含むと認証した小円盤" if japanese else
             "Disks each certified to contain one simple zero", fontsize=15)
fig.savefig(Path("05_certified_disks.png"), dpi=180)

母関数のうち、始点が $2^{32}-1$ 以下の項を集計して有限部分を作ります。終点1に着くときは $x<2^V/3^s$ です。各段で $3x+1>3x$ となるので、この不等式を $s$ 段分たどれば出てきます。例えば深さ2で始点11以上、総除算回数6以下を探しても、$x<2^6/9<8$ に反します。こんなふうに、集計の外にある始点は小さい指数には現れません。この原理で、打切りの外に残る全項を上から抑えます。

原点の因子を除いてから、小円盤の中心で一次項を取り出し、円周上で大きさを比較しました。表はすべて $10^{-9}$ 単位です。

深さ 一次項の下界 有限部分での残りの上界 打切り誤差の上界 差の下界
76 12,466,811 81,768 7,912,415 4,472,628
79 196,970,228 22,070,687 172,939,523 1,960,018

差は両方で正なので、各小円盤には単純零点が一つあります。二つの小円盤はどちらも原点に接する開円盤の内部にあり、そこで母関数の分母は0になりません。したがって、終点1の分子が全深さで接円盤を避けるという予想には反例があります。係数は実数なので、共役な小円盤にも根が一つずつあります。どの深さで初めて反例が出るかは別に調べる必要があります。

参考

次回は「全部の終点を足すと何が見える? 1/4での加重和」です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?