Posts

2024-02-11: Symbolic algebra and typing

2023-08-01: Population waves

2023-05-18: Math of telephone billing mystery

2023-05-05: Franklin and DNA More information…

2023-04-25: On angle and dimension

2023-02-20: On Leonardo da Vinci and Gravity

2022-04-29: Fabricating Evidence to catch Carmen Sandiego

2022-03-04: Probabilistic law of the excluded middle

2020-05-04: Archimedes and the sphere

2019-05-16: Glow worms return

2019-04-11: Original memetic sin

2019-01-31: The theory of weight

2018-11-06: Origins of telephone network theory

2018-10-24: Modern thought

2018-09-10: Feeding a controversy

2018-06-11: Glow worm distribution

2018-04-23: Outlawing risk

2017-08-22: A rebuttal on the beauty in applying math

2017-04-22: Free googles book library

2016-11-02: In search of Theodore von Karman

2016-09-25: Amath Timeline

2016-02-24: Math errors and risk reporting

2016-02-20: Apple VS FBI

2016-02-19: More Zika may be better than less

2016-02-17: Dependent Non-Commuting Random Variable Systems

2016-01-14: Life at the multifurcation

2015-09-28: AI ain't that smart

2015-06-24: Mathematical Epidemiology citation tree

2015-03-31: Too much STEM is bad

2015-03-24: Dawn of the CRISPR age

2015-02-12: A Comment on How Biased Dispersal can Preclude Competitive Exclusion

2015-02-09: Hamilton's selfish-herd paradox

2015-02-08: Risks and values of microparasite research

2014-11-10: Vaccine mandates and bioethics

2014-10-18: Ebola, travel, president

2014-10-17: Ebola comments

2014-10-12: Ebola numbers

2014-09-23: More stochastic than?

2014-08-17: Feynman's missing method for third-orders?

2014-07-31: CIA spies even on congress

2014-07-16: Rehm on vaccines

2014-06-21: Kurtosis, 4th order diffusion, and wave speed

2014-06-20: Random dispersal speeds invasions

2014-05-06: Preservation of information asymetry in Academia

2014-04-16: Dual numbers are really just calculus infinitessimals

2014-04-14: More on fairer markets

2014-03-18: It's a mad mad mad mad prisoner's dilemma

2014-03-05: Integration techniques: Fourier--Laplace Commutation

2014-02-25: Fiber-bundles for root-polishing in two dimensions

2014-02-17: Is life a simulation or a dream?

2014-01-30: PSU should be infosocialist

2014-01-12: The dark house of math

2014-01-11: Inconsistencies hinder pylab adoption

2013-12-24: Cuvier and the birth of extinction

2013-12-17: Risk Resonance

2013-12-15: The cult of the Levy flight

2013-12-09: 2013 Flu Shots at PSU

2013-12-02: Amazon sucker-punches 60 minutes

2013-11-26: Zombies are REAL, Dr. Tyson!

2013-11-22: Crying wolf over synthetic biology?

2013-11-21: Tilting Drake's Equation

2013-11-18: Why \(1^{\infty} eq 1\)

2013-11-15: Adobe leaks of PSU data + NSA success accounting

2013-11-14: 60 Minutes misreport on Benghazi

2013-11-11: Making fairer trading markets

2013-11-10: L'Hopital's Rule for Multidimensional Systems

2013-11-09: Using infinitessimals in vector calculus

2013-11-08: Functional Calculus

2013-11-03: Elementary mathematical theory of the health poverty trap

2013-11-02: Proof of the circle area formula using elementary methods

Using infinitessimals in vector calculus

All right. So infinitessimals rock. One of the first examples of this is how you used them in elementary calculus to construct integration formula's like the disk method and the shell method for finding volumes of some objects. But some people don't like them, so they've been largely removed from most calculus curriculums. Never fear -- you can keep using them, even if your teacher won't.

Now, we've moved on to vector calculus, and multidimensional integrals, and you want to keep using them. Unfortunately, things aren't working out so well. You're given a problem of finding a volume under a surface that looks like \[ \iint_{\Omega} f(x+y,x-y) dy dx \] and you want to do a change of variables \(u = x+y, \; v=x-y\) to simplify the calculation. Looks simple. Pull out our infinitessimals, and find \(2 dx = du + dv, \; 2 dy = du - dv\). \[ \iint_{\Omega^*} f(u,v) \frac{1}{4} (du-dv) (du+dv) \] \[ \iint_{\Omega^*} f(u,v) \frac{1}{4} (dudu-dvdu + dudv -dvdv) \] But now what? Well, we expect squared infinitessimals to vanish because they don't actually have any area measure. And \(du dv = dv du\), so it looks like all our infinitessimal's really cancel out!

