Fourier Sine Series Q

I have the function f(x) = cos(x) on the interval from 0 to pi and I need to comput the Fourier sine series.

I have the integral of cos(x) multiplied by sin(nx), I can't figure out a way to integrate them! The "n" gets in the way, what do I do?

1. 👍
2. 👎
3. 👁
1. first sketch a graph of cos x and sin x, sin 2x, sin 3x, sin 4x
in the interval from 0 to pi
You will notice that for n = 1 for example, the plus contribution between 0 and pi/2 cancels the negative contribution between pi/2 and pi
in fact for cos 1x * sin n x dx, only even values of n will contribute for the integral from 0 to pi.
The general rule for this definite integral is:
integral from 0 to pi of
sin ax cos bx dx
is:
2a/(a^2-b^2) if (a-b) is odd
0 if (a-b) is even
so here:
2/(1-n^2) if n is even
0 if n is odd

1. 👍
2. 👎
2. So basically, that is the coefficient "bn" that I place in the summation from n=1 to infinity of sin(nx)?

If that is correct, thanks, I was going into a complicated page of integration . . .

1. 👍
2. 👎
3. Okay, I got it, thanks Damon.

1. 👍
2. 👎
4. yes :)

1. 👍
2. 👎

Similar Questions

1. math

Let f be the function with f(0) = 1/ (pi)^2, f(2) = 1/(pi)^2, and the derivative given by f'(x) = (x+1)cos ((pi)(x)). How many values of x in the open interval (0, 2) satisfy the conclusion of the Mean Value Theorem for the

2. Calculus

A particle moves along the x-axis with position function s(t) = e^cos(x). How many times in the interval [0, 2π] is the velocity equal to 0? 1< My answer 2 3 More than 3 I don't really get this question will someone please

3. Calculus

Let f be a function with second derivative given by f''(x)=sin(2x)-cos(4x). How many points of inflection does the graph of f have on the interval [0,10]? (A)Six (B)Seven (C)Eight (D)Ten (E)Thirteen

4. calculus

The first derivative of the function f is given by f'(x) = (cos^2x)/x - 1/5 How many critical values does f have on the open interval (0,10)?

1. Calculus

1. Locate the absolute extrema of the function f(x)=cos(pi*x) on the closed interval [0,1/2]. 2. Determine whether Rolle's Theorem applied to the function f(x)=x^2+6x+8 on the closed interval[-4,-2]. If Rolle's Theorem can be

2. Calculus

The function f is continuous on the open interval (-π, π). If f(x)=cos(x)-1/xsin(x) for x≠0, what is the value of f(0)?

3. Algebra 1

Question 9 Examine the graph of f(x) f ( x ) and the table that contains values of g(x). g ( x ) . Curve f of x approaches Y equals negative 7 on the left and positive infinity on the right. It passes through points (0, negative

4. Math

The graph of f(x), a trigonometric function, and the graph of g(x) = c intersect at n points over the interval 0

1. Algebra

Write an equation for the translation of the function. y = cos x; translated 6 units up A. y = cos x- ­ 6 B. y = cos(x + 6) C. y = cos x + 6 D. y = cos(x ­ 6) I think its B or c..

2. calculus

g(t)=2+cos t; [0,pi] Can you help me find the average rate of change of the function over the given interval?

3. Trig

On the same set of axes, sketch and label the graphs of the equations y = cos 2x and y = –2 sin x in the interval 0 ≤ x ≤ 2π. How many values of x in the interval 0 ≤ x ≤ 2π satisfy the equation –2 sin x – cos 2x =

4. CALCULUS!

Consider the function f(x)=4x^3–2x on the interval [–2,2]. Find the average or mean slope of the function on this interval. __14__ By the Mean Value Theorem, we know there exists at least one c in the open interval (–2,2)