Help Understand Denominator Separation from Zero in Math Equations

  • Thread starter Thread starter williamshipman
  • Start date Start date
  • Tags Tags
    Zero
AI Thread Summary
The discussion revolves around understanding the phrase "numerically separating the denominator from zero" in the context of mathematical equations involving C_T and λ_0. Participants highlight that a small denominator can lead to significant round-off errors in computations, particularly when using Newton's method for solving equations. Suggestions include substituting C_T into the first equation to simplify the problem and improve convergence. One participant explores the idea of manipulating expressions to mitigate numerical difficulties when values are close together. The conversation emphasizes the importance of careful numerical methods to avoid inaccuracies in calculations.
williamshipman
Messages
24
Reaction score
0
Please help me to understand: "the denominator is numerically separated from zero"

Hi everyone,

I've come across this statement in a dissertation I'm reading and I don't have a clue as to what the author is speaking about. Can anyone give me an explanation. For reference, the equations are

\lambda_0 = \frac{C_T}{2 \eta \sqrt{\mu^2 + (\lambda_0 - mu_z)^2}}

and

C_T^{ideal} = \frac{a\sigma}{2}\left(\theta_0\left(\frac{1}{3}+\frac{\mu^2}{2}\right)+\frac{\mu_z-\lambda_0}{2}\right)

C_T equals C_T^{ideal} unless C_T^{ideal} is larger than C_T^{max} or smaller than C_T^{min}, in which case it saturates at the applicable limit.

The objective is to numerically solve the above equations for \lambda_0 and then calculate C_T. Problems occur when \mu is close to zero and \mu_z is close to \lambda_0 as the denominator of the first equation gets very small. Trying to solve this using Newton's method fails because the iterations don't converge to an answer. I'm hoping that if I understand what "numerically separating the denominator (of the first equation) from zero" means, then I might make some progress.

Thanks for the help.
 
Last edited:
Mathematics news on Phys.org


Where does the author use that phrase "numerically separating..." or are you paraphrasing? I'm not enough of an expert to provide details, but it appears that the author is saying a denominator too small leads to round off error in the computation that will give inaccurate results. It is an important but purely practical matter.

I am also confused how one would calculate λ0 numerically without knowing CT, and then calculate CT.
 


A numerically awkward difference (i.e, a difference between two numbers too close to have a barrier against loss of significant digits), can be made less awkward in various ways, for example by this strategy:

Let x be less than, but very close to 1.

Then, we have:
1-x=\frac{1-x^{2}}{1+x}=\frac{1-x^{4}}{(1+x)(1+x^{2})}
and so on.
Note that the retained difference within the expression will be an improvement relative to the first order, original difference 1-x
 
Last edited:


Thanks for the replies.

Tedjn: The quote comes straight from the author's work. You are right to say that a small denominator gives incorrect results, at least with the current iteration scheme. To solve the equations numerically, you can use something like Newton's method. One can substitute the equation for C_T into the first equation, giving you one equation to solve. Its possible to get an initial guess of \lambda_0, so the equations can be solved. Right now, I'm using Matlab's fsolve function, but I'd like something faster. So I tried the Newton's method iteration formula from the author's work, but with the noted problems. And I did check the derivation.

arildno: Thanks for this idea. So if I use this method to work out \lambda_0-\mu_z in the denominator of the first equation, is that then numerically separating the denominator from zero? I'll give this a go and see what happens.

Merry Christmas and thanks for helping me even though it is holiday time.
 


A bit of caution, though:
Newton's methon doesn't always work, as you probably know. It depends upon the local curvature (check it out).

Now, if you're unlucky, no amount of twiddling with that difference would help you, because your problem isn't really numerical, but rather with Newton's method as such.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top