Exponential functions and logarithms: Logarithms
Equations and inequalities with logarithms that have the same base
You can solve the equation because the two logarithms can only be equal if their arguments are equal. In this example we have , that is . Factorisation leads to and the solution is .
This approach works for any equation of the form provided that you check the final results for correctness. If you started, for example, with the equation , this approach would lead to the quadratic equation , or , with solutions and . However is not a solution of the original equation because substitution leads to the logarithm of a negative number and this is not allowed because the domain of a logarithmic function consists only of positive real numbers.
An equation with logarithmic functions that have the same base When solving logarithmic equations of the form , with and arbitrary numbers or mathematical expressions, one uses the following rule:
However, the above rule is not always immediately applicable; often you first have to work towards this form (see the examples below).
The basic rule for logarithms states that if then .
So, with we get:
You can also obtain the linear equation by writing the right-hand side of the equation as a logarithm with base 4 using rules for logarithms:
A second alternative is to use the left-hand and right-hand side of the given equation as an exponent of a power of 4. In this case:
Solving an inequality with logarithms Solving an inequality with logarithms, say , usually involves two steps:
- First solve the corresponding equation, in our example .
- Suppose the inequality consists of continuous functions and and the solutions of the equation are in ascending order. Then it suffices to check for each of the intervals in one point whether the inequality on the interval is true or false.
If one of the functions is a constant, and there is only one solution of the corresponding equation, then it is sufficient to know whether a function is decreasing or increasing.
Of course you can also use the graphs of and , when they are available.
Examples illustrate the above solution method for inequalities with logarithms.
The function is defined for , so for . Thus, the domain of is and the vertical asymptote is the line . If is moving towards (from the right), is moving towards and so the function is increasing. To solve the inequality we explore where equals :
(the function is undefined to the left of the vertical asymptote ).