Canceling x and |x| in a Limit: Understanding the Solution

In summary: The derivative of the bottom is going to be 1 and the derivative of the top will be found using chain rule correct? So if we take (1-cos(x)) = u then dy/dx of the numerator will be dy/dx (x) ⋅ dy/dx (1-cos(x)) and we know derivative of x will be 1 so its 1⋅(0-(-sin(x))) therefore, dy/dx of numerator is 1⋅sin(x) and sin(0)=0 and 1⋅0=0 so the answer is 0/1 which is 0.
  • #1
Erenjaeger
141
6

Homework Statement


can you cancel the x and the |x|[/B]

lim x→0 ( x(1-(cos(x))/|x| )

2. Homework Equations

The Attempt at a Solution


At first i thought the limit would just be undefined as x approaches 0 but the answer to the problem is actually 0, so can you just cancel the x with the magnitude of x (|x|) on the denominator? thanks
 
Physics news on Phys.org
  • #2
Erenjaeger said:

Homework Statement


can you cancel the x and the |x|[/B]

lim x→0 ( x(1-(cos(x))/|x| )

2. Homework Equations

The Attempt at a Solution


At first i thought the limit would just be undefined as x approaches 0 but the answer to the problem is actually 0, so can you just cancel the x with the magnitude of x (|x|) on the denominator? thanks
No, you can't just cancel x with |x|. If x > 0, ##\frac x {|x|} = 1##, but if x < 0, ##\frac x {|x|} = -1##. You need to try something else.
 
  • #3
Mark44 said:
No, you can't just cancel x with |x|. If x > 0, ##\frac x {|x|} = 1##, but if x < 0, ##\frac x {|x|} = -1##. You need to try something else.
how about if you expand the top to x-xcos(x) for the first step but then youre still left with x-xcos(x)/|x|, is that the correct first step? how would i continue from here, not really sure because you can't have that denominator there since as x approaches 0 the limit is going to be undefined right??
 
  • #4
Erenjaeger said:
how about if you expand the top to x-xcos(x) for the first step but then youre still left with x-xcos(x)/|x|, is that the correct first step?
No, that won't work -- you still have something of the form ##\frac 0 0 ##.

Erenjaeger said:
how would i continue from here, not really sure because you can't have that denominator there since as x approaches 0 the limit is going to be undefined right??
Hint: ##\frac x {|x|}## is the same as ##\frac{|x|} x##. Then write the expression as the product of two other expressions. I can't really say much more without giving the solution away.
 
  • #5
Mark44 said:
No, that won't work -- you still have something of the form ##\frac 0 0 ##.Hint: ##\frac x {|x|}## is the same as ##\frac{|x|} x##. Then write the expression as the product of two other expressions. I can't really say much more without giving the solution away.
im a little confused but, youre saying i can just swap the x in the numerator with the |x| in the denominator, and get |x|-xcos(x)/x or |x|/x⋅(1-cos(x)) ??
 
  • #6
somewhere youre going to have to cancel an x correct ? to get it out of 0/0 form
 
  • #7
Erenjaeger said:
im a little confused but, youre saying i can just swap the x in the numerator with the |x| in the denominator, and get |x|-xcos(x)/x or |x|/x⋅(1-cos(x)) ??
Neither one is equal to the expression you started with. The first one you wrote just above is ##|x| - \frac{x\cos(x)}x##. The second is ##\frac{|x|}x - (1 - \cos(x))##.
 
  • #8
Mark44 said:
Neither one is equal to the expression you started with. The first one you wrote just above is ##|x| - \frac{x\cos(x)}x##. The second is ##\frac{|x|}x - (1 - \cos(x))##.
can you explain how i would solve this then please
 
  • #9
There are a couple of well-known trig limits, one of which can be used in this problem.
 
  • #10
Mark44 said:
There are a couple of well-known trig limits, one of which can be used in this problem.
are you meaning as x approaches 0 for cos(x) then cos(x)=1
 
  • #11
Erenjaeger said:
are you meaning as x approaches 0 for cos(x) then cos(x)=1
No, that's not the one. It's slightly more complicated.
 
  • #12
Erenjaeger said:
are you meaning as x approaches 0 for cos(x) then cos(x)=1

You can use l'Hospital's rule to evaluate ##\lim_{x \to 0} \frac{1 - \cos x}{x}##. That eliminates the 0/0 problem, and that is why l'Hospital invented the method. And that is why every calculus book ever written has a section on it.
 
  • #13
Ray Vickson said:
You can use l'Hospital's rule to evaluate ##\lim_{x \to 0} \frac{1 - \cos x}{x}##. That eliminates the 0/0 problem, and that is why l'Hospital invented the method. And that is why every calculus book ever written has a section on it.
okay that was probably the most helpful thing post yet, so then lim x → 0 ( x(1-(cos(x))/|x| ) the derivative of the bottom is going to be 1 and the derivative of the top will be found using chain rule correct? so if we take (1-cos(x)) = u then dy/dx of the numerator will be dy/dx (x) ⋅ dy/dx (1-cos(x)) and we know derivative of x will be 1 so its 1⋅(0-(-sin(x))) therefore, dy/dx of numerator is 1⋅sin(x) and sin(0)=0 and 1⋅0=0 so the answer is 0/1 which is 0?
 
Last edited by a moderator:
  • Like
Likes Kuzon
  • #14
Erenjaeger said:
okay that was probably the most helpful thing post yet, so then lim x → 0 ( x(1-(cos(x))/|x| ) the derivative of the bottom is going to be 1 and the derivative of the top will be found using chain rule correct? so if we take (1-cos(x)) = u then dy/dx of the numerator will be dy/dx (x) ⋅ dy/dx (1-cos(x)) and we know derivative of x will be 1 so its 1⋅(0-(-sin(x))) therefore, dy/dx of numerator is 1⋅sin(x) and sin(0)=0 and 1⋅0=0 so the answer is 0/1 which is 0?
could have potentially messed up my derivative skillz there, will it in fact be, dy/dx of the numerator = (1-cos(x))⋅(sin(x)) or was i correct initially ?
 
  • #15
Erenjaeger said:
okay that was probably the most helpful thing post yet, so then lim x → 0 ( x(1-(cos(x))/|x| ) the derivative of the bottom is going to be 1 and the derivative of the top will be found using chain rule correct? so if we take (1-cos(x)) = u then dy/dx of the numerator will be dy/dx (x) ⋅ dy/dx (1-cos(x)) and we know derivative of x will be 1 so its 1⋅(0-(-sin(x))) therefore, dy/dx of numerator is 1⋅sin(x) and sin(0)=0 and 1⋅0=0 so the answer is 0/1 which is 0?

The absolute value sign messes up things a bit (being non-differentiable at the origin); that is why one should use the fact that ##x/|x| = |x|/x##, to move the absolute value sign up into the numerator. Then one can look separately at ##\lim_{x \to 0} |x|## and ##\lim_{x \to 0} [1-\cos x]/x##; now both the numerator and denominator are differentiable in the second limiting ratio.

Alternatively, we could take the two cases ##x > 0## and ##x < 0##, and look separately at limits from the left and the right.
 
  • #16
Ray Vickson said:
You can use l'Hospital's rule to evaluate ##\lim_{x \to 0} \frac{1 - \cos x}{x}##. That eliminates the 0/0 problem, and that is why l'Hospital invented the method. And that is why every calculus book ever written has a section on it.
Most, or possibly all, calculus books discuss that particular limit, as well as ##\lim_{x \to 0}\frac{\sin(x)}x## and ##\lim_{x \to 0}\frac{\tan(x)}x##. If you know those limits, there's no need to use L'Hopital's Rule.
 

1. What does it mean to cancel x and |x| in a limit?

Canceling x and |x| in a limit means that both the variable x and its absolute value |x| are approaching the same value as the limit. This allows us to simplify the expression and evaluate the limit more easily.

2. Why is it important to understand the solution?

Understanding the solution allows us to accurately evaluate the limit and make sure that our answer is correct. It also helps us develop a deeper understanding of the concept and apply it to other mathematical problems.

3. Can we always cancel x and |x| in a limit?

No, we can only cancel x and |x| in a limit if they are both approaching the same value. If they are approaching different values, we cannot cancel them and must use other methods to evaluate the limit.

4. How do we know when to cancel x and |x| in a limit?

We can only cancel x and |x| in a limit if both terms are present in the expression. If either x or |x| is missing, we cannot cancel them and must use other methods to evaluate the limit.

5. What are some common mistakes when canceling x and |x| in a limit?

One common mistake is canceling x and |x| when they are approaching different values. Another mistake is forgetting to include one of the terms in the original expression, which would make it impossible to cancel them. It is also important to be careful when dealing with limits involving trigonometric functions or exponential functions, as the rules for canceling x and |x| may not apply in these cases.

Similar threads

  • Calculus and Beyond Homework Help
Replies
10
Views
823
  • Calculus and Beyond Homework Help
Replies
5
Views
802
  • Calculus and Beyond Homework Help
Replies
8
Views
659
  • Calculus and Beyond Homework Help
Replies
24
Views
2K
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
796
  • Calculus and Beyond Homework Help
Replies
19
Views
2K
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
861
Back
Top