• b0thvar@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      17
      ·
      23 hours 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
        13
        arrow-down
        1
        ·
        22 hours 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
          1
          arrow-down
          4
          ·
          7 hours 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
            3
            ·
            4 hours 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”.

            • sntx@lemm.ee
              link
              fedilink
              arrow-up
              1
              ·
              43 minutes 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.
  • Vanth@reddthat.com
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    23 hours ago

    The same question was posted yesterday. Are you a bot fishing for engagement?