Graphs of rational functions - maximums and minimums