
Justin F. answered 01/21/20
Master's in Math, 10+ Years of Teaching/Tutoring at College Level
To solve problems involving logarithms you usually need to use properties of exponential and logarithmic functions.
For this type of problem, the two following properties are useful:
1) log(a)+log(b) = log(ab) (when all logs are of the same base)
2) log(a) = log(b) means a = b (again when the logs are of same base).
Then by property 1),
log(18) = log(x) + log(3) = log(3x)
so by property 2),
log(18) = log(3x) implies 3x =18.
Solving for x (by dividing by 3) we obtain
x = 6.
Notice that in order to use the above properties you must know that the logs are using the same base, otherwise we cannot use those properties.