联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Python编程Python编程

日期:2019-01-31 10:49

Assignment 1 (40 points)

CS 610 Spring 2019

Instructor : Ravi Varadarajan

Due : Jan 30,2019 in class

Problem 1. (5 points) A relation ρ on a set A is circular if (x, y) ∈ ρ∧(y, z) ∈ρ = (z, x) ∈ ρ for x, y, z ∈ A. Prove that a reflexive, circular relation is an

equivalence relation.

Problem 2. (5 points) Consider the function f : R → R where f(x) = x2. Is

f injective ? Is it surjective ? Explain your answer.

Problem 3. (12 points) A relation ≤ on a set S is called ”partial-order” if it

is (i) reflexive, (ii) transitive and (iii) anti-symmetric i.e a, b ∈ S, a ≤ b ∧ b ≤a = a = b.

(a) Let P(A) be the power set (i.e. set of all subsets) of a set A. Consider the

subset relation on P(A). Show that it is a ”partial order”.

(b) Let ≤ be a partial order defined on a set S. Given X S, an element

y ∈ X is a least element of X if y ≤ x, ?x ∈ X. Show that a least element

of X if it exists must be unique.

(c) Let A = {1, 2, 3} and let X = {{1}, {1, 3}, {1, 2}}. Does the least element

of X exist for the partial order ? If it exists, what is it ?

(d) What is the least element of P(A) for partial order ?

Problem 4. (10 points) Given two functions f : N → R+ and g : N → R+, we

say that f(n) is o(g(n)) if for all real constants c > 0, ?n0 > 0 such that for all

n ≥ n0, f(n) ≤ cg(n).

(a) Prove that f(n) is o(g(n)) iff limn→∞f(n)g(n) = 0.

(b) Prove that ln2

(n) is o(√n).

Problem 5. (8 points) Suppose there are n circles which intersect each other

at exactly 2 points. Prove by induction that they create n

2n + 2 regions.


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp