Author Topic: Math question  (Read 6388 times)

0 Members and 1 Guest are viewing this topic.

Offline Kosh

  • A year behind what's funny
  • 210
How to find the integral of sqrt(cosx) dx?
"The reason for this is that the original Fortran got so convoluted and extensive (10's of millions of lines of code) that no-one can actually figure out how it works, there's a massive project going on to decode the original Fortran and write a more modern system, but until then, the UK communication network is actually relying heavily on 35 year old Fortran that nobody understands." - Flipside

Brain I/O error
Replace and press any key

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
I don't think that's an integral you can take without higher-order math (doesn't it require an elliptical integral?)

Maybe I'm wrong.

 
How to find the integral of sqrt(cosx) dx?

Let's not go there  :eek:
STRONGTEA. Why can't the x86 be sane?

 

Offline Kosh

  • A year behind what's funny
  • 210
I don't know where to begin with this, anyone got any ideas?
"The reason for this is that the original Fortran got so convoluted and extensive (10's of millions of lines of code) that no-one can actually figure out how it works, there's a massive project going on to decode the original Fortran and write a more modern system, but until then, the UK communication network is actually relying heavily on 35 year old Fortran that nobody understands." - Flipside

Brain I/O error
Replace and press any key

 
It's not a pretty one... and General Battuta is right, it does need an Elliptic function.
)&random=false]The Answer

I'm not sure how I'd go about this one - I went straight to Mathematica. The reason for its difficulty is that at some point you're taking the integral of an imaginary number - and this is something I don't know how to do. (cos(180)=-1).
What class is this for?
STRONGTEA. Why can't the x86 be sane?

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Mika

  • 28
If you managed to see the post I had here earlier, forget it. It was wrong.

I'll try again later.

Mika
« Last Edit: January 11, 2009, 10:00:12 am by Mika »
Relaxed movement is always more effective than forced movement.

 
 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
As others have said, this is a basic example of a type 2 elliptic integral.

Are these problems from some class or are you making them up yourself? The last one you brought up wasn't expressible in terms of elementary functions either.

Quote
it does need an Elliptic function.

That is actually an elliptic integral. Elliptic functions are a little different, although there is a connection.

Quote
The reason for its difficulty is that at some point you're taking the integral of an imaginary number - and this is something I don't know how to do. (cos(180)=-1).

It's the same thing, you just deal with the real and imaginary parts separately. It looks like he just wants an antiderivative here though, so it does not necessarily have to be complex valued.

 
It's times like these that I thank my course advisor for not pushing me towards maths :P I'll take physical electronics anyday.
STRONGTEA. Why can't the x86 be sane?

 

Offline Mika

  • 28
int{ sqrt(cos(x))  dx} || Substitute x=arccos(y), solve dx = -dy/sqrt(1-y^2)

int{ -  sqrt(y) * dy/sqrt(1-y^2) } || Which could have been analytically intergrated it the nominator had been y.

The above is now the basic definition of an elliptic integral. http://en.wikipedia.org/wiki/Elliptic_integral mentions specifically that the degree of the polynomial inside the square root should be from 3 to 4, which could be arranged by writing y^2=z^4 (and y=z^2).

EDIT: Not to mention, if one rewrites y=z^2, one should also rewrite the differential.

Mika
« Last Edit: January 11, 2009, 02:24:27 pm by Mika »
Relaxed movement is always more effective than forced movement.

 

Offline Mika

  • 28
Now, my continuation question would be what kind of course are you studying since you continuously meet special functions? During the six years I have been doing research and engineering work, I haven't had the need to use any special functions!

Instead, splines, Newton iteration, numerical integration and Taylor series have proven to be quite effective in decimating possibilities that I would need to handle special functions.  :pimp:

Mika
Relaxed movement is always more effective than forced movement.

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Quote
Now, my continuation question would be what kind of course are you studying since you continuously meet special functions?

You run into them frequently in complex analysis, PDEs or number theory, but I doubt that's where his questions are coming from. :p

 

Offline Mika

  • 28
I must have had a really nice teacher since I didn't meet any of those thingies in complex analysis. In differential equations, they mentioned something about those Gamma functions, Legendre polynomials and some other polynomial thingie, but as one can guess I really don't remember anything of them. I also have some sort of factor of hatred towards them, especially since Legendre polynomials occured in Quantum Mechanics and we all know Quantum Mechanics suck. :D I thought it was much more important to recognise that "Oh no, not you son-of-a-***** again!"

