PYQ Vault

NDA Maths · Functions

Domain, Range, and the Standard Properties

Find where a function is allowed to live (domain), what values it produces (range), and whether it is even, odd, or periodic.

Why this matters

The biggest slice of the chapter — 48 PYQs, and most are EASY or MODERATE. The recurring asks are narrow and learnable: domain from square-roots / denominators / logs, range of a bounded rational or quadratic-on-an-interval, even-vs-odd, and period. A few standard functions (modulus, reciprocal, sign, exponential) show up again and again. Drill these and you bank the chapter's easy marks.

Test yourself — a quick 16-question Functions recall quiz, instant score.

Concept 1 of 7: Reading domain and range from a graph

On a graph, the domain is the shadow the curve casts on the x-axis (how far left–right it extends) and the range is its shadow on the y-axis (how far up–down). Sweep across, then sweep up.

Definition

Domain == set of xx-values the graph covers; range == set of yy-values it reaches. A filled dot / solid edge includes the endpoint (closed); an open dot / asymptote excludes it (open). Reading them off a sketch is often faster than algebra for standard curves.

xy−222Domain [−2, 2] (x-shadow) · Range [0, 2] (y-shadow)

Worked example

The graph of ff is the upper semicircle of radius 2 centred at the origin. Domain and range?
Practice this concept4 quick reps

Concept 2 of 7: Finding the domain (roots, denominators, logs)

The domain is everything you are allowed to feed in. Three rules cover almost every NDA question: don't divide by zero, don't take an even root of a negative, and only take logs of positives. Apply each restriction and intersect.

Definition

  • Even root g(x)even\sqrt[\text{even}]{g(x)}: need g(x)≥0g(x)\ge 0.
  • Denominator: need denominator ≠0\neq 0.
  • Logarithm log⁡g(x)\log g(x): need g(x)>0g(x)>0; base must be >0,≠1>0,\neq1.

When several appear, the domain is the intersection of all the individual conditions.

Worked example

Find the domain of f(x)=15−xf(x)=\dfrac{1}{\sqrt{5-x}}.
Practice this conceptself-check

The same idea in a real exam question:

NDA · Apr 2019 · Q80Moderate

Example 2 · Functions · Domain, Range, and Function Properties

The domain of the function f(x)=(2−x)(x−3)f(x)=\sqrt{(2-x)(x-3)} is

≥ 0 under a plain root, but > 0 when the root is a denominator

A root by itself allows equality (g\sqrt{g} needs g≥0g\ge0). The moment that root is in a denominator — e.g. 1∣x∣−x\dfrac{1}{\sqrt{|x|-x}} — the value 0 is banned too, so you need the strict inequality g>0g>0. Missing this flips a closed bracket to an open one and loses the mark.

Concept 3 of 7: Finding the range

The range is the set of outputs. For bounded rationals, solve for xx in terms of yy and ask which yy keep xx real; for a quadratic on an interval, use the vertex and endpoints; for sine/cosine combinations, bound the amplitude.

Definition

Common techniques:

  • Solve for xx: rearrange y=f(x)y=f(x) to x=…x=\dots; the range is the yy for which xx is real/in-domain.
  • Quadratic on an interval: check the vertex and the endpoints; mind whether endpoints are included.
  • asin⁡x+bcos⁡x+ca\sin x+b\cos x+c lies in [c−a2+b2, c+a2+b2][c-\sqrt{a^2+b^2},\,c+\sqrt{a^2+b^2}].
  • AM–GM for a reciprocal pair: t+1t≥2t+\dfrac1t\ge2 for t>0t>0 (and ≤−2\le-2 for t<0t<0), so e.g. x2+1x\dfrac{x^2+1}{x} never lands in (−2,2)(-2,2), and xx2+1∈[−12,12]\dfrac{x}{x^2+1}\in\left[-\tfrac12,\tfrac12\right].
  • Linear-fractional ax+bcx+d\dfrac{ax+b}{cx+d} takes every real value EXCEPT ac\dfrac ac (the horizontal asymptote) — the one value a "which is not in the range?" option list is fishing for.
  • A trig substitution for a cubic pattern: on [−1,1][-1,1], x=sin⁡θx=\sin\theta turns x(4x2−3)=4sin⁡3θ−3sin⁡θ=−sin⁡3θx(4x^2-3)=4\sin^3\theta-3\sin\theta=-\sin3\theta, and x=cos⁡θx=\cos\theta turns 4x3−3x4x^3-3x into cos⁡3θ\cos3\theta — so the range is [−1,1][-1,1] immediately.

