3

I plotted two lines in Desmos Calculator.

$\cos(x-90)$ which looks exactly like a $\sin x$ graph.

$\cos (-(x-90))$ which looks exactly the same.

However, I thought that $f(-x)$ reflects the entire line in the $y$-axis.

So why do the two lines above look the same, based on graph transformations?

I might be stupid, but just a question.

tc216
  • 869
vik1245
  • 893
  • 4
    cos(x) is even function – haqnatural Jan 29 '17 at 20:20
  • 3
    If your $f(x)=\cos(x-90)$, then $f(-x)$ would be $\cos(-x-90)$, not $\cos(-(x-90))$. I think this is the source of confusion. – Wojowu Jan 29 '17 at 20:21
  • 1
    It's true that $y = f(-x)$ is a reflection of $y = f(x)$ across the $y$-axis. But it's a bit more subtle here: $y = f(-(x - 90))$ is a reflection of $y = f(x - 90)$ across the line $x = [\text{where ever } x - 90 = 0]$. Cosine has a lot of symmetry... – pjs36 Jan 29 '17 at 20:25

2 Answers2

4

Don't make confusion with the parity of a function. The parity transformation only acts on the variable.

$$F(x) ~~~ \text{becomes} ~~~ F(-x)$$

And it is said to be even when $$F(-x) = F(x)$$

But again: the parity does act only on the variable.

For example: take $F(x) = 3x^2 - 4$

Then

$$ F(-x) = 3(-x)^2 - 4 = 3x^2 - 4 $$

The function is then identical to the original one hence it's even .

Notice that we do not change the sign of the constant $4$.

Cosine is an even function :

$$\cos(x) = \cos(-x)$$

But in your case the parity does not attack $90$. Under the parity your function becomes:

$$\boxed{\cos(x - 90) \to \cos(-x - 90)}$$

And they are identical.

W.R.P.S
  • 1,399
Enrico M.
  • 26,114
1

The reason is the cosine function is even: $\cos(-\alpha)=\cos\alpha$.

szw1710
  • 8,102