To find the stationary points of the function y = -sinx + cosx within the domain -π < x < π, the derivative dy/dx is calculated as cosx + sinx. Setting this derivative equal to zero leads to the equation cosx + sinx = 0, which simplifies to tanx = -1. The solutions to this equation yield the stationary points at x = -π/4 and x = 3π/4. It's important to note that stationary points do not necessarily lie on the x-axis, as they represent points where the derivative is zero, indicating potential local maxima or minima on the curve. The discussion emphasizes the need for correct notation and understanding of stationary points in relation to the graph.