Why Is My Simple Limit Calculation Giving Different Results?

  • Thread starter PAR
  • Start date
  • Tags
    Limit
In summary, the person is seeking help with finding the limit of (x*sin(x))/(2(1-cos(x))) as x approaches 0. They applied l'Hopital's rule twice and got the answer 1, but Maple 11 returns 0 as the answer. After further investigation, they realize that Maple 11 has a bug and the correct answer is indeed 1. They also discovered that the error was due to a missing "*" in their initial command to Maple 11. They conclude that this serves as a warning to not rely too heavily on computers for math problems.
  • #1
PAR
30
0
First of all, this is my first post on these forums, hello!

I need to to find this limit:

lim (x*sin(x))
x->0 (2(1-cos(x))

After applying l'Hopital's rule twice I get the answer 1.

However, when I ask Maple 11 to find the limit it returns 0 as the answer. I went to a bit farther and made Maple 11 apply l'Hopital's twice as well and it also came up with the answer being 1. In fact, after only one application of l'Hopital's rule, Maple returned 1 as the answer. My only conclusions are that either I don't fully understand the subtleties of l'Hopital's rule or that Maple is wrong.

First application of l'Hopital's rule gives:

lim (sin(x)+x*cos(x))
x->0 (2*sin(x))

Second application:

lim (2*cos(x)-x*sin(x))
x->0 (2*cos(x))
 
Physics news on Phys.org
  • #2
Okay i see why the answer is is 1. When you are applying L'Hôpital's rule make sure that you are getting the derivatives right. After you apply it twice and take the limit you should simplify and get 2/2 as your answer, hence the limit is equal to 1
 
  • #3
oops. I thought Maple was returning the answer as 1. I don't really know why it is doing that. I'm sorry I tried...
 
  • #4
Wow, so I guess Maple 11 has a bug in it, because when I tell it to find the limit of

(x*sin(x))
(2(1-cos(x))

as x -> 0 it tells me that it's 0. I guess this is a fair warning to those who are too reliant on computers to solve their math problems (like me). Thanks for the help!

edit: I found what the problem was, my first command when I had the problem was:

limit((sin(x)*(x))/(2(1-cos(x))),x=0);

I am missing a "*" between 2 and (1-cos(x)) this doesn't throw and error or anything, but it give the wrong answer. If I insert the "*" it gives the correct answer: 1. So I should have input:

limit((sin(x)*(x))/(2*(1-cos(x))),x=0);
 
Last edited:

FAQ: Why Is My Simple Limit Calculation Giving Different Results?

What is a simple limit?

A simple limit is a mathematical concept that represents the value that a function approaches as the input approaches a certain value. It is the value that the function "gets closer and closer to" as the input gets closer and closer to a specific value.

How do you solve for a simple limit?

To solve for a simple limit, you must first determine the value that the function approaches as the input approaches the specified value. This can be done by plugging in values that get closer and closer to the specified value and observing the output. If the output remains consistent, then that value is the simple limit.

What is the difference between a one-sided limit and a two-sided limit?

A one-sided limit only considers the values that approach the specified value from one side (either the left or the right), while a two-sided limit considers values from both sides. This means that the one-sided limit may have different values depending on which side the input is approaching from, while the two-sided limit will have the same value regardless of the direction.

What are some common functions that can cause trouble in simple limit problems?

Some common functions that can cause trouble in simple limit problems include rational functions with a denominator that approaches 0, trigonometric functions with infinite or undefined values, and exponential functions with negative or fractional exponents.

How can I check my answer for a simple limit problem?

You can check your answer for a simple limit problem by graphing the function and visually observing the behavior as the input approaches the specified value. Additionally, you can use algebraic methods such as factoring or simplifying to confirm your answer.

Similar threads

Replies
1
Views
1K
Replies
2
Views
1K
Replies
8
Views
1K
Replies
9
Views
496
Replies
9
Views
2K
Replies
8
Views
2K
Replies
3
Views
2K
Replies
3
Views
1K
Back
Top