Correct domain for log function in answer.