Misc functions

Classification by dependence on parameters

See probability ref.

Recurrance equations

Eg: ahi+2+bhi+1+chi=0 (Linear, homogenous). Get characteristic eqn by supposing hi=txi; Get roots and multiplicity: (r1,2),(r2,1); Then, hi=ar1i+bir1i+cr2i; Solve for a, b, c with boundary conditions. Or, use telescoping sum.

Polynomial P over field K

Polynomial over field K has coefficients from K.

Rational function: ratio of polynomials.
For polynomials, see Approx theory ref.

p is monic: highest degree of x has coefficient 1.

To show that P has high degree, show it has many roots.

Multivariate polynomials

Q(x1,..xn)=Q(x), let xi=x sans xi: Multivariate polynomial over field F; degree d=d(xi). Have roots: xi=ri, Q(x) = univariate P(xi) has roots.

Symmetric polynomials

Q(x1xn)=Q(π(x1xn)) : no change on permutation. Eg: Parity function P. If Q is symmetric, multilinear Q writable as monomial Q(xi) of same degree: intuitive b’coz vars are indistinct, (Find inductive proof).

Probability of multivariate polynomials becoming 0

(Schwartz Zippel). \ Q(x); SF; PrrS(Q(r)=0)d|S|: generalizes univariate case: P(xi) has d roots. True for d=0; assume for d=n-1; Q(x)=kxkQk(x1); Pr(Q(r)=0)Pr(Q(r1)=0)+Pr(Q(r)=0|Q(r1)0)dk|S|+k|S|.

Roots of polynomial P over R

From group theory: P over the field Q. For deg(P)5,P:P(r)=0,rR, r can’t be writ in terms of +, -, *, /, kth root. \why

Fundamental theorem of algebra: P of degree d has d roots in C. \why

If x is root of P, so is x¯: P(x)=aixi=0=aixi¯=aixi¯=aix¯i=P(x¯). So, if deg(P) is odd, atleast 1 real root exists: also from the fact that P=Θ(xn).

Every polynomial of odd degree (= Θ(xn)) has a real root: Consider large +ve and -ve values for x and Intermediate value theorem. Also from the fact that complex roots appear in pairs.

Tricks: The constant gives clues about the root. Use the Θ notation to consider the roots: To solve (ex)x=n2; get xlogxe=2logn; so x2lognx2; so x=(logn)θ(1).

Geometry: loci.

Quadratic eqn

Reduce to (ax+b)2=c and solve. So find roots of x31 (Invent i). Similarly, every polynomial can be factorized to (sub)quadratics. Cubics.

Important functions over R and C

Extrema

min(a,b)=21(|a+b||ab|).

Unit step function I(x)

I(x)=[x>0]. See connection with series and Stieltjes integrals.

Integer functions: x,x.

Logarithm and exponential

Integral based definitions

lnx:=t=1xt1dt.
By fundamental theorem of calculus, dlnxdx=x1.
Also, ln(ab)=lna+lnb because t=1at1dt+t=aabt1dt=lna+t=1b(at)1d(at).
Thence, lnxk=klnx.

e:=x:lnx=1.
So, lnex=x (using lnxk=klnx from above).
Thence dexdx=ex.

Doubling time

Find t where (1+r)t=2.

tln(1+r)=ln2

t=ln2/ln(1+r) .71/rifr«1

Similarly, tripling time:

t=ln3/ln(1+r)

Very useful for quick calculations. For 7% annual growth, doubling time is roughly 70/7 = 10 years.
Also, 70 years is roughly 1 human lifespan. So, in one lifetime, growth will be 27x=128x!

Approximations

Thence expressing as McLaurin series ex=1+x1+x22!+x33!=n=0xnn! .

Also, McLaurin series -

ln(1+p)=0+p1+pp2(1+p)2

Generalized binomial coefficient

(rk) for any kZ,rR: generalizes (rk) from combinatorics (See probability ref).

(nr)=nr(n1r1). For rN: (rk)=(rrk)=rrk(r1rk1)=rrk(r1k):∴r(rk)=(rk)(rk): Both sides are degree k polynomials in r, agree in points: so should be identically equal rR.

So, (rk)=(r1k)+(r1k1). Applying repeatedly, nN:k=0n(r+kk)=(r+n+1n).

By induction: n,mN:k=0n(km)=(n+1m+1). Useful in summing series.

(rm)(mk)=(rk)(rkmk): combinatorial proof for r, m, k integers; thence generalize to rR: use Polynomial interpolation argument.

Vandermonde convolution: k(rk)(snk)=(r+sn): combinatorial proof for integer case; generalize to rR: use Polynomial interpolation argument.

Polynomial interpolation argument

This is very useful in extending relationship between integers to all real numbers: as in proof of r(rk)=(rk)(rk).

Logistic sigmoid function

f(z)=(1+ez)1: an S trapped between 0 and 1. Used in logistic regression. f(z)=(1f(z))f(z).

Normal function

Aka Gaussian function. Generalization of Gaussian distribution. \ f(x)=ae(xb)22c2: mean at b, max value a, variance/ width c2. Using Gaussian integral ex2dx=π.

Gamma function

Γ(z)=0xz1exdx. Γ(1)=1. Γ(a)=(a1)Γ(a1): using integration by parts; so generalizes factorial: Γ(n)=(n1)!. Useful in specifying normalization constants in some distributions.