How do you graph y=1/2(1-cosx)y=12(1cosx)?

1 Answer
Sep 24, 2015

Here's the graph:

graph{1/2(1-cos(x)) [-10, 10, -5, 5]}

Explanation:

You only need to understand which changes were made, starting from the function cos(x)cos(x) (of which I'll assume you know the behavior, and thus the graph), and then to understand what these changes mean. The steps are the following:

  1. Change sign: cos(x) -> -cos(x)cos(x)cos(x)
  2. Add 11: -cos(x) -> 1-cos(x)cos(x)1cos(x)
  3. Divide everything by 22: 1-cos(x) -> 1/2(1-cos(x))1cos(x)12(1cos(x)).

Changing the sign of a function simply means to reflect it, with respect to the xx-axis. So, the change from cos(x)cos(x) to -cos(x)cos(x) is the following:

cos(x)cos(x):
graph{cos(x) [-12.66, 12.65, -6.33, 6.33]}

-cos(x)cos(x):
graph{-cos(x) [-12.66, 12.65, -6.33, 6.33]}

Adding a positive constant means to translate the graph upwards. In your case, you'll translate the graph of -cos(x)cos(x) one unit above, obtaining the following:

1-cos(x)1cos(x):
graph{1-cos(x) [-12.66, 12.65, -6.33, 6.33]}

Finally, dividing by 22 "compresses" the function vertically, obtaining the final result.