Why does taking the logarithm of both sides not work?

  • Thread starter Thread starter Hypercubes
  • Start date Start date
  • Tags Tags
    Logarithm Work
Click For Summary
Taking the logarithm of both sides of the equation x=e^{-x} is invalid because it treats the expression as a function, which it is not. Instead, the equation should be rewritten as f(x)=x-e^{-x}=0, allowing for proper differentiation of the function f(x). Differentiating both sides of an equation like x=e^{-x} leads to incorrect conclusions, as it conflates the conditions of equality with the conditions of their slopes. The example of 3x-2=x illustrates this point, showing that differentiating both sides changes the nature of the question being asked. Understanding the distinction between solving equations and differentiating functions is crucial for accurate mathematical reasoning.
Hypercubes
Messages
38
Reaction score
0
Homework Statement
Differentiate x=e^{-x}

The attempt at a solution
\ln{x}=\ln{e^{-x}}
\ln{x}=-x
\frac{d}{dx}\left(\ln{x}\right)=\frac{d}{dx}\left(-x\right)
\frac{1}{x}=-1

The correct answer is 1+e^{-x}. I know how to solve it that way; however, why is the above method wrong? I know there are usually two variables, but I can't see any mathematical errors in my method.

Thank you.
 
Last edited:
Physics news on Phys.org
Hi Hypercubes! :smile:
Hypercubes said:
Differentiate x=e^{-x}

The correct answer is 1+e^{-x}.

Obviously a misprint, for "Differentiate x-e^{-x}" :wink:
 
Well, the exact question was "explain why the equation e^{-x} = x has exactly one solution", and the answer goes on to define f(x) = x-e^{-x} and says "Since f'(x) = 1 + e^{-x}, and 1 + e^{-x} > 0 for all x, the function f is increasing..."

So they set it to 0 to get the derivative. However, why was the method I used not valid?
 
Last edited:
Your expression, x=e^{-x} is just that -- an expression. You cannot treat it as a function. In particular, you can't differentiate both sides and expect something meaningful to pop out. What you can do is to rewrite it as x-e^{-x} = 0, and now the quantity on the right hand side f(x)=x-e^{-x} can be treated as a function. You aren't differentiating both sides of f(x)=0. Just one.
 
Ah, I see. Thanks you both!
 
As a simple example. Take the equation 3x-2=x. This equation has 1 solution x=1. If you differentiate both sides though, you get 3=1 which is obviously not true.

This is because the undifferentiated equation is asking a fundamentally different question than the differentiated equation. The equation 3x-2=x is asking "When is the function f(x)=3x-2 equal to the function g(x)=x?" While the differentiated equation is asking "When is the slope of the function f(x) equal to the slope of the function g(x)?"
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
638
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K