Question

In: Advanced Math

Describe in detail the difference between computable and uncomputable functions?

Describe in detail the difference between computable and uncomputable functions?

Solutions

Expert Solution

Computable functions:-(decidable)

-->Computable function means there exists some algorithm that computes an answer (or output) to any instance of the problem (or for any input to the function) in a finite number of simple steps.

--->Ex:-the integer increment operation

                  f(x)=x+1

--->It should be intuitive that given any integer x, we can compute x+1 in a finite number of steps. since x is a finite,it may be represented by a finite string of digits. Using addition operation we can clearly compute another string of digits representing the integer equivalent to x+1.

Examples:-

1)Compute the greatest common divisor of a pair of integers.

2)computing the least common multiple of a pair o integers.

3)finding the shortest path between a pair of nodes in a finite graph.

-->Proving computability:-

To show that a function is computable by describing a procedure and proving that the procedure always terminates and always produces the correct answer. It is enough to provide a convincing argument that such a procedure exists finding the actual procedure is not necessary(but often helps to make the argument more convincing.

------------------------------------------------------------------------------------------------------------------------------------------

Uncomputable functions:-(uncomputable or undecidable)

-----> A non computable is a function for which there is no algorithm that can be used to solve it.

                                    (or)

---->means that there exists no algorithm that can compute an answer or output for all inputs in a finite number of simple steps.(undecidable simply means non-computable in the context of a decision problem,whose answer (or output) is either "true" or "false").

--->Example:-

Halting problem:- Given a description of turing machine and its initial input,determine whether the program,when executed on this input,ever halts(completes). The alternative is that it runs forever without halting.

The halting problem is about seeing if a machine will ever come to a halt when a certain input is given to it or if it will finish running. This input itself can be something that keeps calling itself forever which means that it will cause the program to run forever.

--->other example:-determining whether a computer program loops forever on some input.

-->proving uncomputability:-

To show that a problem is not computable,we need to show that no algorithm exists that solves the problem. Since there are an infinite number of possible procedures,we cannot just list all possible procedures and show why each one does not solve the problem. Instead,we need to construct an argument showing that if there were such an algorithm it would lead to a contradiction.


Related Solutions

describe the difference between periodic and perpetual inventory systems. Explain in detail
describe the difference between periodic and perpetual inventory systems. Explain in detail
What is the difference between motile and sessile growth of microorganisms? Describe in detail the steps...
What is the difference between motile and sessile growth of microorganisms? Describe in detail the steps in formation and structure of biofilms. Provide one example of a biofilm in nature that is beneficial. Provide one example of a biofilm in clinical environments that is harmful.   Briefly explain how microorganisms communicate in a biofilm?    What is a quorum? What does a quorum do for a potential biological effect? How can quorum sensing increase the disease causing ability of bacteria? How...
1.​Describe the difference between expansionary and contractionary Fiscal Policy. 2.​Describe 3 of the functions of the...
1.​Describe the difference between expansionary and contractionary Fiscal Policy. 2.​Describe 3 of the functions of the Federal Reserve System?
describe in detail the physiological functions of spinal cord
describe in detail the physiological functions of spinal cord
Explain in detail the difference between Documentary Letter of Credit and Documentary Collections. Also describe the...
Explain in detail the difference between Documentary Letter of Credit and Documentary Collections. Also describe the possible risks and where best used in International Trade.
Describe the functions of open and closed end funds and explain the key difference between them....
Describe the functions of open and closed end funds and explain the key difference between them. Which of the two represents the more attractive investment?
● The core of banking functions and success is their sources of funds. Describe in detail...
● The core of banking functions and success is their sources of funds. Describe in detail the various sources of bank funds (money), how they acquire these funds and who provides the funds. Similarly discuss the alternative sources of funds if a bank finds itself short of cash. Lastly, discuss why a bank might issue a bond. ● By most standards, Money Market accounts are a newer funding source for banks versus traditional savings and checking accounts. Discuss how Money...
Describe in detail the anatomy and how the brain functions in of the awareness of sensory...
Describe in detail the anatomy and how the brain functions in of the awareness of sensory input, the control of skeletal muscles, and memory.
Describe the difference between inpatient and outpatient facilities. Describe the difference between public, voluntary, and private...
Describe the difference between inpatient and outpatient facilities. Describe the difference between public, voluntary, and private hospitals. Find the hospital closest to your home, and define what type of hospital it is. Minimum 400 words please Intext citations and reference please Ref: An Introduction to Community Health. 8th ed. McKenzie, J.F., Pinger, R.P., Kotecki, J.E. Jones & Bartlett Learning. 2015   ISBN: 978-1284036596
Describe in detail the functions and interactions of these body systems as related to diabetes insipidus:...
Describe in detail the functions and interactions of these body systems as related to diabetes insipidus: (1) urinary system (2) endocrine system (3) nervous system (4) cardiovascular system
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT