# Linearity of differentiation

In calculus, the derivative of any linear combination of functions equals the same linear combination of the derivatives of the functions; this property is known as linearity of differentiation, the rule of linearity, or the superposition rule for differentiation. It is a fundamental property of the derivative that encapsulates in a single rule two simpler rules of differentiation, the sum rule (the derivative of the sum of two functions is the sum of the derivatives) and the constant factor rule (the derivative of a constant multiple of a function is the same constant multiple of the derivative). Thus it can be said that the act of differentiation is linear, or the differential operator is a linear operator.

## Statement and derivation

Let f and g be functions, with α and β constants. Now consider:

${\frac {\mbox{d}}{{\mbox{d}}x}}(\alpha \cdot f(x)+\beta \cdot g(x))$

By the sum rule in differentiation, this is:

${\frac {\mbox{d}}{{\mbox{d}}x}}(\alpha \cdot f(x))+{\frac {\mbox{d}}{{\mbox{d}}x}}(\beta \cdot g(x))$

By the constant factor rule in differentiation, this reduces to:

$\alpha \cdot f'(x)+\beta \cdot g'(x)$

${\frac {\mbox{d}}{{\mbox{d}}x}}(\alpha \cdot f(x)+\beta \cdot g(x))=\alpha \cdot f'(x)+\beta \cdot g'(x)$
$(\alpha \cdot f+\beta \cdot g)'=\alpha \cdot f'+\beta \cdot g'$