1

Q) Find the value of $x$ in $2 \log x + \log 5 = 2.69897$

So far I got: $$2 \log x + \log 5 = 2.69897$$ $$\Rightarrow \log x^2 + \log 5 = 2.69897 $$

$$\Rightarrow \log 5x^2 = 2.69897 $$

What should I do next?

Note: In this question $\log(x) \implies \log_{10}(x)$ , it is therefore implied to use $\ln(x)$ to denote natural logarithm

Nick
  • 6,804
Helena
  • 105

5 Answers5

2

I suspect the OP is using base 10 logs instead of the standard base $e$ log. So, using base 10 logs,

We have that $\log(500) = 2.69897...$ and $\log(100)=2$. Thus,

\begin{align*} &\quad 2 \log(x) + \log(5) = \log(500) \\ &\implies 2\log(x) = \log(500) - \log(5) \\ &\implies 2\log(x)=\log(100) \\ &\implies 2 \log(x) = 2 \\ &\implies \log(x) = 1 \\ &\implies x = 10^1 \\ &\implies x=10. \end{align*}

  • 1
    Excellent! The fact that it's log(500) is actually intuitive. It lies between log(100) which is 2 and log(1000) which is 3. So, intuitively log(500) is kinda close to 2.5 – Nick Mar 09 '14 at 07:35
1

Remember, if $a^x=b$, then $\log_a(b)=x$ $$\log_{10}(5x^2)=2.69897$$ $$10^{2.69897}=5x^2$$ $$x^2=\dfrac{10^{2.69897}}{5}$$ $$x=\pm\sqrt{\dfrac{10^{2.69897}}{5}}$$ We will discard the negative root because we cannot have something like $\log(x)$ where $x < 0$. Therefore: $$\displaystyle \boxed{x=\sqrt{\dfrac{10^{2.69897}}{5}}}$$

  • 2
    Do you really want that negative solution? – Gerry Myerson Mar 09 '14 at 04:32
  • @GerryMyerson I believe that the negative solution will be made positive when you put it through $5x^2$. If it was $5x^3$ or something I would reject the negative solution – Anonymous Computer Mar 09 '14 at 04:35
  • But what happens when you put it in the original equation, to see whether it is really a solution? – Gerry Myerson Mar 09 '14 at 04:37
  • @GerryMyerson I still get 2.69897, I am not lying. – Anonymous Computer Mar 09 '14 at 04:39
  • @JChau The equation does not contain $x^2$ at all. Still don't understand conversion to quadratic and back. Meaningless. – sas Mar 09 '14 at 04:39
  • 2
    @JChau: Remember the original equation the OP had, had the term log(x). You cannot have that negative value of x. – Nick Mar 09 '14 at 04:41
  • Oh woops I only read the last equation. Thank you all for pointing out my mistake. It is fixed now. – Anonymous Computer Mar 09 '14 at 04:42
  • @JChau: Your answer requires a calculator to finally get a solution. sqrt((10^2.69897) / 5) = 9.99999995008. Wouldn't you say my answer is more elegant? – Nick Mar 11 '14 at 10:26
  • @Nick OP did not specify the exact value of the logarithm did he? :P if he really did not approximate the log and has to find what log value will give $2.69897$, my answer is correct. Good observation though – Anonymous Computer Mar 11 '14 at 15:06
0

Raise the base of the logarithm to both sides. Then, you get $5 x^2 = b^{2.69897}$ where $b$ is the base of the logarithm (probably $b=10$). Then, solve for $x$ by dividing by $5$ and taking square roots.

Gerry Myerson
  • 179,216
Batman
  • 19,390
0

Oh.

$$2 \log_b x + \log_b 5 = 2.69897=a$$ $$\log_b x=(a-\log_b 5)/2$$ $$x=b^{(a-\log_b 5)/2}$$ And after about a half and a hour you may have $$x=\sqrt{b^{a-\log 5}}=\sqrt{b^a/5}$$ and so on

sas
  • 3,117
  • 1
  • 17
  • 29
0

The comment given on your question is the quickest answer there is.

$\log(5x^2)= \log(500) \implies x=10$

I dislike using a calculator or log table to get the answer. I think such things are supposed to only make lives easier and faster, they should not be the only way to find solutions.

Here's a rough long road just for the sake of independence from machines. Let us consider using a Taylor expansion to estimate the answer. I'll give you two simple expansions that you can use to approximate $\ln(x)$:

$$\ln(1-x) = -\sum\limits_{n=1}^\infty \frac{x^n}{n} \quad\forall\space \mid x\mid\space < 1$$ $$\ln(1+x) = \sum\limits_{n=1}^\infty (-1)^{n+1}\frac{x^n}{n} \quad\forall\space \mid x\mid\space < 1$$

For convenience, let's roll back to the original equation we had: $$2 \log(x) + \log(5) = 2.69897 \\ \Rightarrow 2 \log(x) + \log (0.5\times 10) = 2.69897 \\ \Rightarrow 2 \log(x) + \log (0.5) = 1.69897$$

$$\ln(0.5) = \ln(1-0.5) = -\sum\limits_{n=1}^\infty \frac{(0.5)^n}{n} = -(\frac{(0.5)^1}{1} + \frac{0.5^2}{2} + \frac{0.5^3}{3} + \dots) \approx -0.693147$$

But we want $\log(0.5)$, so we need to use the change of base formula, $$ \log(0.5) = \frac{\ln(0.5)}{\ln(10)} = \frac{-0.693147}{2.302585} \approx -0.301029$$

You can find $\ln(10)$ using the series I showed you and I advise you to keep that value in memory.

Now, $$ 2 \log(x) - 0.301029 = 1.69897 \\ 2 \log(x) = 1.69897 + 0.301029 = 1.999999 \approx 2 \\ \log(x) = 1 \\ x = 10^1$$


Some additional points:
  • Sometimes you'll be faced to calculate $\text{anti}\log(x)$, for that here's another series:

$$ 10^x = \sum\limits_{n=1}^\infty \frac{x^n \ln^n(10)}{n!}$$

  • If you want faster ways of doing it, then please check out Euler's acceleration or if you want really heavy guns, then there's the Cohen-Villegas-Zagier acceleration. But for simple stuff like what we have, Newton-Raphson is good too.(Courtesy of Balarka Sen)

  • That intermediate base conversion is kind of a bummer for me and most people but remember that you can be creative during such calculation: $\Large \frac{\ln 0.5}{\ln 10} = - \frac{1}{1 + (\ln 5) / (\ln 2)} \approx \frac{1}{1 + (\ln 4) / ( \ln 2 )} = \frac{1}{3}$ (Approximation by N3buchadnezzar)

  • Remembering certain values can help. If you don't want to do all of those approximations, then just remember the first 10 or so prime values of $x$ for $\log(x)$ and $\ln(x)$ but I do strongly recommend you remembering $\ln(10)$ and $\log(e)$ becuase base conversions always require those values.
    By remembering a few values, you can find other values simply using your creativity and knowledge of the logarithmic rules: $$ \log(5) = \log(\frac{10}{2}) = \log(10) - \log(2) = 1 - \log(2) \approx 1 - 0.301029 = 0.698971$$

Nick
  • 6,804