Skip to content

no answer (null) to limit 1/x + ln(x) #209

Closed

Description

@MomoDeve
LimitFunctional.ComputeLimit("1/x + ln(x)", "x", 0, AngouriMath.Core.ApproachFrom.Right);

expected:
https://www.wolframalpha.com/input/?i=lim+x-%3E0+1%2Fx+%2B+ln%28x%29

Activity

  1. Happypig375 commented on Sep 13, 2020

    @Happypig375
    Member

    Hang?

  2. changed the title [-]no answer to limit 1/x + ln(x)[/-] [+]no answer (null) to limit 1/x + ln(x)[/+] on Sep 13, 2020
  3. added this to the 1.2.1 milestone on Sep 30, 2020
  4. modified the milestones: 1.2.1, 1.2.2 on Oct 16, 2020
  5. Rafael-SOWNet commented on Aug 4, 2026

    @Rafael-SOWNet
    Member

    Fixed. Your literal case:

    LimitFunctional.ComputeLimit("1/x + ln(x)", "x", 0, ApproachFrom.Right)   // +oo

    which agrees with the Wolfram Alpha link.

    It took three changes rather than one, because the one-sided path turned out to be missing everything the two-sided path had rather than one thing:

    Measured on a corpus of 72 one-sided limits worked out by hand: master answered 17 correctly, five of those being wrong answers rather than unanswered ones; with the three it is 64, none wrong. Worth stating that the failure mode was not only "no answer" — several came back as NaN, which asserts the limit does not exist.

  6. added theissue type on Sep 22, 2026
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

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions