Recent content by DevNeil

  1. D

    How to define a function involving strings?

    Ohh... I am thinking of a function that was mathematically defined. So another question, is this an acceptable definition of a function? I am having a hard time defining it. Thanks for your time :)
  2. D

    Determine Reflexive, Transitive, Symmetric of R Relation

    Homework Statement Determine if the following relation is reflexive, transitive, symmetric or anti-symmetric. (A,B) element of R(relation) if for every epsilon > 0, there exists a element of A and b element of B with |a-b| < epsilon. Homework Equations The Attempt at a Solution I already...
  3. D

    How to define a function involving strings?

    You need to state if it's injective(1to1) or surjective(onto) or bijective(injective && surjective). I can say that this is not one-to-one (injective) because as counterexample f(aabb) = aab , f(aaba)= aab, same result but different alpha. Can you also tell me how to define the function...
  4. D

    How to define a function involving strings?

    Homework Statement We have a problem set on my Discrete Mathematics class: Let X be the set of strings over {a,b} of length 4 and let Y be the set of the strings over {a,b} of length 3. Define function f from X to Y by the rule: f(alpha) = string consisting of the first three...
Back
Top