0
$\begingroup$

Suppose I want to write the function $x \sin(t)$ as the series over the interval $x \in (0,\pi)$

$$x\sin(t) = \sum_{n=1}^{\infty}(a_n \cos(t) + b_n \sin(t) )\sin(nx)$$

Then would the coefficients $a_n$ and $b_n$ be just simply

$$a_n =\frac{1}{\pi \cos(t)} \int_{0}^{\pi}x\sin(nx) \;\mathrm{d}x = \frac{\tan(t)}{\pi} \int_{0}^{\pi}x\sin(nx) \;\mathrm{d}x $$

$$b_n =\frac{1}{\pi \sin(t)} \int_{0}^{\pi}x\sin(t)\sin(nx) \;\mathrm{d}x = \frac{1}{\pi} \int_{0}^{\pi}x\sin(nx) \;\mathrm{d}x$$

Could i just treat the trig functions as parameters?

Thanks

EDIT: The bounty is supposed to read "not enough attention". I may have misselcted the wrong item when I set the bounty

  • 1
    Expand $x$ as usual, and then multiply by $\sin\,t$.2012-08-03
  • 0
    Right, I could cancel out that sine for $b_n$. But is my theory right?2012-08-03
  • 0
    I'm afraid a lot went wrong in your question as it stands on 08/06/12.2012-08-06
  • 0
    @ChristianBlatter, what do you mean by that?2012-08-06
  • 0
    Do you mean the function $x \sin(x)$? It is not clear what $t$ is doing here. If it is not the independent variable, $\sin(t)$ and $\cos (t)$ are just constants.2012-08-07
  • 0
    @RossMillikan, I do mean what I mean in the OP. This was on a PDE final I wrote. That's why I wasn't sure if the question was trying to trick me.2012-08-07
  • 1
    How does $1/\cos t$ becomes $\tan t$?2012-08-10

1 Answers 1