Advanced Mathematics and Statistics Reference

Probability Density Functions and Distributions

A function f(x) is a valid probability density function (PDF) if:

  • f(x) ≥ 0 for all values of x.
  • -∞ f(x)dx = 1.

Expectation and Variance

  • Expected value (mean): E[X] = ∫-∞ x ⋅ f(x)dx
  • Expected value of X2: E[X2] = ∫-∞ x2 ⋅ f(x)dx
  • Variance: Var(X) = E[X2] – (E[X])2

Special Probability Models

  • Uniform Distribution: f(x) = 1/(b-a), for a ≤ x ≤ b.
  • Uniform Distribution Expected Value: (a + b)/2
  • Exponential Distribution: f(x) = λe-λx, for x ≥ 0
  • Standard Normal Distribution: P(a ≤ X ≤ b) = Φ(b) – Φ(a)

Taylor and Maclaurin Series

General Form of a Taylor Polynomial

Pn(x) = f(a) + f'(a)(x – a) + [f”(a)/2!](x-a)2 + [f”'(a)/3!](x-a)3 + … + [f(n)(a)/n!](x – a)n

Maclaurin Series Formula

f(x) = f(0) + f'(0)x + [f”(0)/2!](x2) + [f”'(0)/3!](x3) + … + [f(n)(0)/n!](x)n + …

Solving a Maclaurin Polynomial

  1. Compute the first four derivatives.
  2. Evaluate each derivative at x = 0.
  3. Plug the results into the Maclaurin series formula.

Multivariable Calculus and Optimization

Partial Derivatives

Example: If f(x,y) = x^2 + y^2, then the partial derivatives are ∂f/∂x = 2x and ∂f/∂y = 2y.

Critical Points and Classification

  1. To find critical points, find first-order partial derivatives and set them to 0.
  2. To classify the critical point as a local maximum, minimum, or saddle point, compute the second partial derivatives (fxx, fyy, fxy).
  3. Define the discriminant: D = fxxfyy – (fxy)2.
  • If D > 0 and fxx > 0: Local minimum.
  • If D > 0 and fxx < 0: Local maximum.
  • If D < 0: Saddle point.
  • If D = 0: Inconclusive.

Lagrange Multipliers

Used to maximize or minimize a function f(x, y) subject to the constraint g(x, y) = c.

  1. Set up the gradient equation: ∇f = λ∇g, which implies fx = λgx and fy = λgy.
  2. Compute ∇f and ∇g.
  3. Solve the three equations (including the constraint g(x, y) = c) for x, y, and λ.
  4. Plug x and y into f(x, y) to find the maximum or minimum values.

Integration Techniques and Applications

Area and Volume

  • Area between two curves (vertical):ab [f(x) – g(x)] dx, where f(x) is the top function and g(x) is the bottom function over the interval [a, b].
  • Volume of Revolution (Disk Method): V = π ∫ab [R(x)]2 dx, where R(x) is the outer radius.
  • Volume of Revolution (Washer Method): V = π ∫ab ([R(x)]2 – [r(x)]2) dx, where R(x) is the outer radius and r(x) is the inner radius.

Integration Methods

  • Integration by Parts: ∫ u dv = uv – ∫ v du. Choose u as the function to differentiate and dv as the function to integrate.
  • Double Integrals:0201 (x + y) dx dy. Integrate the inner integral first, then the outer integral.
  • Average Value of a Function: (1 / (b – a)) ∫ab f(x) dx.

Basic Trigonometric Integrals

  • ∫ sin x dx = -cos x + C
  • ∫ cos x dx = sin x + C
  • ∫ sec2x dx = tan x + C
  • ∫ csc2x dx = -cot x + C
  • ∫ sec x tan x dx = sec x + C
  • ∫ csc x cot x dx = -csc x + C

Improper Integrals

  • Converges: If the limit approaches a finite value.
  • Diverges: If the limit approaches infinity or does not exist.

Sequences, Series, and Financial Math

Geometric Sequences and Series

  • Geometric Sequence nth term: an = a1(r)n-1, where r is the common ratio.
  • Convergence: Converges to 0 if |r| < 1.
  • Partial Sum Formula: Sn = a1(1 – rn) / (1 – r) if r ≠ 1.
  • Infinite Series Sum: S = a1 / (1 – r), valid only if |r| < 1.
  • Geometric Mean: √(a ⋅ b)

Money Flow and Annuities

  • Total Money Flow:ab R(t) dt. Used for total income or inflow generated from a stream.
  • Present Value of Money Flow:ab R(t) ⋅ e-rt dt, where R(t) is the rate of income and e-rt is the discount factor.
  • Future Value of an Annuity: P ⋅ [(1 + r)n – 1] / r
  • Present Value of an Annuity: P ⋅ [1 – (1 + r)-n] / r

Differential Equations (ODE)

General Forms

  • General ODE: dy/dx = f(x, y)
  • Separable ODE: dy/dx = g(x)h(y)
  • Linear ODE: dy/dx + P(x)y = Q(x)
  • Exponential Growth/Decay: y(t) = y0ekt
  • Radioactive Decay: dN/dt = -kN → N(t) = N0e-kt, where k > 0 is the decay constant.

Euler’s Method

For first-order ODEs in the form dy/dx = f(x, y) with initial condition y(x0) = y0:

  • Euler Formula: yn+1 = yn + h ⋅ f(xn, yn)
  • Steps: 1) Identify the differential equation, initial value, step size h, and number of steps. 2) Apply the formula iteratively.

Predator-Prey Model (Lotka-Volterra)

  • Prey: dx/dt = ax – bxy
  • Predator: dy/dt = -cy + dxy
  • Variables: x(t) is the number of prey, y(t) is the number of predators, a is the prey birth rate, b is the predation rate, c is the predator death rate, and d is the predator growth rate.

2Q==