Differential calculus

Differential calculus is the theory of and computations with differentials; see also derivative and calculus.

Formally, given a ring-homomorphism of two associative, unitary rings (not necessarily commutative), <math>R\to A</math>, so that <math>A</math> is an <math>R</math>-algebra, a differential <math>d</math> is an <math>R</math>-homomorphism <math>d\colon A\to A</math> satisfying the differential rule <math>d(a\cdot b) = a\cdot db + (da)\cdot b</math>. It follows that <math>d(R)= 0</math>, since applying the differential rule to <math>d(1\cdot 1)</math> gives <math>\;d1 = 0</math>, and <math>R</math>-linearity gives <math>d(r) = d(r\cdot 1) = r\cdot d1 = 0</math>. This simple formalism thus identifies <math>R</math> as a set of differential constants.

In the application of differential geometry, the differential will be applied to the ring of smooth functions <math>f</math>, or an extension thereof, via say distributions (or generalized functions). The cotangent bundle generates a differential algebra (an exterior algebra), and differentiation in this algebra leads naturally to de Rham-cohomology, which describes the obstructions of integration.

In the space of real numbers, <math>\mathbf R^n</math>, there is a simple differential calculus, which has the advantage of being very practical in explicit computations. Each coordinate <math>\;x_i</math> generates at each point of <math>\mathbf R^n</math> a differential vector <math>\;dx_i</math>, and a list of vectors <math>(dx_1, \dots, dx_n)</math> is linearly independent if and only if the coordinates <math>x_1, \dots, x_n</math> are locally independent. We need only know the following formal relations:

  • <math>\; d \mathrm c\; = 0</math> for a constant <math>\mathrm c</math>.
  • <math>\; d(\mathrm a f + \mathrm b g) = \mathrm a\;df + \mathrm b\;dg</math> for constants<math>\;\mathrm a, \mathrm b</math> and differentiable functions <math>\;f, g</math>.
  • <math>\; d(fg) = g df + f dg</math> for differentiable functions <math>\; f</math> and <math>\; g</math>.
  • <math>df = \frac{\partial f}{\partial x_1} dx_1 + \dots + \frac{\partial f}{\partial x_n} dx_n</math>, where <math>\;f</math> is a differentiable function and <math>x_1, \dots, x_n</math> are independent variables on which <math>\;f</math> depends (i.e., varies with, and not varying with other variables).

Using these rules, normal multidimensional differentiation can be performed. Integration can be performed by introducing higher dimensional exterior differentials.

The fact that the differential <math>\; d</math> is coordinate independent, enables practical multidimensional computations with derivatives in a fairly transparent way. For example, suppose we want to compute the derivative <math>df/dx</math> of the function <math>\; f</math> which depends on the variables <math>\; x, y</math> with the side condition <math>\; g(x, y) = 0</math>. Then one only has to apply <math>\; d</math> to the side condition to get <math>\; dg = 0</math>, which expands to <math>\; g'_x dx + g'_y dy = 0</math>; if <math>\; g'_y \neq 0</math>, solve for <math>\; dy</math>, and put that into the equation <math>\; df = f'_x dx + f'_y dy</math>, which then becomes equal to <math>(f'_x + f'_y \frac {g'_x}{g'_y}) dx</math>. Thus, <math>\; \frac{df}{dx} =f'_x + f'_y \frac {g'_x}{g'_y}</math>. (Here, <math>f'_x = \frac{\partial f}{\partial x}</math> is the partial derivative where <math>\; x, y</math> move freely, whereas <math>\; \frac{df}{dx}</math> is the derivative of the one-variable function of <math>\; x</math> obtained by substituting the solution of <math>\; y</math> as a function <math>\; y(x)</math> of <math>\; x</math> in the side condition <math>\; g(x, y) = 0</math>.) Similar computations hold in higher dimensions. Without the use of differentials, this kind of computations become tricky.

In the complex space <math>\mathbf C^n</math>, with complex coordinates <math>\;z_j = x_j + i y_j </math>, where <math>\;i</math> is the imaginary unit, the complex differentials are defined as <math>\; dz_j := dx_j + i dy_j</math> and <math>d{\bar z}_j := dx_j - i dy_j</math>. Given a complex valued, real differentiable function <math>\; f</math>, one has <math>\; df = f'_{x_j} dx_j + f'_{y_j} dy_j = f'_{z_j} dz_j + f'_{{\bar z}_j} d{\bar z}_j </math>; expanding <math>\; dz_j, d{\bar z}_j</math> into <math>dx_j \pm i dy_j</math>, collecting coefficients, solving for <math>\; f'_{z_j}, f'_{{\bar z}_j}</math>, gives the equations, for all <math>\; j = 1, \dots, n</math>:

  • <math>f'_{z_j} = \frac{1}{2}(f'_{x_j} - i f'_{y_j})</math>
  • <math>f'_{{\bar z}_j} = \frac{1}{2}(f'_{x_j} + i f'_{y_j})</math>

A function <math>\; f</math> is called complex differentiable if <math>f'_{{\bar z}_j} = 0</math> for all <math>\; j = 1, \dots, n</math>, and complex analytic in an open set this is true at all points of this set. If <math>\; f = u + i v</math>, then this condition expands to the equations

  • <math>u'_{x_j} = v'_{y_j}</math>
  • <math>u'_{y_j} = -v'_{x_j}</math>

for all <math>\; j = 1, \dots, n</math>. These equations are called the Cauchy-Riemann equations in <math>\mathbf C^n</math>. As the <math>f'_{z_j}</math> are called the holomorphic derivatives of <math>\; f</math>, and <math>f'_{{\bar z}_j}</math> are called the anti-holomorphic derivatives, the Cauchy-Riemann equations just express that the anti-holomorphic derivatives are all zero.

The logarithmic differential defined as <math>\mathrm{dlog} f := \frac {df}{f}</math> is useful, for example, in the computation of relative errors. The logarithmic differential <math>\;\mathrm{dlog}</math> also shows up in the argument principle of a complex analytic function <math>\; f(z)</math> of one complex variable <math>\; z</math>, which says that path integration along a closed curve <math>\; C</math> of <math>\;\mathrm{dlog} f</math> gives the result <math>\; 2\pi i(Z-P)</math>, where <math>\; Z</math> is the number of zeroes and <math>\; P</math> the number of poles inside <math>\; C</math>, counted with multiplicities and the number of times encircled by <math>\; C</math> (the latter is 1, if <math>\; C</math> is simple and positively oriented).da:Differentialregning de:Differentialrechnung Template:Destacado eo:Derivaĵo es:Cálculo diferencial fr:Dérivée it:Derivata nl:Afgeleide ja:微分 pl:Pochodna funkcji pt:Derivada simple:Derivative fi:Derivaatta sv:Derivata zh-cn:导数