Algebra Examples

Find the Domain f(x)=x^2 if x<=0; 1/x if x>0
Step 1
Since the domain of is all real numbers, the domain of this piece of the function is its restriction, .
Step 2
Find the domain for .
Step 3
Compare the domain of with the restriction to see where this piece of the function is defined.
Step 4
Find the domain by taking the union of all of the intervals where the function is defined.
Step 5