- #1
garyljc
- 103
- 0
hi all,
i was studying modulus when i came across this mod(xy) = modx mod y
we consider 3 cases
whereby both positive , both negative, or positive negative
it reads here if we consider x and y to be negative
it will be something like this
mod xy = xy = - mod x ( - mod y ) = mod x mod y
therefore proven
i do not understand why it is -mod x and -mod y
i know that it says that x and y has to be negative
but isn't -mod x different from mod x ? eg if x is 2 , -mod x will be -2 , and mod x will be 2
correct me if I'm wrong
i'm lost
thanks
i was studying modulus when i came across this mod(xy) = modx mod y
we consider 3 cases
whereby both positive , both negative, or positive negative
it reads here if we consider x and y to be negative
it will be something like this
mod xy = xy = - mod x ( - mod y ) = mod x mod y
therefore proven
i do not understand why it is -mod x and -mod y
i know that it says that x and y has to be negative
but isn't -mod x different from mod x ? eg if x is 2 , -mod x will be -2 , and mod x will be 2
correct me if I'm wrong
i'm lost
thanks