# Absolute Value and Logarithms

Absolute values often turn up unexpectedly in problems involving logarithms. That’s because you can’t take the log of a negative number.Let’s first review the definition of the logarithm function:Log

_{b }x = y ⇔ b

^{y} = x(The double arrow is a bi-conditional, which means that one side is true if and only if the other side is true).There are several restrictions on this definition when using real numbers (those not involving i = √-1 ).

- b cannot equal 1
- b cannot be negative
- x cannot be less than or equal to zero.

If any of these conditions are not met, we risk introducing imaginary solutions or an infinite number of solutions. To prevent this from happening, we must follow these rules when working with real numbers, and to do so we often need to introduce the absolute value. Example 1. Expand the function f(x,y) = log(xy).We must always have a positive number inside the log function, and since x and y are being multiplied together, they must then always have the same sign. Therefore, the domain of our function is xy>0 which means that f(x,y) lies in Quadrants I and III on the x-y plane.To expand, we must follow the above rules, with emphasis in this case on Rule 3. To make sure that the values inside the log are positive, we introduce the absolute value.log(xy) = log|x| + log|y|If we had not included the absolute values, log(x) + log(y) would only be defined when x and y are both positive (Quadrant I). Since the domain is different than that of log(xy), they cannot be equivalent functions.Example 2. Simplify the function g(x,y) = log|x| + log|y|It is important to notice that the above solution is not true in the reverse direction. g(x,y) = log|x| + log|y| is defined for all real, nonzero values of x and y. Therefore, to simplify this function, we must make sure the domain remains all real nonzero numbers. To do so, we use the absolute value. Simplifying,log|x| + log|y| = log|xy|Example 3. Evaluate the indefinite integral ∫ 1⁄x dxThis common integral can be found in many

integral tables. It is equal to ln|x| + C. The absolute value is important because this is an indefinite integral, which means x might range through the entire real number line (There is a singularity at x=0, but log(0) is undefined too). We introduce the absolute value into the log to ensure that the antiderivative is defined everywhere the integral is.When working in the real numbers with log functions, remember to always follow the three rules listed above. For many expressions involving logs, it is often necessary to introduce absolute values to ensure that these rules are met.

This was a seriously quite very good submit. In theory I’d prefer to publish like this also getting time and actual effort to make a great piece of writing but what can I say I procrastinate alot and by no means appear to obtain something done.