Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

So I ran into some confusion while doing this problem, and I won't bore you with the details, but it comes down to trying to solve $e^x - e^{-x} = 0$.

I know to solve it, we can rewrite it as $e^x - \frac{1}{e^x} = 0$ and then get LCD so form $\frac{e^{2x} - 1}{e^x} = 0$ and then rewrite it as $e^{2x} = 1$, take the natural logarithm of both sides and it becomes $2x = \log(1)$ or when $x = 0$ (if anything up there is wrong, please tell me)

My problem is when I try to do an alternative. Starting with $e^x - e^{-x} = 0$, I try to add to both sides to get $e^x = e^{-x}$, and then take the natural logarithm of both sides to get $x = -x$, which is not a true statement. Could someone explain to me what I'm doing wrong, please?

Thanks in advance

share|improve this question
5  
First, you should use MathJax. See meta.math.stackexchange.com/questions/5020/… for a summary. In your final paragraph, you say $x=-x$ is not a true statement. But if $x=0$, it is true. –  rogerl Jul 14 at 21:09
2  
Your fist approach leads to $2x=\ln{1}=0$ then $x=0$. Your second approach leads to $x=-x$ then $x=0$ –  rlartiga Jul 14 at 21:11
1  
Not to be a snob about it, but in mathematics, $\log x$ refers to the natural logarithm, and the common logarithm is then $\log_{10} x$. –  James47 Jul 14 at 21:14
3  
@James47: Any mathematician would understand $\ln(x)$ to be the natural logarithm of $x$. On the other hand, using $\log(x)$ can sometimes introduce ambiguity. –  Deathkamp Drone Jul 14 at 21:22
6  
In fact, $e^x-e^{-x}$ is precisely $2\sinh x$. So you are really solving $\sinh x = 0$. The solutions are the complex numbers $i\pi k$ for integral $k$; the only real-valued solution among these, if that's what you need, is $0$. –  MPW Jul 14 at 22:19
show 3 more comments

5 Answers 5

up vote 17 down vote accepted

If $$x = -x$$

Then we can say that $$x = 0$$

Because

$$ x + x = -x + x $$

$$ 2x = 0 $$

$$ x = 0 $$

share|improve this answer
    
Thanks! Makes sense :) –  Astro Jul 15 at 14:14
add comment

You are solving for $x$ when $e^x=e^{-x}$. It is not the case for all $x$ that $e^x=e^{-x}$; therefore, the statement $x=-x$ will not be true for all $x$, just the $x$ you are solving for.

share|improve this answer
1  
Interesting. I didn't think of that. Thanks! –  Astro Jul 15 at 14:15
add comment

Both are correct. $x=-x\Leftrightarrow 2x=0\Leftrightarrow x=0$.

share|improve this answer
    
Simple and to the point. Thank you –  Astro Jul 15 at 14:15
add comment

When you take logs of both sides, you don't get $x=-x$. You get $x = -x +2\pi ik$ for integral $k$. This means $2x = 2\pi ik$, so $x = \pi ik$.

The only real-valued solution, then, is $x=0$ (by taking $k=0$).

share|improve this answer
5  
I think the phrasing of the question makes it clear that the OP is asking from the perspective of real-valued functions only. This is swatting a fly with a trebuchet. –  mweiss Jul 15 at 2:59
    
Yeah mweiss is right. I didn't ask for that because I didn't know such a thing existed. Thanks for the extra info though. It's to be exposed to different things. –  Astro Jul 15 at 14:16
3  
@mweiss, "swatting a fly with a trebuchet" I need to remember this phrase for use in the future. –  Brian S Jul 15 at 15:02
add comment

and then take the natural logarithm of both sides to get $x=−x$, which is not a true statement

And right there is your mistake.

$x=-x $ is a true statement... but only for $x=0$. Just add $x$ to both sides.

share|improve this answer
    
I forgot taking the natural log of a negative is a no-no. Thanks for pointing that out –  Astro Jul 15 at 14:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.