Wikipedia:Reference desk/Archives/Mathematics/2016 May 8

From Wikipedia, the free encyclopedia
Mathematics desk
< May 7 << Apr | May | Jun >> May 9 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


May 8[edit]

statistical difference[edit]

Hi all,
It says here (page 99) that if we have a 2-universal hash functions family , mapping to and , then the following distributions have statistical difference of :

  1. Choose uniformly from , and then choose uniformly from . Output .
  2. Choose uniformly from , and then choose uniformly from . Output .

I couldn't find any explanation why is it guaranteed to have this statistical difference. Can someone please explain it to me?
Thanks a lot! — Preceding unsigned comment added by 109.186.49.82 (talk) 21:41, 8 May 2016 (UTC)[reply]

Rotation[edit]

I have a 2-sphere and I want to define 2 rectangular areas on it. They are "spherical rectangles" with borders that are some meridians and parallels. Sorry for not using Greek letters all the way through-they refused to take subscripts, superscripts. Let angle θ <t> be the inclination (polar) angle, and angle φ <f> the azimuthal angle. I will use Greek and Latin letters interchangeably. I need three angles t: and two angles f: It is clear they define two contiguous (adjacent) spherical rectangles. The rectangles touch each other on parallel. A function f(θ,φ) is defined on the area that is the sum of both rectangles. The portions of the function f(θ,φ) on both rectangles are different. Let (θ,φ) be the portion of the function f(θ,φ) on one rectangle and (θ,φ) the corresponding portion on the other rectangle. A basis of fully normalized Spherical Functions

(1)

is defined on the whole 2-sphere but I will consider only the portion that is covered by the above two rectangles. Each function (θ,φ), (θ,φ) and (θ,φ) will be expressed as

(2)

(3)

and

(4)

I then fix one particular index which defines a subspace in the functional Hilbert space and compute these expressions (asterisk marks complex conjugate):

(5)

(6)

(7)

It is very important for me to know if additivity is preserved and

(8)

Thank you. --AboutFace 22 (talk) 22:54, 8 May 2016 :(UTC)

In order to expand your function into spherical harmonics you need to know it on the whole sphere. Ruslik_Zero 03:10, 9 May 2016 (UTC)[reply]

NO, I don't need to know if it is on the whole sphere. It is NOT on the whole sphere. It is a locally defined function and when the coefficients are computed integration has local limits. It can be assumed that the function is defined on the two rectangles but on the rest of the sphere the amplitude of the function is zero. --AboutFace 22 (talk) 12:25, 9 May 2016 (UTC)[reply]

I think Ruslik's point is valid, but you can get around this by assuming the function is 0 outside the domain you're interested in. Otherwise, while the expansion may exist, it won't be unique. As a simple example using Fourier series instead of spherical harmonics, you can expand the function f(x)=1 on the interval [0, π] as a sin series and get a square wave, or you can expand it as simply 1. If you are assuming 0 outside the two rectangles then yes, the expansions of the two separately will match what you get for their union. But the two functions you're talking about have to match on the common boundary, otherwise it the function f isn't defined on the whole rectangle. Presumably if the functions did not agree then the series would converge to the average of the two values, I know this is true at least for Fourier series. It should be noted that, unless your functions are 0 on the boundaries, convergence will be slow and not uniform, so the series may not be practical. --RDBury (talk) 18:29, 9 May 2016 (UTC)[reply]
Expansion in spherical Bessel functions would be more appropriate for domains of this kind. Alternatively, you can conformally map to the disk via a Schwarz-Christoffel map and take a Bessel expansion in the disk. Sławomir Biały (talk) 18:34, 9 May 2016 (UTC)[reply]

Thank you, @RDBury and @Sławomir Biały. Yes it is a physical situation, function is a well behaved function with no singularities anywhere and it is smooth and the two parts and match on their common boundary. It is possible that there is an "abrupt drop" at the outside boundary of the combination of two rectangles . I am sorry, I don't understand your (@RDBury) sentence "yes, the expansions of the two separately will match what you get for their union." I am sorry, I would appreciate if you confirm the expression (8). I am sorry about it. I need yes or no. Otherwise I feel your sentence is ambiguous.

I just meant to say additivity is preserved, since you're assuming the function 0 outside the given domains. Not sure about , but f1 and f2 are orthogonal so I would think so. --RDBury (talk) 22:36, 9 May 2016 (UTC)[reply]

@Sławomir Biały, Thank you for the suggestion about Bessel Functions. I have thought about it before but now I need what I posted about. --AboutFace 22 (talk) 21:56, 9 May 2016 (UTC)[reply]

@RDBury, thank you for the confirmation. --AboutFace 22 (talk) 22:48, 9 May 2016 (UTC)[reply]