Solving Limits with L'Hospital's Rule

In summary: Then you will have some power of ##x## in the denominator, which will cancel one of the powers in the numerator. You can also expand ##\sin(x)## and ##\cos(x)## to higher orders, but this is a PITA. In the end you should get terms that don't depend on ##x## at all, and you can just take the limit.You are correct that the terms in ##\frac{1}{\tan^2(x)}## will be messy. You can deal with this by writing ##\tan(x) = x + O(x^3)##. Then ##\tan^2(x) = x^2 + O(x
  • #1
Likith D
65
1

Homework Statement


Find y;
$$y=\lim_{x \rightarrow 0} {\frac {1} {x^2}-\frac{1}{tan^2(x)}}$$

Homework Equations


$$\lim_{x \rightarrow 0} {\frac{tan(x)}x}=1$$
$$\lim_{x \rightarrow 0} {\frac{sin(x)}x}=1$$

The Attempt at a Solution


\begin{align}
y & = \lim_{x \rightarrow 0} {\frac {1} {x^2}-\frac{1}{tan^2(x)}}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{tan^2(x)}}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{x^2}}\\
& = 0\\
\end{align}

or

\begin{align}
y & = \lim_{x \rightarrow 0} {\frac {1} {x^2}-cot^2(x)}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}+1-\frac {1} {sin^2(x)}}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{sin^2(x)}+1}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{x^2}+1}\\
& = 1\\
\end{align}

Plot on a graph, the solution seems to be $$\frac 2 3$$, which i do know how to come to using simplification and L'Hospital rule
But, I would like to know where I went wrong with my steps above
 
Physics news on Phys.org
  • #2
First of all: You are missing several parentheses that you really should have included.

It is not true that ##\lim_{x\to 0}[f(x) - g(x)] = \lim_{x\to 0}f(x) - \lim_{x\to 0}g(x)##. This is only true when all of these limits are well defined, which is not the case for the limits of 1/x^2 and 1/tan(x)^2. You need to actually manipulate the expression inside the parenthesis to produce an expression that converges properly.
 
  • Like
Likes Likith D
  • #3
In the step from 1 to 2
and from 6 to 7

You can't write something like ##\infty - \infty = 0 ##
 
  • #4
Orodruin said:
First of all: You are missing several parentheses that you really should have included.

It is not true that ##\lim_{x\to 0}[f(x) - g(x)] = \lim_{x\to 0}f(x) - \lim_{x\to 0}g(x)##. This is only true when all of these limits are well defined, which is not the case for the limits of 1/x^2 and 1/tan(x)^2. You need to actually manipulate the expression inside the parenthesis to produce an expression that converges properly.
But, it all happens such that the sum rule for derivatives of that function is true
...even when limits don't satisfy a sum rule?
 
  • #5
Likith D said:
But, it all happens such that the sum rule for derivatives of that function is true

The sum rule for derivatives is only true when the derivative's involved exist. Don't neglect the words involved in the rules for derivatives. The rules are not merely equations.

For example, let ##f(x) = |x|## , ##g(x) = -|x|## and ##h(x) = f(x) +g(x)##. The derivative of ##h(x)## exists at ##x = 0##, but the derivatives of ##f(x)## and ##g(x)## do not.
 
  • #6
Likith D said:

Homework Statement


Find y;
$$y=\lim_{x \rightarrow 0} {\frac {1} {x^2}-\frac{1}{tan^2(x)}}$$

Homework Equations


$$\lim_{x \rightarrow 0} {\frac{tan(x)}x}=1$$
$$\lim_{x \rightarrow 0} {\frac{sin(x)}x}=1$$

The Attempt at a Solution


\begin{align}
y & = \lim_{x \rightarrow 0} {\frac {1} {x^2}-\frac{1}{tan^2(x)}}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{tan^2(x)}}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{x^2}}\\
& = 0\\
\end{align}

or

