Editing 2117: Differentiation and Integration

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
  
 
==Explanation==
 
==Explanation==
This comic illustrates the old saying [https://mathoverflow.net/q/66377 "Differentiation is mechanics, integration is art."] It does so by providing a {{w|flowchart}} purporting to show the process of differentiation, and another for integration.
+
{{incomplete|Created by a BESSEL FUNCTION? Please mention here why this explanation isn't complete. Do NOT delete this tag too soon.}}
 +
Differentiation and Integration are two major components of calculus. As many Calculus 2 students are painfully aware, integration is much more complicated than the differentiation it undoes.
  
{{w|Derivative|Differentiation}} and {{w|Antiderivative|Integration}} are two major components of {{w|calculus}}. As many Calculus 2 students are painfully aware, integration is much more complicated than the differentiation it undoes.
+
Differentiation
 +
:Chain Rule: ???
 +
:Power Rule: ???
 +
:Quotient Rule: ???
 +
:Product Rule: ???
  
However, Randall dramatically overstates this point here.  After the first step of integration, Randall assumes that any integration can not be solved so simply, and then dives into a step named "????", suggesting that it is unknowable how to proceed.  The rest of the flowchart is (we can assume deliberately) even harder to follow, and does not reach a conclusion.  This is in contrast to the simple, straightforward flowchart for differentiation. The fact that the arrows in the bottom of the integration part leads to nowhere indicates that "Phone calls to mathematicians", "Oh no" and "Burn the evidence" are not final steps in the difficult journey. The flowchart could be extended by Randall to God-knows-where extents.
 
  
It should be noted that Randall slightly undermines his point by providing four different methods, and an "etc", and a "No"-branch for attempting differentiation with no guidelines for selecting between them.
+
Integration
 +
:Integration by parts: ???
 +
:Subsitution: ???
 +
:Cauchy's Formula: ???
 +
:Partial Fractions: ???
 +
:Install Mathematica: ???
 +
:Riemann Integration: ???
 +
:Stokes' Theorem: ???
 +
:Risch Algorithm: ???
 +
:Bessel Function: ???
 +
:Symbolic integration: ???
  
===Differentiation===
 
'''{{w|Chain rule}}'''
 
 
For any <math> \frac{d}{dx}f(x)=f'(x)</math> and <math> \frac{d}{dx}g(x)=g'(x) </math>, it follows that <math> \frac{d}{dx}(f(g(x)))=f'(g(x))\cdot g'(x)</math>.
 
 
'''{{w|Power Rule}}'''
 
 
For any <math> f(x)=g(x)^a </math> and <math> \frac{d}{dx}g(x)=g'(x) </math>, it follows that <math> \frac{d}{dx}f(x)=a\cdot g(x)^{a-1}\cdot g'(x) </math>.
 
 
'''{{w|Quotient rule}}'''
 
 
For any <math> \frac{d}{dx}f(x)=f'(x)</math> and <math> \frac{d}{dx}g(x)=g'(x) </math>, it follows that <math> \frac{d}{dx} \frac{f(x)}{g(x)}=\frac{f'(x)\cdot g(x)-f(x)\cdot g'(x)}{(g(x))^2}</math> if <math>g(x)\ne 0</math>.
 
 
'''{{w|Product rule}}'''
 
 
For any <math> \frac{d}{dx}f(x)=f'(x)</math> and <math> \frac{d}{dx}g(x)=g'(x) </math>, it follows that <math> \frac{d}{dx}(f(x)\cdot g(x))=f'(x)\cdot g(x)+f(x)\cdot g'(x)</math>.
 
 
===Integration===
 
'''{{w|Integration by parts}}'''
 
 
The "product rule" run backwards. Since <math>(uv)' = uv' + u'v</math>, it follows that by integrating both sides you get <math> uv =  \int u dv + \int v du</math>, which is more commonly written as <math>\int u dv = uv - \int v du</math>. By finding appropriate values for functions <math>u, v</math> such that your problem is in the form <math>\int u dv</math>, your problem ''may'' be simplified. The catch is, there exists no algorithm for determining what functions they might possibly be, so this approach quickly devolves into a guessing game - this has been the topic of an earlier comic, [[1201: Integration by Parts]].
 
 
'''{{w|Integration by substitution|Substitution}}'''
 
 
The "chain rule" run backwards. Since <math> d(f(u)) = (df(u))du</math>, it follows that <math>f(u) = \int df(u) du</math>. By finding appropriate values for functions <math>f, u</math> such that your problem is in the form <math>\int df(u) du</math> your problem ''may'' be simplified.
 
 
'''{{w|Cauchy's integral formula|Cauchy's Formula}}'''
 
 
Cauchy's Integral formula is a result in complex analysis that relates the value of a contour integral in the complex plane to properties of the singularities in the interior of the contour. <math> \frac{d^n}{da^n}f(a) = \frac{n!}{2\pi i} \oint_\gamma \frac{f(z)}{\left(z-a\right)^{n+1}}\, dz.</math> It is often used to compute integrals on the real line by extending the path of the integral from the real line into the complex plane to apply the formula, then proving that the integral from the parts of the contour not on the real line has value zero.
 
 
'''{{w|Partial_fraction_decomposition#Application_to_symbolic_integration|Partial Fractions}}'''
 
 
Partial fractions is a technique for breaking up a function that comprises one polynomial divided by another into a sum of functions comprising constants over the factors of the original denominator, which can easily be integrated into logarithms.
 
 
'''Install {{w|Mathematica}}'''
 
 
Mathematica is a modern technical computing system spanning most areas. One of its features is to compute mathematical functions. This step in the flowchart is to install and use Mathematica to do the integration for you. Here is a description about the [https://web.archive.org/web/20180727184709/http://reference.wolfram.com/language/tutorial/IntegralsThatCanAndCannotBeDone.html intricacies of integration and how Mathematica handles those]. (It would be quicker to try [https://www.wolframalpha.com Wolfram Alpha] instead of installing Mathematica, which uses the same backend for mathematical calculations.)
 
 
'''{{w|Riemann integral|Riemann Integration}}'''
 
 
The Riemann integral is a definition of definite integration. <math>\sum_{i=0}^{n-1} f(t_i) \left(x_{i+1}-x_i\right).</math> Elementary textbooks on calculus sometimes present finding a definite integral as a process of approximating an area by strips of equal width and then taking the limit as the strips become narrower. Riemann integration removes the requirement that the strips have equal width, and so is a more flexible definition. However there are still many functions for which the Riemann integral doesn't converge, and consideration of these functions leads to the {{w|Lebesgue integration|Lebesgue integral}}. Riemann integration is not a method of calculus appropriate for finding the anti-derivative of an elementary function.
 
 
'''{{w|Stokes' Theorem}}'''
 
 
Stokes' theorem  is a statement about the integration of differential forms on manifolds. <math>\int_{\partial \Omega}\omega=\int_\Omega d\omega\,.</math> It is invoked in science and engineering during control volume analysis (that is, to track the rate of change of a quantity within a control volume, it suffices to track the fluxes in and out of the control volume boundary), but is rarely used directly (and even when it is used directly, the functions that are most frequently used in science and engineering are well-behaved, like sinusoids and polynomials).
 
 
'''{{w|Risch Algorithm}}'''
 
 
The Risch algorithm is a notoriously complex procedure that, given a certain class of symbolic integrand, either finds a symbolic integral or proves that no elementary integral exists. (Technically it is only a semi-algorithm, and cannot produce an answer unless it can determine if a certain symbolic expression is {{w|Constant problem|equal to 0}} or not.) Many computer algebra systems have chosen to implement only the simpler Risch-Norman algorithm, which does not come with the same guarantee. A series of extensions to the Risch algorithm extend the class of allowable functions to include (at least) the error function and the logarithmic integral. A human would have to be pretty desperate to attempt this (presumably) by hand.
 
 
'''{{w|Bessel function}}'''
 
 
Bessel functions are the solution to the differential equation <math> x^2 \frac{d^2y}{dx^2}+x \frac{dy}{dx}+(x^2-n^2)*y=0</math>, where n is the order of Bessel function. Though they do show up in some engineering, physics, and abstract mathematics, in lower levels of calculus they are often a sign that the integration was not set up properly before someone put them into a symbolic algebra solver.
 
 
'''Phone calls to mathematicians'''
 
 
This step would indicate that the flowchart user, desperate from failed attempts to solve the problem, contacts some more skilled mathematicians by phone, and presumably asks them for help. The connected steps of "Oh no", "What the heck is a Bessel function?" and "Burn the evidence" may suggest the possibility that this interaction might not play out very well and could even get the caller in trouble.
 
Specialists and renowned experts being bothered - not to their amusement - by strangers, often at highly inconvenient times or locations, is a common comedic trope, also previously utilized by xkcd (for example in [[163: Donald Knuth]]).
 
 
'''Burn the evidence'''
 
 
This phrase parodies a common trope in detective fiction, where characters burn notes, receipts, passports, etc. to maintain secrecy. This may refer to the burning of one's work to avoid the shame of being associated with such a badly failed attempt to solve the given integration problem. Alternatively, it could be an ironic hint to the fact that in order to find the integral, it may even be necessary to break the law or upset higher powers, so that the negative consequences of a persecution can only be avoided by destroying the evidence.
 
 
'''{{w|Symbolic integration}}'''
 
 
Symbolic integration is the basic process of finding an antiderivative function (defined with symbols), as opposed to numerically integrating a function. The title text is a pun that defines the term not as integration that works with symbols, but rather as integration as a symbolic act, as if it were a component of a ritual. A symbolic act in a ritual is an act meant to evoke something else, such as burning a wooden figurine of a person to represent one’s hatred of that person. Alternatively, the reference could be seen as a joke that integration might as well be a symbol, like in a novel, because Randall can't get any meaningful results from his analysis.
 
  
 
==Transcript==
 
==Transcript==
 +
{{incomplete transcript|Do NOT delete this tag too soon.}}
 
:[Two flow charts are shown.]
 
:[Two flow charts are shown.]
  
Line 96: Line 45:
 
::Etc.
 
::Etc.
 
:Done?
 
:Done?
::No [Arrow returns to "Try applying" step.]
 
 
::Yes
 
::Yes
 +
::No
 
:Done!
 
:Done!
  
Line 134: Line 83:
 
::Oh No
 
::Oh No
 
::Burn the Evidence
 
::Burn the Evidence
::[More arrows pointing out of the image to suggest more steps.]
 
  
 
{{comic discussion}}
 
{{comic discussion}}
[[Category:Analysis]]
 
[[Category:Flowcharts]]
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)