Let us begin by defining a rational and irrational function
A rational number is a number that is expressed as the ratio of two integers, where the denominator should not be equal to zero.
An irrational number cannot be expressed in the form of fractions.
Applying the definitions, we have the solutions: