Login

Welcome, Guest. Please login or register.

April 20, 2024, 05:52:19 am

Author Topic: Recreational Problems  (Read 36512 times)  Share 

0 Members and 1 Guest are viewing this topic.

Despondent

  • Victorian
  • Adventurer
  • *
  • Posts: 11
  • Respect: 0
Recreational Problems
« Reply #15 on: November 23, 2007, 03:55:24 pm »
0
It was more of a hint to others as to how to proceed rather than a personal attempt to get the answer out. One thing I observed whilst actually writing this one out was that over use of properties of the integrand can lead to dead ends. :)

The integral is
 
I = int(-pi,pi) (2x+2x*sin(x))/(1+(cos(x))^2) dx

= int(-pi,pi) ((2x)/(1+(cos(x))^2))dx + int(-pi,pi) (2x*sin(x))/(1+(cos(x))^2)dx

The first integral is zero because the integrand is odd and so

I = int(-pi,pi) (2x*sin(x))/(1+(cos(x))^2) dx

Rewriting the integral as 2 times an integral from 0 to pi here will actually end up making things more complicated.

= int(-pi,pi) (2x)*((sin(x))/(1+(cos(x))^2)dx

int ((sin(x))/(1+(cos(x))^2) dx = -arctan(cos(x)) + c

=> I = [-2x*arctan(cos(x))]|(-pi,pi) + 2*int(-pi,pi)(arctan(cos(x))) dx

= -2[x*arctan(cos(x))] |(-pi,pi) + 0 since the second integrand is odd

= -2(-(((pi)^2)/4)-(((pi)^2)/4))

So I = (pi)^2.

Ahmad

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1296
  • *dreamy sigh*
  • Respect: +15
Recreational Problems
« Reply #16 on: November 23, 2007, 04:12:23 pm »
0
Can you justify why:
2*int(-pi,pi)(arctan(cos(x))) dx = 0, you say the integrand is odd, but it isn't. :)

I'll get more problems up when I have time.  8)
Mandark: Please, oh please, set me up on a date with that golden-haired angel who graces our undeserving school with her infinite beauty!

The collage of ideas. The music of reason. The poetry of thought. The canvas of logic.


Despondent

  • Victorian
  • Adventurer
  • *
  • Posts: 11
  • Respect: 0
Recreational Problems
« Reply #17 on: November 23, 2007, 04:19:34 pm »
0
If you've still got some exams to do it's probably best that you concentrate on those for now. Extra questions can come at any time.

Anyway, arctan(x) is an odd function. As long as its argument is continuous, any integral over arctan from (-b,b) (with b a real number) will always be zero.

Edit: Let me check.

Ahmad

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1296
  • *dreamy sigh*
  • Respect: +15
Recreational Problems
« Reply #18 on: November 23, 2007, 04:21:36 pm »
0
Yes, but for a function to be odd:

f(-x) = -f(x)

Here you have f(x) = arctan[cos(x)]

But, arctan[cos(-x)] isn't equal to -arctan[cos(x)].

You have to use a special argument!  :wink:
« Last Edit: December 14, 2007, 07:42:36 pm by coblin »
Mandark: Please, oh please, set me up on a date with that golden-haired angel who graces our undeserving school with her infinite beauty!

The collage of ideas. The music of reason. The poetry of thought. The canvas of logic.


Despondent

  • Victorian
  • Adventurer
  • *
  • Posts: 11
  • Respect: 0
Recreational Problems
« Reply #19 on: November 23, 2007, 04:43:18 pm »
0
int(-pi,pi) arctan(cos(x)) dx

= 2*int(0,pi) arctan(cos(x)) dx

= 2*int(0,pi/2) arctan(cos(x)) dx + 2*int(pi/2,pi) arctan(cos(x)) dx

Let u = pi - x in the first integral then

arctan(cos(x)) = arctan(cos(pi-u)) = arctan(-cos(u))=-arctan(cos(u)) and so

I = 2*int(pi,pi/2) arctan(cos(u)) du + 2*int(pi/2,pi) arctan(cos(x)) dx

= -2*int*(pi/2,pi) arctan(cos(u)) du + 2*int(pi/2,pi) arctan(cos(x)) dx

= 0

Ahmad

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1296
  • *dreamy sigh*
  • Respect: +15
Recreational Problems
« Reply #20 on: November 23, 2007, 04:48:28 pm »
0
If you need a hint, do ask.  It's really great how far you've got already, really well done! :)
Mandark: Please, oh please, set me up on a date with that golden-haired angel who graces our undeserving school with her infinite beauty!

The collage of ideas. The music of reason. The poetry of thought. The canvas of logic.


Despondent

  • Victorian
  • Adventurer
  • *
  • Posts: 11
  • Respect: 0
Recreational Problems
« Reply #21 on: November 23, 2007, 05:08:28 pm »
0
I should hardly need a hint considering that I did this sort of thing two years ago. Periodicity, it took a while to kick in. I'm a bit rusty.;)

Ahmad

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1296
  • *dreamy sigh*
  • Respect: +15
Recreational Problems
« Reply #22 on: November 23, 2007, 05:11:50 pm »
0
That's correct. Well done. My solution is a little different, but it doesn't matter, they're both good.

Two years ago? You did this in year 10? Good stuff!  :wink:
Mandark: Please, oh please, set me up on a date with that golden-haired angel who graces our undeserving school with her infinite beauty!

The collage of ideas. The music of reason. The poetry of thought. The canvas of logic.


Despondent

  • Victorian
  • Adventurer
  • *
  • Posts: 11
  • Respect: 0
Recreational Problems
« Reply #23 on: November 23, 2007, 05:17:32 pm »
0
I'm in 3rd year uni. :D  My original intention was to just suggest a way to start this problem since there weren't any attempts. I didn't plan on doing the whole thing.

Ahmad

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1296
  • *dreamy sigh*
  • Respect: +15
Recreational Problems
« Reply #24 on: November 23, 2007, 05:21:35 pm »
0
Cool. What are you taking in university?
Mandark: Please, oh please, set me up on a date with that golden-haired angel who graces our undeserving school with her infinite beauty!

The collage of ideas. The music of reason. The poetry of thought. The canvas of logic.


Despondent

  • Victorian
  • Adventurer
  • *
  • Posts: 11
  • Respect: 0
Recreational Problems
« Reply #25 on: November 23, 2007, 05:24:48 pm »
0
I'm taking BE/BSc.

Which course do you plan on taking?

Ahmad

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1296
  • *dreamy sigh*
  • Respect: +15
Recreational Problems
« Reply #26 on: November 23, 2007, 05:27:37 pm »
0
Actuarial studies, so that's BComm I think. Although maths is my hobby/passion!  8)
Mandark: Please, oh please, set me up on a date with that golden-haired angel who graces our undeserving school with her infinite beauty!

The collage of ideas. The music of reason. The poetry of thought. The canvas of logic.


Despondent

  • Victorian
  • Adventurer
  • *
  • Posts: 11
  • Respect: 0
Recreational Problems
« Reply #27 on: November 23, 2007, 05:33:29 pm »
0
Well I hope you have fun taking it. Not sure if you know this already, but after first year a lot of the 'maths' that you would be doing will be prob/stats.

I've always disliked stats but I guess some people would enjoy it.