Topics in this sectionIntroduction to Functions2 topics
- Functions and Variables
- Domain and Range
When we work with functions in mathematics, we need to know two important things: what numbers we are allowed to put into the function (the domain) and what numbers we get out of it (the range).
Think of a function like a machine in a market. The domain is like the raw materials you can feed into the machine — some things fit, some don't. The range is the final product you receive after the machine processes those materials.
The domain of a function is the complete set of all possible input values (usually represented by x) that will produce a valid output. The range is the complete set of all possible output values (usually represented by y or f(x)).
A function is well defined when every input in its domain gives exactly one output.
A function may not be defined for certain values of x. Two common reasons are:
Division by Zero
If a function contains a denominator (a number being divided by), we cannot use a value that makes that denominator equal to zero. Division by zero is not defined in mathematics.
For example, consider the function:
f(x)=x1
We cannot let x=0 because this would mean 01, which is undefined. Therefore, the domain of this function is all real numbers except zero.
We write this using notation as:
Domain=R∖{0}
This reads as "all real numbers excluding zero."
Square Root of Negative Numbers
In mathematics with real numbers, we cannot find the square root of a negative number. Therefore, any expression under a square root must be greater than or equal to zero.
For example, consider:
g(x)=x−2
For this function to be defined, we need x−2≥0, which means x≥2. So the domain is all real numbers greater than or equal to 2.
Problem: Find the domain and range of the function f(x)=x−13.
Solution:
- Identify values that make the function undefined. The denominator is x−1. Set it equal to zero: x−1=0, so x=1.
- The domain is all real numbers except 1: R∖{1}.
- For the range, note that as x gets very close to 1 (from either side), the value of f(x) becomes very large positive or very large negative — it never reaches zero.
- The range is all real numbers except 0: R∖{0}.
So:
- Domain: {x∈R:x=1}
- Range: {y∈R:y=0}
When finding the domain of a function, follow these steps:
- Look for denominators — set them equal to zero and solve for x. These x values are excluded.
- Look for square roots (or even roots) — ensure the expression inside is non-negative.
- Look for logarithms — ensure the argument is positive.
- Combine all excluded values. The domain is all real numbers minus these excluded values.
For a quadratic function like f(x)=x2, the domain is all real numbers (you can square any real number). However, the range is only positive numbers including zero. This is because:
- When you square any real number, the result is never negative
- x2=0 when x=0, so zero is included
- All positive real numbers can be obtained as x2 for some x
The range of f(x)=x2 is: {y∈R:y≥0} or R+ (non-negative reals).
In South Sudan, understanding domain and range is useful when calculating quantities for daily life. For example, if you are buying sorghum at a boma market and want to know how many 25-kilogram bags you can fill from a 200-kilogram pile, the function would be f(x)=x200 where x represents the bag size. If you try to use a bag size of 0 kg, the calculation 0200 is undefined — you cannot divide the sorghum among zero bags. The domain must exclude 0, showing why understanding excluded values matters even in market transactions and everyday planning.
Question
What is the domain of the function f(x)=x1?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet