Trouble determining the Fourier Cosine series for a Function

In summary: You should type your work out in a clear, concise, and easy-to-read manner, and then post the image or images of your work for other helpers to see. This will help you to get more help and faster responses. In summary, you should post your work in a clear and concise manner.
  • #1
Arthur Yeh
2
0

Homework Statement


I am only interested in 9 (a)
Determine the Fourier Cosine series of the function g(x) = x(L-x) for 0 < x < L
20180213_160653.jpg

Homework Equations


The Answer for 9 a.
g(x) = (L^2)/6 - ∑(L^2/(nπ)^2)cos(2nπx/L)
20180213_160710.jpg


This is the relevant equation given where ω=π/L
f(t) = a0+∑ancos(nωt)
a0=1/L ∫f(t) dt from 0 to L
an=2/L∫f(t)cos(nωt) dt from 0 to L
20180213_160738.jpg

The Attempt at a Solution


This is my attempt at the solution
g(x) = a0 - Σancos(nωx)
where
a0=L^2/6
an= -2L^2[(cos(nπ)+1)/(nπ)^2]
I have double checked this answer both manually and through the use of an online integral calculator and i still arrive at this conclusion. As a result I believe my partial integrations are correct but my answer is in the wrong form. Initially I tried changing cos(nπ) to (-1)^n but i didnt get anywhere as i didnt couldn't get rid of the n power. I also tried working backwards from the answer using some double angle identities but did not arrive at any recognizable form.
20180213_160424.jpg

20180213_160254.jpg
 

Attachments

  • 20180213_160254.jpg
    20180213_160254.jpg
    30 KB · Views: 727
  • 20180213_160424.jpg
    20180213_160424.jpg
    30.5 KB · Views: 769
  • 20180213_160653.jpg
    20180213_160653.jpg
    20.1 KB · Views: 750
  • 20180213_160710.jpg
    20180213_160710.jpg
    22.3 KB · Views: 897
  • 20180213_160254.jpg
    20180213_160254.jpg
    30 KB · Views: 401
  • 20180213_160738.jpg
    20180213_160738.jpg
    18.6 KB · Views: 845
Last edited:
Physics news on Phys.org
  • #2
Sure... I believe your integrals are correct. If you write out the first few of the a's you should be able to see that every other one goes to zero because cos(n*pi) is minus one and cos(n*pi)-1 is zero. Only the even n's count. For the even n's, let n=2*i. Then you have a sum from i=1,2,3,4...
 
  • Like
Likes Arthur Yeh
  • #3
I meant to say cos(n*pi)+1 is zero
 
  • #4
Thanks alot!
I didnt think to look more closely at its behaviour for odd and even n's
 
  • #5
Arthur Yeh said:

Homework Statement


I am only interested in 9 (a)
Determine the Fourier Cosine series of the function g(x) = x(L-x) for 0 < x < L
View attachment 220239

Homework Equations


The Answer for 9 a.
g(x) = (L^2)/6 - ∑(L^2/(nπ)^2)cos(2nπx/L)
View attachment 220240

This is the relevant equation given where ω=π/L
f(t) = a0+∑ancos(nωt)
a0=1/L ∫f(t) dt from 0 to L
an=2/L∫f(t)cos(nωt) dt from 0 to L
View attachment 220242

The Attempt at a Solution


This is my attempt at the solution
g(x) = a0 - Σancos(nωx)
where
a0=L^2/6
an= -2L^2[(cos(nπ)+1)/(nπ)^2]
I have double checked this answer both manually and through the use of an online integral calculator and i still arrive at this conclusion. As a result I believe my partial integrations are correct but my answer is in the wrong form. Initially I tried changing cos(nπ) to (-1)^n but i didnt get anywhere as i didnt couldn't get rid of the n power. I also tried working backwards from the answer using some double angle identities but did not arrive at any recognizable form.
View attachment 220238
View attachment 220237

You are developing a very bad habit: posting images instead of typing out your work. Most helpers will not be bothered to look at your images, so will not want to help. (See the post "Guidelines for students and helpers", by Vela, pinned to the start of this forum.)
 

1. What is a Fourier Cosine series?

A Fourier Cosine series is a mathematical representation of a function as an infinite sum of cosine functions with different amplitudes and frequencies. It is commonly used in signal processing and harmonic analysis to break down a complex function into simpler components.

2. How is a Fourier Cosine series different from a Fourier series?

A Fourier Cosine series only includes cosine functions, while a Fourier series includes both sine and cosine functions. This means that the Fourier Cosine series is applicable to even functions, while the Fourier series can be used for both even and odd functions.

3. Why is it sometimes difficult to determine the Fourier Cosine series for a function?

The difficulty in determining the Fourier Cosine series for a function lies in finding the correct coefficients for each cosine function in the series. This requires advanced mathematical techniques such as integration, differentiation, and manipulation of trigonometric identities.

4. Can any function be represented by a Fourier Cosine series?

No, only even functions can be represented by a Fourier Cosine series. If a function is odd, it can be represented by a Fourier series. However, some functions may not have a Fourier series or Fourier Cosine series representation.

5. How is a Fourier Cosine series used in practical applications?

A Fourier Cosine series is commonly used in signal processing, image compression, and solving differential equations. It allows for complex functions to be broken down into simpler components, making it easier to analyze and manipulate the data.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
972
  • Calculus and Beyond Homework Help
Replies
3
Views
292
  • Calculus and Beyond Homework Help
Replies
1
Views
68
  • Calculus and Beyond Homework Help
Replies
1
Views
224
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
254
  • Calculus and Beyond Homework Help
Replies
4
Views
361
  • Calculus and Beyond Homework Help
Replies
3
Views
368
  • Calculus and Beyond Homework Help
Replies
6
Views
916
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top