Shifts in trigonometric functions