Horizontal and Vertical Shifts of the Sine Function

Horizontal and Vertical Shifts of the Sine Function
Loading the math board and drawing, please wait…
2015-01-05 22:45
This interactive example demonstrates how the graph of the basic sine function y = sin(x) transforms under horizontal and vertical shifts. It illustrates key mathematical concepts including trigonometric function graphs, function transformations (specifically translations), periodicity, and symmetry. The construction defines two function objects: f(x) = sin(x) as the base function, and g(x) = sin(x - a) + b, where parameters a and b are typically controlled by sliders to enable dynamic exploration of phase shift and vertical displacement. This resource is ideal for high school mathematics instruction on trigonometric functions and serves as an effective tool for visualizing and understanding function transformations.

GeoGebra Commands & Parameters

  1. f(x) = sin(x)
  2. g(x) = sin(x - π / 4)

AI Drawing Prompt Reference

Draw a Cartesian coordinate plane with the basic sine curve y = sin(x) starting at the origin, showing its periodic wave shape. Then draw a second sine curve that is the same shape but shifted horizontally to the right by one-quarter of a period (about 45 degrees), representing a phase shift. Use distinct colors for the two curves, label the axes with tick marks, and highlight the horizontal displacement between them.
The prompt above was compiled from the original drawing commands and is for reference only.