you are viewing a single comment's thread
view the rest of the comments
[–] 11 points 1 year ago (19 children)

Sqrt(-1) is still wrong tho. I'm commuting a sin by writting it. Correct expression is i^2=-1

  • source
  • hideshow 19 child comments
  • [–] 23 points 1 year ago (11 children)

    Wolfram tells me sqrt(-1) = i and it hasn't lied to me yet.

    In what meaningful way is i^2 = -1 different from sqrt(-1) = i?

  • source
  • parent
  • hideshow 11 child comments
  • [–] -1 points 1 year ago* (last edited 1 year ago) (8 children)

    Square root definition does not allow a negative number as an input. Only positives and zero. Although it is possible to expand the definition to negative numbers, complex numbers, matrices.... So unless you followed a course where you thoroughly defined your expansion of sqrt, it only applies to real, positives number and zero. Its the thing with math, you have to define what you work with.

    In my case, I did prep courses for entrance exam to engineering schools (something like in dead poet society but more modern), using sqrt(-1) somewhere would be an instant 0 mark. Like forgetting a unit in a physics test answer.

  • source
  • parent
  • hideshow 8 child comments
  • [–] 12 points 1 year ago (6 children)

    Sounds to me like this is exactly what the OP meme is referencing.

    Basic math: square root only of positive numbers and 0.

    Advanced math: square root of anything you want

  • source
  • parent
  • hideshow 6 child comments
  • [–] 4 points 1 year ago (3 children)

    So what’s the square root of your mom then?

  • source
  • parent
  • hideshow 3 child comments
  • [–] -1 points 1 year ago (1 child)

    You're missing the point. Math (especially advanced) is about precision and rigor. Writing sqrt of something negative is ambiguous. There are better ways of writing it as explained here https://lemmy.world/comment/18924227

  • source
  • parent
  • hideshow 1 child comment
  • [–] 10 points 1 year ago (1 child)

    Wouldn't the square root just give plus/minus i? Seems correct enough.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 1 year ago*

    No. The symbol √ signifies the principal square root of a number. Therefore, √x is always positive. The two roots of x, however, are ±√x. If you therefore have y²=x and you want to find y, you mustn't write y=√x, but rather y=±√x to be formally correct.

  • source
  • parent
  • [–] 2 points 1 year ago

    Indeed, usually you would want to avoid a notation of sqrt(-1) or (-1)^(1/2). You would use e^(1/2 log(-1)) instead because mathematicians have already decided on a "natural" way to define the logarithm of complex numbers. The problem here lies with choosing a branch of the logarithm as e^z = x has infinitely many complex solutions z. Mathematicians have already decided on a default branch of the logarithm you would usually use. This matters because depending on the branch you choose sqrt(-1) either gives i or -i. A square-root is usually defined to only give the positive solution (if it had multiple values it wouldn't fit the definition of a function anymore) but on the complex plane there isn't really a "positive" direction. You would have to choose that first to make sure sqrt is defined as a function and you do that via the logarithm branch.
    So, just writing sqrt(-1) leaves ambiguity as you could either define it to give i or -i but writing e^(1/2 log(-1)) then everyone would just assume you use the default logarithm branch and the solution is i.

  • source
  • parent