Difference between «so that» and «such that»

The sentences, while very similar, do have a subtle difference of meaning.

"Such that" is a description of HOW something is to be done:

The image will be sheared such that the x-axis goes through (1,1). -> The image will be sheared in such a way that the x-axis goes through (1,1).

"So that" is a description of WHY something is to be done:

The image will be sheared so that the x-axis goes through (1,1) -> The image will be sheared in order for the x-axis to go through (1,1). (Or, more obviously: Because the x-axis needs to pass through (1,1), the image will be sheared appropriately.)


This distinction criterion is very simple and always works: 'such that' expresses consequence, 'so that' purpose.