\begin{align}
y & = \lim_{x \rightarrow 0} {\frac {1} {x^2}-cot^2(x)}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}+1-\frac {1} {sin^2(x)}}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{sin^2(x)}+1}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{x^2}+1}\\
& = 1\\
\end{align}

Plot on a graph, the solution seems to be $$\frac 2 3$$, which i do know how to come to using simplification and L'Hospital rule
But, I would like to know where I went wrong with my steps above
You seem to have had some vague idea of something that might work,But what you write is not very logical. Your (2) just repeats (1). Then you're taking to the limits looks based upon something that works for the reciprocals of those quantities. The ones of the problem are Infinite and, as has been said, the difference between two infinite quantities might be zero, finite or infinite.

Questions about limits are among the most common, possibly the most common, ones here. This one is more difficult than average.That suggests you have had problems or been given examples before, that would be helpful for you to look back on.

Otherwise it looks to me you are going to have to subtract an algebraic function from a trigonmetrical one. Then thinking logically you might think there is no way to do that, except if you can make the trigonometric one look like an algebraic one, i.e. expand It as a McLaurin series. This is not very easy for this function, but hopefully you only need a couple of terms, though you will need also to justify that.
 
  • #7
Likith D said:

Homework Statement


Find y;
$$y=\lim_{x \rightarrow 0} {\frac {1} {x^2}-\frac{1}{tan^2(x)}}$$
You mean ##y = \lim_{x \rightarrow 0} \{ \frac{1}{x^2} - \frac{1}{tan^2(x)}\}## In latex brackets"{" don't show up as brackets. If you want to print a bracket, put a backslash in front of it like "\{".

how to come to using simplification and L'Hospital rule

##\lim_{x \rightarrow 0} \{ \frac{1}{x^2} - \frac{1}{tan^2(x)}\} = \lim_{x \rightarrow 0} \{ \frac{1}{x^2} - \frac{\cos^2(x)}{sin^2(x)}\}##
## = \lim_{x \rightarrow 0} \frac{sin^2(x) - x^2 cos^2(x)}{x^2 sin^2(x)}##

I haven't worked this myself, but you might make progress by applying l'hospital's rule several times. Eventually you will get terms with no ##x## in them.

.
 
  • #8
I don't think it is necessary to use l'Hopital. I think the fastest way is to expand tan(x) keeping more than the leading term.
 
  • #9
Orodruin said:
I don't think it is necessary to use l'Hopital. I think the fastest way is to expand tan(x) keeping more than the leading term.
I think you are talking about taylor expansion of tan(x) term, but I'm unable to get simplifications for taylor expansion of tan(x) raised to power of -2. So, I'm not able to proceed further. Did you mean the taylor expansion of $$\frac 1 {tan^2(x)}$$?
 
  • #10
Likith D said:
I think you are talking about taylor expansion of tan(x) term, but I'm unable to get simplifications for taylor expansion of tan(x) raised to power of -2. So, I'm not able to proceed further. Did you mean the taylor expansion of $$\frac 1 {tan^2(x)}$$?
Start by expanding ##\tan(x)## to order ##x^3##.
 
  • #11
Orodruin said:
Start by expanding ##\tan(x)## to order ##x^3##.
oh, yeah, I got it, thanks!
 
  • #12
Likith D said:
oh, yeah, I got it, thanks!
Do you mean that you got that particular part or that you managed to get the correct limit? It is difficult to tell if you don't write it out explicitly.
 
  • #13
Orodruin said:
Do you mean that you got that particular part or that you managed to get the correct limit? It is difficult to tell if you don't write it out explicitly.
Well, yes, I did simplify the equation to get the answer as 2/3
And yes I find this method much easier compared to l'hospital's rule and repeated simplification , thanks for letting me know!
 
  • #14
Key to your success was doing the check that showed that your first answer must be wrong.

:angel:
 
  • #15
