Giter Site home page Giter Site logo

Dual division rules about dualnumbers.jl HOT 3 CLOSED

juliadiff avatar juliadiff commented on September 22, 2024
Dual division rules

from dualnumbers.jl.

Comments (3)

goretkin avatar goretkin commented on September 22, 2024 1

I understand the temptation of seeing ε/ε and calling it 1, however it's not valid. It would imply that 1/ε exists, which means that there is dual number x such that xε=1. x can't be purely real, because you'd end up with a number with an epsilon part. xcan't be purely epsilon, because then you just end up with zero. And combination in between is a combination of zero and epsilon. You can't make 1 out of that.

In short, ε does not have an inverse. (At the very least, the above shows it doesn't have an inverse that is itself a dual number.)

(Note also, that you can start with a false statement and get to a true one by multiplying both sides by ε. For example 3ε=4ε, so you must take care with any argument that multiples or divides by ε both sides of an equation.)

from dualnumbers.jl.

KristofferC avatar KristofferC commented on September 22, 2024

I realize it makes no sense for an operation on 2 infinitesimal numbers to result in a real,

I agree with this :)

From what I have seen division between Duals is typically only defined when the real part of the denominator is non zero.

from dualnumbers.jl.

safiire avatar safiire commented on September 22, 2024

In short, ε does not have an inverse.

Yes, your explanation convinces me. :) That makes sense.

from dualnumbers.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.