\begin{equation*} \log_ax = \lvert x+1 \rvert + \lvert x-5 \rvert. \end{equation*} I don't even know how to approach this one, any hints would be amazing.
I tried separating into two cases, where $0<x<5$ and $x>5$. The first pretty much limits a to every positive number as far as I have seen, the latter I don't know how to solve.
Answer is supposed to be
$(0,1)$ and $5^{\frac 16}$
Hint: Plot the expression $|x+1|+|x-5|$. You will see that for $x \leq -1$, it is a line with slope $-2$; for $-1 \leq x \leq 5$, it is a horizontal line at $y = 6$; for $x \geq 5$, it is a line with slope $2$. It looks a bit like a playground swing.
For any given $a$, the locations at which $\log_a x = |x+1|+|x-5|$ are the places where the graph of $\log_a x$ intersects the "playground swing" plot. Now consider that $\log_a x$ is an increasing function of $x$ for any $a$. For most such $a$, those two plots will intersect in either zero points, or two points. But for one value of $a$, the increasing $\log_a x$ function will intersect the "playground swing" in only one point. What point $(x^*, y^*)$ would that be? Figure that out, and then you can solve for $a$ using
$$ a^{y^*} = x^* $$
which yields
$$ a = (x^*)^{(1/y^*)} $$