projection
a = a*b/(magb)^2 *b
comp a
a*b/(b magnitude)
a*(bxc)
a1 a2 a3
b1 b2 b3
c1 c2 c3
midpoint
x1+x2 / 2
sphere
(x-a)^2 +(y-b).. =r^2
cylinder
x^2+y^2=r^2
paraboloid
z=x^2+y^2
cone
z^2=x^2+y^2
unit vector
v/mag(v)
parallelogram area
Area = ||a x b||
angle between vectors
cos(theta) = a*b / ||a|| ||b||
Triangle area
Area = (1/2)*||a x b||
Scalar triple product
a·(b x c) = det[[a1,a2,a3],[b1,b2,b3],[c1,c2,c3]]
Tetrahedron volume
V = (1/6)*|a·(b x c)|
Parallelepiped volume
V = |a·(b x c)|
Line (vector form)
r(t) = r0 + t*v
Line (parametric)
x = x0 + at, y = y0 + bt, z = z0 + c*t
Plane (point-normal)
A(x-x0) + B(y-y0) + C(z-z0) = 0
Plane (standard)
Ax + By + C*z = D
Distance point to plane Ax+By+Cz+D=0
d = |Ax0 + By0 + C*z0 + D| / sqrt(A^2 + B^2 + C^2)
Angle between planes
cos(theta) = |n1·n2| / (||n1||*||n2||)
Angle between line and plane
sin(theta) = |v·n| / (||v||*||n||)
Vector derivative
r’(t) = <x’(t), y’(t), z’(t)>
Vector integral
∫r(t)dt = <∫x(t)dt, ∫y(t)dt, ∫z(t)dt>