Convergence Rate Calculator
Calculate the asymptotic error constant (μ) to determine how fast your iterative numerical method reaches the target value.
Results
Error at n (en):
Error at n+1 (en+1):
Asymptotic Error Constant (μ):
Understanding Convergence Rate in Numerical Analysis
The convergence rate of an iterative method is a measure of how quickly the sequence of approximations approaches the exact solution or limit. In fields like computational mathematics, engineering, and data science, knowing the convergence rate is essential for selecting the most efficient algorithm.
The Mathematical Formula
In numerical analysis, we define the error at iteration n as en = |xn – L|, where L is the true limit. The convergence rate is defined by the following limit:
- μ (Mu): The asymptotic error constant.
- q: The order of convergence.
- en: Absolute error at step n.
Common Convergence Orders
The speed of an algorithm is primarily dictated by the value of q:
| Order (q) | Name | Example Method |
|---|---|---|
| q = 1 | Linear | Bisection Method |
| 1 < q < 2 | Superlinear | Secant Method (1.618) |
| q = 2 | Quadratic | Newton-Raphson |
Example Calculation
Imagine you are using the Bisection method to find a root. Your target value is 0.
- At iteration 10, your value is 0.001 (Error = 0.001).
- At iteration 11, your value is 0.0005 (Error = 0.0005).
- Since Bisection is linear, we set q = 1.
- Calculation: μ = 0.0005 / 0.0011 = 0.5.
A value of μ = 0.5 indicates that the error is halved with every iteration, which is the characteristic rate for the bisection method.
Why It Matters
Quadratic convergence (q=2) is much faster than linear convergence. For example, if you have an error of 0.1, a quadratic method will reduce it to 0.01, then 0.0001, then 0.00000001. A linear method would take many more steps to reach the same precision. Use this calculator to verify the efficiency of your custom algorithms or homework solutions.