Sponsored Links
-->

Tuesday, December 26, 2017

Rational Functions Word Problems - YouTube
src: i.ytimg.com

In computational complexity theory, a function problem is a computational problem where a single output (of a total function) is expected for every input, but the output is more complex than that of a decision problem. For function problems, the output is not simply 'yes' or 'no'.


Video Function problem



Formal definition

A functional problem P {\displaystyle P} is defined as a relation R ( x , y ) {\displaystyle R(x,y)} over strings of an arbitrary alphabet ? {\displaystyle \Sigma } :

R ? ? * × ? * {\displaystyle R\subset \Sigma ^{*}\times \Sigma ^{*}}

An algorithm solves P {\displaystyle P} if for every input x {\displaystyle x} such that there exists a y {\displaystyle y} satisfying ( x , y ) ? R {\displaystyle (x,y)\in R} , the algorithm produces one such y {\displaystyle y} .


Maps Function problem



Examples

A well-known function problem is given by the Functional Boolean Satisfiability Problem, FSAT for short. The problem, which is closely related to the SAT decision problem can be formulated as follows:

Given a boolean formula ? {\displaystyle \varphi } with variables x 1 , ... , x n {\displaystyle x_{1},\ldots ,x_{n}} , find an assignment x i -> { TRUE , FALSE } {\displaystyle x_{i}\rightarrow \{{\text{TRUE}},{\text{FALSE}}\}} such that ? {\displaystyle \varphi } evaluates to TRUE {\displaystyle {\text{TRUE}}} or decide that no such assignment exists.

In this case the relation R ( x , y ) {\displaystyle R(x,y)} is given by tuples of suitably encoded boolean formulas and satisfying assignments.

Other notable examples include the travelling salesman problem, which asks for the route taken by the salesman, and the integer factorization problem, which asks for the list of factors.


Video 7 Composition of Functions Word Problems BONUS Problem - YouTube
src: i.ytimg.com


Relationship to other complexity classes

Consider an arbitrary decision problem in the class NP. By definition each problem instance x {\displaystyle x} which are answered 'yes' have a certificate y {\displaystyle y} which serves as a proof for the 'yes' answer. Thus, the set of these tuples ( x , y ) {\displaystyle (x,y)} forms a relation. The complexity class derived from this transformation is denoted by F ( N P ) {\displaystyle \mathbf {F} (\mathbf {NP} )} or FNP for short. The mapping of the complexity class P is denoted by FP. The class FP is the set of function problems which can be solved by a deterministic Turing machine in polynomial time, whereas FNP is the set of function problems which can be solved by a non-deterministic Turing machine in polynomial time.


Topic - Solving a Word Problem Involving a Rational Function Using ...
src: i.ytimg.com


Self-reducibility

Observe that the problem FSAT introduced above can be solved using only polynomially many calls to a subroutine which decides the SAT problem: An algorithm can first ask whether the formula ? {\displaystyle \varphi } is satisfiable. After that the algorithm can fix variable x 1 {\displaystyle x_{1}} to TRUE and ask again. If the resulting formula is still satisfiable the algorithm keeps x 1 {\displaystyle x_{1}} fixed to TRUE and continues to fix x 2 {\displaystyle x_{2}} , otherwise it decides that x 1 {\displaystyle x_{1}} has to be FALSE and continues. Thus, FSAT is solvable in polynomial time using an oracle deciding SAT. In general, a problem in NP is called self-reducible if its function variant can be solved in polynomial time using an oracle deciding the original problem. Every NP-complete problem is self-reducible. It is conjectured that the integer factorization problem is not self-reducible.


Linear Function Word Problem - YouTube
src: i.ytimg.com


Reductions and complete problems

Function problems can be reduced much like decision problems: Given function problems ? R {\displaystyle \Pi _{R}} and ? S {\displaystyle \Pi _{S}} we say that ? R {\displaystyle \Pi _{R}} reduces to ? S {\displaystyle \Pi _{S}} if there exists polynomially-time computable functions f {\displaystyle f} and g {\displaystyle g} such that for all instances x {\displaystyle x} of R {\displaystyle R} and possible solutions y {\displaystyle y} of S {\displaystyle S} , it holds that

  • If x {\displaystyle x} has an R {\displaystyle R} -solution, then f ( x ) {\displaystyle f(x)} has an S {\displaystyle S} -solution.
  • ( f ( x ) , y ) ? S ? ( x , g ( x , y ) ) ? R . {\displaystyle (f(x),y)\in S\implies (x,g(x,y))\in R.}

It is therefore possible to define FNP-complete problems analogous to the NP-complete problem:

A problem ? R {\displaystyle \Pi _{R}} is FNP-complete if every problem in FNP can be reduced to ? R {\displaystyle \Pi _{R}} . The complexity class of FNP-complete problems is denoted by FNP-C or FNPC. It coincides with F ( N P ) {\displaystyle \mathbf {F} (\mathbf {NP} )} . Hence the problem FSAT is also an FNP-complete problem, and it holds that P = N P {\displaystyle \mathbf {P} =\mathbf {NP} } if and only if F P = F N P {\displaystyle \mathbf {FP} =\mathbf {FNP} } .


Write A Piecewise Function From A Word Problem - Lessons - Tes Teach
src: i.ytimg.com


Total function problems

The relation R ( x , y ) {\displaystyle R(x,y)} used to define function problems has the drawback of being incomplete: Not every input x {\displaystyle x} has a counterpart y {\displaystyle y} such that ( x , y ) ? R {\displaystyle (x,y)\in R} . Therefore the question of computability of proofs is not separated from the question of their existence. To overcome this problem it is convenient to consider the restriction of function problems to total relations yielding the class TFNP as a subclass of FNP. This class contains problems such as the computation of pure Nash equilibria in certain strategic games where a solution is guaranteed to exist. It has been shown that T F N P = F ( N P ? co-NP ) {\displaystyle \mathbf {TFNP} =\mathbf {F} (\mathbf {NP} \cap {\textbf {co-NP}})} . In addition, if TFNP contains any FNP-complete problem it follows that N P = co-NP {\displaystyle \mathbf {NP} ={\textbf {co-NP}}} .


Exercise 1 Suppose we have a simple mass, spring, and damper ...
src: slideplayer.com


See also

  • Decision problem
  • Search problem
  • Counting problem (complexity)
  • Optimization problem

Word Problems on Composition of Functions - YouTube
src: i.ytimg.com


References

Source of article : Wikipedia