Functions
Mathematics · Cheatsheet

Functions

Chapter 3 · Classification & Advanced

📋 Reference · always available
One-to-one (injective)
Every output comes from at most one input. Horizontal-line test: ≤ 1 intersection. Required for an inverse.
Many-to-one
At least two different inputs share an output. Fails the horizontal-line test.
Onto (surjective)
Every element of the stated co-domain is achieved as an output. Range = co-domain.
Restriction trick
Restrict a many-to-one function to ONE side of its turning point to force one-to-one. Example: x2x^2 on R\mathbb{R} is many-to-one; on [0,)[0,\infty) it's one-to-one with inverse x\sqrt{x}.
Even function
f(x)=f(x)f(-x) = f(x)
Graph symmetric about the yy-axis. Polynomials: only even powers + constant. Examples: x2,cosx,xx^2,\cos x,|x|.
Odd function
f(x)=f(x)f(-x) = -f(x)
Graph has 180180^\circ rotational symmetry about origin. Polynomials: only odd powers, no constant. Examples: x3,sinx,1/xx^3,\sin x,1/x.
Neither
At least one xx with f(x)±f(x)f(-x) \ne \pm f(x). Mixed-degree polynomials like x2+xx^2+x.
Both even and odd?
Only f(x)=0f(x)=0 satisfies both. f=ff=f and f=ff=-f2f=02f=0f=0f=0.
Radical — domain
y=ax+b        ax+b0y = \sqrt{ax+b}\;\;\Rightarrow\;\;ax+b \ge 0
Set the radicand 0\ge 0 and solve. Don't forget to flip the inequality if a<0a<0.
Radical — start point
y=c+kax+by=c+k\sqrt{ax+b} starts at (x0,c)(x_0, c) where x0x_0 is the boundary. If k>0k>0 the curve rises; if k<0k<0 it falls below cc.
Radical — range
Bare 0\sqrt{\dots}\ge 0 ⇒ range 0\ge 0. Outer constant shifts the range floor; outer negative gives range c\le c.
Partial fractions — setup
Proper fraction (deg numerator << deg denominator). Factor denominator into distinct linears: f(x)(xr1)(xr2)=Axr1+Bxr2\dfrac{f(x)}{(x-r_1)(x-r_2)} = \dfrac{A}{x-r_1}+\dfrac{B}{x-r_2}.
Cover-up shortcut
Find AiA_i by covering up (xri)(x-r_i) in the original and substituting x=rix=r_i into what remains. Works because every other term has (xri)(x-r_i) as a factor and vanishes.
Repeated factor
(xr)2(x-r)^{2} in denominator ⇒ TWO pieces: Axr+B(xr)2\dfrac{A}{x-r} + \dfrac{B}{(x-r)^{2}}.
Piecewise function
Different rules on different intervals. Domain = union of the intervals. Evaluate by selecting the rule for the input's interval.
Why classify?
Inverses require one-to-one. Integration aaf\int_{-a}^{a}f vanishes if ff is odd (saves work!). Symmetry gives quick range arguments and graphs faster sketching.
Pitfall — even AND $f(0)$
If ff is odd and defined at 00, then f(0)=0f(0)=0 (set x=0x=0 in f(x)=f(x)f(-x)=-f(x)). If f(0)0f(0)\ne 0, ff cannot be odd.
Pitfall — partial fractions setup
Numerator MUST be lower degree than denominator. If not, polynomial-divide first; the quotient is a polynomial part plus a proper fraction.