Lukas' Notes

linear-algebra analysis

Definition

Affine Function

An affine function is a function consisting of a linear part plus a constant shift.

For vector spaces over a field , a function is affine if there exist a matrix and a vector such that

The matrix gives the linear transformation, while translates the output. If , the affine function is linear.

Interpretation

Affine functions preserve straight-line structure but may move the origin. They map affine combinations to affine combinations:

In one-dimensional optimisation, an affine function is a line. In higher dimensions, scalar-valued affine functions define hyperplanes as their level sets.