1

Can you write $\cos \alpha x$ in terms of $\cos x$ ? similarly for $\sin \alpha x$. where $\alpha$ is a scalar in $\mathbb{R}$. (not necessarily integer).

k170
  • 9,227
  • 3
  • 26
  • 44
ehsank
  • 425

2 Answers2

4

Not in general, no, because $\cos x=\cos (x+2\pi)$ but $\cos(\alpha x)\neq \cos(\alpha(x+2\pi))$ when $\alpha$ is not an integer. So if you could write:

$$g(x)=\cos(\alpha x)=f(\cos x)$$ for some function $f$, then $$\cos(\alpha(x+2\pi))=g(x+2\pi)=g(x)=\cos(\alpha x)$$ for all $x$.

That is only true for $\alpha$ an integer.

Now, you can define $\left|\cos(\alpha x)\right|$ in terms of $\cos x$ when $\alpha$ is a half-integer. That's because $\left|\cos x\right|$ has period $\pi$.

Thomas Andrews
  • 186,215
3

For $\alpha=n$ an integer, we have the relation $$ \cos{nx} = T_n(\cos{x}), $$ where $T_n$ is the $n$th Chebyshev polynomial. This works for every real $x$.

For $-\pi \leqslant x \leqslant \pi$, we also have the half-angle formula $$ \cos{\tfrac{1}{2}x} = \sqrt{\frac{1+\cos{x}}{2}}, $$ from which we can derive half-integer formulae like $$ \cos{\tfrac{3}{2}x} = \sqrt{\frac{1+\cos{x}}{2}}(2\cos{x}-1), $$ and we could also iterate the "halving" to express dyadic rational multiples over $[-\pi,\pi]$. Hence we could produce a sequence of functions of $\cos{x}$ approximating $\cos{\alpha x}$ for any real $\alpha$.

The exact expression for $x \in [-\pi,\pi]$ is given by (DLMF 15.4.E12) $$ \cos{\alpha x} = {}_2F_1 \left( {-\alpha,\alpha \atop 1/2}; \frac{1-\cos{x}}{2} \right), $$ where ${}_2F_1$ is a hypergeometric function.

Another expression can be found using Fourier series (which I did here): $$ \cos{\alpha x} = \frac{\sin{\pi\alpha}}{\pi \alpha}+\sum_{k=1}^{\infty} \frac{(-1)^k 2\alpha\sin{\pi\alpha}}{\pi(\alpha^2-k^2)} \cos{kx}, $$ and again, this works for $x \in [-\pi,\pi]$. In the case that you want, you can then replace the $\cos{kx}$s by $T_k(\cos{x})$ to have a function entirely in terms of $\cos{x}$. You can produce similar expressions for longer finite intervals in the same way, although they will have to be multiples of $\pi$ in length.

Chappers
  • 69,099
  • thank you so much, i think the fourier series would help me a lot. do you already have the expression for $\sin\alpha x$ as well? – ehsank Sep 25 '15 at 08:21
  • 1
    @ehsank That's just going to be a matter of computing $\int_{-\pi}^{\pi} \sin{\pi x} \sin{\alpha x} , dx$, since sine is odd. You'll find that this gives $$ \sin{\alpha x} = \sum_{k=1}^{\infty} \frac{(-1)^k 2\alpha \sin{\pi \alpha}}{\pi(\alpha^2-k^2)} \sin{kx}, $$ where the extra factor of $k$ on the top comes from the discontinuity at $x=\pm \pi$. Alternatively, you could just differentiate the cosine series... – Chappers Sep 25 '15 at 16:44
  • 1
    I believe your answer is too "overengineered" and that it's really much simpler than that. From the trigonometric identity $\text{cos}(x + y) = \text{cos}(x)·\text{cos}(y) - \text{sin}(x)· \text{sin}(y)$ we can write $\text{cos}(\alpha x) = \text{cos}((\alpha - 1)x + x) = \text{cos}((\alpha -1)x)·\text{cos}(x) - \text{sin}((\alpha - 1)x)· \text{sin}(x)$. So we have $\cos(\alpha x)$ written in terms of $\text{cos}(x)$, as the OP wanted. Am I missing something? – Daniel Muñoz Parsapoormoghadam Jul 21 '22 at 10:09