[spec] concentration integration and separation of variables
[notes.git] / spec / calculus.md
index 30a295788bca6e503648f0a6a247a7cbd3957882..97bc926a7cb6b59e66ec2eba6c634ac742cb6028 100644 (file)
@@ -347,13 +347,11 @@ where $f(x) > g(x)$
 
 ## Length of a curve
 
-$$L = \int^b_a \sqrt{1 + ({dy \over dx})^2} \> dx$$
+$$L = \int^b_a \sqrt{1 + ({dy \over dx})^2} \> dx \quad \text{(Cartesian)}$$
 
-Evaluate on CAS. Or use Interactive $\rightarrow$ Calculation $\rightarrow$ Line $\rightarrow$ `arcLen`.
-
-### Parametric curve
+$$L = \int^b_a \sqrt{{dx \over dt} + ({dy \over dt})^2} \> dt \quad \text{(parametric)}$$
 
-$$l = \int^b_a \sqrt{({dx \over dt})^2 + ({dy \over dt})^2} \> dt$$
+Evaluate on CAS. Or use Interactive $\rightarrow$ Calculation $\rightarrow$ Line $\rightarrow$ `arcLen`.
 
 ## Rates
 
@@ -361,7 +359,7 @@ $$l = \int^b_a \sqrt{({dx \over dt})^2 + ({dy \over dt})^2} \> dt$$
 
 $${da \over db} \quad \text{(change in } a \text{ with respect to } b)$$
 
-#### Gradient at a point on parametric curve
+### Gradient at a point on parametric curve
 
 $${dy \over dx} = {{dy \over dt} \div {dx \over dt}} \> \vert \> {dx \over dt} \ne 0$$
 
@@ -400,3 +398,13 @@ Start with $y=\dots$, and differentiate. Substitute into original equation.
 ### Function of the dependent variable
 
 If ${dy \over dx}=g(y)$, then ${dx \over dy} = 1 \div {dy \over dx} = {1 \over g(y)}$. Integrate both sides to solve equation. Only add $c$ on one side. Express $e^c$ as $A$.
+
+### Mixing problems
+
+$$\left({dm \over dt}\right)_\Sigma = \left({dm \over dt}\right)_{\text{in}} - \left({dm \over dt}\)_{\text{out}}$$
+
+### Separation of variables
+
+If ${dy \over dx}=f(x)g(y)$, then:
+
+$$\int f(x) \> dx = \int {1 \over g(y)} \> dy$$