How do you graph y=−2−cos(x−π)?
1 Answer
This function has the same graph of
Explanation:
When you must graph a composed function, the idea is to recognize every step, and understand the way it affect the graph of a function. So, let's start from the fundamental function
-
cos(x)→cos(x−π) . A change of this kind,f(x)→f(x+k) means to translate the graph of the function horizontally. Ifk is positive, we shift to the left, otherwise we shift to the right. Since in your casek=−π , we shift the graph to the left. Note: for this change, you could also have used the identitycos(x−π)=−cos(x) , and observe thatf(x)→−f(x) consists in a horizontal flip (symmetry with respect to thex -axis. -
Now we have to change sign again. Since we just noted that
cos(x−π)=−cos(x) , then−cos(x−π)=−(−cos(x))=cos(x) . So, you can rewrite your function ascos(x)−2 , making it much easier. -
So, the last step to consider is
cos(x)→cos(x)−2 . A change of this kind,f(x)→f(x)+k means to translate the graph of the function vertically. Ifk is positive, we shift upwards, otherwise we shift downwards. Since in your casek=−2 , we shift the graph downwards.