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(xa)+c2(xa)2+c3(xa)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 Rootx12x12
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 Trigonometrysin1(x)1/(1x2)
cos1(x)1/(1x2)
tan1(x)1/(1+x2)
RulesFunctionDerivative
Multiplication by constantcfcf
Power Rulexnnxn1
Sum Rulef+gf+g
Difference Rulefgfg
Product Rulefgfg+fg
Quotient Rulef/gfggfg2
Reciprocal Rule1/ff/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.

limxcf(x)g(x)=limxcf(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(xa)+c2(xa)2+c3(xa)3+f(x)=f(a)+f(a)1!(xa)+f(a)2!(xa)2+f(a)3!(xa)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=0xnn!
sinxsinx=xx33!+x55!x77!+n=0(1)n(2n+1)!x2n+1
cosxcosx=1x22!+x44!x66!+n=0(1)n(2n)!x2n
11x for |x|<111x=1+x+x2+x3+x4+n=0xn

Integration

svg

Integration Rules TABLE

Common FunctionsFunctionIntegral
Constantadxax + C$
Variablexdxx2/2+C
Squarex2dxx3/3+C
Reciprocal(1/x)dxln|x|+C
Exponentialexdxex+C
axdxax/ln(a)+C
ln(x)dxxln(x)x+C
Trigonometry (x in radians)cos(x)dxsin(x)+C
sin(x)dxcos(x)+C
sec2(x)dxtan(x)+C
RulesFunctionIntegral
Multiplication by constantcf(x)dxcf(x)dx
Power Rule (n≠−1)xndxxn+1n+1+C
Sum Rule(f+g)dxfdx+gdx
Difference Rule(fg)dxfdxgdx

Integration by Parts

uvdx=uvdxu(vdx)dx

svg

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

come from where?

  1. (uv)=uv+uv
  2. (uv)dx=uvdx+uvdx
  3. uv=uvdx+uvdx
  4. uvdx=uvuvdx
  5. replace v' with w and v with wdx
uwdx=uwdxu(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 sin1(x), cos1(x), tan1(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=[uvdxu(vdx)dx]ababuvdx=[uvdx]ababu(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)dxabf(x)dx=baf(x)dxaaf(x)dx=0abf(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(ba)324n2
  • For Trapezoidal: |E|=K(ba)312n2
  • For Simpson's: |E|=M(ba)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

吃好喝好 快乐地活下去