A real-valued function of a real variable is a function f:D→R with D⊆R. The graph of f is the set of points (x,f(x)) in the Cartesian plane. Recognising the graphs of standard functions is a Class-XI skill that you will use every day for the next several years.
The catalogue
1. Constant function
f:R→R, f(x)=c. Graph: the horizontal line y=c. Domain R, range {c}.
2. Identity function
f:R→R, f(x)=x. Graph: the line y=x through the origin at 45∘. Domain R, range R.
3. Polynomial functions
f(x)=anxn+an−1xn−1+⋯+a1x+a0 with real coefficients. Domain R. Range depends on degree.
Linearf(x)=ax+b: a straight line.
Quadraticf(x)=ax2+bx+c: a parabola, opening up if a>0, down if a<0. Vertex at (−2ab,f(−2ab)).
Cubicf(x)=x3: passes through origin, increases everywhere, S-shape.
4. Rational functions
f(x)=q(x)p(x) where p,q are polynomials. Domain is {x∈R:q(x)=0}.
The simplest is the reciprocalf(x)=x1. Domain R∖{0}. Range R∖{0}. Graph: two branches (hyperbola), one in the first quadrant and one in the third.
5. Modulus (absolute value) function
∣x∣={x,−x,x≥0x<0
Domain R, range [0,∞). Graph: V-shape with vertex at origin; right side is y=x, left side is y=−x.
6. Signum function
sgn(x)=⎩⎨⎧1,0,−1,x>0x=0x<0
Domain R, range {−1,0,1}. Graph: three pieces; two horizontal half-lines y=1 and y=−1, plus a single dot at origin. Note: sgn(x)=x∣x∣ for x=0.
7. Greatest integer (floor) function
⌊x⌋=largest integer≤x.
Examples: ⌊2.7⌋=2, ⌊−2.3⌋=−3, ⌊5⌋=5. Domain R, range Z. Graph: a staircase of horizontal segments, each of length 1, with closed dot on the left and open dot on the right of each step.
8. Fractional part function
{x}=x−⌊x⌋. Domain R, range [0,1). Graph: a sawtooth with period 1.
9. Square root function
f(x)=x, domain [0,∞), range [0,∞). Graph: a curve starting at the origin, increasing slowly. Note: by convention x denotes the non-negative root.
10. Exponential, logarithmic, trigonometric
You will meet ex, logx, sinx, cosx etc. as soon as we get to Chapter 3. They obey the same vocabulary: domain, range, graph.
Properties to remember
Even function: f(−x)=f(x). Graph is symmetric about the y-axis. Examples: x2,∣x∣,cosx.
Odd function: f(−x)=−f(x). Graph is symmetric about the origin. Examples: x,x3,sinx,sgn(x), 1/x.
For real functions, f(x)=f(0)+(odd part)+(even part) , but a deeper development of this waits for Class XII.
Worked examples
Example 1. Sketch f(x)=∣x−1∣.
Shift the V-graph of ∣x∣ rightward by 1 unit. Vertex at (1,0). Right arm: y=x−1 for x≥1. Left arm: y=1−x for x<1.
Example 2. Find the domain and range of f(x)=x−2.
We need x−2≥0, so x≥2. Domain =[2,∞). The output x−2 ranges over [0,∞), so range =[0,∞).
Example 3. Evaluate ⌊−1.5⌋+⌊2.7⌋+⌊3⌋.
⌊−1.5⌋=−2 (the largest integer ≤−1.5 is −2, not −1). ⌊2.7⌋=2. ⌊3⌋=3. Sum =−2+2+3=3.
Example 4. Find the range of f(x)=x2−4x+7.
Complete the square: f(x)=(x−2)2+3≥3, with equality at x=2. Range =[3,∞).
Example 5 (harder). Sketch f(x)=sgn(x)⋅x2.
For x>0: f(x)=1⋅x2=x2 (the right half of a parabola). For x<0: f(x)=−x2 (the negative of x2 , a downward curve in the third/fourth quadrant; here in the third). For x=0: f(0)=0. The graph is an S-shaped curve through the origin, looking like x3 but flatter.
Note this function is odd: f(−x)=sgn(−x)(−x)2=−sgn(x)x2=−f(x).
Try it yourself
Sketch f(x)=∣x+2∣.
Find the domain and range of f(x)=x−31.
Compute ⌊5.9⌋,⌊−3.2⌋,⌊0⌋,⌊−0.5⌋.
Find the range of f(x)=−x2+4x+1 on R.
Sketch f(x)=sgn(x−1).
Find domain of f(x)=9−x2.
Is f(x)=x4−x2 even, odd, or neither?
Sketch the fractional part function {x} on [−2,3].
Find the range of f(x)=∣x∣x.
Compute f(g(x)) where f(x)=⌊x⌋ and g(x)=x+0.5.
Find domain of f(x)=x+3+5−x1.
Show that f(x)=sinx is odd and f(x)=cosx is even.
Pitfalls / Tricks
For negative real numbers, ⌊x⌋ rounds toward −∞. So ⌊−1.5⌋=−2, not −1. A common exam trap.
x always denotes the non-negative root. The equation x=y2 does not mean y=x in general.
For the reciprocal 1/x and modulus ∣x∣, never forget the special value at x=0.
Insight. Memorise the six core graphs , line, parabola, cubic, 1/x, ∣x∣, x. Most graphing questions reduce to shifting, scaling or reflecting one of these.