Well in logic and computing it is

X * Sign

to correctly separate Magnitude and Sign.

So which bit is X^{2 }or squareroot(x) actually operating on?

What is sign^{2 }or squareroot(sign)?

Well if x * sign * x * sign = x * x * sign * sign = x^2 * sign

then

2 * {+:-} * 2 * {+:-} = 4 * {+:-} * {+:-} = 4 * {+:-}

By symmetry then and as {+:-} is only a label for convention

squareroot({+:-} * 4)= {+:-} * 2.

What is squareroot({+:-} * 1)?,

and is the result of X^{2 } always positive?

P.S. You can also implement or think about Magnitude and Sign as being

X + sign

in both logical and physical terms, which does make the maths just slightly more complicated

Advertisements

What is square root(-1)?

Believe I know the expected answer is an imaginary number i. Been a long time and as to the other questions I have no idea. So as to the post I have little to no understanding of its purpose.

A simple question as the conventions on the use of sign.

What is the squareroot(sign) or sign^2.

Sign is not a number, in most cases it is a pure vector. If you define it in 1d (Length) or 2D (x.y) or 3D (x.y.z) then that defines the Magnitude but that is no longer pure. It is attached to a Magnitude to make a duality. Not a single object. It would seem that people treat as a single object that’s all.