crisis of identity (matrix transformations)

Hi folks,

I read the following example in my maths book and feel the authors have not explained what they are doing very clearly. We have to find the equations of any straight lines that are invariant under the following transformation:

Where x' and y' are the image points of x and y. Any straight line will be of the form y = mx + c and any point on the line will have coordinates of the form (k, mk + c).

Thus

=

Now if y = mx + c is invariant, then this point (x', y') must also lie on y = mx + c

i.e.

giving: (equation 1).

This equation must be true for all values of k (i.e. equation 1 is an identity in k). Thus:

and

So: for those who have followed so far, I have to ask, how is equation 1 split into two parts? k is a variable and I know the difference between an equation and an identity (one is for all k, the other only particular values of k) but I don't understand the theory behind the way equation 1 suddenly becomes two equations both equal to zero. Can anyone help?

best regards