Evaluating Limit: f(x+h) - f(x) / h for f(x) = (x^2)sin(1/x)

  • Thread starter MathewsMD
  • Start date
  • Tags
    Limit
In summary, trying to evaluate the limit as h goes to zero yields incorrect results due to incorrect use of limits.
  • #1
MathewsMD
433
7
Evaluate: f(x+h) - f(x) / h if f(x) = (x^2)sin(1/x)

I've tried evaluating, but only end up with 2xsin(1/x), and that is incorrect. I have also not learned L'Hospital's rule yet so any help would be great!
 
Physics news on Phys.org
  • #2
Is the question asking you to evaluate that expression for any function h, or is it asking you to calculate the limit as h goes to zero (i.e. find the derivative)?

Assuming the latter, you need to use the product rule
 
  • #3
Office_Shredder said:
Is the question asking you to evaluate that expression for any function h, or is it asking you to calculate the limit as h goes to zero (i.e. find the derivative)?

Assuming the latter, you need to use the product rule


It is the latter. And you can only evaluate using limits.
 
  • #4
Pls post your attempt.
 
  • #5
I think it's bizarre they want you to calculate this using the limit definition, but it is what it is. Like haruspex said, to help you we will need to see what calculations you did when you tried calculating the limit (we should be able to easily identify the point where you made your mistake)
 
  • #6
I did:

=lim [[(x+h)^2]sin(1/x+h) - (x^2)sin(1/x)]/h
h→0

=lim [(x^2)sin(1/x+h) + 2xhsin(1/x+h) + (h^2)sin(1/x+h) - (x^2)sin(1/x)]/h
h→0

=[lim[(x^2)sin(1/x+h) - (x^2)sin(1/x)] + lim[2xhsin(1/x+h) + (h^2)sin(1/x+h)]]/lim h
h→0 h→0 h→0

