Graphs of elementary functions
A function's formula tells you what it does; its graph tells you what it looks like — and once you can see it, the domain and range fall out almost for free. This section covers the graphs of the simplest functions on the ISC Class 11 list: constant, identity, polynomial, and rational functions. Each shape has a signature — a flat line, a line, a smooth curve with no gaps, or two separated branches hugging invisible walls called asymptotes. The habit worth building here is the same for every graph: find where the curve crosses each axis, find any value of it cannot take, and track what happens as runs off to and . Those three checks, applied consistently, let you sketch a confident graph and read off domain and range without plotting dozens of points. (Modulus, signum, exponential, logarithmic, and greatest-integer graphs — with their own quirks — belong to the companion node "Graphs of special functions.")
A function's domain is the set of -values its graph actually reaches, its range is the set of -values it actually attains, and both are read directly off the sketch once you know the shape a constant, identity, polynomial, or rational function produces.
The core idea
Constant function. For , every input gives the same output, so the graph is a horizontal line sitting at height . There is no restriction on which you can plug in, so the domain is all of , but only one -value ever comes out, so the range is the single-point set .
Identity function. For , the output always equals the input, so the graph is the straight line through the origin tilted at exactly . Here both domain and range are the whole of — nothing is excluded on either axis.
Polynomial functions. A polynomial only ever adds, subtracts, and multiplies its input — operations that never fail for any real number — so its domain is always , regardless of degree. The shape of the graph, though, depends heavily on the degree: A linear function draws a straight line of slope ; its range is unless , which reduces it to the constant case above. A quadratic function draws a parabola, opening upward when and downward when . Its turning point, the vertex, sits at
where: and are the quadratic's leading and linear coefficients. Substituting this back into gives the vertex's -coordinate, which is the minimum of the range if or the maximum if — this single point fixes the range of the entire parabola. Higher-degree polynomials produce smooth, unbroken curves with up to turning points, but at Class 11 level the expectation is only to confirm the domain is and to read the range qualitatively from the sketch's overall shape.
Rational functions. A rational function is a ratio of two polynomials, and division breaks down wherever the denominator is zero — so the domain excludes every root of . The simplest case, , has domain ; its graph is a hyperbola sitting in the first and third quadrants, curving in toward both axes but never touching them. Those two lines the curve approaches but never reaches — here and — are called asymptotes, and its range is for the same reason: the equation has no solution.
Every quadratic can be forced into a form that exposes its vertex directly, and doing so once shows exactly why the formula works rather than asking you to memorise it — the goal of this derivation is to complete the square on the general quadratic and confirm that the resulting vertex coordinates match the standard formula used throughout this section.
Step 1. Factor out of the first two terms: .
Step 2. Complete the square inside the bracket. Half of is , and its square is , so add and subtract it:
Step 3. The first three terms inside the bracket form a perfect square, . Distributing the outer across the subtracted term gives
Step 4. This is now vertex form. Since a square is never negative, the term is zero exactly when , and that is the single -value where takes its smallest value (if ) or largest value (if ) — confirming the vertex sits at , with -coordinate , matching the formula used to sketch every parabola in this section.
Worked example
Problem. Sketch and , and state the domain and range of each. (This reuses the two functions from the Pass-1 article, now solved back to back to compare a polynomial and a rational function directly.)
Step 1. For : since , the parabola opens upward. Its vertex is at , and , so the vertex is .
Step 2. Factor to find the -intercepts: , giving roots and ; the -intercept is . Plotting the vertex and these three points and drawing the symmetric upward curve through them gives the sketch.
Step 3. Since is a polynomial, its domain is ; since the vertex is the lowest point on an upward parabola, every is attained, so .
Step 4. For : the denominator is zero at , so , and is a vertical asymptote. As , , so is a horizontal asymptote — and since has no solution, .
Step 5. Plotting a few guide points — , , , — shows two separate branches, one for and one for , each hugging the asymptotes without touching them.
Final answer. : domain , range , vertex . : domain , range , asymptotes and .
Competitive stretch
For , the same reasoning gives domain (denominator zero at ) and, since can never be reached (it would need ), range — the vertical asymptote shifts to and the horizontal asymptote shifts to , exactly tracking the shift added to .
Common traps
- Assuming a polynomial has some domain restriction — it never does; domain holds for every polynomial regardless of degree.
- Sketching a parabola opening the wrong way — always read the sign of first: positive means upward, negative means downward.
- Drawing a rational function's two branches as one continuous curve across the vertical asymptote — the branches on either side never connect.
- Reading a parabola's range off the -intercept instead of the vertex — only the vertex's -value bounds the range.
Ask the tutor: Give me a fresh quadratic or rational function to sketch and check my vertex and asymptotes.
Why does a polynomial never have a restricted domain, while a rational function often does?
A polynomial only ever adds, subtracts, and multiplies powers of by fixed numbers — none of those operations can fail for any real input, so you can always evaluate it. A rational function additionally divides by another polynomial, and division breaks down whenever that denominator equals zero, so those specific -values must be excluded from the domain.
How do I tell the range of a parabola without plotting lots of points?
Find the vertex using , then substitute it back to get the vertex's -value. If the parabola opens upward (), that -value is the smallest output the function ever produces, so the range is everything from there upward, written . If it opens downward, flip the inequality: the range is .
Why do the two branches of y = 1/x never touch the axes?
Touching the -axis would mean for some , and no real number satisfies that equation, so the curve can approach arbitrarily closely but never actually land on it. Similarly is excluded from the domain outright, so the curve can never cross that vertical line either — it can only approach it as grows without bound. Both axes are asymptotes precisely because the function gets arbitrarily close without ever reaching them.