Turns out no solution exists.

    • CandleTiger@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 days ago

      Infinity is not usually considered as a number.

      One can get very pedantic about this — if we want to fully specify the problem we need to define what number system X is a part of (reals, integers, natural numbers, etc) None of those number systems I named include infinity, so infinity can’t be a solution under those definitions of the problem.

      But if we say X is an element of the super-reals (real + infinity) then infinity can be a solution

  • LammaLemma
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    Another way to look at it is that these are two parallel lines so they don’t intersect and hence no solution.

      • nandeEbisu@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        3 days ago

        The limit of (x-2) - x as x approaches infinity is 2 (the xs cancel and you’re just left with 2 in the limit expression), so even as you go towards infinity the distance between the lines stays two.

        • iAvicenna@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          2
          ·
          3 days ago

          imagine two intersecting lines. now start tilting one so that the intersection moves away. as you tilt the line more and more, the lines approach parallelism and the intersection goes to infinity

          • nandeEbisu@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            3 days ago

            Even though the lines are infinitely far away from the x axis, they are still the same distance apart. Even if you parameterizing the slope of one line and modify it:

            Ax - 2 = x Intersection is Ax - 2 - x = 0 x = 2 / (A - 1)

            So they become parallel as A approaches 1

            So the inter section point for A = 1 is lim 2 / (A-1) as A -> 1

            Which is 2/0, or undefined.

            You can gain a lot of insight with graphical explanations, but sometimes can fall into traps, so it’s helpful to translate that to formal notation sometimes.

            • iAvicenna@lemmy.world
              link
              fedilink
              arrow-up
              1
              arrow-down
              2
              ·
              edit-2
              2 days ago

              I can do equations for you:

              y = ax

              y = x+2

              with a>1. Intersection at x=2/(a-1). As a goes to 1, first line approaches y=x and the intersection point goes to infinity.

            • Gustephan@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              3 days ago

              So like, in any real system as x approaches infinity the difference between x and x+2 will fall below measurement error and make x = x+2 functionally true (far field small angle approximation and whatnot.) This kind of situation comes up in optics when you’re finding different f points on lenses. I think it’s more a case of “both ways to consider that math are useful in different regimes/circumstances.” If a student in a proof based math class i was teaching came at me with the graphical explanation I’d tell them to try again, but if one of my junior engineers came to my office with concerns about the difference between x and x+2 at x=50000 or something id take it as an opportunity to teach them why it probably doesn’t matter.

              • nandeEbisu@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                2 days ago

                Oh, in an engineering context, yeah. I think that’s more because you’re looking at the relative difference between the two, or

                ((x-2)-x)/x, which is -2/x, which is 0 as x approaches infinity.