Worked example

Find the range of f(x)=11+x2f(x)=\dfrac{1}{1+x^2}, x∈Rx\in\mathbb{R}.
Practice this conceptself-check

The same idea in a real exam question:

NDA · Apr 2018 · Q72Moderate

Example 3 · Functions · Domain, Range, and Function Properties

For f(x)=x21+x2f(x)=\frac{x^2}{1+x^2}, what is the range?

Range is not the codomain

If a question declares f:R→Rf:\mathbb{R}\to\mathbb{R} but the outputs only fill [0,1)[0,1), the range is [0,1)[0,1) — not R\mathbb{R}. 'Onto' questions are really 'shrink the codomain to the range' questions.

Concept 4 of 7: Even and odd functions

An even function is mirror-symmetric about the y-axis (f(−x)=f(x)f(-x)=f(x)); an odd function has half-turn symmetry about the origin (f(−x)=−f(x)f(-x)=-f(x)). Most functions are neither — only special ones qualify.

Definition

  • Even: f(−x)=f(x)f(-x)=f(x) for all xx (e.g. x2, cos⁡x, ∣x∣x^2,\ \cos x,\ |x|).
  • Odd: f(−x)=−f(x)f(-x)=-f(x) for all xx (e.g. x3, sin⁡x, xx^3,\ \sin x,\ x). An odd function defined at 0 has f(0)=0f(0)=0.
  • Test by computing f(−x)f(-x) and comparing. If it matches neither, the function is neither.
  • The rationalisation that recurs: (x+1+x2)(−x+1+x2)=1\big(x+\sqrt{1+x^2}\big)\big(-x+\sqrt{1+x^2}\big)=1, so ln⁡ ⁣(−x+1+x2)=−ln⁡ ⁣(x+1+x2)\ln\!\big(-x+\sqrt{1+x^2}\big)=-\ln\!\big(x+\sqrt{1+x^2}\big): the function ln⁡ ⁣(x+1+x2)\ln\!\big(x+\sqrt{1+x^2}\big) (which is sinh⁡−1x\sinh^{-1}x) is odd. The same trick shows log⁡1−x1+x\log\dfrac{1-x}{1+x} is odd and ax−1ax+1\dfrac{a^x-1}{a^x+1} is odd, while x⋅ax−1ax+1x\cdot\dfrac{a^x-1}{a^x+1} is even.

Even and odd tests

f even  ⟺  f(−x)=f(x)f odd  ⟺  f(−x)=−f(x)f\text{ even}\iff f(-x)=f(x)\qquad f\text{ odd}\iff f(-x)=-f(x)
Even: f(−x)=f(x)mirror across y-axisOdd: f(−x)=−f(x)half-turn about origin

Worked example

Classify f(x)=x3−xf(x)=x^3-x as even, odd, or neither.
Practice this conceptself-check

The same idea in a real exam question:

NDA · Sep 2022 · Q83Moderate

Example 4 · Functions · Domain, Range, and Function Properties

If f(x)=ln⁡(x+1+x2)f(x) = \ln(x+\sqrt{1+x^2}), then which one of the following is correct?

f(0)=0f(0)=0 is necessary for odd, not sufficient

Many odd functions pass through the origin, but passing through the origin does not make a function odd — you must verify f(−x)=−f(x)f(-x)=-f(x) for all xx. And a sum like even + odd is usually neither.

Concept 5 of 7: Periodic functions and their period

A periodic function repeats: its graph is one tile copied endlessly. The period is the width of the smallest tile. For combinations you scale the base period, then take the LCM.

Definition

ff is periodic with period T>0T>0 if f(x+T)=f(x)f(x+T)=f(x) for all xx; the smallest such TT is the period.

  • sin⁡x,cos⁡x\sin x,\cos x: period 2π2\pi; tan⁡x\tan x: period π\pi.
  • sin⁡(kx)\sin(kx) has period 2π∣k∣\tfrac{2\pi}{|k|}; sin⁡2x\sin^2 x has period π\pi.
  • Period of a sum is the LCM of the individual periods.

