# Weak derivative

__: Generalisation of the derivative of a function__

**Short description**

In mathematics, a **weak derivative** is a generalization of the concept of the derivative of a function (*strong derivative*) for functions not assumed differentiable, but only integrable, i.e., to lie in the L^{p} space [math]\displaystyle{ L^1([a,b]) }[/math].

The method of integration by parts holds that for differentiable functions [math]\displaystyle{ u }[/math] and [math]\displaystyle{ \varphi }[/math] we have

- [math]\displaystyle{ \begin{align} \int_a^b u(x) \varphi'(x) \, dx & = \Big[u(x) \varphi(x)\Big]_a^b - \int_a^b u'(x) \varphi(x) \, dx. \\[6pt] \end{align} }[/math]

A function *u*' being the weak derivative of *u* is essentially defined by the requirement that this equation must hold for all infinitely differentiable functions [math]\displaystyle{ \varphi }[/math] vanishing at the boundary points ([math]\displaystyle{ \varphi(a)=\varphi(b)=0 }[/math]).

## Definition

Let [math]\displaystyle{ u }[/math] be a function in the Lebesgue space [math]\displaystyle{ L^1([a,b]) }[/math]. We say that [math]\displaystyle{ v }[/math] in [math]\displaystyle{ L^1([a,b]) }[/math] is a **weak derivative** of [math]\displaystyle{ u }[/math] if

- [math]\displaystyle{ \int_a^b u(t)\varphi'(t) \, dt=-\int_a^b v(t)\varphi(t) \, dt }[/math]

for *all* infinitely differentiable functions [math]\displaystyle{ \varphi }[/math] with [math]\displaystyle{ \varphi(a)=\varphi(b)=0 }[/math].

Generalizing to [math]\displaystyle{ n }[/math] dimensions, if [math]\displaystyle{ u }[/math] and [math]\displaystyle{ v }[/math] are in the space [math]\displaystyle{ L_\text{loc}^1(U) }[/math] of locally integrable functions for some open set [math]\displaystyle{ U \subset \mathbb{R}^n }[/math], and if [math]\displaystyle{ \alpha }[/math] is a multi-index, we say that [math]\displaystyle{ v }[/math] is the [math]\displaystyle{ \alpha^\text{th} }[/math]-weak derivative of [math]\displaystyle{ u }[/math] if

- [math]\displaystyle{ \int_U u D^\alpha \varphi=(-1)^{|\alpha|} \int_U v\varphi, }[/math]

for all [math]\displaystyle{ \varphi \in C^\infty_c (U) }[/math], that is, for all infinitely differentiable functions [math]\displaystyle{ \varphi }[/math] with compact support in [math]\displaystyle{ U }[/math]. Here [math]\displaystyle{ D^{\alpha}\varphi }[/math] is defined as [math]\displaystyle{ D^{\alpha}\varphi = \frac{\partial^{| \alpha |} \varphi }{\partial x_1^{\alpha_1} \cdots \partial x_n^{\alpha_n}}. }[/math]

If [math]\displaystyle{ u }[/math] has a weak derivative, it is often written [math]\displaystyle{ D^{\alpha}u }[/math] since weak derivatives are unique (at least, up to a set of measure zero, see below).

## Examples

- The absolute value function [math]\displaystyle{ u : \mathbb{R} \rightarrow \mathbb{R}_+, u(t) = |t| }[/math], which is not differentiable at [math]\displaystyle{ t = 0 }[/math] has a weak derivative [math]\displaystyle{ v: \mathbb{R} \rightarrow \mathbb{R} }[/math] known as the sign function, and given by [math]\displaystyle{
v(t) = \begin{cases} 1 & \text{if } t \gt 0; \\[6pt] 0 & \text{if } t = 0; \\[6pt] -1 & \text{if } t \lt 0. \end{cases} }[/math] This is not the only weak derivative for
*u*: any*w*that is equal to*v*almost everywhere is also a weak derivative for*u*. (In particular, the definition of*v*(0) above is superfluous and can be replaced with any desired real number r.) Usually, this is not a problem, since in the theory of*L*^{p}spaces and Sobolev spaces, functions that are equal almost everywhere are identified. - The characteristic function of the rational numbers [math]\displaystyle{ 1_{\mathbb{Q}} }[/math] is nowhere differentiable yet has a weak derivative. Since the Lebesgue measure of the rational numbers is zero, [math]\displaystyle{ \int 1_{\mathbb{Q}}(t) \varphi(t) \, dt = 0. }[/math] Thus [math]\displaystyle{ v(t)=0 }[/math] is a weak derivative of [math]\displaystyle{ 1_{\mathbb{Q}} }[/math]. Note that this does agree with our intuition since when considered as a member of an Lp space, [math]\displaystyle{ 1_{\mathbb{Q}} }[/math] is identified with the zero function.
- The Cantor function
*c*does not have a weak derivative, despite being differentiable almost everywhere. This is because any weak derivative of*c*would have to be equal almost everywhere to the classical derivative of*c*, which is zero almost everywhere. But the zero function is not a weak derivative of*c*, as can be seen by comparing against an appropriate test function [math]\displaystyle{ \varphi }[/math]. More theoretically,*c*does not have a weak derivative because its distributional derivative, namely the Cantor distribution, is a singular measure and therefore cannot be represented by a function.

## Properties

If two functions are weak derivatives of the same function, they are equal except on a set with Lebesgue measure zero, i.e., they are equal almost everywhere. If we consider equivalence classes of functions such that two functions are equivalent if they are equal almost everywhere, then the weak derivative is unique.

Also, if *u* is differentiable in the conventional sense then its weak derivative is identical (in the sense given above) to its conventional (strong) derivative. Thus the weak derivative is a generalization of the strong one. Furthermore, the classical rules for derivatives of sums and products of functions also hold for the weak derivative.

## Extensions

This concept gives rise to the definition of weak solutions in Sobolev spaces, which are useful for problems of differential equations and in functional analysis.

## See also

## References

- Gilbarg, D.; Trudinger, N. (2001).
*Elliptic partial differential equations of second order*. Berlin: Springer. p. 149. ISBN 3-540-41160-7. https://archive.org/details/ellipticpartiald00gilb. - Evans, Lawrence C. (1998).
*Partial differential equations*. Providence, R.I.: American Mathematical Society. p. 242. ISBN 0-8218-0772-2. https://archive.org/details/partialdifferent00evan_947. - Knabner, Peter; Angermann, Lutz (2003).
*Numerical methods for elliptic and parabolic partial differential equations*. New York: Springer. p. 53. ISBN 0-387-95449-X. https://archive.org/details/numericalmethods00knab.

Original source: https://en.wikipedia.org/wiki/Weak derivative.
Read more |