Squeeze Theorem/Limits Question. Answers don't match up.

  • Thread starter Thread starter fire9132
  • Start date Start date
  • Tags Tags
    Match
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
fire9132
Messages
5
Reaction score
0

Homework Statement



Evaluate using the Squeeze Theorem.
[itex]\lim_{x\rightarrow0} (2^{x} - 1) cos\frac{1}{x}[/itex]

Homework Equations


The Attempt at a Solution



[itex]-1 ≤ cos\frac{1}{x} ≤ 1 \\<br /> 1 - 2^{x} ≤ (2^{x} -1)cos\frac{1}{x} ≤ 2^{x} - 1 \\<br /> 0 ≤ (2^{x} -1)cos\frac{1}{x} ≤ 0 \\<br /> ∴ \lim_{x\rightarrow0} (2^{x} - 1) cos\frac{1}{x} = 0[/itex]

That's the solution I got and the solution that's in my textbook. But when I checked on wolframalpha, it says the limit does not exist.

Did I do something wrong and is my textbook wrong? or is it something conceptually that I don't understand about this? Is wolframalpha wrong?
Thanks :)
 
on Phys.org
fire9132 said:

Homework Statement



Evaluate using the Squeeze Theorem.
[itex]\lim_{x\rightarrow0} (2^{x} - 1) cos\frac{1}{x}[/itex]

Homework Equations





The Attempt at a Solution



[itex]-1 ≤ cos\frac{1}{x} ≤ 1 \\<br /> 1 - 2^{x} ≤ (2^{x} -1)cos\frac{1}{x} ≤ 2^{x} - 1 \\<br /> 0 ≤ (2^{x} -1)cos\frac{1}{x} ≤ 0 \\<br /> ∴ \lim_{x\rightarrow0} (2^{x} - 1) cos\frac{1}{x} = 0[/itex]

That's the solution I got and the solution that's in my textbook. But when I checked on wolframalpha, it says the limit does not exist.

Did I do something wrong and is my textbook wrong? or is it something conceptually that I don't understand about this? Is wolframalpha wrong?
Thanks :)

It's possible that you inadvertently entered something different into wolfram. Your answer is correct.
 
fire9132 said:
[itex]-1 ≤ cos\frac{1}{x} ≤ 1 \\<br /> 1 - 2^{x} ≤ (2^{x} -1)cos\frac{1}{x} ≤ 2^{x} - 1 \\<br /> 0 ≤ (2^{x} -1)cos\frac{1}{x} ≤ 0 \\[/itex]
You are correct that the limit is zero, but your reasoning has some flaws. The last line is clearly not correct, for it is equivalent to
$$(2^x - 1)\cos\left(\frac{1}{x}\right) = 0$$
which is not true for all ##x##. The previous line is correct, but only if ##2^x - 1 \geq 0##.

It's somewhat easier to work with absolute values:
$$\left|\cos\left(\frac{1}{x}\right)\right| \leq 1$$
Now multiply both sides by ##|2^x - 1|## and see what you can conclude.
 
fire9132 said:
1 - 2^{x} ≤ (2^{x} -1)cos\frac{1}{x} ≤ 2^{x} - 1 \\


for x < 0, this statement is false.