v = < x , y , z > v=<x,y,z> v =< x , y , z >
Magnitude ∣ v ∣ = x 2 + y 2 + z 2 |v|=\sqrt{x^2+y^2+z^2} ∣ v ∣ = x 2 + y 2 + z 2
The result is a scalar.
Given v 1 = < x 1 , y 1 , z 1 > v_1=<x_1,y_1,z_1> v 1 =< x 1 , y 1 , z 1 > , v 2 = < x 2 , y 2 , z 2 > v_2=<x_2,y_2,z_2> v 2 =< x 2 , y 2 , z 2 >
Their dot product:
v 1 ⋅ v 2 = x 1 x 2 + y 1 y 2 + z 1 z 2 = ∣ v 1 ∣ ∣ v 2 ∣ c o s θ v_1\cdot v_2=x_1x_2+y_1y_2+z_1z_2=|v_1||v_2|cos\theta v 1 ⋅ v 2 = x 1 x 2 + y 1 y 2 + z 1 z 2 = ∣ v 1 ∣∣ v 2 ∣ cos θ
If v 1 ⋅ v 2 = 0 v_1 \cdot v_2=0 v 1 ⋅ v 2 = 0 , then v 1 ⊥ v 2 v_1 \perp v_2 v 1 ⊥ v 2
c o s θ = a ⋅ b ∣ a ∣ ∣ b ∣ cos\theta=\frac{a\cdot b}{|a||b|} cos θ = ∣ a ∣∣ b ∣ a ⋅ b
The result is a vector.
Given v 1 = < x 1 , y 1 , z 1 > v_1=<x_1,y_1,z_1> v 1 =< x 1 , y 1 , z 1 > , v 2 = < x 2 , y 2 , z 2 > v_2=<x_2,y_2,z_2> v 2 =< x 2 , y 2 , z 2 >
Their cross product:
v 1 × v 2 = det ∣ i j k x 1 y 1 z 1 x 2 y 2 z 2 ∣ = ( y 1 z 2 − y 2 z 1 ) i − ( x 1 z 2 − x 2 z 1 ) j + ( x 1 y 2 − x 2 y 1 ) k v_1 \times v_2=\det \left | \begin{matrix}
i & j & k \\
x_1 & y_1 & z_1 \\
x_2 & y_2 & z_2 \\
\end{matrix} \right |=(y_1z_2-y_2z_1)i-(x_1z_2-x_2z_1)j+(x_1y_2-x_2y_1)k v 1 × v 2 = det i x 1 x 2 j y 1 y 2 k z 1 z 2 = ( y 1 z 2 − y 2 z 1 ) i − ( x 1 z 2 − x 2 z 1 ) j + ( x 1 y 2 − x 2 y 1 ) k
∣ v 1 × v 2 ∣ = ∣ v 1 ∣ ∣ v 2 ∣ s i n θ |v_1 \times v_2|=|v_1||v_2|sin\theta ∣ v 1 × v 2 ∣ = ∣ v 1 ∣∣ v 2 ∣ s in θ
The direction follows the right-hand rule: curl your fingers from v 1 v_1 v 1 toward v 2 v_2 v 2 , and your thumb points in the direction of the cross product.
It produces a vector perpendicular to both v 1 v_1 v 1 and v 2 v_2 v 2 , and ∣ a × b ∣ = |a \times b| = ∣ a × b ∣ = the area of the parallelogram with a and b as adjacent sides.
Line in space : one point and one vector
Given a point in space and a vector r 0 = ( x 0 , y 0 , z 0 ) , v ⃗ 0 = < a , b , c > r_0=(x_0,y_0,z_0),\vec v_0 = <a,b,c> r 0 = ( x 0 , y 0 , z 0 ) , v 0 =< a , b , c >
the line is r = r 0 + λ v ⃗ 0 , λ ∈ R r = r_0+\lambda \vec v_0, \lambda \in \R r = r 0 + λ v 0 , λ ∈ R
or, in parametric form:
x = x 0 + λ a y = y 0 + λ b z = z 0 + λ c \begin{array}{l}
x&= x_0+\lambda a \\
y&=y_0+\lambda b \\
z&=z_0+\lambda c \\
\end{array} x y z = x 0 + λa = y 0 + λb = z 0 + λ c
Plane in space : one point and one normal vector
Given a normal vector n = < a , b , c > n=<a,b,c> n =< a , b , c > and a point P 0 ( x 0 , y 0 , z 0 ) P_0(x_0,y_0,z_0) P 0 ( x 0 , y 0 , z 0 ) on the plane,
every point P P P on the plane satisfies n ⋅ P P 0 ⃗ = 0 n\cdot \vec {PP_0}=0 n ⋅ P P 0 = 0
Expanded: a ( x − x 0 ) + b ( y − y 0 ) + c ( z − z 0 ) = 0 a(x-x_0)+b(y-y_0)+c(z-z_0)=0 a ( x − x 0 ) + b ( y − y 0 ) + c ( z − z 0 ) = 0
which gives the standard form: a x + b y + c z = d , d = a x 0 + b y 0 + c z 0 ax+by+cz=d,d=ax_0+by_0+cz_0 a x + b y + cz = d , d = a x 0 + b y 0 + c z 0
x 2 + y 2 + z 2 = R 2 x^2+y^2+z^2=R^2 x 2 + y 2 + z 2 = R 2 (sphere)
x 2 a 2 + y 2 b 2 + z 2 c 2 = 1 \frac{x^2}{a^2}+\frac{y^2}{b^2}+\frac{z^2}{c^2}=1 a 2 x 2 + b 2 y 2 + c 2 z 2 = 1 (ellipsoid)
x 2 + y 2 = C x^2+y^2=C x 2 + y 2 = C
z = x 2 + y 2 z=x^2+y^2 z = x 2 + y 2 (opens upward)
z = C − x 2 − y 2 z=C-x^2-y^2 z = C − x 2 − y 2 (opens downward)
z = x 2 + y 2 z=\sqrt{x^2+y^2} z = x 2 + y 2 or z 2 = x 2 + y 2 z^2=x^2+y^2 z 2 = x 2 + y 2
Definition: r ⃗ ( t ) = ⟨ X ( t ) , Y ( t ) , Z ( t ) ⟩ \vec{r}(t) = \langle X(t), Y(t), Z(t) \rangle r ( t ) = ⟨ X ( t ) , Y ( t ) , Z ( t )⟩ .
Geometric meaning: as t t t varies, the trajectory traces a curve in space, i.e. a space curve.
Example: the helix r ⃗ ( t ) = ⟨ cos t , sin t , t ⟩ \vec{r}(t) = \langle \cos t, \sin t, t \rangle r ( t ) = ⟨ cos t , sin t , t ⟩ .
Derivative: r ⃗ ′ ( t ) = ⟨ X ′ ( t ) , Y ′ ( t ) , Z ′ ( t ) ⟩ \vec{r}'(t) = \langle X'(t), Y'(t), Z'(t) \rangle r ′ ( t ) = ⟨ X ′ ( t ) , Y ′ ( t ) , Z ′ ( t )⟩ .
Tangent vector: r ⃗ ′ ( t ) \vec{r}'(t) r ′ ( t ) is called the tangent vector.
Velocity and speed: if r ⃗ ( t ) \vec{r}(t) r ( t ) represents position, then r ⃗ ′ ( t ) \vec{r}'(t) r ′ ( t ) is the velocity vector. Its direction is tangent to the curve, and its magnitude ∣ r ⃗ ′ ( t ) ∣ |\vec{r}'(t)| ∣ r ′ ( t ) ∣ is the speed.
The length from t = a t=a t = a to t = b t=b t = b is L = ∫ a b ∣ r ⃗ ′ ( t ) ∣ d t L = \int_{a}^{b} |\vec{r}'(t)| dt L = ∫ a b ∣ r ′ ( t ) ∣ d t .
Describes how sharply a curve bends.
Definition: the rate at which the direction of the unit tangent vector changes with respect to arc length.
Practical formula: κ ( t ) = ∣ r ⃗ ′ ( t ) × r ⃗ ′ ′ ( t ) ∣ ∣ r ⃗ ′ ( t ) ∣ 3 \kappa(t) = \frac{|\vec{r}'(t) \times \vec{r}''(t)|}{|\vec{r}'(t)|^3} κ ( t ) = ∣ r ′ ( t ) ∣ 3 ∣ r ′ ( t ) × r ′′ ( t ) ∣
Radius of curvature (R R R ): defined as R = 1 κ R = \frac{1}{\kappa} R = κ 1 .
Made up of the unit tangent vector T ⃗ \vec{T} T , the unit normal vector N ⃗ \vec{N} N and the binormal vector B ⃗ \vec{B} B :
Unit tangent vector: T ⃗ ( t ) = r ⃗ ′ ( t ) ∣ r ⃗ ′ ( t ) ∣ \vec{T}(t) = \frac{\vec{r}'(t)}{|\vec{r}'(t)|} T ( t ) = ∣ r ′ ( t ) ∣ r ′ ( t ) .
Unit normal vector: N ⃗ ( t ) = T ⃗ ′ ( t ) ∣ T ⃗ ′ ( t ) ∣ \vec{N}(t) = \frac{\vec{T}'(t)}{|\vec{T}'(t)|} N ( t ) = ∣ T ′ ( t ) ∣ T ′ ( t ) .
Binormal vector: B ⃗ ( t ) = T ⃗ ( t ) × N ⃗ ( t ) \vec{B}(t) = \vec{T}(t) \times \vec{N}(t) B ( t ) = T ( t ) × N ( t ) .
A function of two variables z = f ( x , y ) z = f(x, y) z = f ( x , y )
Domain: usually a region in the x y xy x y -plane.
Level curves: the curves obtained by setting f ( x , y ) = c f(x, y) = c f ( x , y ) = c (c c c a constant). Physically, it is like slicing a mountain horizontally.
Condition for a limit to exist: the limit must be the same along every path approaching ( x 0 , y 0 ) (x_0, y_0) ( x 0 , y 0 ) .
To show a limit does not exist, find different paths:
Path 1: set y = b y = b y = b and let x → a x \to a x → a .
Path 2: set x = a x = a x = a and let y → b y \to b y → b .
Path 3: set y = k x y = kx y = k x ; if the result depends on k k k , the limit does not exist.
Path 4: set y = x 2 y = x^2 y = x 2 and so on (when the degrees don't match).
Continuity: if lim ( x , y ) → ( a , b ) f ( x , y ) = f ( a , b ) \lim_{(x,y) \to (a,b)} f(x, y) = f(a, b) lim ( x , y ) → ( a , b ) f ( x , y ) = f ( a , b ) , the function is continuous at ( a , b ) (a, b) ( a , b ) .
Rule: when differentiating with respect to x x x , treat y y y as a constant, and vice versa.
Example:
f ( x , y ) = x 3 + x y 3 − 2 y 2 f(x, y) = x^3 + xy^3 - 2y^2 f ( x , y ) = x 3 + x y 3 − 2 y 2
f x = 3 x 2 + y 3 f_x = 3x^2 + y^3 f x = 3 x 2 + y 3
f y = 3 x y 2 − 4 y f_y = 3xy^2 - 4y f y = 3 x y 2 − 4 y
Tangent plane at the point P ( x 0 , y 0 , z 0 ) P(x_0, y_0, z_0) P ( x 0 , y 0 , z 0 ) :
z − z 0 = f x ( x 0 , y 0 ) ( x − x 0 ) + f y ( x 0 , y 0 ) ( y − y 0 ) z - z_0 = f_x(x_0, y_0)(x - x_0) + f_y(x_0, y_0)(y - y_0) z − z 0 = f x ( x 0 , y 0 ) ( x − x 0 ) + f y ( x 0 , y 0 ) ( y − y 0 )
Linearization: when ( x , y ) (x, y) ( x , y ) is close to ( x 0 , y 0 ) (x_0, y_0) ( x 0 , y 0 ) , approximate f ( x , y ) f(x, y) f ( x , y ) by the height of the tangent plane L ( x , y ) L(x, y) L ( x , y ) .
If z = f ( x , y ) z = f(x, y) z = f ( x , y ) with x = x ( t ) , y = y ( t ) x=x(t), y=y(t) x = x ( t ) , y = y ( t ) , then: d z d t = ∂ f ∂ x d x d t + ∂ f ∂ y d y d t \frac{dz}{dt} = \frac{\partial f}{\partial x} \frac{dx}{dt} + \frac{\partial f}{\partial y} \frac{dy}{dt} d t d z = ∂ x ∂ f d t d x + ∂ y ∂ f d t d y
Definition: ∇ f ( x , y ) = ⟨ f x , f y ⟩ = f x i + f y j \nabla f(x, y) = \langle f_x, f_y \rangle = f_x \mathbf{i} + f_y \mathbf{j} ∇ f ( x , y ) = ⟨ f x , f y ⟩ = f x i + f y j .
Directional derivative: the rate of change along a unit vector u ⃗ = ⟨ a , b ⟩ \vec{u} = \langle a, b \rangle u = ⟨ a , b ⟩ is D u ⃗ f = ∇ f ⋅ u ⃗ D_{\vec{u}}f = \nabla f \cdot \vec{u} D u f = ∇ f ⋅ u .
Geometric meaning: the gradient points in the direction of fastest increase. The gradient vector is always perpendicular to the level curves.
Critical points: points where f x = 0 f_x = 0 f x = 0 and f y = 0 f_y = 0 f y = 0 .
Hessian discriminant (D D D ): D = f x x f y y − ( f x y ) 2 D = f_{xx}f_{yy} - (f_{xy})^2 D = f xx f y y − ( f x y ) 2
If D > 0 D > 0 D > 0 and f x x > 0 ⟹ f_{xx} > 0 \implies f xx > 0 ⟹ local minimum.
If D > 0 D > 0 D > 0 and f x x < 0 ⟹ f_{xx} < 0 \implies f xx < 0 ⟹ local maximum.
If D < 0 ⟹ D < 0 \implies D < 0 ⟹ saddle point.
If D = 0 ⟹ D = 0 \implies D = 0 ⟹ the test is inconclusive.
Use case: minimize or maximize f ( x , y ) f(x, y) f ( x , y ) subject to the constraint g ( x , y ) = k g(x, y) = k g ( x , y ) = k .
Key idea: at an extremum the level curves of the two functions are tangent, so their gradients are parallel:
∇ f = λ ∇ g \nabla f = \lambda \nabla g ∇ f = λ ∇ g
A double integral can be computed as an iterated integral.
Region types:
Type I (bottom to top): integrate with respect to y y y first, entering through the curve y = g 1 ( x ) y=g_1(x) y = g 1 ( x ) and leaving through y = g 2 ( x ) y=g_2(x) y = g 2 ( x ) .
Type II (left to right): integrate with respect to x x x first. Polar coordinates: suited to circular regions. x = r cos θ , y = r sin θ , x 2 + y 2 = r 2 x = r\cos\theta, y = r\sin\theta, x^2 + y^2 = r^2 x = r cos θ , y = r sin θ , x 2 + y 2 = r 2 .
Area element d A = r d r d θ dA = r dr d\theta d A = r d r d θ .
Setting the bounds: fix ( x , y ) (x, y) ( x , y ) and find the surfaces where z z z enters and leaves the region.
( r , θ , z ) (r, \theta, z) ( r , θ , z ) , volume element d V = r d z d r d θ dV = r dz dr d\theta d V = r d z d r d θ .
( ρ , ϕ , θ ) (\rho, \phi, \theta) ( ρ , ϕ , θ ) , where ρ \rho ρ is the distance, ϕ \phi ϕ is the polar (zenith) angle (0 ≤ ϕ ≤ π 0 \le \phi \le \pi 0 ≤ ϕ ≤ π ), and θ \theta θ is the azimuthal angle.
Transformation: x = ρ sin ϕ cos θ , y = ρ sin ϕ sin θ , z = ρ cos ϕ x = \rho\sin\phi\cos\theta, y = \rho\sin\phi\sin\theta, z = \rho\cos\phi x = ρ sin ϕ cos θ , y = ρ sin ϕ sin θ , z = ρ cos ϕ .
Volume element d V = ρ 2 sin ϕ d ρ d ϕ d θ dV = \rho^2 \sin\phi d\rho d\phi d\theta d V = ρ 2 sin ϕ d ρ d ϕ d θ .
Corrects the differential element under a change of coordinates: d x d y = ∣ J ∣ d u d v dx dy = |J| du dv d x d y = ∣ J ∣ d u d v .
J = ∂ ( x , y ) ∂ ( u , v ) = det ∣ x u x v y u y v ∣ J = \frac{\partial(x,y)}{\partial(u,v)} = \det \begin{vmatrix} x_u & x_v \\ y_u & y_v \end{vmatrix} J = ∂ ( u , v ) ∂ ( x , y ) = det x u y u x v y v
Computation: parameterize the curve C = r ⃗ ( t ) C = \vec{r}(t) C = r ( t ) , then ∫ C F ⃗ ⋅ d r ⃗ = ∫ a b F ⃗ ( r ⃗ ( t ) ) ⋅ r ⃗ ′ ( t ) d t \int_C \vec{F} \cdot d\vec{r} = \int_a^b \vec{F}(\vec{r}(t)) \cdot \vec{r}'(t) dt ∫ C F ⋅ d r = ∫ a b F ( r ( t )) ⋅ r ′ ( t ) d t .
If F ⃗ = ∇ f \vec{F} = \nabla f F = ∇ f (a conservative field), then ∫ C F ⃗ ⋅ d r ⃗ = f ( end ) − f ( start ) \int_C \vec{F} \cdot d\vec{r} = f(\text{end}) - f(\text{start}) ∫ C F ⋅ d r = f ( end ) − f ( start ) .
For F ⃗ = ⟨ P , Q ⟩ \vec{F} = \langle P, Q \rangle F = ⟨ P , Q ⟩ , if ∂ P ∂ y = ∂ Q ∂ x \frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x} ∂ y ∂ P = ∂ x ∂ Q , the field is conservative.
Converts a line integral around a closed curve into a double integral over the enclosed region:
∮ C P d x + Q d y = ∬ D ( ∂ Q ∂ x − ∂ P ∂ y ) d A \oint_C P dx + Q dy = \iint_D \left( \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} \right) dA ∮ C P d x + Q d y = ∬ D ( ∂ x ∂ Q − ∂ y ∂ P ) d A
Curl: ∇ × F ⃗ \nabla \times \vec{F} ∇ × F , describes the local rotational tendency of a fluid.
Divergence: div F ⃗ = ∇ ⋅ F ⃗ = ∂ P ∂ x + ∂ Q ∂ y + ∂ R ∂ z \text{div} \vec{F} = \nabla \cdot \vec{F} = \frac{\partial P}{\partial x} + \frac{\partial Q}{\partial y} + \frac{\partial R}{\partial z} div F = ∇ ⋅ F = ∂ x ∂ P + ∂ y ∂ Q + ∂ z ∂ R . > 0 > 0 > 0 means expansion (a source); < 0 < 0 < 0 means compression (a sink).
∬ S F ⃗ ⋅ d S ⃗ = ∬ D F ⃗ ( r ⃗ ( x , y ) ) ⋅ ( r ⃗ x × r ⃗ y ) d A \iint_S \vec{F} \cdot d\vec{S} = \iint_D \vec{F}(\vec{r}(x, y)) \cdot (\vec{r}_x \times \vec{r}_y) dA ∬ S F ⋅ d S = ∬ D F ( r ( x , y )) ⋅ ( r x × r y ) d A
Relates the integral around a closed space curve to the flux of the curl through a surface.
∮ C F ⃗ ⋅ d r ⃗ = ∬ S ( ∇ × F ⃗ ) ⋅ d S ⃗ \oint_C \vec{F} \cdot d\vec{r} = \iint_S (\nabla \times \vec{F}) \cdot d\vec{S} ∮ C F ⋅ d r = ∬ S ( ∇ × F ) ⋅ d S
Relates the flux through a closed surface to the volume integral of the divergence:
∬ S F ⃗ ⋅ d S ⃗ = ∭ E ( ∇ ⋅ F ⃗ ) d V \iint_S \vec{F} \cdot d\vec{S} = \iiint_E (\nabla \cdot \vec{F}) dV ∬ S F ⋅ d S = ∭ E ( ∇ ⋅ F ) d V