Check the logarithm domain first
The argument of a logarithm must be positive before any logarithm rule is applied.
Solve logarithmic inequalities step-by-step — including the domain check most calculators skip.
Why this page is different
Interactive Calculator
The domain check is locked as Step 1, then the raw inequality answer is intersected with the valid log domain.
One-tap examples
Logarithm compared with a constant
Common mistake
Stop after solving the transformed inequality and report:
Correct method
Intersect the raw answer with the log domain:
Step-by-Step Breakdown
The argument of a logarithm must be positive before any logarithm rule is applied.
Because the base is greater than 1, the logarithm is increasing and the inequality direction stays the same.
The constant 2 is the same as \log_10(100).
After matching the base, compare the arguments using the base direction from the previous step.
The final answer keeps only values that satisfy both the algebraic solution and the domain restriction.
Shareable setup
https://inequalitycalculator.net/logarithmic-inequality-calculator?mode=log-constant&base=10&left=x+-+3&relation=%3C&constant=2Calculator Types
Solve one-variable linear inequalities with steps, interval notation, and a clean number-line graph.
Solve exponential inequalities with same-base comparison, logarithm conversion, sign-flip explanations, and graphs.
Solve log inequalities with mandatory domain intersection and base-direction checks.
Solve rational inequalities with steps, excluded values, sign charts, and interval notation.
Convert inequalities to interval notation and back with steps, number-line visuals, bracket rules, and interval set operations.
Convert any inequality to interval notation with bracket rules, endpoint logic, and number line output.
Method
Choose whether your problem compares one logarithm with a constant, two logarithms with the same base, or two logarithms with different bases.
Enter the base, logarithm argument, inequality sign, and right-side value or logarithm.
Read the domain check first, then compare the raw algebraic solution with the domain-safe final answer.
Problem Types
log_a(f(x)) > c
Require f(x) > 0 before solving.
Rewrite the constant as a power, then compare f(x) with a^c. Flip the comparison only when 0 < a < 1.
log_a(f(x)) <= log_a(g(x))
Require both f(x) > 0 and g(x) > 0.
Compare the arguments directly, using the base direction to decide whether the inequality sign stays or flips.
log_a(f(x)) > log_b(g(x))
Intersect all positive-argument conditions.
Use change of base, solve the transformed inequality, then keep only values that still satisfy the original domains.
Common Mistakes
Write every log argument domain first, then intersect the final algebraic interval with those conditions.
A base between 0 and 1 makes the logarithm decreasing, so argument comparisons reverse.
Only same-base logarithms can be compared by arguments. Different bases need change-of-base work.
Examples
log_2(x - 1) > 3
Domain x > 1 is checked first, then x - 1 > 8 gives x > 9. The domain is already contained in the stricter result.
Domain
Raw solution
Final answer
log_(1/2)(x + 2) < -2
Base 1/2 is between 0 and 1, so the sign flips. Domain x > -2 and algebra x > 2 intersect to x > 2.
Domain
Raw solution
Final answer
log_2(x) > log_4(x + 3)
Change of base rewrites the comparison, then the solution is intersected with x > 0 and x + 3 > 0.
Domain
Raw solution
Final answer
FAQ
Every logarithm must have a valid base and a positive argument. The base must be greater than 0 and cannot equal 1. Each argument must be greater than 0, and the final solution must be intersected with those domain conditions.
A logarithm is undefined when its argument is zero or negative. Solving the transformed inequality can produce values that look correct algebraically but are illegal in the original logarithmic expression, so the domain check must happen before the final answer.
If the base is greater than 1, the logarithm is increasing and the inequality direction stays the same. If the base is between 0 and 1, the logarithm is decreasing and the inequality direction flips when you compare the arguments.
No. The argument of a logarithm must be positive. For example, log(x - 3) requires x - 3 > 0, so x must be greater than 3 before any other solution step is accepted.
Use the change-of-base formula to rewrite both logarithms with a common logarithm or natural logarithm, then solve the resulting comparison on the valid domain. The calculator shows this step explicitly for supported linear-argument patterns.
Both require domain checks, but inequalities also need direction logic. A base between 0 and 1 reverses the inequality, and the answer is usually an interval rather than one or two isolated values.