Graphs of special functions
Open any Class 11 domain-range question and five shapes keep reappearing: a "V", a three-step staircase of heights, a curve that hugs an axis without touching it, its mirror twin, and a staircase that climbs forever. These are the modulus, signum, exponential, logarithmic, and greatest integer functions — not because the syllabus wants laborious point-plotting, but because recognising the shape on sight is the fastest route to reading off domain and range. Once you know that never dips below zero, or that has no graph left of the -axis, half the algebra in a domain-range problem evaporates before you write a single line. This article sketches each shape and proves the one structural fact — that and are mirror images — tying two of the five functions together.
Each special function has one unmistakable shape — V, three-step, one-sided-asymptotic curve, its mirror, or a rising staircase — and that shape alone hands you the domain and range without any computation.
The core idea
Modulus (absolute value) function. , defined as for and for , graphs as a symmetric "V" with its vertex at the origin. It never goes negative, so:
where: the two straight arms have slopes (right of the vertex) and (left of it), meeting at a sharp corner rather than a smooth turn.
Signum function. This one is piecewise-constant, not piecewise-linear:
where: the graph is three horizontal pieces — a ray at height for , the single point , and a ray at height for — with open circles at and marking that those heights are not attained at . Domain , range .
Exponential function. with , , always positive since a positive base raised to any real power stays positive. It passes through (because ), and for it rises steeply as increases while flattening toward the -axis as — the -axis is a horizontal asymptote, a line the curve approaches but never touches. Domain , range .
Logarithmic function. , the inverse of , passes through (because ) and exists only for ; as it plunges toward , making the -axis a vertical asymptote. Domain , range — exactly the domain and range of with the two swapped, which is the fingerprint of an inverse pair.
Greatest integer function. (also ) takes the largest integer not exceeding . On every interval for integer , the value sits constant at : a horizontal segment with a filled dot at its left end and an open circle at its right end , then the graph jumps up by exactly at the next integer. Domain , range (all integers).
The core idea (continued)
Two structural relationships are worth internalising rather than memorising separately. First, and are both "corner" functions — piecewise, non-smooth — while and are smooth curves. Second, and are not two unrelated shapes; they are the same curve seen from opposite directions, which is exactly what the next section proves.
The goal is to show, using nothing beyond the definition of a logarithm and the definition of a reflection, that is always obtainable from by swapping the two axes — reflecting every point on one curve to on the other, which is precisely reflection in the line ; this single fact is why the two curves' domains and ranges swap exactly, and why memorising one shape gives you the second for free.
Step 1. Start from the defining relationship between an exponential and a logarithm: means exactly the same thing as , by the definition of . So every point that lies on the graph of satisfies .
Step 2. Rename the coordinates to compare with the exponential graph. The equation says: take the point — first coordinate , second coordinate — and it lies on the graph of (writing , ), because that graph is exactly the set of points where the second coordinate equals the base raised to the power of the first coordinate.
Step 3. Compare the two points. The point lies on , and the point — its coordinates swapped — lies on . Swapping the coordinates of a point is precisely the geometric operation of reflecting it in the line (the line where the two axes are interchangeable).
Step 4. Conclude. Since every point on one graph corresponds, by a coordinate swap, to a point on the other graph, the whole curve is the mirror image of in the line . This also explains, without any further work, why on maps to on , why the horizontal asymptote of becomes the vertical asymptote of , and why domain and range trade places between the two functions.
Worked example
Problem. Sketch for , state its range over this interval, and then use the reflection idea to write down the range of for without a separate calculation.
Step 1. is the standard "V" shifted down by : the vertex moves from to , and the two arms keep slopes .
Step 2. Tabulate: , , , , , , . Plotting these seven points gives two straight segments meeting at , running from down to the vertex and back up to .
Step 3. The lowest point on this restricted domain is the vertex, , and the highest points shown are the two ends, both equal to . So over ,
Step 4. Now use the mirror-image fact from the derivation. is the reflection of in , so instead of computing logs directly we can reflect the exponential facts we already know: and . Reflecting the points and on swaps coordinates to give and on . Since increases steadily as increases (it is the mirror of an increasing curve), the range over runs between these two values:
Competitive stretch
For on : at , and , so ; at , and , so . Combining a staircase with a "V" gives a graph that is neither purely stepped nor purely linear — evaluate the two pieces separately before adding.
Common traps
- Swapping which end of a greatest-integer step is open and which is closed: the left end (at the integer itself) is always closed (included), the right end is always open (excluded), since rounds down.
- Marking signum's graph with a solid dot at or — the only point actually on the graph at is ; the rays approach but exclude those heights.
- Forgetting has no graph for — there is no reflection into the left half-plane, unlike or which are defined for all real .
- Getting the asymptote direction of backwards: for the curve hugs the -axis as , not as , where it instead grows without bound.
Ask the tutor: Want a quick-fire round where you're shown a bare shape and have to name the function and its domain and range on sight?
Why does the modulus function have a sharp corner instead of a smooth curve at the origin?
Because it is defined by two different straight-line rules that are stitched together: for and for . These two lines have different slopes, and , and they only agree in value at (both give ), not in direction. Wherever two line segments of different slope meet at a shared point, the graph has a sharp corner rather than a smooth turn — there is no single well-defined slope right at .
Is the greatest integer function the same as simply rounding a number?
No — rounding can go up or down depending on which half of the interval a number sits in, but always rounds down (toward ), regardless of how close is to the next integer. For example, , not , and for negative numbers this trips people up most: , not , because is the greatest integer that does not exceed . Always ask "which integer is at or just below this number on the number line," not "which integer is nearest."
Do I need to memorise separate shapes for a to the x and log base a of x, or is there a shortcut?
You only need to memorise one shape well — the exponential curve through — and the reflection fact from this article's derivation gives you the logarithmic curve for free: swap the coordinates of every key point. The point on becomes on ; the horizontal asymptote becomes the vertical asymptote ; and "domain all reals, range positive reals" flips to "domain positive reals, range all reals." Learning the swap is far more reliable under exam pressure than memorising two shapes independently.