How to use these solutions
These are detailed worked solutions to the Practice questions of the lesson Functions and Their Graphs. Try each question yourself before reading on, then compare your reasoning step by step. For domain and range questions especially, focus on why a value is allowed or excluded — that reasoning is what earns marks.
Question 1: Which relations are functions?
The problem
Which of these relations on are functions?
(a) ;
(b) ;
(c) .
Understanding the problem
Each relation is a set of ordered pairs whose first elements should come from the domain . You must decide, for each, whether it is a function on this set.
The idea
A relation is a function on when every element of appears as a first element exactly once. So check two things: (i) no element is missing; (ii) no element has two different images. It is fine for different elements to share the same image.
Step-by-step solution
Part (a)
Step 1. List the first elements: . Each appears once, and none is missing.
Step 2. All four share the image . That is allowed (like Example 1 in the lesson). So (a) is a function — in fact a constant function.
Part (b)
Step 1. List the first elements: . The element appears twice, with images and .
Step 2. An element with two images breaks the rule, so (b) is not a function.
Part (c)
Step 1. List the first elements: . The element never appears.
Step 2. Every element of the domain must have an image, so (c) is not a function on .
Checking the answer
Think of an arrow diagram from : in (a) exactly one arrow leaves each element; in (b) two arrows leave ; in (c) no arrow leaves .
Answer
(a) Yes; (b) no, because has two images; (c) no, because has no image.
Question 2: Evaluating a function
The problem
Let . Find , , and .
Understanding the problem
To evaluate at any input, replace every in the rule by that input. The last one has a letter, , as the input — the answer will be an expression in .
The idea
Direct substitution, using brackets around the input so that signs and squares are handled correctly.
Step-by-step solution
Step 1. :
Step 2. (the bracket matters: ):
Step 3. :
Step 4. :
Checking the answer
Put in : , which should equal . It does. Put : . It does.
Answer
, , , .
Common mistake to avoid
Writing instead of . Always bracket a negative input.
Question 3: Greatest integer and modulus values
The problem
Evaluate: ; ; ; .
Understanding the problem
is the greatest integer not exceeding — the integer at or immediately to the left of on the number line. is the distance of from .
The idea
Picture each number on the number line and move left to the nearest integer (or stay, if it already is an integer).
Step-by-step solution
Step 1. lies between and ; the greatest integer not exceeding it is . So .
Step 2. lies between and . The integer to its left is ( is bigger than , so it is not allowed). So .
Step 3. is already an integer, so .
Step 4. and , so
Checking the answer
In each case : ; ; . All hold.
Answer
; ; ; .
Common mistake to avoid
Answering by "dropping the decimal". For negative numbers the greatest integer is the next integer down.
Question 4: Finding domains
The problem
Find the domain of
(a) ; (b) ; (c) .
Understanding the problem
The domain of a real function given by a formula is the set of all real for which the formula gives a real number.
The idea
Two restrictions matter here: a denominator cannot be zero, and the expression under a square root cannot be negative.
Step-by-step solution
Part (a)
Step 1. Find where the denominator is zero.
Step 2. Every other real number works, so the domain is .
Part (b)
Step 1. Require the expression under the root to be non-negative.
Step 2. The domain is . (At the value is , which is allowed.)
Part (c)
Step 1. Check whether the denominator can be zero: would need , impossible for real , because so .
Step 2. No value is excluded; the domain is .
Checking the answer
Test in (b): , no real root — outside the domain, as expected. Test : is real — inside.
Answer
(a) ; (b) ; (c) .
Question 5: Finding ranges
The problem
Find the range of
(a) ; (b) ; (c) .
Understanding the problem
The range is the set of all output values the function actually takes as runs over its domain (here all of in each case).
The idea
Start from a basic fact — and , both taking every non-negative value — and build the function step by step, tracking what happens to the set of values.
Step-by-step solution
Part (a)
Step 1. takes every value in .
Step 2. Adding shifts every value up by : takes every value in . The smallest value occurs at .
Part (b)
Step 1. takes every value in (it is at and grows without bound).
Step 2. Subtracting shifts down by : the range is .
Part (c)
Step 1. takes every value in .
Step 2. Taking the reciprocal of a number gives . When (at ) we get ; as grows, gets close to but never reaches it.
Step 3. So the range is .
Checking the answer
For (c), gives , gives , gives : all in , and none is or negative.
Answer
(a) ; (b) ; (c) .
Common mistake to avoid
In (c), including in the range. A fraction with numerator is never .
Question 6: Algebra of functions
The problem
Let and . Find , and , and state the domain of .
Understanding the problem
These are the pointwise operations of the lesson: add, multiply or divide the two outputs at the same . For the quotient, the domain must exclude any where the denominator is zero.
The idea
, , for .
Step-by-step solution
Step 1. Sum:
Step 2. Product:
Step 3. Quotient:
Step 4. Domain of the quotient: exclude where , i.e. .
Checking the answer
At : , . Then and ✓; and ✓; and ✓.
Answer
; ; with domain .
Question 7: Sketching the modulus and greatest integer graphs
The problem
Sketch (a) and (b) for .
Understanding the problem
You must describe the shape precisely: key points, where the graph turns or jumps, and which endpoints are included.
The idea
(a) is the graph of moved units right, so it is a V with its corner at . (b) is constant between consecutive integers and jumps up by at each integer — a staircase.
Step-by-step solution
Part (a)
Step 1. Split by sign: for , ; for , .
Step 2. Make a small table.
Step 3. Draw: plot the vertex on the -axis. From it draw a straight ray of slope going up to the right (through , ) and a ray of slope going up to the left (through , — so it meets the -axis at ). The result is a V, symmetric about the line , never below the -axis.
Part (b)
Step 1. Work out on each unit interval.
| Interval | |||||
|---|---|---|---|---|---|
Step 2. Draw five horizontal segments, one for each interval, at heights .
Step 3. Mark the ends: each segment has a filled dot at its left end (the integer is included) and an open circle at its right end (the next integer is not included, because there the value jumps up). For example, the segment at height runs from a filled dot at to an open circle at . The graph looks like a staircase rising to the right.
Checking the answer
(a) At , — the lowest point. (b) and : these match the heights of the segments over those points.
Answer
(a) A V-shaped graph with vertex , arms of slope , meeting the -axis at . (b) A staircase of horizontal unit segments at heights , each closed at the left end and open at the right.
Question 8: A function on the integers
The problem
. Find and the value of for which .
Understanding the problem
The set notation says: each integer is paired with , so with domain the integers. For the second part the output is given and we must find the input — and it must be an integer.
The idea
Substitute for the first part; solve a linear equation for the second.
Step-by-step solution
Step 1. .
Step 2. Solve .
Step 3. is an integer, so it is in the domain.
Checking the answer
✓.
Answer
; when .
Question 9: Is y² = x a function of x?
The problem
Is the relation a function of on ? Give a reason.
Understanding the problem
For it to be a function of , each must correspond to exactly one .
The idea
Test one value of : if some gives two different 's, the relation is not a function. (Graphically this is the vertical line test.)
Step-by-step solution
Step 1. Take . Solve : or .
Step 2. So both and are in the relation — the input has two images.
Step 3. Graphically, is a parabola opening to the right; the vertical line meets it at two points, so it fails the vertical line test.
Checking the answer
Only has a single (); every has two. One failure is enough.
Answer
No. For example is paired with both and , so an input has two images.
Question 10: A taxi fare as a function
The problem
A taxi charges ₹ plus ₹ per km. Write the fare as a function of the distance travelled, and find the fare for km.
Understanding the problem
There is a fixed charge of ₹ whatever the distance, plus ₹ for each kilometre. Let be the distance in km and the fare in rupees.
The idea
Fare fixed part (rate distance). This is a linear function.
Step-by-step solution
Step 1. Build the rule.
Step 2. Substitute .
Checking the answer
For km the fare is ₹ (just the fixed charge) — sensible. Each extra km adds ₹, and .
Answer
rupees; the fare for km is ₹.