PYQ Vault

NDA Mathematics · Formula sheet

Functions formulas

7 formulas and 14 common traps for NDA Mathematics Functions, grouped by subtopic.

Full notes with worked examples

What a Function Is, and How to Classify It

Learn this subtopic in the notes

Counting functions of a given type

Number of functions A → B

functions A→B=nminjections=nPm=n!(n−m)!bijections (m=n)=n!relations=2mn\text{functions }A\to B=n^{m}\qquad \text{injections}={}^{n}P_{m}=\dfrac{n!}{(n-m)!}\qquad \text{bijections }(m=n)=n!\qquad \text{relations}=2^{mn}

Common traps

Piecewise rules must agree at the boundary

A two-piece rule like f(x)=x2f(x)=x^2 on [0,4][0,4] and 3x3x on [4,8][4,8] is only a function if the pieces give the same value at the shared point x=4x=4 (here 16≠1216\neq12, so it is not well-defined). Always check the join before declaring it a function.

'Onto' is not absolute — it depends on the codomain

f:N→Nf:\mathbb{N}\to\mathbb{N}, f(x)=x+1f(x)=x+1 is one-one but not onto (nothing maps to 1). The same rule on Z→Z\mathbb{Z}\to\mathbb{Z} is onto. Read the declared domain and codomain before deciding.

A non-monotone function usually fails one-one (and often onto)

On a symmetric interval, an even-ish function doubles back: cos⁡(πx)\cos(\pi x) on (−1,1)(-1,1) hits its maximum at x=0x=0, so it is neither one-one nor onto (−1,1)(-1,1). Contrast x∣x∣x|x|, which is strictly increasing and is a bijection of (−1,1)(-1,1). Check monotonicity before declaring a bijection.

Domain, Range, and the Standard Properties

Learn this subtopic in the notes

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|}

Common traps

≥ 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.

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.

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.

∣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.

Composition and Inverse of Functions

Learn this subtopic in the notes

Composition of functions

Composition and its inverse

(f∘g)(x)=f(g(x))(f∘g)−1=g−1∘f−1(f\circ g)(x)=f(g(x))\qquad (f\circ g)^{-1}=g^{-1}\circ f^{-1}

When do two linear functions commute?

Commuting condition for linear f, g

f∘g=g∘f  ⟺  b(c−1)=d(a−1)  [f=ax+b, g=cx+d]f\circ g=g\circ f\iff b(c-1)=d(a-1)\ \ [f=ax+b,\ g=cx+d]

Inverse of a function

Inverse of a linear function

f(x)=ax+b (a≠0) ⇒ f−1(x)=x−baf(x)=ax+b\ (a\neq0)\ \Rightarrow\ f^{-1}(x)=\dfrac{x-b}{a}

Common traps

(fg)(fg) is a product, (f∘g)(f\circ g) is a composition

NDA writes the product as (fg)(x)=f(x)g(x)(fg)(x)=f(x)g(x) and the composition as (f∘g)(x)=f(g(x))(f\circ g)(x)=f(g(x)). They are completely different operations — read the symbol carefully before computing.

Work inside-out, and keep the order

(f∘g)(x)=f(g(x))(f\circ g)(x)=f(g(x)) means gg acts first. Students often apply ff first or read f∘gf\circ g as a product. For iterated composition, peel one layer at a time — don't try to do all of f∘f∘ff\circ f\circ f in one leap.

Inverse needs a bijection — and f−1≠1/ff^{-1}\neq1/f

Only one-one onto functions have an inverse; x2x^2 on R\mathbb{R} has none (not one-one). And f−1f^{-1} is the undo function, not the reciprocal — f−1(x)f^{-1}(x) is generally nothing like 1f(x)\dfrac{1}{f(x)}. When finding it, remember the domain of f−1f^{-1} is the range of ff.

The Greatest Integer (Floor) Function

Learn this subtopic in the notes

Common traps

Floor rounds DOWN, so negatives go further from zero

[−1.3]=−2[-1.3]=-2, not −1-1: you must go to the integer below. Truncating toward zero is the most common floor mistake on negative inputs.

[x] = n is an interval, not a single point

Solving a floor-equation gives integer values of [x][x]; each one unpacks to a whole interval [n,n+1)[n,n+1) of real xx. Reporting only the integers x=nx=n misses the rest of the solution set.

Functional Equations

Learn this subtopic in the notes

Multiplicative and additive forms

Signature functional-equation solutions

f(xy)=f(x)f(y)⇒f(x)=xkf(x+y)=f(x)f(y)⇒f(x)=axf(x+y)=f(x)+f(y)⇒f(x)=cxf(xy)=f(x)f(y)\Rightarrow f(x)=x^{k}\qquad f(x+y)=f(x)f(y)\Rightarrow f(x)=a^{x}\qquad f(x+y)=f(x)+f(y)\Rightarrow f(x)=cx

Common traps

One equation, two unknowns — make a second

You cannot read off f(x)f(x) from a single relation that also contains f(1/x)f(1/x) or f(1−x)f(1-x). Generate the partner equation by substituting, then solve the 2×22\times2 system. Substituting a value that is its own partner (like x=12x=\tfrac12 for x→1−xx\to1-x) can shortcut a single requested value.

Solve for the original variable before substituting

From f(x+1)=x2−3x+2f(x+1)=x^2-3x+2 you must write x=t−1x=t-1 (where t=x+1t=x+1) and plug that in — not simply replace xx by xx in the right side. Getting the shift direction backwards is the usual slip.

More NDA Mathematics formula sheets