why is it important to check for extraneous solutions for exponents, but not for logarithms