Given a cartesian reference system that in the diagram I have indicated with capital letters $OXY$ (in black) imagine to rotate it by an angle $α$ counterclockwise (positive angle):
N.B. the name of the axes has been indicated with capital letters, while the coordinates of point $P$ (in the two reference systems) have been indicated with the lower case ones. Given the following construction:
The $hx$ segment is given by:
$$hx = x'\cos(α)$$
while the $oh$ segment is given by:
$$oh = y'\sin(α)$$
The $ox$ segment, which is none other than the $x$ abscissa is given by:
$$x = oh - hx = y'\sin(α) - x'\cos(α)$$
This relationship connects the two reference systems. In the same way we calculate the ordinate $y$ by the following construction:
The $by$ segment is given by:
$$by = x'\sin(α)$$
while the $ob$ segment is given by:
$$ob = y'\cos(α)$$
from which you have:
$$y = ob + by = y'\cos(α) + x'\sin(α)$$
In summary:
$$x = y'\sin(α) - x'\cos(α)$$
$$y = y'\cos(α) + x'\sin(α)$$
This is the proof that I give for my students for the rotation.
Are there other simple and more fast proofs? Everyone that every user to know is welcome.




Depending on your students prerequisite knowledge, there is a simpler way:
Keep in mind, though, that I described how to find the formula for an active transformation, that is, how to rotate a vector within the given coordinate system. What you did was a passive transformation, rotating the coordinate system. The difference is just that to find the coordinates after a passive transformation, you have to apply the inverse of the above matrix instead.