Here are some equivalent definitions of linear functions.
A function is linear if and only if either one of the following conditions hold.
preserves scaling and addition of its arguments:
for every , and , ; and
for every , .
vanishes at the origin: , and transforms any line segment in into another segment in :
is differentiable, vanishes at the origin, and the matrix of its derivatives is constant: there exist such that