Finding the Domain of a Function, Algebraically - Expii

How can values not be in the domain? Values not included in domain are values that will "break" the function. For example, values that would put negative numbers in square roots or a 0 in a denominator would not be included in a function's domain.