Prove or disprove the given statements

Assignment Help Computer Engineering
Reference no: EM132250208

Mathematical Expression and Reasoning for Computer Science Assignment -

Question 1 - Induction and sequences

Consider the following definition of a sequence of numbers:

1975_figure.png

For example, d0 = 1, d1 = 1, d2 = 2, d3 = 3/2, and d4 = 8/3. Our goal is to prove the following statement: "For all natural numbers n, dn > √n if and only if n is even."

Complete the following two proofs, which together will prove the above statement.

(a) Prove the following using induction: ∀n ∈ Z+, d2n-1 ≤ √(2n - 1).

Hints: in the induction step, write d2k+1 in terms of d2k-1 using the given definition of the sequence. Later as an intermediate step, use difference of squares: (2k - 1)(2k + 1) = 4k2 - 1.

(b) Prove the following (with or without using induction): ∀n ∈ N, d2n > √(2n).

You may use the statement you proved in part (a) in this part.

Question 2 - Number Representations

As you might suspect, it is possible to represent numbers in other ways besides decimal (base-10) and binary (base-2). One intriguing representation is balanced ternary.

In balanced ternary, numbers are represented as sequences of digits (dk-1dk-2 · · · d1d0)bt, where each digit di is T, 0, or 1, with "T" used to represent the value -1. The value of sequence (dk-1dk-2 · · · d1d0)bt is then simply i=0Σk-1di × 3i.

For example, (T01)bt represents the number (-1) × 32 + 0 × 31 + 1 × 30 = -9 + 1 = -8.

(a) (i) Write the decimal value of the balanced ternary number (T011T)bt.

(ii) Write the balanced ternary representation of the decimal number 210 that doesn't have any leading zeroes.

(b) Prove using induction that ∀n ∈ Z+, 6|3n - 3.

(c) Let x ∈ N and n ∈ Z+. We say that x is n-digit positively balanced if and only if it has a balanced ternary representation (dn-1dn-2 · · · d1d0)bt in which none of the digits are equal to T. For example, the decimal number 31 is 4-digit positively balanced, with the representation (1011)bt, and it also is 6-digit positively balanced, with the representation (001011)bt.

Prove, by induction, the following statement:

∀n ∈ Z+, ∀x ∈ N, (x is n-digit positively balanced) ⇒ 6 | x - 2 ∧ 6 | x - 5

You may use part (b) and the Quotient-Remainder Theorem (QRT) in this question.

Question 3 - Properties of Asymptotic Notation

Prove or disprove each of the following statements.

You may use the "max", ceiling, and floor functions in your solutions. However, you may not use any external facts of Big-Oh/Omega/Theta, and instead should only be using their definitions in your proofs.

The following definitions apply to part (d).

Definition 1 (non-decreasing). Let f : N → R≥0. We say that f is non-decreasing if and only if for all x, y ∈ N, if x ≤ y then f(x) ≤ f(y) (note that f(x) and f(y) can be equal).

Definition 2 (power of two). Let n ∈ N. We say that n is a power of two if and only if there exists a k ∈ N such that n = 2k.

Note - Need Only Question 3.

Attachment:- Assignment File.rar

Reference no: EM132250208

Questions Cloud

Discuss possible quality control issues with moocs in india : Discuss possible quality control issues with MOOCs in India. For each issue, explain how you would solve the problem.
Analyze the alignment between the given components : Analyze the alignment between these components, including areas of misalignment. Explain the level of alignment between these specific components.
Discuss the work required to conduct meaningful : Discuss the work required to conduct meaningful and accurate quantitative analysis in a dissertation.
Practice concept of accountable care organizations : Appalachian Medical is a multidisciplinary medical practice that has embraced the community-of-practice concept of Accountable Care Organizations (ACO).
Prove or disprove the given statements : CSC165H1: Mathematical Expression and Reasoning for Computer Science Assignment, University of Toronto, Canada. Prove or disprove the given statements
What is the longest amount of time a patron : What is the longest amount of time a patron can spend at the hot springs and still receive the discount? minutes. Mean= 69 SD=16
Determine the analysis technique for this project : Determine the analysis technique for this project and explain why. Determine the methodology for this project and explain why.
An atom in an excited state temporarily stores energy : If the lifetime of this excited state is measured to be 1.0×10-10s, what is the minimum uncertainty in the energy of the state in eV?
Specific measure of supply chain performance : Which of the following is NOT a specific measure of supply chain performance?

Reviews

len2250208

3/7/2019 1:32:23 AM

Please read the following instructions carefully before starting the problem set. They contain important information about general problem set expectations, problem set submission instructions, and reminders of course policies. Your problem sets are graded on both correctness and clarity of communication. Solutions that are technically correct but poorly written will not receive full marks. Please read over your solutions carefully before submitting them.

len2250208

3/7/2019 1:32:17 AM

Solutions must be typeset electronically, and submitted as a PDF with the correct filename. Hand-written submissions will receive a grade of ZERO. Problem sets must be submitted online through MarkUs. If you haven't used MarkUs before, give yourself plenty of time to figure it out, and ask for help if you need it! If you are working with a partner, you must form a group on MarkUs, and make one submission per group. \I didn't know how to use MarkUs" is not a valid excuse for submitting late work. Your submitted file(s) should not be larger than 9MB.

len2250208

3/7/2019 1:32:10 AM

You might exceed this limit if you use a word processor like Microsoft Word to create a PDF; if it does, you should look into PDF compression tools to make your PDF smaller, although please make sure that your PDF is still legible before submitting! Submissions must be made before the due date on MarkUs. You may use grace tokens to extend the deadline; please see the Homework page for details on using grace tokens. The work you submit must be that of your group; you may not use or copy from the work of other groups, or external sources like websites or textbooks.

len2250208

3/7/2019 1:32:04 AM

Additional instructions - When doing a proof by induction, always label the step(s) that use the induction hypothesis. You may not use forms of induction we have not covered in lecture. Please follow the same guidelines as Problem Set 2 for all proofs (although of course you may use induction on this problem set!).

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd