initial commit

This commit is contained in:
ben committed 2026-05-17 12:19:19 -07:00
commit fbd12d4a8e
320 files changed
+124298

No files matched your search

@@ -0,0 +1,20 @@
#rs/notes #rs/class/math163
- - -
- 3D lines
- can be described as parametric
- symmetric equation of 3D line $$ \frac{x-x_{0}}{a} = \frac{y-y_{0}}{b} = \frac{z-z_{0}}{c}$$
- In this case, the direction vector is $<a, b, c>$
- Distance between a point and a line
- Is the shortest distance between the two
- This is the segment perpendicular to the line
- In 2D, you have to take random point on the line
- then project vector from this point to point not on the line onto the line to find where the closest point on the line is
- ![[Pasted image 20251014183240.png]]
- In this parallelogram, we know the area is equal to either $v \times PM$ or the base * the height (the height is the distance beween M and the line
- This gives the formula $$d=\frac{||PM \times v ||}{||v||}$$ For the distance between point M and the line
- Lines in 3D
- Can either be parallel, intersection, the same line or skew
- skew is when they don't intersect but aren't parallel either
- Planes in 3D
- defined by the normal vector of the plane
@@ -0,0 +1,3 @@
#rs/notes #rs/class/math163
- - -
-
@@ -0,0 +1,3 @@
#rs/notes #rs/class/math163
- - -
-
@@ -0,0 +1,7 @@
#rs/notes #rs/class/math163
- - -
- Similar idea for multiplication, cross products and dot products with derivatives $$ \frac{d}{dt} [r(t) \times u(t)] = r'(t) \times u(t) + r(t) \times u'(t)$$ $$ \frac{d}{dt} [r(t) \cdot u(t)] = r'(t) \cdot u(t) + r(t) \cdot u'(t)$$
- If $r(t) \cdot r(t) = c$, then $r(t) \cdot r'(t) = 0$
- Principle unit tangent vector is defined as $$T(t) = \frac{r'(t)}{||r'(t)||}$$ as long as $||r'(t)|| \ne 0$
- When there is a function of two variables with all real numbers as domain, it is written as $\mathbb{R}^2$
- Can also write "domain: $\{(x,y) | x^2+y^2 \leq 9\}$"
@@ -0,0 +1,13 @@
#rs/notes #rs/class/math163
- - -
- Level curve
- A 2D shape that results from setting a two-variable equation equal to a constant
- can help to see the shape of a 3D function
- basically like taking horizontal slices out of a two-variable function
- Vertical trace
- similar to level curve, finding the 2D shape from a vertical slice
- can find with either $f(a, y) = z$ for constant $x = a$ or $f(x, b) = z$ for constant $y=b$
- Both of these are used to visualize 3D functions in 2D
- Functions of 3 variables
- there is no great way to visualize these in 3 dimensions
- have to take 3D "slices" out of the 4D shape
@@ -0,0 +1,26 @@
#rs/notes #rs/class/math163
- - -
- Direction angles
- angles vector forms with axis
- vector projection
- Projection of one vector onto another: $$proj_{u}v=\frac{u\cdot v}{\left|\left|u\right|\right|^{2}}u$$
- Vector that is same direction
- To just get the magnitude of the projected vector, use: $$ mag_{u}v=\frac{|u*v|}{||u||^2} $$
- Unit vectors
- magnitude is one
- Formula: $$ unit_u=\frac{u}{||u||}$$
- Resolving vectors to components
- project one vector to another
- subtract projection from original vector
- Determinate
- equation: $$\begin{vmatrix} a&b\\c&d\end{vmatrix}\rightarrow ad-bc$$
- larger than 2x2: $$\begin{vmatrix} a&b&c\\d&e&f\\g&h&i\end{vmatrix}\rightarrow a\begin{vmatrix} e&f\\h&i\end{vmatrix} - b\begin{vmatrix} d&f\\g&i\end{vmatrix} + c\begin{vmatrix} d&e\\g&h\end{vmatrix}\rightarrow a(ei-hf)-b(di-gf)+c(dh-ge)$$
- Cross product
- creates vector that is orthogonal to both vectors
- for which direction it goes, use right hand rule
- pointer finger is first vector, middle is second
- thumb is resulting vector
- equation: $$a \times b = \begin{vmatrix} i&j&k\\a_1&a_2&a_3\\b_1&b_2&b_3\end{vmatrix}= i(a_2b_3-a_3b_2)-j(a_1b_3-a_3b_1)+k(a_1b_2-a_2b_1)$$
- cross product is not communitive $$u\times v \ne v \times u$$
- it is anti-communitive though $$ u \times v = -(v \times u) $$
- this too $$ a \times a = 0 $$
@@ -0,0 +1,20 @@
#rs/notes #rs/class/math163
- - -
- magnitude of the cross product
- equation: $$||u \times v|| = ||u|| * ||v|| * \sin(\theta)$$
- area of a parallelogram
- if there are two (2D) vectors that are two adjacent sides, the area is $$||a \times b||$$
- triple scalar product: $$u * (v \times w) = \begin{vmatrix} u_{1} && u_{2} && u_{3} \\ u_{1} && u_{2} && u_{3} \\ u_{1} && u_{2} && u_{3} \end{vmatrix}$$
- (can either take the determinate of the matrix or the dot product of the cross product)
- results in a scalar
- This is equal to the volume of the parallelepiped with the three vectors representing adjacent edges
- $$u * (v \times w) = (u \times v) * w $$
- lines and planes in 3D space
- can use 3D vectors to describe 3D lines
- $PQ = tv$
- $<x-x_{0}, y-y_{0},z-z_{0}> = t<a,b,c>$
- $<x_{0}, y_{0}, z_{0>}$ is the initial point of the line (or just a point on the line)
- $<a,b,c>$ is the 3D slope of the line
- $t$ is the independent variable
- can also write it as $$<x, y, z> = t<a,b,c> + <x_{0}, y_{0}, z_{0}>$$
-
@@ -0,0 +1,4 @@
#rs/notes #rs/class/math163
- - -
- Equation for a normal plane to a curve: $$z = f(x_{0}, y_{0}) + f_{x}(x_{0}, y_{0})(x-x_{0}) + f_{y}(x_{0}, y_{0})(y-y_{0})$$
-
@@ -0,0 +1,14 @@
#rs/notes #rs/class/math163
- - -
- Chain rule
- If there is a function $z(x(t), y(t))$ then $\frac{dz}{dt} = \frac{dz}{dx} \frac{dx}{dt} + \frac{dz}{dy} \frac{dy}{dt}$
- If $z=f(x(u,v), y(u,v))$ then $$\frac{{\partial z}}{\partial u} = \frac{{\partial z}}{\partial x} \frac{{\partial x}}{\partial u} + \frac{{\partial z}}{\partial y} \frac{{\partial y}}{\partial u}$$ $$\frac{{\partial z}}{\partial v} = \frac{{\partial z}}{\partial x} \frac{{\partial x}}{\partial v} + \frac{{\partial z}}{\partial y} \frac{{\partial y}}{\partial v}$$
- Implicit differentiation
- If $z$ is defined implicitly as a function of $x$ and $y$, then $$ \frac{dz}{dx} = - \frac{{\frac{{\partial f}}{\partial x}}}{\frac{{\partial f}}{\partial z}}$$ $$ \frac{dz}{dx} = - \frac{{\frac{{\partial f}}{\partial y}}}{\frac{{\partial f}}{\partial z}}$$
- Critical points
- For functions of two variables, this is when they both equal 0 or when one is undefined
- Second derivative test: $$D = f_{x x}(x_{0}, y_{0})f_{y y}(x_{0}, y_{0}) - (f_{x y}(x_{0}, y_{0}))^2$$
- if $D>0$ and $f_{x x}(x_{0}, y_{0})>0$ then $f$ has a local minimum at $(x_{0}, y_{0})$
- if $D>0$ and $f_{x x}(x_{0}, y_{0})<0$ then $f$ has a local maximum at $(x_{0}, y_{0})$
- if $D<0$ then $f$ has a saddle point at $(x_{0}, y_{0})$
- if $D=0$ then the test is inconclusive
@@ -0,0 +1,12 @@
#rs/notes #rs/class/math163
- - -
- Double integrals
- used to find volume underneath 3D curve $$\int \int f(x, y)dA = \lim_{ m,n \to \infty } \sum_{i=1}^m \sum_{j=1}^n f(x_{i}^*, y_{j}^*)\Delta A$$
- Properties
- sum: $$\int \int [f(x, y) + g(x, y)]dA = \int \int f(x, y)dA + \int \int g(x, y)dA$$
- constant: $$\int \int cf(x, y)dA = c\int \int f(x, y)dA$$
- Iterated integrals
- the iterated integral for a function $f(x, y)$ over the rectangular region $R = [a, b] \times [c,d]$ is $$\int_{a}^b \int_{c}^d f(x, y)dy \ dx = \int_{a}^b\left[ \int_{c}^d f(x, y) dy\right]dx$$
- Fubini's theorem
- if a function is continuous over the region, then the double integral equals the iterated integral: $$\int \int f(x, y) dA = \int \int f(x, y)dx \ dy = \int_{a}^b \int_{c}^d f(x, y) dx \ dy = \int_{c}^d \int_{a}^b f(x, y) dy \ dx$$
@@ -0,0 +1,4 @@
#rs/notes #rs/class/math163
- - -
- average value of a funciton of two variables over a region R is: $$f_{ave} = \frac{1}{Area \ R}\int \int_{R} f(x, y) dA$$
-
@@ -0,0 +1,20 @@
#rs/notes #rs/class/math163
- - -
- Vectors
- have both magnitude and direction
- Operations on vectors
- scalar multiplication
- multiply both components of vector by the same scalar
- doensn't change the direction of the vector
- addition
- add the corresponding components together
- same as putting initial point of one on terminal point of other
- subtraction
- v - w can be represented as v + (-w)
- when initial points are the same, difference is the vector formed between the two terminal points
- can also add the negative of one vector to the other
- Component form
- when a vectors initial point is at (0,0) it can be written in component form
- <x, y>
- Magnitude
- Pythagoras