Given the machine precision (machine epsilon) whose definition is that it is the smallest $\epsilon_{mach}$ such that 1 + $\epsilon_{mach}$ > 1. I found an explanation online to show that for roundoff, $\epsilon_{mach}$ is bounded above by $\frac{1}{2}\beta^{1-k}$ where $\beta$ is the base of the computer system and k is the length of the mantissa which is shown below. What I struggle to understand is the part where it says "with borrowing during the subtraction, we get" which is highlighted below in red. How does this step happen and what is the explanation behind it? And where do $(\beta - d_{k+1})$ and $(\beta - d_{k+2})$ come from?
2026-02-23 10:07:15.1771841235
Machine Precison for Roundoff
89 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in NUMERICAL-METHODS
- The Runge-Kutta method for a system of equations
- How to solve the exponential equation $e^{a+bx}+e^{c+dx}=1$?
- Is the calculated solution, if it exists, unique?
- Modified conjugate gradient method to minimise quadratic functional restricted to positive solutions
- Minimum of the 2-norm
- Is method of exhaustion the same as numerical integration?
- Prove that Newton's Method is invariant under invertible linear transformations
- Initial Value Problem into Euler and Runge-Kutta scheme
- What are the possible ways to write an equation in $x=\phi(x)$ form for Iteration method?
- Numerical solution for a two dimensional third order nonlinear differential equation
Related Questions in MACHINE-PRECISION
- When will A+(B+C) != (A+B)+ C, in a finite precision system
- Numerically approximating limit with large numbers, bumping up against machine precision
- Machine Epsilon meaning
- Convergence of Newton method and machine precision
- Verification: Machine number immediately to right and left of $2^m$
- Numerically find cubic polynomial roots where coefficients widely vary in magnitude
- Intersection of three planes and precision of computing
- SVD - near-zero singular value
- Numerical Analysis- Finding two closest machine numbers in single precision.
- How to prove fl(x^k) definition
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?

The symbols $d_i$ and $e_i$ are not standardized (as far as I know) and technically should be defined here. (And they were apparently defined in the original text, if we can believe the phrase "Using the above notation".) But I guess that the digits $d_i$ are the digits of the infinite-precision representation of $x$, whereas $e_i$ are the digits of the finite-precision representation in which $x$ is stored in the computer, and the exact value of that finite-precision representation is $fl(x).$
Under that interpretation, the phrase "borrowing during that subtraction" may be meant to remind you that although $e_k = d_k + 1,$ the $k$th digit after subtraction is not $e_k - d_k = 1$ but $0.$ It is the same reason why $1200 - 1100 = 100$ but $1200 - 1110 = 90$; in the first case we get a $1$ in the hundreds place because $2 - 1 = 1,$ but in the second case we do not get a $1$ in the hundreds place because we had to "borrow" it in order to deal with the fact that we had $10$ in the last two digits we were subtracting but only $00$ in the last two digits we were subtracting from.
But I find this entire explanation to be far more complicated than it needs to be. In my mind, the reason why $\lvert x - fl(x)\rvert \leq \frac12 \beta^{n-k}$ is simply that the next larger finite-precision number above $fl(x)$ is $fl(x) + \beta^{n-k}$ and the next smaller finite-precision number below $fl(x)$ is $fl(x) - \beta^{n-k}$ (or in the special case where $fl(x)$ is exactly a power of $\beta$, the next smaller number is $fl(x) - \frac12 \beta^{n-k}$).
So (assuming positive $x$) you cannot have $x > fl(x) + \frac12 \beta^{n-k}$ because any number greater than $fl(x) + \frac12 \beta^{n-k}$ would have been rounded up to $fl(x) + \beta^{n-k}$ or to something even greater; whereas any number less than $fl(x) - \frac12 \beta^{n-k}$ would have been rounded down to $fl(x) - \beta^{n-k}$ (or $fl(x) - \frac12 \beta^{n-k}$, if that is a finite-precision number) or to something even less. Therefore $fl(x) - \frac12 \beta^{n-k} \leq x \leq fl(x) + \frac12 \beta^{n-k},$ which is equivalent to $$\lvert x - fl(x)\rvert \leq \frac12 \beta^{n-k}.$$ Similarly for negative $x$ any number that is outside the interval from $fl(x) - \frac12 \beta^{n-k}$ to $fl(x) + \frac12 \beta^{n-k}$ would have been rounded up or down to a number different from $fl(x).$