The angle between a vector and the positive x, y, and z axes are alpha, beta, and gamma, respectively.
cosα=∣∣v∣∣v1cosβ=∣∣v∣∣v2cosγ=∣∣v∣∣v3Note that cos2α+cos2β+cos3γ=1
Projection
Projvu=∣∣v∣∣2vuv=∣∣v∣∣vuv^The vector component orthogonal to u is equal to u−Projvu∣∣Projvu∣∣=∣∣v∣∣∣v⋅u∣
Work
If a force is being enacted on an object from point P to point Q, then the work can be calculated as follows:
Work=F⋅PQ
Cross Product
Let u,v∈R3. The cross product of u and v is given by the following:u×v=⎝⎛u2v3−u3v2u3v1−u1v3u1v2−u2v1⎠⎞u×v⊥u,u×v⊥vu×v is orthogonal to the plane containing u and v.u×v=det(⎝⎛iu1v1ju2v2ku3v3⎠⎞)=i∗det(u2v2u3v3)−j∗det(u1v1u3v3)+k∗det(u1v1u2v2)Note: u×v=−(v×u) (by the right hand rule)
∣∣u×v∣∣=∣∣u∣∣∗∣∣v∣∣∗sinθu×v=0⟺u=cv,c∈R∣∣u×v∣∣= The area of the parallelogram with u and v as adjacent sides
The Triple Scalar Product
For u,v,w∈R3, the triple scalar product is u⋅(v×w)=det⎝⎛u1v1w1u2v2w2u3v3w3⎠⎞
The absolute value of the triple scalar product gives the volume of a parallelopiped where u, v, and w are adjacent edges.
3D Equations of a Line
A line L parallel to a vector v=<a,b,c>and passing through the point P(x1,y1,z1) is represented by the following parametric equations: x=x1+at,y=y1+bt,z=z1+cta, b, and c are the direction numbers, and t is the parameter. You can find any point on the line by changing t.Symmetric equations are the same as parametric except they are in terms of t.t=ax−x1,t=by−y1,cz−z1
Vector Normal to a Plane
Given a point P(x, y, z) and a line in symmetric/parametric form, the equation of the plane is given by the following equations:
General form: a(x−x1)+b(y−y1)+c(z−z1)=0Standard form: ax+by+cz=d where d=ax1+by1+cz1The normal vector to the plane is given by <a,b,c>
Angle Between Two Normal Vectors
To get the angle between two planes, you can use the angles between their two normal vectors
Distance Between a Point and a Plane
The distance between a plane and a point Q not in the plane is D=∣∣projnPQ∣∣=∣∣n∣∣∣PQ⋅n∣where P is a point on the plane and n is a vector normal to the plane
Equations of Surfaces in Space
Ellipsoid: a2x2+b2y2+c2z2=1Hyperboloid of One Sheet: a2x2+b2y2−c2z2=1 (one of the terms must be negative, and the hyperbeloid goes along the axis made negative)Hyperboloid of Two Sheets: a2x2−b2y2−c2z2=1 (two of the terms must be negative, and the hyperbeloid goes along the axis made positive)Elliptic Cone: a2x2+b2y2−c2z2=0 (one of the terms must be negative, and the cone goes along the axis made negative)Elliptic Paraboloid: z=a2x2+b2y2 (the single variable denotes which direction it goes in; can be equal to x or y as well)Hyperbolic Paraboloid: z=a2x2−b2y2 (the single variable denotes which direction it goes in; can be equal to x or y as well)
Distance Between a Point and a Line
The distance between a line and a point P is D=∣∣v∣∣∣∣PQ×v∣∣where v is a direction vector of the line and P is a point on the line
Coordinate Conversion
Cylindrical to Rectangular: x=r⋅cosθ,y=r⋅sinθ,z=zRectangular to Cylindrical: r2=x2+y2,tanθ=xy,z=zSpherical to Rectangular: x=ρ⋅sinϕ⋅cosθ,y=ρ⋅sinϕ⋅sinθ,z=ρ⋅cosϕRectangular to Spherical: ρ2=x2+y2+z2,tanθ=xy,ϕ=arccos(x2+y2+z2z)Spherical to Cylindrical (r > 0): r2=ρ2⋅sin2ϕ,θ=θ,z=ρ⋅cosϕCylindrical to Spherical (r > 0): ρ=r2+z2,θ=θ,ϕ=arccos(r2+z2z)