Period after scaling the argument

period of sin⁡(kx)=2π∣k∣period of tan⁡(kx)=π∣k∣period of f(ax+b)=T∣a∣\text{period of }\sin(kx)=\dfrac{2\pi}{|k|}\qquad \text{period of }\tan(kx)=\dfrac{\pi}{|k|}\qquad \text{period of }f(ax+b)=\dfrac{T}{|a|}

Worked example

Find the period of f(x)=cos⁡ ⁣(x2)f(x)=\cos\!\left(\dfrac{x}{2}\right).
Practice this conceptself-check

The same idea in a real exam question:

NDA · Sep 2021 · Q23Easy

Example 5 · Functions · Domain, Range, and Function Properties

What is the period of the function f(x)=ln⁡(2+sin⁡2x)f(x)=\ln(2+\sin^{2}x)?

Concept 6 of 7: The modulus function and distance

∣x∣|x| measures distance from 0, so it is never negative and its V-shaped graph bounces off the x-axis at the origin. Sums of moduli like ∣x−a∣+∣x−b∣|x-a|+|x-b| read as total distance to two points — minimised anywhere between them.

Definition

∣x∣=x|x|=x for x≥0x\ge0 and −x-x for x<0x<0; it is even, with range [0,∞)[0,\infty).

  • x+∣x∣=0x+|x|=0 for x<0x<0 and 2x2x for x≥0x\ge0 — range [0,∞)[0,\infty).
  • ∣x−a∣+∣x−b∣|x-a|+|x-b| (with a<ba<b) has minimum value b−ab-a, attained for all x∈[a,b]x\in[a,b].

Worked example

Find the minimum value of f(x)=∣x−1∣+∣x−5∣f(x)=|x-1|+|x-5|.

The same idea in a real exam question:

NDA · Apr 2023 · Q97Easy

Example 6 · Functions · Domain, Range, and Function Properties

What is the range of the function f(x)=x+∣x∣f(x)=x+|x| if the domain is the set of real numbers?

∣x∣|x| is even, never odd

∣−x∣=∣x∣|-x|=|x|, so the modulus is even. Combinations like ∣x∣−x3|x|-x^3 mix an even and an odd part and end up neither. Also: x2=∣x∣\sqrt{x^2}=|x|, not xx — a common sign slip.

Concept 7 of 7: Standard functions and their graphs

A handful of standard shapes recur: the reciprocal 1/x1/x (two branches, asymptotes), the sign function x/∣x∣x/|x| (a step of ±1\pm1), and the exponential axa^x (domain all reals, positive output). Knowing each one's domain, range and asymptotes answers most graph questions on sight.

Definition

  • Reciprocal 1x−a\dfrac{1}{x-a}: domain x≠ax\neq a, range y≠0y\neq0; vertical asymptote x=ax=a, horizontal y=0y=0.
  • Sign x∣x∣\dfrac{x}{|x|}: equals +1+1 for x>0x>0, −1-1 for x<0x<0; undefined at 0.
  • Exponential ax (a>0)a^x\,(a>0): domain R\mathbb{R}, range (0,∞)(0,\infty), continuous and differentiable everywhere.

Worked example

State the domain, range and asymptotes of f(x)=1x+2f(x)=\dfrac{1}{x+2}.
Practice this concept4 quick reps

The same idea in a real exam question:

NDA · Apr 2020 · Q98Moderate

Example 7 · Functions · Domain, Range, and Function Properties

Which one of the following is correct in respect of the graph of y=1x−1y=\frac{1}{x-1}?

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (2)

  • Even and odd functions

    Even and odd tests

    f even  ⟺  f(−x)=f(x)f odd  ⟺  f(−x)=−f(x)f\text{ even}\iff f(-x)=f(x)\qquad f\text{ odd}\iff f(-x)=-f(x)
  • Periodic functions and their period

    Period after scaling the argument

    period of sin⁡(kx)=2π∣k∣period of tan⁡(kx)=π∣k∣period of f(ax+b)=T∣a∣\text{period of }\sin(kx)=\dfrac{2\pi}{|k|}\qquad \text{period of }\tan(kx)=\dfrac{\pi}{|k|}\qquad \text{period of }f(ax+b)=\dfrac{T}{|a|}

Watch out for (4)

Test yourself on Functions

20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.