Closed Thread
Thread Tools
Math: working in construction... math
Old 02-15-2010, 04:36 PM   #26
Eratosthenes
New Member [01%]
MBTI: INTJ
Join Date: Feb 2010
Posts: 78
 
I think that anything with an absolute value in it is suspect, because the function will have at least one point where it is not differentiable.

Taking ideas from everyone else's solutions, here's mine:

[HIDE="answer"]C(1-cos(2.pi.x))/e^(x^2), where C = 1/(sqrt(pi).(1-e^-(pi^2))), where C normalizes the integral. [/HIDE]
Eratosthenes is offline

Old 02-15-2010, 07:13 PM   #27
Latro
Veteran Member [85%]
 
MBTI: INTP
Join Date: Apr 2009
Posts: 3,414
 
Another solution, slightly simpler than my last one; its origins are really just my last one to be honest:
(-e^(2*pi)*sin(2*pi*x+3*pi/2))/(pi*(1+x^2))
Latro is offline
Old 02-17-2010, 11:06 AM   #28
SirJac
Member [25%]
MBTI: INTJ
Join Date: Oct 2007
Posts: 1,003
 
For the first requirement, use a trig function like sin(pi*x) will give your zeros at all integers and it and all derivatives are defined for all real numbers.

For the second requirement, we need to introduce exponential decay so the integral will converge. For this I chose the core of the probability density function: e^(-x^2) which will cause exponential decay on both sides of zero and it and it's derivatives are defined everywhere.

The third requirement can be fulfilled by instroducing some scalar constant that ensures that the definate integral over the entire real real line converges to 1, call it C.

Put it together and f(x)=C*sin(pi*x)*e^(-x^2)

Problem, the integral of sin over those limits is zero. So try a variation:

f(x)=C*(1-cos(2pi*x))e^(-x^2)

value of the integral when c = 1 from Wolfram Alpha is (1-e^(-pi^2))*sqrt(pi) and the inverse of this is C so the final function is then:

f(x) = (1-cos(2pi*x))e^(-x^2)/((1-e^(-pi^2))*sqrt(pi))


ps thnx for the link to Wolfram Alpha Monte, looks like a very useful site!
SirJac is offline
Closed Thread

Tags
math

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Myers-Briggs Type Indicator, Myers-Briggs, and MBTI are trademarks or registered trademarks of the
Myers-Briggs Type Indicator Trust in the United States and other countries.