TITLE: what is the difference between linear transformation and affine transformation?
QUESTION [5 upvotes]: Recently, I am struglling with the difference between linear transformation and affine transformation. Are they the same ? 
I found an interesting question on the difference between the functions. But still, not very clear. 
What is the difference between linear and affine function
http://mathworld.wolfram.com/AffineTransformation.html

REPLY [2 votes]: An alternative point of view is that, given any vector space $V$, we extend it by one dimension by including a new nonzero vector $o$ and also all linear combinations of it and the existing vectors. Call this new vector space, an affine space and denote it $a(V,o)$. Call the elements of $V+o$ points of the affine space and any nonzero vector is a scalar multiple of some point which we call a weighted point where the scalar is the weight of the point. Now if a linear map between two affine spaces $f: a(V_1,o_1) \to a(V_2,o_2)$ satisfies $f(V_1)\subset V_2$ and $f(o_1) = v_2 + o_2$ where $v_2\in V_2$, then we call it an affine map. That is, we require this because we want points to map to points. You can check that composition of affine maps is affine and $f(v_1 + o_1) = (f(v_1) + v_2) + o_2$. This is like the usual $y=mx+b$. Think of the vector $o$ as a bookkeeping device to keep track of an origin. That is, in a vector space there is a unique zero vector, but in an affine space, all points can be regarded effectively as an origin. If $f(o_1) = o_2$ then $v_2=0$ and $f$ is just a linear map just like $y=mx$. So all affine maps are linear but not vice versa.