Function gallery: modulus, signum, greatest integer, reciprocal and more, with domain and range shaded, plus f + g, f − g, fg and f/g

See the standard real functions of Class 11 maths (identity, constant, polynomial, reciprocal, modulus, signum, greatest integer, square root, exponential, log) with the domain shaded on the x-axis and the range on the y-axis. Then build f + g, f − g, f × g and f ÷ g and find the domain of the result.

Keep it one tap away for everyday use.

Bookmark Function gallery?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Pick f
  2. Graph
  3. Domain
  4. Combine
Nothing is uploadedWorks offline once open
Mode

Try this

  • Pick Greatest integer and slide x from 2.9 to 3: the output jumps from 2 to 3. Now try x = −2.3: the answer is −3, not −2.
  • Pick Reciprocal: the green band on the x-axis has a gap at 0, because 1/0 means nothing.
  • Compare Square and Modulus: same range [0, ∞), different shapes.
  • In Combine, take f = x² and g = x − 1 and press f ÷ g: the domain loses x = 1, where g is zero.
  • Make f = √x and g = 1/x: f + g only lives where both do, for x > 0.

Check yourself

Fresh numbers every time. Type a number or a fraction such as 3/4; nothing is saved or sent.

    What it does

    A real function takes a real number x and gives back exactly one real number f(x). Two sets go with every function: its domain, the inputs it accepts, and its range, the outputs it actually gives. This page draws the functions you meet in Class 11 maths (relations and functions) and paints those two sets right on the graph:

    • the domain as a green band along the x-axis, with a hollow dot where a point is left out;
    • the range as an orange band along the y-axis.

    The gallery has the identity, a constant, the square and cube (polynomials), the reciprocal 1/x, the modulus |x|, the signum function, the greatest integer function [x], the square root, an exponential 2ˣ and the logarithm log₂ x. Slide x to read off f(x) at any point.

    The Combine f and g mode builds f + g, f − g, f × g and f ÷ g from two simple functions and works out the domain of the result: where both f and g are defined, and, for f ÷ g, also where g(x) is not zero.

    Before this, the relation checker shows when a relation is a function at all; afterwards, limit zoom zooms in on the jumps of [x] and signum, and the graphing calculator plots anything you can type.

    How to use it

    1. Gallery. Tap a function name. The graph, its rule, domain and range appear. Move the Slide x slider to see the point (x, f(x)) and its value in the box below the graph. Where the function is not defined (1/x at 0, √x for negatives), it says so.
    2. Combine f and g. Pick a type for f and for g (a x + b, a x² + b, a √x + b, a/x + b or a|x| + b) and type a and b. Then press f + g, f − g, f × g or f ÷ g. f is drawn dashed grey, g dotted orange, and the result in blue. For f ÷ g, red dashed lines mark where g(x) = 0, the x values the result cannot use.
    3. Check yourself gives fresh questions on [x], signum, domains and (f + g)(a), with the working.

    Reading the pictures

    • Steps and jumps. For [x] each step starts with a filled dot (that value is included) and ends with an open dot (that value belongs to the next step). Signum has open dots at (0, −1) and (0, 1) and a filled dot at the origin, because signum(0) = 0.
    • Single values in the range. The constant function has range {3}, a single dot on the y-axis; signum has three dots; [x] has a dot at every integer.
    • Open ends. 1/x never takes the value 0, so its range band has a hole at 0; 2ˣ is always positive, so its band starts just above 0.

    Worked example

    Open Combine f and g with the starting values f(x) = x² and g(x) = x − 1, and press f ÷ g. The title reads (f ÷ g)(x) = (x²) / (x − 1). A red dashed line stands at x = 1, and the domain box says R − {1}: both functions are defined for every real x, but g(1) = 0. With the slider at x = 1.5, f(1.5) = 2.25 and g(1.5) = 0.5, so (f ÷ g)(1.5) = 2.25 ÷ 0.5 = 4.5, and the page shows exactly that line. Change g’s type to a √x + b with a = 1, b = 0: now the domain is (0, ∞), because √x needs x ≥ 0 and x = 0 makes g zero.

    Tips

    • is the greatest integer not more than x, so for negative numbers it moves away from zero: [−2.3] = −3.
    • A function is many-one when two inputs share an output (x² at 2 and −2), and one-one when no two do (x³). The gallery is a quick way to see this: a horizontal line hits a one-one graph at most once.
    • Domain first, then range: the range of f ÷ g can be awkward to find, but the domain only needs “both defined” and “g not zero”.

    FAQ

    Why is signum(0) = 0 and not undefined? The rule |x|/x would divide by zero, so the definition simply sets signum(0) = 0 by hand. That is why the graph has a filled dot at the origin.

    Is this a function or a relation? Every graph here passes the vertical line test: each x gives at most one y, so they are all functions.

    Does it save anything? No. It runs in your browser and nothing is stored or sent. fibub is not part of NCERT; the topics follow the Class 11 syllabus, but the words and pictures are our own.

    Where the numbers come from

    • The standard real functions, their domains and ranges, and the algebra of real functions are standard school mathematics. Wording, pictures and examples are fibub's own; no textbook text, figures or exercises are used.
    • Checked against Python's math.floor and numpy.sign for the greatest integer and signum functions, and numpy.roots for the points left out of the domain of f/g.

    Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

    Last updated 2026-11-09.

    Change log for Function gallery

    1. Add #1369 Function gallery Details on GitHub

    Every change to fibub

    Related tools

    Graphing calculator #T369 Plot y = f(x), any equation in x and y, polar r(θ) and parametric (x(t), y(t)) curves together, with sliders, zoom, tap-to-trace, roots, turning points and crossings, plus 3D surfaces z = f(x, y). Download PNG, SVG or CSV. Runs in your browser. Limit zoom #L88 Zoom in on a function near a point and watch where it heads from the left and from the right, with tables of values closing in, the sector picture behind sin x / x → 1, and a Class 12 view that sorts each point as continuous, a hole, a jump, an infinite break or an endless wobble. Relation checker #L96 Tap a table or type pairs to build a relation on {1, ..., n}, see it as an arrow diagram, and check reflexive, symmetric, transitive and antisymmetric with a counterexample for every no. Find equivalence classes, closures, and whether the relation is a one-one, onto function. Inequality shader #L231 Type an inequality such as −2x + 5 ≥ 1 and see each step, the solution on a number line with open or filled dots, and its interval notation. Solve double inequalities, then shade up to three inequalities in x and y as half-planes and find where they overlap, with corner points and a tap-to-test point. Quadratic explorer #L68 Slide a, b and c and watch the parabola move: vertex, roots and the discriminant update live, completing the square is drawn with tiles, and the middle term is split for you. With fresh practice questions. Pythagoras proof playground #L69 Drag a right triangle and watch the squares on its sides add up. Slide through four visual proofs (rearrangement, Bhaskara, similar triangles, Baudhayana) with your own side lengths, and list Pythagorean triples.