Nonlinearity is failure of the linearity conditions appropriate to the objects being studied. For a function between vector spaces over the same field, being a linear map meansfor all and all scalars . A function is nonlinear in this sense if even one permitted choice violates the identity. The spaces and their operations are therefore part of the claim.[ref]
Linear Algebra Done Right by Sheldon Axler (4th edition). §3A, definition3.1, additivity and homogeneity
For with , choose and . ThenThe extra term in explains the failure of superposition. Doubling an input also multiplies its squared output by four, rather than two.
A straight-line graph alone does not establish linearity in linear algebra. The affine map has a straight-line graph but , whereas every linear map sends zero to zero. Its translated change is linear in the increment . This distinction matters when a physical instrument has an offset or a model is expressed relative to a nonzero operating point.
A nonlinear function can still have a useful local linear approximation. For the same square function,The derivative at3 gives the linear increment , while the exact omitted term is . At , the actual change is0.0601 and the linear prediction is0.06. At , the actual change is7 and the prediction is6. Local accuracy over small increments does not turn the original function into a linear map. It states that the nonlinear remainder is small on a specified scale.
New to topics? Read the docs here!