SOLUTION: Consider the equation y=1 if x is rational 0 if x is irrational Answer the following What is the domain What is its range Is it even. odd, o

Algebra ->  Linear-equations -> SOLUTION: Consider the equation y=1 if x is rational 0 if x is irrational Answer the following What is the domain What is its range Is it even. odd, o      Log On


   



Question 1139600: Consider the equation y=1 if x is rational
0 if x is irrational
Answer the following

What is the domain
What is its range
Is it even. odd, or neither
Need each step explained in detail line by line step by step

Answer by rothauserc(4718) About Me  (Show Source):
You can put this solution on YOUR website!
The domain is all real numbers
:
The range is y=0, y=1
:
This is a discontinuous function, the graph would be just "dots" at either y = 0 or at y = 1.
:
This is an "even" function, because the negative of any positive rational would have a corresponding y value of 1 and the negative of any positive irrational would have a corresponding y value of 0. Thus, f(x) = f(-x).
:
The y intercept would be the "dot" at (0, 1) - because 0 is rational.
:
The "x" intercepts would just be the "dots" where the irrational numbers are located on the number line because "f(x)" would be 0 at those points.
: