Re: Searching for a function
- To: mathgroup at smc.vnet.net
- Subject: [mg70844] Re: Searching for a function
- From: David Bailey <dave at Remove_Thisdbailey.co.uk>
- Date: Sat, 28 Oct 2006 23:39:18 -0400 (EDT)
- References: <ehv8vp$g6f$1@smc.vnet.net>
Bonny Banerjee wrote:
> Is it possible for Mathematica to solve this problem:
>
> Given sets A and B, does there exist a function from A to B? If yes, what is
> the function?
>
>
> Here is an example:
>
> Let, A = {x such that 0<x<11 and Mod[x,2]==0}
>
> B = {y such that 0<y<11 and Mod[y+1,2]==0}
>
> Then, there exists a function from A to B
>
> y = x - 1
>
>
> Thus, is there a way to specify arbitrary sets A, B, and use Mathematica to
> figure out whether there exits a function from A to B or not?
>
> Thanks,
> Bonny.
>
>
Surely if the sets are finite lists of numbers there will always be such
a function - found by interpolation!
David Bailey
http://www.dbaileyconsultancy.co.uk