在線即時計算器 · 純前端本地秒算 · 零數據上傳

📐 Cauchy Distribution Graph 計算機

專業免費的 Cauchy Distribution Graph 計算機。純前端本機毫秒級計算、零資料上傳、極致隱私保護。提供詳細公式推導、實例示範與常見問答。

即時推算結果 (Computed Output)
101 first value0.008741· last value0.008741· max0.454728· min0.008741
專業公認計算模型,即時運算完畢
📜 計算歷史記錄 (試算軌跡)
尚無歷史記錄,每次點擊「計算」將在此留下試算軌跡...

What is the Cauchy distribution?

The Cauchy distribution, also called the Lorentz distribution, is a continuous probability distribution defined by a location parameter a (the median and peak position) and a scale parameter b > 0 (the half-width at half-maximum). It is famous for its heavy tails: it has no finite mean and no finite variance. This calculator evaluates the distribution over a sequence of x values so you can build a plot-ready table of (x, value) pairs.

How to use this calculator

Pick a function: probability density f, lower cumulative probability P, or upper cumulative probability Q. Enter the location a and scale b (must be positive). Then define the x sequence with an initial value, a step increment, and the number of points. The k-th x is x_k = xInitial + k * xStep for k = 0 to count-1. The defaults sweep x from -5 to +5 in steps of 0.1 (101 points).

The formulas

Let z = (x - a) / b. The density is

f = ((1) ÷ (π)) · ((b) ÷ ((x-a)^2 + b^2)),
equivalently ((1) ÷ (π b (1 + z^2))). The lower cumulative distribution is
P = ((1) ÷ (2)) + ((1) ÷ (π))\arctan(z),
and the upper (survival) function is
Q = 1 - P = ((1) ÷ (2)) - ((1) ÷ (π))\arctan(z).
Because arctan stays within (-π/2, π/2), both P and Q remain strictly between 0 and 1.

Worked example

With a = 0, b = 0.7, evaluate density at x = 1: (x-a)^2 + b^2 = 1 + 0.49 = 1.49, so

f = ((1) ÷ (π))≤ft(((0.7) ÷ (1.49))\right) ≈ 0.14954.
For the lower cumulative at the same point, \arctan(1/0.7) = 0.96007, so
P = 0.5 + ((0.96007) ÷ (π)) ≈ 0.80559,
and Q = 1 - 0.80559 = 0.19441. At the peak x = a, f = ((1) ÷ (π b)) and P = Q = 0.5.

使用注意事項與精準校對原則(6 大核心守則)

📐 1. 嚴格對齊輸入量綱與單位

輸入各項數值時請務必確認量綱(例如小時、天數、金額、百分比),避免單位不匹配引發推算偏差。

🔒 2. 純前端本機毫秒級隱私保障

所有計算邏輯 100% 在您的終端瀏覽器內完成,資料絕不上傳伺服器,嚴格守護商業與個人隱私。

📊 3. 符合公認學術與產業計算模型

演算法嚴格遵循國際通用數學公式與標準計算模型,經多重情境交叉核對,數值嚴密精確。

📋 4. 一鍵複製與免登入 PDF 匯出

支援一鍵複製推算結果字串至剪貼簿,亦可直接點擊列印按鈕輸出純淨 PDF 工作報表。

🔄 5. 多情景敏感度動態對比

建議針對極端值與多組預期情景分別試算,觀察輸出數據的波動區間,輔助做出更穩健的決策。

🛡️ 6. 專業諮詢與日常參考免責聲明

本工具運算結果供日常排程、學業研習與事前參考之用,如涉及重大法規或投資決策請諮詢持證專家。

常見問題 (FAQ)

Why must b be positive?
A non-positive scale makes the density and CDF undefined (zero or negative width), so the calculator clamps b to a tiny positive value.
Why is there no mean shown?
The Cauchy distribution has undefined mean and variance due to its heavy tails; this tool only reports pointwise density and tail probabilities.
What is the "value" column?
It is the chosen function (f, P, or Q) evaluated at each x, ready to plot with x on the horizontal axis.