User:Arsalanahmedmalik/sandbox

In mathematics, the term linear function refers to a function that satisfies the following two properties:

$$f(x + y) = f(x) + f(y) $$

$$f(a*x) = a*f(x) $$

The linear functions are often confused with affine functions. One variable affine functions can be written as $$f(x) = mx + b$$. Although affine functions make lines when graphed, they do not satisfy the properties of linearity.