mohit.kant Wrote: X = Z - Y
taking mod on both sides
mod x = mod z - y
if x > 0, x = z -y
if x < 0, -x = z-y => x = y -z
Two options so we can't decide, insuff.
whoa, whoa there.
it's true that you can take an absolute value of both sides (since you can always do any operation to both sides of an equation, if that operation is defined for those expressions). however, note that there is a
loss of information if that operation is absolute value.
for instance,
IF i tell you that x = y, then, yes, you can take the absolute value of both sides, giving |x| = |y|, which is also a true statement. however, note that this new statement is LESS descriptive than the original statement; |x| = |y| would allow x and y to be either the same or opposite, but
we can't forget our original information that they are the same.
here's an even simpler example:
if i tell you that x = 3, then, well, x = 3, and only 3.
if you square both sides, you get x^2 = 9, which is certainly a true statement.
however, you obviously can't "solve" this to get "x = 3 or -3", since we already know that x is only 3.
similarly, in your example above, you KNOW that x = z - y.
therefore, if you do a bunch of mathematical magic and somehow arrive at "either x = z - y or x = something else", then you can just ignore the "something else".