Skip to content

微积分 ​

学习地址

Current Progress: Differential Equations
中断,先去听 3blue1brown 的课,或者 mooc

todo todo

  1. Magic Hexagon for Trig Identities
  2. Factorial !
  3. Combinations and Permutations
  4. Gamma Function

Confusions

  1. Did it just drop out of the sky?
f(x)=c0+c1(x−a)+c2(x−a)2+c3(x−a)3+…
  1. confuse all pages: Fourier Series
  2. todo todo

Derivative ​

We write dx instead of "Δx heads towards 0".

dsin⁡(x)dx and sin′(x) both mean "The derivative of sin(x)"

dsin⁡(x)dx=cos(x)

or

sin′(x)=cos(x)

Derivative Rules TABLE

Common FunctionsFunctionDerivative
Constantc0
Linex1
axa
Squarex22x
Square Rootx12x−12
Exponentialexex
axln⁡(a)ax
Logarithmsln(x)1/x
loga⁡(x)1/(xln(a))
Trigonometry (x is in radians)sin(x)cos(x)
cos(x)−sin(x)
tan(x)sec2(x)
Inverse Trigonometrysin−1(x)1/(1−x2)
cos−1(x)−1/(1−x2)
tan−1(x)1/(1+x2)
RulesFunctionDerivative
Multiplication by constantcfcf′
Power Rulexnnxn−1
Sum Rulef+gf′+g′
Difference Rulef−gf′−g′
Product Rulefgfg′+f′g
Quotient Rulef/gf′g−g′fg2
Reciprocal Rule1/f−f′/f2

Chain Rule

NotationChain Rule
Using ddxdydx=dydududx
Using ′ (meaning derivative of)f(g(x))=f′(g(x))g′(x)
As "Composition of Functions"f°g=(f′°g)×g′

Composition of Functions

The result of f() is sent through g()
It is written: (g°f)(x)
Which means: g(f(x))

L'Hôpital's Rule ​

L'Hôpital

L'Hôpital is pronounced "lopital". He was a French mathematician from the 1600s.

limx→cf(x)g(x)=limx→cf′(x)g′(x)

Concave Upward and Downward ​

Derivatives:

  • When the slope continually increases, the function is concave upward.
  • When the slope continually decreases, the function is concave downward.

second derivative:

  • When the second derivative is positive, the function is concave upward.
  • When the second derivative is negative, the function is concave downward.

Example

the function x2

Slope Stays the Same

Example: y = 2x + 1
2x + 1 is a straight line.

It is concave upward.
It is also concave downward.

It is not strictly concave upward.
And it is not strictly concave downward.

Differentiable ​

Differentiable means that the derivative exists

Taylor Series ​

f(x)=c0+c1(x−a)+c2(x−a)2+c3(x−a)3+…f(x)=f(a)+f′(a)1!(x−a)+f″(a)2!(x−a)2+f‴(a)3!(x−a)3+…

Maclaurin Series

A Maclaurin Series is a Taylor Series where a=0, so all the examples we have been using so far can also be called Maclaurin Series.

Taylor Series expansionAs Sigma Notation
exex=1+x+x22!+x33!+x44!+⋯∑n=0∞xnn!
sinxsin⁡x=x−x33!+x55!−x77!+⋯∑n=0∞(−1)n(2n+1)!x2n+1
cosxcos⁡x=1−x22!+x44!−x66!+⋯∑n=0∞(−1)n(2n)!x2n
11−x for |x|<111−x=1+x+x2+x3+x4+⋯∑n=0∞xn

Integration ​

svg

Integration Rules TABLE

