How do you graph y=2+sin(1/2x)y=2+sin(12x)?

1 Answer
Aug 14, 2017

Draw a sine wave with twice the wavelength. Then shift it UP two units.

Explanation:

You know what the graph of sin(x)sin(x) is.

  • when xx is 0, y = 00,y=0
  • when xx is pi/2, y=1π2,y=1
  • when xx is pi, y=0π,y=0
  • when xx is (3*pi)/2, y=-13π2,y=1
  • when xx is 2*pi, y=02π,y=0

graph{sin(x) [-10, 10, -5, 5]}

So now, for y = sin(x/2)y=sin(x2):

  • when xx is 0, x/20,x2 is 0 , y= 00,y=0
  • when xx is pi, x/2π,x2 is pi/2, y= 1π2,y=1
  • when xx is 2 * pi, x/22π,x2 is pi , y= 0π,y=0
  • when xx is 3 * pi, x/23π,x2 is (3*pi)/2 , y= -13π2,y=1
  • when xx is 4 * pi, x/24π,x2 is 2 * pi , y= 02π,y=0

So, it's the same sine wave, but stretched out.

Now, since your function is 2 + sin(x/2)2+sin(x2), simply add 22 to the value for yy in the table above:

  • when xx is 0, y= 20,y=2
  • when xx is pi, y= 3π,y=3
  • when xx is 2 * pi, y= 22π,y=2
  • when xx is 3 * pi, y= 13π,y=1
  • when xx is 4 * pi , y= 24π,y=2

graph{2 + sin(x/2) [-10, 10, -5, 5]}