Logarithms: Is f(xy)=f(x)+f(y) for All Functions?

  • Thread starter jhjensen
  • Start date
  • Tags
    Functions
In summary, the conversation discusses the question of whether logarithms are the only functions that satisfy the equation f(xy) = f(x) + f(y). Depending on the definition of logarithm, the answer may vary. One approach is to use the derivative of f(x) to show that it is proportional to 1/x, which leads to the conclusion that f(x) must be a logarithm. Another approach involves the functional equation g(x+y) = g(x) + g(y) and finding examples of additive functions that are not linear, thus showing that there exist functions that satisfy the equation but are not logarithms. However, if we exclude 0 from the domain of f, then the only solution is the zero function.
  • #1
jhjensen
3
0
Are logarithms the only functions for which f(xy) = f(x) + f(y)?
 
Mathematics news on Phys.org
  • #2
Depending on your definition of the logarithm, yes.

I managed to show for example, that [itex]f'(x) \propto \frac{1}{x}[/itex].

The trick was to look at
[tex]\frac{\mathrm d}{\mathrm dx} f(x) = \lim_{h \downarrow 0} \frac{f(x + h)}{h}[/tex]
where
[tex]f(x + h) = f(x(1 + h/x)) = f(x) + f(1 + h/x)[/tex]

You can throw in an expansion:
[tex]f\left(1 + \frac{h}{x}\right) = f(1) + c \frac{h}{x} + \mathcal O(h^2)[/tex]
The second order terms in h divided by h will be O(h) and will vanish. You can show that f(1) = 0 by looking at f(x) = f(1x) = f(1) + f(x).

Combining everything will give you
[tex]\frac{\mathrm d}{\mathrm dx} f(x) = c \cdot \frac{1}{x}[/tex]

Now it follows that f(x) must be a logarithm, because you can appropriately choose c to get any [itex]\log_a{x} = c \ln x[/itex] (c = 1/ln(a)).

If you prefer the definition that ln is the function satisfying [itex]e^{\ln x} = x[/itex] with ln(1) = 0, you can use the chain rule to show that this is equivalent to the solution of the differential equation.
 
  • #3
Isn't this a much simpler way to prove that [itex]f'(x) \propto \dfrac{1}{x}[/itex]?
If you suppose [itex]f[/itex] differentiable on its domain, and if you derivate the equation with respect to y, you get that f satisfies:
[tex]\forall x, y \in \mathbb R, \hspace{10pt} xf'(xy) = f'(y)[/tex]
By chosing y = 1:
[tex]\forall x \in \mathbb R, \hspace{10pt} xf'(x) = f'(1)[/tex]
Thus, forall nonzero x:
[tex]f'(x) = \dfrac{f'(1)}{x}[/tex]
 
  • #4
Those answers assume differntiability. Perhaps the technical answer to the question:
Are logarithms the only functions for which f(xy) = f(x) + f(y)?
is No unless you add some condition like continuity or differentiability.
 
  • #5
Stephen Tashi said:
Those answers assume differntiability. Perhaps the technical answer to the question:
Are logarithms the only functions for which f(xy) = f(x) + f(y)?
is No unless you add some condition like continuity or differentiability.
Indeed. Consider the function g(x)=f(e^x). It satisfies the functional equation g(x+y) = g(x) + g(y) (i.e., g is additive) and determines f on the positive reals, hence on all the reals (why?). It's a pretty well-known fact that simple additional requirements, such as continuity, will force an additive function to be linear (i.e. to be of the form g(x)=cx for some constant c). However, in the absence of such requirements, one can in fact find http://planetmath.org/encyclopedia/ThereExistAdditiveFunctionsWhichAreNotLinear.html . These functions are fairly pathological. In particular, they aren't continuous. So, if we take one such example for our g, then the resulting f won't be a logarithm.
 
Last edited by a moderator:
  • #6
I just noticed that the differentiable constant function f(x) = 0 also works.
 
  • #7
Stephen Tashi said:
I just noticed that the differentiable constant function f(x) = 0 also works.
Presumably by "logarithms" the OP meant functions of the form f(x) = c log|x| for some constant c. (This is at least consistent with CompuChip and sachav's posts.) You get the zero function when you take c=0.

Edit: It should be pointed out that one must exclude 0 from the domain of f in order to get anything interesting. If you insist on defining f at 0, then f(0) has to be zero (because f(0)=f(0*0)=f(0)+f(0)), and from this it follows that f(x)=0 for all x. (Proof: f(x)=f(x)+f(0)=f(x*0)=f(0)=0.)
 
Last edited:

1. What is a logarithm?

A logarithm is a mathematical function that represents the inverse of an exponential function. It tells you what power you need to raise a base number to in order to get a certain result.

2. What is the relationship between logarithms and exponential functions?

Logarithms and exponential functions are inverse operations of each other. This means that the logarithm of a number is the exponent you need to raise the base to in order to get that number.

3. What is the property of logarithms that states f(xy)=f(x)+f(y)?

The property is known as the product rule of logarithms. It states that the logarithm of a product is equal to the sum of the logarithms of the individual factors.

4. Does the property f(xy)=f(x)+f(y) hold for all functions?

No, this property only holds for logarithmic functions. It does not hold for other types of functions such as linear or quadratic functions.

5. How is the product rule of logarithms useful in solving equations?

The product rule of logarithms allows us to simplify and solve equations involving logarithmic functions. It can be used to combine multiple logarithmic terms into a single logarithm, making it easier to solve for the variable.

Similar threads

Replies
12
Views
1K
Replies
3
Views
953
  • General Math
Replies
2
Views
2K
  • General Math
Replies
11
Views
396
Replies
17
Views
2K
Replies
3
Views
703
Replies
4
Views
1K
Replies
2
Views
1K
  • General Math
Replies
5
Views
1K
Replies
1
Views
951
Back
Top