Likith D said:
Well, yes, I did simplify the equation to get the answer as 2/3
And yes I find this method much easier compared to l'hospital's rule and repeated simplification , thanks for letting me know!
Don’t get too attached, in order to do the Taylor expansions you actually have to do the derivatives so it is effectively very similar to using l’Hopital ... It is just much easier to do it this way if you already are familiar with the expansions of some common functions.
 
  • Like
Likes Likith D
  • #16
Likith D said:

Homework Statement


Find y;
$$y=\lim_{x \rightarrow 0} {\frac {1} {x^2}-\frac{1}{tan^2(x)}}$$

Homework Equations


$$\lim_{x \rightarrow 0} {\frac{tan(x)}x}=1$$
$$\lim_{x \rightarrow 0} {\frac{sin(x)}x}=1$$

The Attempt at a Solution


\begin{align}
y & = \lim_{x \rightarrow 0} {\frac {1} {x^2}-\frac{1}{tan^2(x)}}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{tan^2(x)}}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{x^2}}\\
& = 0\\
\end{align}

or

\begin{align}
y & = \lim_{x \rightarrow 0} {\frac {1} {x^2}-cot^2(x)}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}+1-\frac {1} {sin^2(x)}}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{sin^2(x)}+1}\\
& = \lim_{x \rightarrow 0} {\frac {1} {x^2}}-\lim_{x \rightarrow 0}{\frac{1}{x^2}+1}\\
& = 1\\
\end{align}

Plot on a graph, the solution seems to be $$\frac 2 3$$, which i do know how to come to using simplification and L'Hospital rule
But, I would like to know where I went wrong with my steps above

If you insist on using l'Hospital's rule, re-write the problem first:
$$\frac{1}{x^2} - \frac{1}{\tan^2(x)} = \frac{\sin^2(x) - x^2 \cos^2(x)}{ x^2 \sin^2(x) }$$
Now that is in a form allowing straightforward application of l'Hospital, but an even faster way would be to expand the numerator and denominator in powers of ##x## and keep the lowest-order terms.

BTW: try to avoid writing ##tan(x)##, ##sin(x), ## or ##cos(x)##, etc; to get proper LaTeX (the way it was designed to be used) write instead ##\tan(x)##, ##\sin(x), ## and ##\cos(x)##; which you do by typing \tan instead of tan, \sin and \cos instead of sin and cos.
 
Last edited:

FAQ: Solving Limits with L'Hospital's Rule

1. What is the definition of a limit in algebra?

A limit in algebra is a mathematical concept that represents the value that a function approaches as its input approaches a certain value. It is denoted by the symbol "lim" and is used to describe the behavior of a function near a specific input value.

2. How do you solve for a limit algebraically?

To solve for a limit algebraically, you can use various methods such as direct substitution, factoring, rationalization, or using algebraic properties such as the limit laws. It is important to first identify the type of limit (e.g. one-sided or two-sided) and then apply the appropriate method to evaluate the limit.

3. What are the common mistakes to avoid when working with limits in algebra?

Some common mistakes to avoid when working with limits in algebra include mistaking the limit for the value of the function, using incorrect properties or rules, and not considering the possibility of indeterminate forms. It is important to carefully follow the steps and rules for evaluating limits to avoid these errors.

4. Can you use algebra to evaluate limits of trigonometric functions?

Yes, you can use algebra to evaluate limits of trigonometric functions by using trigonometric identities and algebraic manipulation. It is also helpful to know the common limits of trigonometric functions, such as the limit of sine or cosine functions as the input approaches 0.

5. How are limits used in real-world applications?

Limits are used in real-world applications to model and analyze various phenomena, such as the growth of populations, the rate of change of a system, and the behavior of physical processes. They are also used in fields such as physics, economics, and engineering to make predictions and solve problems.

Similar threads

Replies
10
Views
1K
Replies
14
Views
1K
Replies
7
Views
815
Replies
5
Views
869
Replies
9
Views
1K
Replies
8
Views
1K
Replies
8
Views
1K
Back
Top