claude-3-7-sonnet-20250219· Anthropic LMArena Human Preference 140K
assuming i have a credit test for curves, functions of several variables, optimization…
- User
assuming i have a credit test for curves, functions of several variables, optimization (functions of several variables) give me a cheat sheet of things that i should rember
- Assistant
Calculus Cheat Sheet: Curves, Multivariable Functions & Optimization
Curves
- Parametric curves: x = x(t), y = y(t)
- Arc length: ∫√[(dx/dt)² + (dy/dt)²] dt
- Curvature: κ = |x'y'' - y'x''|/[(x')² + (y')²]^(3/2)
- Unit tangent vector: T = (x'(t), y'(t))/||(x'(t), y'(t))||
- Unit normal vector: N = (-y'(t), x'(t))/||(x'(t), y'(t))||
Functions of Several Variables
- Partial derivatives: ∂f/∂x, ∂f/∂y
- Gradient: ∇f = (∂f/∂x, ∂f/∂y, ∂f/∂z)
- Directional derivative: Dᵤf = ∇f·u
- Chain rule: df/dt = (∂f/∂x)(dx/dt) + (∂f/∂y)(dy/dt)
- Tangent plane: z - z₀ = fx(x₀,y₀)(x-x₀) + fy(x₀,y₀)(y-y₀)
- Second derivatives: fxx, fxy, fyx, fyy (fxy = fyx usually)
Optimization
- Critical points: ∇f = 0 (all partial derivatives = 0)
- Second derivative test:
- D = fxx·fyy - (fxy)²
- If D > 0 and fxx < 0: local maximum
- If D > 0 and fxx > 0: local minimum
- If D < 0: saddle point
- If D = 0: inconclusive
- Lagrange multipliers: ∇f = λ∇g (for constraint g(x,y,z) = c)
- Hessian matrix: H = [∂²f/∂xᵢ∂xⱼ]
Key Theorems
- Mean Value Theorem: f(b) - f(a) = f'(c)(b-a) for some c ∈ (a,b)
- Implicit Function Theorem: If F(x,y) = 0 and Fy ≠ 0, then y can be expressed as y = g(x)
- Taylor's Theorem: f(x,y) ≈ f(a,b) + fx(a,b)(x-a) + fy(a,b)(y-b) + higher order terms
Would you like me to explain or break down any of these concepts?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.