And nowadays in Optics field it's next to impossible to actually write an integral, much less to solve it analytically. Numerics for the win!

Mika
« Last Edit: January 11, 2009, 02:43:10 pm by Mika »
Relaxed movement is always more effective than forced movement.

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
I used to big into special functions some years ago and remember them fairly well. :p I still sometimes encounter them in a math/signal processing context.

Was the complex analysis an undergrad or grad course? Most of the big results on normal families (like the Picard theorem) are based on the geometric behavior of this thing, so they bring it up at some point. They usually also talk about the gamma function in that class, just because it comes up in many places but isn't covered anywhere else in depth.

 

Offline Mika

  • 28
??? Where do you actually see special functions in signal processing? In the signal processing theory?

The two complex analysis courses were probably undergrad courses. And even then, Physics department had already taught almost everything that was in those courses, with the exception of residuals. So, in the end, I'm not sure what they talked about in the lectures, I never attended them. The only thing I did was calculating through the assignments and carefully builded up my arsenal of mathematical tools to solve problems.

That is actually the story of all mathematical courses I had. It started with Linear Algebra when they were too enthusiastic in proving some things, while ignoring the practical things that could have tied those terms and corollaries to something significant. I quit sitting on the lectures maybe on the second or third week realizing that this is not really going to teach me anything.

In the end I just calculated through assignments, memorized the proofs and went to exams. I failed several times in different courses, but finally passed just above the rim in all cases (in Physics I was better than average student). I know that in other parts of the world this would have resulted in me being kicked out of the university, but such is the schooling system here that it doesn't happen. It would have served me much more better if I had taken the Maths courses that were organised by Engineering Sciences rather than Mathematical Sciences.

The best thing is that on most occasions I'm better in calculating than Mathematicians themselves. :nervous:

Mika
« Last Edit: January 11, 2009, 06:45:30 pm by Mika »
Relaxed movement is always more effective than forced movement.

 
It started with Linear Algebra when they were too enthusiastic in proving some things, while ignoring the practical things that could have tied those terms and corollaries to something significant

And they had the lectures at 8am...
STRONGTEA. Why can't the x86 be sane?

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Quote
??? Where do you actually see special functions in signal processing? In the signal processing theory?

Yeah, the example I had in mind is related to this in the setting of arbitrary, non-uniformly spaced samples. This turns out to be a very complicated issue and there are some quite surprising results on what types of sequences of sampling points work. One recent result on this (paraphrased a lot) says that this function describes the least possible deviation you can have from a uniform sequence, in order for there to be no loss of information in the analog-to-digital conversion process.

Another, much simpler place is an algorithm for predicting future values of a signal (very similar to this), which involves doing a least squares fit to a spline made up of si functions.

If you are familiar with this stuff, I can go into more detail. I could talk about this all day. :D

Quote
The best thing is that on most occasions I'm better in calculating than Mathematicians themselves.

I wouldn't be surprised. There are many great symbolic and computational tricks that are taught in physics departments and are very useful in pure math as well, but are often not covered by the math students these days. :p I learned many such techniques from various books, outside of classes.
« Last Edit: January 11, 2009, 10:53:17 pm by CP5670 »

 
My final year project is in Signal Processing.
It's an application of Successive Mean Quantisation Transforms to audio processing and a study of its performance for the case we've got (we're still nutting out the proposal, so I'll keep things hazy for now) - I'll post more details when the proposal has been finalised with my supervisor (the deadline is about 2 months from now, but I'm doing some prereading)

Mr Nyquist, we meet again.
STRONGTEA. Why can't the x86 be sane?

 

Offline Kosh

  • A year behind what's funny
  • 210
Quote
Are these problems from some class or are you making them up yourself? The last one you brought up wasn't expressible in terms of elementary functions either.


Class. There is no way I would spend my free time making up this ****.

The whole question is something like this:

Find the length of y=integral from -pi/2 to x of sqrt(cost)dt.

The book's answer is 4.
"The reason for this is that the original Fortran got so convoluted and extensive (10's of millions of lines of code) that no-one can actually figure out how it works, there's a massive project going on to decode the original Fortran and write a more modern system, but until then, the UK communication network is actually relying heavily on 35 year old Fortran that nobody understands." - Flipside

Brain I/O error
Replace and press any key