What are we missing?

The key idea at hand is that we're now talking about geometry problems in multiple dimensions. The infinitessimal \(dydx\) does not represent regular multiplication -- really, it represents an infinitessimal square in the coordinate plane of \(x\) and \(y\). \(dx\) and \(dy\) are infinitessimal vectors, and we know vector multiplication is a more complicated thing than regular multiplication. So, we define a new product called the "wedge-product" to construct an infinitessimal square area \(dA\) out of the sides of the square \(dx\) and \(dy\). \[ dA := dy \wedge dx \] But the rules a wedge product that we use to create these squares are a little different than regular multiplication. The two most important ones are as follows. The first rule is called nilpotence: \[ dx \wedge dx = dy \wedge dy = 0 \] Nilpotence means that you cann't use the same side twice to create an infinitessimal square. The second less obvious rule is called anti-commutativity: \[ dy \wedge dx = - dx \wedge dy \] Anti-commutativity happens because our infinitessimal areas have not just magnitude, but also orientation, and assembling the edges in the opposite order flips that orientation.

The one other rule of importance for the moment is scalar multiplication of infinitiessimals. If we multiply one or the other of these infinitessimal's by a scalar \(\alpha\), it changes the area by the same amount, and does not change any orientations, so \[ (\alpha dy ) \wedge dx = \alpha (dy \wedge dx) = dy \wedge (\alpha dx) \] And we have standard distributive laws. \[ (dx + dy ) \wedge dz = dx \wedge dz + dy \wedge dz \] \[ dz \wedge (dx + dy ) = dz \wedge dx + dz \wedge dy \]

Fixing our simple linear change of variables

So, let's go back and rewrite our integral using the wedge product for infinitessimal vectors. \[ \iint_{\Omega} f(x+y,x-y) dy \wedge dx \] \[ \iint_{\Omega^*} f(u,v) \frac{1}{4} (du-dv) \wedge (du+dv) \] \[ \iint_{\Omega^*} f(u,v) \frac{1}{4} ( du \wedge du + du \wedge dv - dv \wedge du - dv \wedge dv ) \] Now, applying our new rules, \[ \iint_{\Omega^*} f(u,v) \frac{1}{4} 2 du \wedge dv \] \[ \iint_{\Omega^*} f(u,v) \frac{1}{2} du \wedge dv \]

Deriving the rule for a change of variables to polar coordinates

Starting with an integral in cartessian coordinates, \[ \iint_{\Omega} f(x,y) dx \wedge dy \] The transform to polar coordinates is \[ x = r \cos \theta, \; y = r \sin \theta \] so the infinitessimal transform is \[ dx = \cos \theta dr - r \sin \theta d\theta , \; dy = \sin \theta dr + r \cos \theta d\theta \] \begin{align} dx \wedge dy &= ( \cos \theta dr - r \sin \theta d\theta ) \wedge ( \sin \theta dr + r \cos \theta d\theta ) \\ &= \cos \theta \sin \theta dr \wedge dr + r \cos^2 \theta dr \wedge d\theta \\ & \quad\quad - r \sin^2 \theta d\theta \wedge dr - r^2 \sin \theta \cos \theta d\theta \wedge d\theta \\ &= r \cos^2 \theta dr \wedge d\theta + r \sin^2 \theta dr \wedge d\theta \\ &= r (dr \wedge d\theta) \end{align} Notice that in this calculation, we've used the rule for switching the order of infinitessimals and the nilpotence rule.

Substituting, we obtain our standard formula \begin{align} \iint_{\Omega} f(x,y) dx dy &= \iint_{\Omega} f(x,y) dx \wedge dy \\ &= \int_{\Omega^*} f(r,\theta) r dr \wedge d\theta \\ &= \int_{\Omega^*} f(r,\theta) r dr d\theta \end{align} Now, this is the exact same thing you get if you use the standard formula involving determinants of the Jacobian matrix, but it's a much more direct derivation that you can do easily on a test if you forgot the formula.

Rules for spherical coordinates and radial coordinate transforms in 3 dimensions can be derived in the same way.