• b0thvar@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    Can’t have the same letter for the function and the variable, should be like this: y = 0.5(x) + 1

    • Lvxferre@mander.xyz
      link
      fedilink
      arrow-up
      0
      ·
      6 days ago

      There is no function there, only an equation. And there is a single variable, “x”, that represents the price of the book.

      “x = 1 + ½x” is the same as “the price of the book is $1, plus half of the price of the book”.

      • b0thvar@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 days ago

        Ok, call it an equation or a function, it doesn’t matter what it is called, the point was that the original comment is only true for the value that was used.

        In the original comment we have “x = 1 + ½x” and the example used was with a cost of two (x=2) to show that the equation was true (ending in 2=2).

        However if 4 is used instead (x=4) then we have ( 4 = 1 + ½[4] ) which results in an inequality (4=3) which is false.

        Which is why I initially commented with a different letter on either side of the equal sign.

        If you prefer to only put the value of x on the right side on the equal sign and not the left side, then a common notation for that is f(x) = 1 + ½x, which is also referred to as function notation.

        https://en.m.wikipedia.org/wiki/Function_(mathematics)

        • Lvxferre@mander.xyz
          link
          fedilink
          arrow-up
          0
          ·
          6 days ago

          Ok, call it an equation or a function, it doesn’t matter what it is called

          What it is called does matter because a function obligatorily maps one set of values into another set of values, and that is not what I was doing because IDGAF about a full set dammit, but a single value that symbolises a price where OP’s statement is true.

          However if 4 is used instead (x=4) then we have ( 4 = 1 + ½[4] ) which results in an inequality (4=3) which is false.

          As even 11yos know, but apparently not you, you don’t solve an equation (or a set of equations) by arbitrarily assigning values to the variable.

          If you prefer to only put the value of x on the right side on the equal sign and not the left side, then a common notation for that is f(x) = 1 + ½x, which is also referred to as function notation.

          Congrats for not getting a value but a slope. 👍 /s


          Juuuuuuuuuuuuust in case that your confusion is related to my usage of “→”: it’s clear by context that the symbol is being used for “implies”.

          • b0thvar@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            5 days ago

            So after rereading the original post (which could have been written clearer) I think your equation in your original comment is written in a way that doesn’t reflect the original post.

            According to the original post the right side of the equal sign is cost plus half of the cost where cost is defined as $1. So then the equation would be x = 1+ ½(1) which solves to x = 1.5.

            As even 11yos know, but apparently not you, you don’t solve an equation (or a set of equations) by arbitrarily assigning values to the variable.

            You are correct that assigning arbitrary values is not how to solve an equation (at least by hand), but I wasn’t trying to solve the equation, I was showing that the equation as written would not be true unless 2 was used.

            Juuuuuuuuuuuuust in case that your confusion is related to my usage of “→”: it’s clear by context that the symbol is being used for “implies”.

            Since the “→” notation is an alternative notation for a function, it made reading the math in your posts and the words in your posts contradictory. It would seem that you didn’t read the Wikipedia link since the “→” notation is described there.

            • Lvxferre@mander.xyz
              link
              fedilink
              arrow-up
              0
              ·
              5 days ago

              So after rereading the original post (which could have been written clearer)

              Okay… I’m stop reading here.

              The original post is clear as day, even with the spelling mistake.

              There’s a certain level of lack of basic reasoning that I’m still willing to play along with; but this comment is past that. Not bothering further with you.

          • sntx@lemm.ee
            link
            fedilink
            arrow-up
            0
            ·
            6 days ago
            1. This discussion is incredibly funny, because it is a discussion.
            2. I personally prefer the equivalence (⇔) over the implication (⇒) since I like to emphasize that the statement is true in both directions. Well and having an incorrect base leads to funny statements on implications: x = x/2 ⇒ x = π is true.
            • Lvxferre@mander.xyz
              link
              fedilink
              arrow-up
              0
              ·
              5 days ago

              I’m glad that at least someone is getting some value out of it.

              The equivalence symbol would be even better, indeed. But I can’t type it with just AltGr+I, so I went for the simple arrow.