Solve LaTeX:  \displaystyle \log_{8}(x + 1022)+\log_{8}(x + 30) = 5 .

Using logarithmic properties and expanding the argument gives LaTeX:  \displaystyle \log_{8}(x^{2} + 1052 x + 30660)=5 . Making both sides an exponent on the base gives LaTeX:  \displaystyle x^{2} + 1052 x + 30660=8^{5} . Expanding and setting equal to zero gives LaTeX:  \displaystyle x^{2} + 1052 x - 2108=0 . Factoring gives LaTeX:  \displaystyle \left(x - 2\right) \left(x + 1054\right)=0 . Solving gives the two possible solutions LaTeX:  \displaystyle x = -1054 and LaTeX:  \displaystyle x = 2 . The domain of the original is LaTeX:  \displaystyle \left(-1022, \infty\right) \bigcap \left(-30, \infty\right)=\left(-30, \infty\right) . Checking if each possible solution is in the domain gives: LaTeX:  \displaystyle x = -1054 is not a solution. LaTeX:  \displaystyle x=2 is a solution.