= 0 + lim [[h (2xsin(1/x+h) + hsin(1/x+h)]/h]
h→0

= lim (2xsin(1/x+h) + hsin(1/x+h)]
h→0

= 2xsin(1/x)

If there are any errors in my steps, please point them out. This is not the correct answer (I believe), and if someone could show me the correct way to evaluate this limit, both when x = 0 and when x ≠ 0, that would be great. Thanks!

EDIT: The h→0 should be everywhere you see the lim notation. Sorry, I can't really format well here.
 
  • #7
You seem to have made the claim that
[tex] \lim_{h\to \0} \frac{ x^2 \sin(1/(x+h)) - x^2 \sin(1/x)}{h} = 0 [/tex]

which is not correct.
 
  • #8
I meant:


[tex] \lim_{h\to\ 0} {x^2 \sin(1/(x+h)) - x^2 \sin(1/x)} = 0 [/tex]


Then I assigned the limit to the denominator (h) and since the numerator was just addition, I did the same for the last two terms.
 
Last edited:
  • #9
I see what you are doing now - it was hard to read in your last post but you cannot move around limits and fractions like that. Once you get to this point

[tex] \frac{ x^2 \sin(1/(x+h)) - x^2 \sin(1/x) + 2xh\sin(1/(x+h)) + h^2 \sin(1/(x+h))}{h} [/tex]

You cannot re-write this as
[tex] x^2 \sin(1/(x+h)) - x^2 \sin(1/x) + \frac{2xh \sin(1/(x+h)) + h^2 \sin(1/(x+h)}{h} [/tex]
 
Last edited:
  • #10
[tex][ \lim_{h\to\ 0}{(x^2 \sin(1/(x+h)) - x^2 \sin(1/x)) + \lim_{h\to\ 0}(2xh\sin(1/(x+h)) + h^2 \sin(1/(x+h))}] ÷ \lim_{h\to\ 0}{h} [/tex]
 
Last edited:
  • #11
First, you still split the fraction in a way that you are not allowed to (by not having an h in the denominator of your first term). Second, you can only split the limit between the numerator and denominator like that if both limits exist and the denominator does not go to zero, which is clearly does. Your second fraction is 0/0, not 2xsin(1/x).
 
  • #12
Office_Shredder said:
First, you still split the fraction in a way that you are not allowed to (by not having an h in the denominator of your first term). Second, you can only split the limit between the numerator and denominator like that if both limits exist and the denominator does not go to zero, which is clearly does. Your second fraction is 0/0, not 2xsin(1/x).

Okay. So what method would be best in this case to overcome this problem?

I don't think factoring is really an option here and I don't see a good term to use to rationalize.
 
  • #13
Is there any path I should take or something I am missing that would help me further simplify this limit?
 
  • #14
Try writing it as
[tex]\lim_{h\to 0} \frac{ x^2\sin(1/(x+h)) - x^2 \sin(1/x)}{h} + \lim_{h\to 0}\frac{ 2xh \sin(1/x) + h^2 \sin(1/x)}{h} [/tex]
 
  • #15
Office_Shredder said:
Try writing it as
[tex]\lim_{h\to 0} \frac{ x^2\sin(1/(x+h)) - x^2 \sin(1/x)}{h} + \lim_{h\to 0}\frac{ 2xh \sin(1/x) + h^2 \sin(1/x)}{h} [/tex]


The right side would simplify to 2xsin(1/x) but it's the left side that I'm having trouble with. You can factor out the x^2 and then have the definition of the derivative of sin(1/x) which equals cos(1/x).
I know there are proofs to go from the left to the right side, but I was trying to understand and devise my own method I guess, which was the harder part.

Thanks for the help.
 
  • #16
MathewsMD said:
You can factor out the x^2 and then have the definition of the derivative of sin(1/x) which equals cos(1/x).

This is not quite right.

I know there are proofs to go from the left to the right side, but I was trying to understand and devise my own method I guess, which was the harder part.

I don't understand what you mean by going from the left to the right side... the left to right side of what I wrote? Those two halfs of the expression are fairly independent.
 
  • #17
Office_Shredder said:
This is not quite right.
I don't understand what you mean by going from the left to the right side... the left to right side of what I wrote? Those two halfs of the expression are fairly independent.

Oh sorry. I initially wrote [tex]\lim_{h\to 0} \frac{\sin(1/(x+h)) - \sin(1/x)}{h} [/tex]

Took it out since I'm still learning to format and it wasn't coming out properly. Sorry for the poor formatting here.

And can't you factor the x^2 out of this limit?

[tex]\lim_{h\to 0} \frac{ x^2\sin(1/(x+h)) - x^2 \sin(1/x)}{h} [/tex]
 
Last edited:

1. What is the definition of a limit?

The limit of a function is the value that the function approaches as the input approaches a certain value or "approaches from both sides".

2. How do I determine if a limit exists?

A limit exists if the function approaches the same value from both the left and right sides of the input, or if the left and right hand limits are equal.

3. What is the difference between one-sided and two-sided limits?

A one-sided limit only considers the behavior of the function as the input approaches from one direction, while a two-sided limit considers the behavior from both the left and right sides of the input.

4. How do I evaluate a limit algebraically?

To evaluate a limit algebraically, you can use techniques such as factoring, simplifying, and substitution to manipulate the function into a form that can be evaluated at the desired input value.

5. When should I use the graph or table method to evaluate a limit?

The graph or table method should be used when the function is not easily manipulable algebraically, or when you want to visualize the behavior of the function as the input approaches the desired value.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
606
  • Calculus and Beyond Homework Help
Replies
6
Views
548
  • Calculus and Beyond Homework Help
Replies
2
Views
157
  • Calculus and Beyond Homework Help
Replies
8
Views
469
  • Calculus and Beyond Homework Help
Replies
4
Views
836
  • Calculus and Beyond Homework Help
Replies
8
Views
665
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
17
Views
614
  • Calculus and Beyond Homework Help
Replies
2
Views
511
  • Calculus and Beyond Homework Help
Replies
2
Views
987
Back
Top