Skip to content

Over the reals, an exponential equation answers ln(-1) as a root #2425

Description

@Rafael-SOWNet

Under MathS.Settings.Codomain.Set(Domain.Real), an exponential equation can answer a root that is not real. Measured on master bbf56b5:

equation gives over the reals
e^x + 1 = 0 { ln(-1) } { }
e^x - 2 e^(-x) - 1 = 0 { ln(-1), ln(2) } { ln(2) }
e^x - 2 = 0 { ln(2) } { ln(2) }

ln(-1) is i pi, so it is not a real root. The second equation is t^2 - t - 2 = 0 in t = e^x, with roots t = 2 and t = -1. Only t = 2 has a real x.

Found while investigating #2319.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions