# Time-scale calculus

In mathematics, time-scale calculus is a unification of the theory of difference equations with that of differential equations, unifying integral and differential calculus with the calculus of finite differences, offering a formalism for studying hybrid systems. It has applications in any field that requires simultaneous modelling of discrete and continuous data. It gives a new definition of a derivative such that if one differentiates a function defined on the real numbers then the definition is equivalent to standard differentiation, but if one uses a function defined on the integers then it is equivalent to the forward difference operator.

## History

Time-scale calculus was introduced in 1988 by the German mathematician Stefan Hilger. However, similar ideas have been used before and go back at least to the introduction of the Riemann–Stieltjes integral, which unifies sums and integrals.

## Dynamic equations

Many results concerning differential equations carry over quite easily to corresponding results for difference equations, while other results seem to be completely different from their continuous counterparts. The study of dynamic equations on time scales reveals such discrepancies, and helps avoid proving results twice—once for differential equations and once again for difference equations. The general idea is to prove a result for a dynamic equation where the domain of the unknown function is a so-called time scale (also known as a time-set), which may be an arbitrary closed subset of the reals. In this way, results apply not only to the set of real numbers or set of integers but to more general time scales such as a Cantor set.
The three most popular examples of calculus on time scales are differential calculus, difference calculus, and quantum calculus. Dynamic equations on a time scale have a potential for applications such as in population dynamics. For example, they can model insect populations that evolve continuously while in season, die out in winter while their eggs are incubating or dormant, and then hatch in a new season, giving rise to a non-overlapping population.

## Formal definitions

A time scale (or measure chain) is a closed subset of the real line $\mathbb {R}$. The common notation for a general time scale is $\mathbb {T}$.
The two most commonly encountered examples of time scales are the real numbers $\mathbb {R}$ and the discrete time scale $h\mathbb {Z}$.
A single point in a time scale is defined as:
    $t:t\in \mathbb {T}$

### Operations on time scales

The forward jump and backward jump operators represent the closest point in the time scale on the right and left of a given point $t$, respectively. Formally:
    $\sigma (t)=\inf\{s\in \mathbb {T} :s>t\}$ (forward shift/jump operator)
    $\rho (t)=\sup\{s\in \mathbb {T} :s<t\}$ (backward shift/jump operator)
The graininess $\mu$ is the distance from a point to the closest point on the right and is given by:
    $\mu (t)=\sigma (t)-t.$
For a right-dense $t$, $\sigma (t)=t$ and $\mu (t)=0$. For a left-dense $t$, $\rho (t)=t.$

### Classification of points

For any $t\in \mathbb {T}$, $t$ is:
* left dense if $\rho (t)=t$
* right dense if $\sigma (t)=t$
* left scattered if $\rho (t)<t$
* right scattered if $\sigma (t)>t$
* dense if both left dense and right dense
* isolated if both left scattered and right scattered
As illustrated by the figure at right:
* Point $t_{1}$ is dense
* Point $t_{2}$ is left dense and right scattered
* Point $t_{3}$ is isolated
* Point $t_{4}$ is left scattered and right dense

### Continuity

Continuity of a time scale is redefined as equivalent to density. A time scale is said to be right-continuous at point $t$ if it is right dense at point $t$. Similarly, a time scale is said to be left-continuous at point $t$ if it is left dense at point $t$.

## Derivative

Take a function:
    $f:\mathbb {T} \to \mathbb {R} ,$
(where R could be any Banach space, but is set to the real line for simplicity).
Definition: The delta derivative (also Hilger derivative) $f^{\Delta }(t)$ exists if and only if:
For every $\varepsilon >0$ there exists a neighborhood $U$ of $t$ such that:
    $\left|f(\sigma (t))-f(s)-f^{\Delta }(t)(\sigma (t)-s)\right|\leq \varepsilon \left|\sigma (t)-s\right|$
for all $s$ in $U$.
Take $\mathbb {T} =\mathbb {R} .$ Then $\sigma (t)=t$, $\mu (t)=0$, $f^{\Delta }=f'$; is the derivative used in standard calculus. If $\mathbb {T} =\mathbb {Z}$ (the integers), $\sigma (t)=t+1$, $\mu (t)=1$, $f^{\Delta }=\Delta f$ is the forward difference operator used in difference equations.

## Integration

The delta integral is defined as the antiderivative with respect to the delta derivative. If $F(t)$ has a continuous derivative $f(t)=F^{\Delta }(t)$ one sets
    $\int _{r}^{s}f(t)\Delta (t)=F(s)-F(r).$

## Laplace transform and z-transform

A Laplace transform can be defined for functions on time scales, which uses the same table of transforms for any arbitrary time scale. This transform can be used to solve dynamic equations on time scales. If the time scale is the non-negative integers then the transform is equal to a modified Z-transform: ${\mathcal {Z}}'\{x[z]\}={\frac {{\mathcal {Z}}\{x[z+1]\}}{z+1}}$

## Partial differentiation

Partial differential equations and partial difference equations are unified as partial dynamic equations on time scales.

## Multiple integration

Multiple integration on time scales is treated in Bohner (2005).

## Stochastic dynamic equations on time scales

Stochastic differential equations and stochastic difference equations can be generalized to stochastic dynamic equations on time scales.

## Measure theory on time scales

Associated with every time scale is a natural measure defined via
    $\mu ^{\Delta }(A)=\lambda (\rho ^{-1}(A)),$
where $\lambda$ denotes Lebesgue measure and $\rho$ is the backward shift operator defined on $\mathbb {R}$. The delta integral turns out to be the usual Lebesgue–Stieltjes integral with respect to this measure
    $\int _{r}^{s}f(t)\Delta t=\int _{[r,s)}f(t)d\mu ^{\Delta }(t)$
and the delta derivative turns out to be the Radon–Nikodym derivative with respect to this measure
    $f^{\Delta }(t)={\frac {df}{d\mu ^{\Delta }}}(t).$

## Distributions on time scales

The Dirac delta and Kronecker delta are unified on time scales as the Hilger delta:
    $\delta _{a}^{\mathbb {H} }(t)={\begin{cases}{\dfrac {1}{\mu (a)}},&t=a\\0,&t\neq a\end{cases}}$

## Fractional calculus on time scales

Fractional calculus on time scales is treated in Bastos, Mozyrska, and Torres.