Common FunctionsFunctionIntegral
Constant∫adxax + C$
Variable∫xdxx2/2+C
Square∫x2dxx3/3+C
Reciprocal∫(1/x)dxln|x|+C
Exponential∫exdxex+C
∫axdxax/ln(a)+C
∫ln(x)dxxln(x)−x+C
Trigonometry (x in radians)∫cos(x)dxsin(x)+C
∫sin(x)dx−cos(x)+C
∫sec2(x)dxtan(x)+C
RulesFunctionIntegral
Multiplication by constant∫cf(x)dxc∫f(x)dx
Power Rule (n≠−1)∫xndxxn+1n+1+C
Sum Rule∫(f+g)dx∫fdx+∫gdx
Difference Rule∫(f−g)dx∫fdx−∫gdx

Integration by Parts

∫uvdx=u∫vdx−∫u′(∫vdx)dx

svg

how to say ∫uvdx : (u integral v) minus integral of (derivative u, integral v)

come from where?

  1. (uv)′=uv′+u′v
  2. ∫(uv)′dx=∫uv′dx+∫u′vdx
  3. uv=∫uv′dx+∫u′vdx
  4. ∫uv′dx=uv−∫u′vdx
  5. replace v' with w and v with ∫wdx
∫uwdx=u∫wdx−∫u′(∫wdx)dx

Choose u and v carefully

A helpful rule of thumb is I LATE. Choose u based on which of these comes first:

  • I: Inverse trigonometric functions such as sin−1(x) , cos−1(x) , tan−1(x)
  • L: Logarithmic functions such as ln(x) , log(x)
  • A: Algebraic functions such as x2 , x3
  • T: Trigonometric functions such as sin(x) , cos(x) , tan(x)
  • E: Exponential functions such as ex , 3x

Definite Integrals

∫abuvdx=[u∫vdx−∫u′(∫vdx)dx]ab∫abuvdx=[u∫vdx]ab−∫abu′(∫vdx)dx

Integration by Substitution

svg

Notation

It is usual to show the indefinite integral (without the +C) inside square brackets, with the limits a and b after, like this:
∫122xdx=[x2]12

Properties

∫abf(x)+g(x)dx=∫abf(x)dx+∫abg(x)dx∫abf(x)dx=−∫baf(x)dx∫aaf(x)dx=0∫abf(x)dx=∫acf(x)dx+∫cbf(x)dx

Definite vs Indefinite Integrals

The Definite Integral between a and b is the Indefinite Integral at b minus the Indefinite Integral at a.

Arc Length ​

Using Calculus to find the length of a curve.

The Arc Length Formula

S=∫ab1+(f′(x))2dx

Integral Approximations ​

We can estimate the area under a curve by slicing a function up. There are many ways of finding the area of each slice such as:

  • Left Rectangular Approximation Method (LRAM)
  • Right Rectangular Approximation Method (RRAM)
  • Midpoint Rectangular Approximation Method (MRAM)
  • Trapezoidal Rule
  • Simpson's Rule

Riemann Sums

the previous 4 methods are also called Riemann Sums after the mathematician Bernhard Riemann.

Maximum Error

  • For Midpoint: |E|=K(b−a)324n2
  • For Trapezoidal: |E|=K(b−a)312n2
  • For Simpson's: |E|=M(b−a)5180n4
where
  • |E| is the absolute value of the maximum error (could be plus or minus)
  • a is the start of the interval
  • b is the end of the interval
  • n is the number of slices
  • K is the greatest second derivative over the interval.
  • M is the greatest fourth derivative over the interval.
    (By "greatest" we mean the maximum absolute value.)

Fourier Series ​

confusion

Differential Equations ​

Compound Interest

svg

where
  • FV = Future Value
  • PV = Present Value
  • r = annual interest rate
  • n = number of periods

Effective Annual Rate = (1+(r/n))n − 1

Where:

  • r = Nominal Rate (the rate they mention)
  • n = number of periods that are compounded (example: for monthly n=12)

APR means "Annual Percentage Rate": it shows how much you will actually be paying for the year (including compounding, fees, etc).

Examples

Example 1: "1% per month" actually works out to be 12.683% APR (if no fees).

Example 2: "6% interest with monthly compounding" works out to be 6.168% APR (if no fees).

confusion

吃好喝好 快乐地活下去