Difference between revisions of "Mathematics/Calculus/Corner cases"

From Thalesians Wiki
Line 73: Line 73:
=== Question ===
=== Question ===


What are <math>\lim_{x \tendsto +\infty} x \sin \frac{1}{x}</math> and <math>\lim_{x \tendsto -\infty} x \sin \frac{1}{x}</math>?
What are <math>\lim_{x \rightarrow +\infty} x \sin \frac{1}{x}</math> and <math>\lim_{x \rightarrow -\infty} x \sin \frac{1}{x}</math>?


=== Solution ===
=== Solution ===


* Let us rewrite <math>x \sin \frac{1}{x}</math> as <math>\frac{\sin \frac{1}{x}}{\frac{1}{x}}</math>.
* Let us rewrite <math>x \sin \frac{1}{x}</math> as <math>\frac{\sin \frac{1}{x}}{\frac{1}{x}}</math>.
* As <math>x \tendsto +\infty</math>, <math>\frac{1}{x} \tendsto 0</math> and <math>x \sin \frac{1}{x} \tendsto 0</math>.
* As <math>x \rightarrow +\infty</math>, <math>\frac{1}{x} \rightarrow 0</math> and <math>x \sin \frac{1}{x} \rightarrow 0</math>.
* We have ``<math>\frac{0}{0}</math>'', so we can apply l'H&ocirc;pital's rule.
* We have ``<math>\frac{0}{0}</math>'', so we can apply l'H&ocirc;pital's rule.
* Differentiating the numerator in <math>\frac{\sin \frac{1}{x}}{\frac{1}{x}}</math>, we obtain <math>\left(\cos \frac{1}{x}\right) \left(-\frac{1}{x^2}\right)</math>.
* Differentiating the numerator in <math>\frac{\sin \frac{1}{x}}{\frac{1}{x}}</math>, we obtain <math>\left(\cos \frac{1}{x}\right) \left(-\frac{1}{x^2}\right)</math>.
Line 84: Line 84:
* Thus
* Thus
<math>
<math>
\lim_{x \tendsto +\infty} x \sin \frac{1}{x} = \lim_{x \tendsto +\infty} \frac{\sin \frac{1}{x}}{\frac{1}{x}} = \lim_{x \tendsto +\infty} \frac{\left(\cos \frac{1}{x}\right) \left(-\frac{1}{x^2}\right)}{-\frac{1}{x^2}} = \lim_{x \tendsto +\infty} \cos \frac{1}{x} = 1.
\lim_{x \rightarrow +\infty} x \sin \frac{1}{x} = \lim_{x \rightarrow +\infty} \frac{\sin \frac{1}{x}}{\frac{1}{x}} = \lim_{x \rightarrow +\infty} \frac{\left(\cos \frac{1}{x}\right) \left(-\frac{1}{x^2}\right)}{-\frac{1}{x^2}} = \lim_{x \rightarrow +\infty} \cos \frac{1}{x} = 1.
</math>
</math>
* Similarly we can find that <math>\lim_{x \tendsto -\infty} x \sin \frac{1}{x} = 1</math>.
* Similarly we can find that <math>\lim_{x \rightarrow -\infty} x \sin \frac{1}{x} = 1</math>.

Revision as of 09:50, 22 December 2020

Derivatives

The derivative of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{d}{dx} x^x}

Question

What is Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{d}{dx} x^x} ?

Solution 1

  • Let .
  • Take of both sides: .
  • Differentiate both sides: .
  • Apply the chain rule on the left-hand side: .
  • Apply the product rule on the right-hand side: .
  • Putting it together, we have .
  • Hence .

Solution 2

  • Note that , so .
  • Applying the chain rule, .
  • Applying the product rule, .
  • Therefore .

Integrals

The integral

Question

What is ?

Solution

  • We can write as .
  • Consider the series expansion of :
   .
  • We can interchange the integration and summation (we can recognize this as a special case of the Fubini/Tonelli theorems) and write
   

Limits

The limit of

Question

What is ?

Solution

  • Note that , so .
  • We can further rewrite this as .
  • As long as is continuous and the limit of exists at the point in question, the limit will commute with composition:

In our case, is continuous, so

  • The question, then, is what is .
  • As , , . In this situation we can apply l'Hôpital's rule:

  • Hence .

The limits of and

Question

What are and ?

Solution

  • Let us rewrite as .
  • As Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x \rightarrow +\infty} , Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{1}{x} \rightarrow 0} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x \sin \frac{1}{x} \rightarrow 0} .
  • We have ``Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{0}{0}} , so we can apply l'Hôpital's rule.
  • Differentiating the numerator in Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\sin \frac{1}{x}}{\frac{1}{x}}} , we obtain Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left(\cos \frac{1}{x}\right) \left(-\frac{1}{x^2}\right)} .
  • Differentiating the denominator in Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\sin \frac{1}{x}}{\frac{1}{x}}} , we obtain Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -\frac{1}{x^2}} .
  • Thus

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \lim_{x \rightarrow +\infty} x \sin \frac{1}{x} = \lim_{x \rightarrow +\infty} \frac{\sin \frac{1}{x}}{\frac{1}{x}} = \lim_{x \rightarrow +\infty} \frac{\left(\cos \frac{1}{x}\right) \left(-\frac{1}{x^2}\right)}{-\frac{1}{x^2}} = \lim_{x \rightarrow +\infty} \cos \frac{1}{x} = 1. }

  • Similarly we can find that Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \lim_{x \rightarrow -\infty} x \sin \frac{1}{x} = 1} .