Questions tagged [logarithms]

Questions related to real and complex logarithms.

The logarithm is generally defined to be an inverse function for the exponential. If $x > 0$ is a real number and $b > 0$, $b \ne 1$, then the base-$b$ logarithm is defined by

$$\log_b(x) = y \iff b^y = x$$

The most commonly used bases are base $10$ and $2$ (which frequently arises in computer science), and particularly base $e$. The natural logarithm $\ln$ is defined to be $\log_e$.

Alternatively, the natural logarithm can be defined to be a primitive of the function $$f(t) = \frac{1}{t}$$ subject to the condition that $\ln{1} = 0$.

In the study of complex numbers, the solutions $a$ of $e^{a} = z$ are called complex logarithms. This uniquely specifies the modulus of $a$, but not its argument; as such, we define the principal logarithm $\operatorname{Log}(re^{i\theta}) = \ln{r} + i \theta$, with the restriction $-\pi < \theta \le \pi$ (or alternatively, $0 \le \theta < 2\pi$). This leads to a branch cut, or discontinuity - alternatively, the complex logarithm can be viewed as a multi-valued function.

Reference: Logarithm.

This tag often goes along with .

10403 questions
181
votes
17 answers

Alternative notation for exponents, logs and roots?

If we have $$ x^y = z $$ then we know that $$ \sqrt[y]{z} = x $$ and $$ \log_x{z} = y .$$ As a visually-oriented person I have often been dismayed that the symbols for these three operators look nothing like one another, even though they all…
friedo
  • 2,873
140
votes
36 answers

Unexpected examples of natural logarithm

Quite often, mathematics students become surprised by the fact that for a mathematician, the term “logarithm” and the expression $\log$ nearly always mean natural logarithm instead of the common logarithm. Because of that, I have been gathering…
121
votes
10 answers

The deep reason why $\int \frac{1}{x}\operatorname{d}x$ is a transcendental function ($\log$)

In general, the indefinite integral of $x^n$ has power $n+1$. This is the standard power rule. Why does it "break" for $n=-1$? In other words, the derivative rule $$\frac{d}{dx} x^{n} = nx^{n-1}$$ fails to hold for $n=0$. Is there some deep…
100
votes
8 answers

Prove $\left(\frac{2}{5}\right)^{\frac{2}{5}}<\ln{2}$

Inadvertently, I find this interesting inequality. But this problem have nice solution? prove that $$\ln{2}>(\dfrac{2}{5})^{\frac{2}{5}}$$ This problem have nice solution? Thank you. ago,I find…
math110
  • 94,932
  • 17
  • 148
  • 519
98
votes
11 answers

Demystify integration of $\int \frac{1}{x} \mathrm dx$

I've learned in my analysis class, that $$ \int \frac{1}{x} \mathrm dx = \ln(x). $$ I can live with that, and it's what I use when solving equations like that. But how can I solve this, without knowing that beforehand. Assuming the standard rule…
polemon
  • 1,071
96
votes
21 answers

How do you explain the concept of logarithm to a five year old?

Okay, I understand that it cannot be explained to a 5 year old. But how do you explain the logarithm to primary school students?
Sandbox
  • 1,265
86
votes
3 answers

Ramanujan log-trigonometric integrals

I discovered the following conjectured identity numerically while studying a family of related integrals. Let's set $$ R^{+}:= \frac{2}{\pi}\int\limits_{0}^{\pi/2}\sqrt[\normalsize{8}]{x^2 + \ln^2\!\cos x} \sqrt{…
86
votes
3 answers

What algorithm is used by computers to calculate logarithms?

I would like to know how logarithms are calculated by computers. The GNU C library, for example, uses a call to the fyl2x() assembler instruction, which means that logarithms are calculated directly from the hardware. So the question is: what…
82
votes
6 answers

What's so "natural" about the base of natural logarithms?

There are so many available bases. Why is the strange number $e$ preferred over all else? Of course one could integrate $\frac{1}x$ and see this. But is there more to the story?
user218
74
votes
5 answers

A new imaginary number? $x^c = -x$

Being young, I don't have much experience with imaginary numbers outside of the basic usages of $i$. As I was sitting in my high school math class doing logs, I had an idea of something that would allow solving for logs with negative bases or with…
74
votes
2 answers

coincidental (?) patterns in logs of repeating decimals, e.g. $\ln(2/3)$ vs. $\ln(0.6666666)$

I was playing with logarithms under an arbitrary-precision calculator, and got some odd results. I happened to have the precision set to 20 places, and these are the initial results I got: ln 0.6666666 = -0.40546520810816938198 ln 2/3 =…
71
votes
4 answers

Intuition behind logarithm inequality: $1 - \frac1x \leq \log x \leq x-1$

One of fundamental inequalities on logarithm is: $$ 1 - \frac1x \leq \log x \leq x-1 \quad\text{for all $x > 0$},$$ which you may prefer write in the form of $$ \frac{x}{1+x} \leq \log{(1+x)} \leq x \quad\text{for all $x > -1$}.$$ The upper bound is…
68
votes
13 answers

Sum of the alternating harmonic series $\sum_{k=1}^{\infty}\frac{(-1)^{k+1}}{k} = \frac{1}{1} - \frac{1}{2} + \cdots $

I know that the harmonic series $$\sum_{k=1}^{\infty}\frac{1}{k} = \frac{1}{1} + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} + \frac{1}{5} + \frac{1}{6} + \cdots + \frac{1}{n} + \cdots \tag{I}$$ diverges, but what about the alternating harmonic series…
67
votes
1 answer

Proving that $\int_0^\pi\frac{x\ln(1-\sin x)}{\sin x}dx=3\int_0^\frac{\pi}{2}\frac{x\ln(1-\sin x)}{\sin x}dx$

Prove without evaluating the integrals that:$$2\int_0^\frac{\pi}{2}\frac{x\ln(1-\sin x)}{\sin x}dx=\int_\frac{\pi}{2}^\pi\frac{x\ln(1-\sin x)}{\sin x}dx\label{*}\tag{*}$$ Or equivalently: $$\boxed{\int_0^\pi\frac{x\ln(1-\sin x)}{\sin…
66
votes
4 answers

Integrals of the form ${\large\int}_0^\infty\operatorname{arccot}(x)\cdot\operatorname{arccot}(a\,x)\cdot\operatorname{arccot}(b\,x)\ dx$

I'm interested in integrals of the form $$I(a,b)=\int_0^\infty\operatorname{arccot}(x)\cdot\operatorname{arccot}(a\,x)\cdot\operatorname{arccot}(b\,x)\ dx,\color{#808080}{\text{ for }a>0,\,b>0}\tag1$$ It's…
1
2 3
99 100