eifueo/docs/1a/math117.md
2023-01-10 11:17:59 -05:00

25 KiB
Raw Blame History

MATH 117: Calculus 1

Functions

A function is a rule where each input has exactly one output, which can be determined by the vertical line test.

!!! definition - The domain is the set of allowable independent values. - The range is the set of allowable dependent values.

Functions can be composed to apply the result of one function to another. (fg)(x)=f(g(x)) (f\circ g)(x) = f(g(x))

!!! warning Composition is not commutative: fggff\circ g \neq g\circ f.

Inverse functions

The inverse of a function swaps the domain and range of the original function: f1(x)f^{-1}(x) is the inverse of f(x)f(x).. It can be determined by solving for the other variable: \[ \begin{align*} y&=mx+b \\ y-b&=mx \\ x&=\frac{y-b}{m} \end{align*} \]

Because the domain and range are simply swapped, the inverse function is just the original function reflected across the line y=xy=x.

(Source: Wikimedia Commons, public domain)

If the inverse of a function is applied to the original function, the original value is returned. f1(f(x))=xf^{-1}(f(x)) = x

A function is invertible only if it is “one-to-one”: each output must have exactly one input. This can be tested via a horizontal line test of the original function.

If a function is not invertible, restricting the domain may allow a partial inverse to be defined.

!!! example (Source: Wikimedia Commons, public domain) By restricting the domain to [0,inf][0,\inf], the multivalued inverse function y=±xy=\pm\sqrt{x} is reduced to just the partial inverse y=xy=\sqrt{x}.

Symmetry

An even function satisfies the property that f(x)=f(x)f(x)=f(-x), indicating that it is unchanged by a reflection across the y-axis.

An odd function satisfies the property that f(x)=f(x)-f(x)=f(-x), indicating that it is unchanged by a 180° rotation about the origin.

The following properties are always true for even and odd functions:

  • even × even = even
  • odd × odd = even
  • even × odd = odd

Functions that are symmetric (that is, both f(x)f(x) and f(x)f(-x) exist) can be split into an even and odd component. Where g(x)g(x) is the even component and h(x)h(x) is the odd component: \[ \begin{align*} f(x) &= g(x) + h(x) \\ g(x) &= \frac{1}{2}(f(x) + f(-x)) \\ h(x) &= \frac{1}{2}(f(x) - f(-x)) \end{align*} \]

!!! note The hyperbolic sine and cosine are the even and odd components of f(x)=exf(x)=e^x. coshx=12(ex+ex)sinhx=12(exex) \cosh x = \frac{1}{2}(e^x + e^{-x}) \\ \sinh x = \frac{1}{2}(e^x - e^{-x})

Piecewise functions

A piecewise function is one that changes formulae at certain intervals. To solve piecewise functions, each of ones intervals should be considered.

Absolute value function

\[ \begin{align*} |x| = \begin{cases} x &\text{ if } x\geq 0 \\ -x &\text{ if } x < 0 \end{cases} \end{align*} \]

Signum function

The signum function returns the sign of its argument.

\[ \begin{align*} \text{sgn}(x)=\begin{cases} -1 &\text{ if } x < 0 \\ 0 &\text{ if } x = 0 \\ 1 &\text{ if } x > 0 \end{cases} \end{align*} \]

Ramp function

The ramp function makes a ramp through the origin that suddenly flatlines at 0. Where cc is a constant:

\[ \begin{align*} r(t)=\begin{cases} 0 &\text{ if } x \leq 0 \\ ct &\text{ if } x > 0 \end{cases} \end{align*} \]

(Source: Wikimedia Commons, public domain)

Floor and ceiling functions

The floor function rounds down. x\lfloor x\rfloor

The ceiling function rounds up. x\lceil x \rceil

Fractional part function

In a nutshell, the fractional part function:

  • returns the part after the decimal point if the number is positive
  • returns 1 - the part after the decimal point if the number is negative

FRACPT(x)=xx\text{FRACPT}(x) = x-\lfloor x\rfloor

Because this function is periodic, it can be used to limit angles to the [0,2π)[0, 2\pi) range with: f(θ)=2πFRACPT(θ2π)f(\theta) = 2\pi\cdot\text{FRACPT}\biggr(\frac{\theta}{2\pi}\biggr)

Heaviside function

The Heaviside function effectively returns a boolean whether the number is greater than 0. \[ \begin{align*} H(x) = \begin{cases} 0 &\text{ if } t < 0 \\ 1 &\text{ if } t \geq 0 \end{cases} \end{align*} \]

This can be used to construct other piecewise functions by enabling them with H(xa)H(x-a) as a factor, where aa is the interval.

In a nutshell:

  • 1H(ta)1-H(t-a) lets you “turn a function off” at at t=at=a
  • H(ta)H(t-a) lets you “turn a function on at t=at=a
  • H(ta)H(tb)H(t-a) - H(t-b) leaves a function on in the interval (a,b)(a, b)

!!! example TODO: example for converting piecewise to heaviside via collecting heavisides

and vice versa

Periodicity

The function f(t)f(t) is periodic only if there is a repeating pattern, i.e. such that for every xx, there is an f(x)=f(x+nT)f(x) = f(x + nT), where TT is the period and nn is any integer.

Circular motion

Please see SL Physics 1#6.1 - Circular motion and its subcategory “Angular thingies” for more information.

Partial function decomposition (PFD)

In order to PFD:

  1. Factor the denominator into irreducibly quadratic or linear terms.
  2. For each factor, create a term. Where capital letters below are constants:
  • A linear factor Bx+CBx+C has a term ABx+C\frac{A}{Bx+C}.
  • An irreducibly quadratic factor Dx2+Ex+GDx^2+Ex+G has a term Hx+JDx2+Ex+G\frac{Hx+J}{Dx^2+Ex+G}.
  • Duplicate factors have terms with denominators with that factor to the power of 1 up to the number of times the factor is present in the original.
  1. Set the two equal to each other such that the denominators can be factored out.
  2. Create systems of equations to solve for each constant.

!!! example To decompose x(x+1)(x2+x+1)\frac{x}{(x+1)(x^2+x+1)}: \[ \begin{align*} \frac{x}{(x+1)(x^2+x+1)} &= \frac{A}{x+1} + \frac{Bx+C}{x^2+x+1} \\ &= \frac{A(x^2+x+1) + (Bx+C)(x+1)}{(x+1)(x^2+x+1)} \\ x &= A(x^2+x+1) + (Bx+C)(x+1) \\ 0x^2 + x + 0 &= (Ax^2 + Bx^2) + (Ax + Bx + Cx) + (A + C) \\ \\ &\begin{cases} 0 = A + B \\ 1 = A + B + C \\ 0 = A + C \end{cases} \\ A &= -1 \\ B &= 1 \\ C &= 1 \\ \\ ∴ \frac{x}{(x+1)(x^2+x+1)} &= -\frac{1}{x+1} + \frac{x + 1}{x^2 + x + 1} \end{align*} \]

Trigonometry

1 radian represents the angle when the length of the arc of a circle is equal to the radius. Where ss is the arc length:

θ=sr\theta=\frac{s}{r}

The following table indicates the special angles that should be memorised:

Angle (rad) 0 π6\frac{\pi}{6} π4\frac{\pi}{4} π3\frac{\pi}{3} π2\frac{\pi}{2} π\pi
cos 1 32\frac{\sqrt{3}}{2} 22\frac{\sqrt{2}}{2} 12\frac{1}{2} 0 -1
sin 0 12\frac{1}{2} 22\frac{\sqrt{2}}{2} 32\frac{\sqrt{3}}{2} 1 0
tan 0 33\frac{\sqrt{3}}{3} 1 3\sqrt{3} not allowed 0

Identities

The Pythagorean identity is the one behind right angle triangles:

cos2θ+sin2θ=1\cos^2\theta+\sin^2\theta = 1

Cosine and sine can be converted between by an angle shift:

cos(θπ2)=sinθsin(θπ2)=cosθ \cos\biggr(\theta-\frac{\pi}{2}\biggr) = \sin\theta \\ \sin\biggr(\theta-\frac{\pi}{2}\biggr) = \cos\theta

The angle sum identities allow expanding out angles:

cos(a+b)=cosacosbsinasinbsin(a+b)=sinacosb+cosasinb \cos(a+b)=\cos a\cos b - \sin a\sin b \\ \sin(a+b)=\sin a\cos b + \cos a\sin b

Subtracting angles is equal to the conjugates of the angle sum identities.

The double angle identities simplify the angle sum identity for a specific case.

sin2θ=2sinθcosθ \sin2\theta = 2\sin\theta\cos\theta \\

The half angle formulas are just random shit.

1+tan2θ=sec2θcos2θ=12(1+cos2θ)sin2θ=12(1cos2θ) 1+\tan^2\theta = \sec^2\theta \\ \cos^2\theta = \frac{1}{2}(1+\cos2\theta) \\ \sin^2\theta = \frac{1}{2}(1-\cos2\theta)

Inverse trig functions

Because extending the domain does not pass the horizontal line test, for engineering purposes, inverse sine is only the inverse of sine so long as the angle is within [π2,π2][-\frac{\pi}{2}, \frac{\pi}{2}]. Otherwise, it is equal to that version mod 2 pi.

y=sin1x    x=siny,y[π2,π2]y=\sin^{-1}x \iff x=\sin y, y\in [-\frac{\pi}{2}, \frac{\pi}{2}]

This means that x[1,1]x\in[-1, 1].

sin(sin1x)=xsin1(sinx)=x only if x[π2,π2] \sin(\sin^{-1}x) = x \\ \sin^{-1}(\sin x) = x \text{ only if } x\in[-\frac{\pi}{2}, \frac{\pi}{2}]

Similarly, inverse cosine only returns values within [0,π][0,\pi].

Similarly, inverse tangent only returns values within (π2,π2)(-\frac{\pi}{2}, \frac{\pi}{2}). However, tan1\tan^{-1} is defined for all xRx\in\mathbb R.

Although most of the reciprocal function rules can be derived, secant is only valid in the odd range [π,π2)[0,π2)[-\pi, -\frac{\pi}{2})\cup [0, \frac{\pi}{2}), and returns values (,1][1,)(-\infty, -1]\cup [1, \infty).

Electrical signals

Waves are commonly presented in the following format, where AA is a positive amplitude:

g(t)=Asin(ωt+α)g(t)=A\sin(\omega t + \alpha)

In general, if given a sum of a sine and cosine:

asinωt+bcosωt=a2+b2sin(ωt+α)a\sin\omega t + b\cos\omega t = \sqrt{a^2 + b^2}\sin(\omega t + \alpha)

The sign of α\alpha should be determined via its quadrant via the signs of aa (sine) and bb (cosine) via the CAST rule.

!!! example Given y=5cos2t3sin2ty=5\cos 2t - 3\sin 2t:

$$
\begin{align*}
A\sin (2t+\alpha) &= A\sin 2t\cos\alpha + A\cos 2t\sin\alpha \\
&= (A\cos\alpha)\sin 2t + (A\sin\alpha)\cos 2t \\
\\
\begin{cases}
A\sin\alpha = 5 \\
A\cos\alpha = -3
\end{cases}
\\
\\
A^2\sin^2\alpha + A^2\cos^2\alpha &= 5^2 + (-3)^2 \\
A^2 &= 34 \\
A &= \sqrt{34} \\
\\
\alpha &= \tan^{-1}\frac{5}{3} \\
&\text{since sine is positive and cosine is negative, the angle is in Q3} \\
∴ \alpha &= \tan^{-1}\frac{5}{3} + \pi
\end{align*}
$$

Limits

Limits of sequences

!!! definition - A sequence is an infinitely long list of numbers with the domain of all natural numbers (may also include 0). - A sequence that does not converge is a diverging sequence.

A sequence is typically denoted via braces.

{an} or {an}n=0\{a_n\}\text{ or } \{a_n\}^\infty_{n=0}

Sometimes sequences have formulae.

{5n3n}n=0\left\{\frac{5^n}{3^n}\right\}^\infty_{n=0}

The limit of a sequence is the number LL that the sequence converges to as nn increases, which can be expressed in either of the two ways below:

anL as nlimnan=L a_n \to L \text{ as } n\to\infty \\ \lim_{n\to\infty}a_n=L

: > Specifically, a sequence {an}\{a_n\} converges to limit LL if, for any positive number ϵ\epsilon, there exists an integer NN such that n>NanL<ϵn>N \Rightarrow |a_n - L | < \epsilon.

Effectively, if there is always a term number that would lead to the distance between the sequence at that term and the limit to be less than any arbitrarily small ϵ\epsilon, the sequence has the claimed limit.

!!! example A limit can be proved to exist with the above definition. To prove {1n}0\left\{\frac{1}{\sqrt{n}}\right\}\to0 as nn\to\infty: \[ \begin{align*} \text{Proof:} \\ n > N &\Rightarrow \left|\frac{1}{\sqrt{n}} - 0\right| < \epsilon \\ &\Rightarrow \frac{1}{\epsilon^2} < n \end{align*} \\ \ce{Let \epsilon\ be any positive number{.} If n > \frac{1}{\epsilon^2}, then \frac{1}{\sqrt{n}}-> 0 as n -> \infty{.}} \]

Please see SL Math - Analysis and Approaches 1#Limits for more information.

The squeeze theorem states that if a sequence lies between two other converging sequences with the same limit, it also converges to this limit. That is, if anLa_n\to L and cnLc_n\to L as nn\to\infty, and anbncna_n\leq b_n\leq c_n is always true, bnLb_n\to L.

!!! example {sinnn}\left\{\frac{\sin n}{n}\right\}: since 1sinn1-1\leq\sin n\leq 1, 1nsinnn1n\frac{-1}{n}\leq\frac{\sin n}{n}\leq \frac{1}{n}. Since both other functions converge at 0, and sin(n) is always between the two, sin(n) thus also converges at 0 as n approaches infinity.

If function ff is continuous and limnan\lim_{n\to\infty}a_n exists:

limnf(an)=f(limnan)\lim_{n\to\infty}f(a_n)=f\left(\lim_{n\to\infty}a_n\right)

On a side note:

limntan1n=π2\lim_{n\to\infty}\tan^{-1} n = \frac{\pi}{2}

Limits of functions

The definition is largely the same as for the limit of a sequence:

A function f(x)Lf(x)\to L as xax\to a if, for any positive ϵ\epsilon, there exists a number δ\delta such that 0<xa<δf(x)L<ϵ0<|x-a|<\delta\Rightarrow|f(x)-L|<\epsilon.

Again, for the limit to be true, there must be a value xx that makes the distance between the function and the limit less than any arbitrarily small ϵ\epsilon.

The extra 0<0 < is because the behaviour for when x=ax=a, which may or may not be defined, is irrelevant.

!!! example To prove 3x243x-2\to 4 as x2x\to 2: \[ \ce{for any \epsilon\ > 0, there is a \delta\ > 0\ such that:} \] \[ \begin{align*} |x-2| < \delta &\Rightarrow|(3x-2) - 4| &< \epsilon \\ &\Leftarrow |(3x-2) -4| &< \epsilon \\ &\Leftarrow |3x-6| &< \epsilon \\ &\Leftarrow |x-2| &< \frac{\epsilon}{3} \\ \delta &= \frac{\epsilon}{3} \end{align*} \] \[ \ce{Let \epsilon\ be any positive number{.} If }|x-2|<\frac{\epsilon}{3}, \\ \text{then }|(3x-2)-4|<\epsilon\text{. Therefore }3x-2\to 4\text{ as }x\to 2. \]

!!! warning When solving for limits, negatives have to be considered if the limit approaches a negative number:

$$\lim_{x\to -\infty}\frac{x}{\sqrt{4x^2-3}} = \frac{1}{-\frac{1}{\sqrt{x}^2}\sqrt{4x^2-3}}$$

As the angle in radians of an arc approaches 0, it is nearly equal to the sine (vertical component).

limθ0sinθθ=1 \lim_{\theta\to 0}\frac{\sin\theta}{\theta} = 1

This function is commonly used in engineering and is known as the sinc function.

sinc(x)={sinxx if x00 if x=0 \text{sinc}(x) = \begin{cases} \frac{\sin x}{x}&\text{ if }x\neq 0 \\ 0&\text{ if }x=0 \end{cases}

Continuity

Please see SL Math - Analysis and Approaches 1#Limits and continuity for more information.

Most common functions can be assumed to be continuous (e.g., sinx,cosx,x,x,1x,ex,lnx\sin x,\cos x, x, \sqrt{x}, \frac{1}{x}, e^x, \ln x, etc.).

f(x)f(x) is continuous in an interval if for any xx and yy in the interval and any positive number ϵ\epsilon, there exists a number δ\delta such that xy<δf(x)f(y)<ϵ|x-y|<\delta\Rightarrow |f(x)-f(y)| < \epsilon.

Effectively, if f(x)f(x) can be made infinitely close to f(y)f(y) by making xx closer to yy, the function is continuous.

If two functions are continuous:

  • (fg)(x)(f\circ g)(x) is continuous
  • (f±g)(x)(f\pm g)(x) is continuous
  • (fg)(x)(fg)(x) is continuous
  • 1f(x)\frac{1}{f(x)} is continuous anywhere f(x)0f(x)\neq 0

Intermediate value theorem

The IVT states that if a function is continuous and there is a point between two other points, its term must also be between those two other points.

If f(x)f(x) is continuous, if f(a)Cf(b)f(a)\leq C\leq f(b), there must be a number c[a,b]c\in[a,b] where f(c)=Cf(c)=C.

The theorem is used to validate using binary search to find roots (guess and check).

Extreme value theorem

The EVT states that any function continuous within a closed interval has at least one maximum and minimum.

If f(x)f(x) is continuous in the closed interval [a,b][a, b], there exist numbers cc and dd in [a,b][a,b] such that f(c)f(x)f(d)f(c)\leq f(x)\leq f(d).

Derivatives

Please see SL Math - Analysis and Approaches 1#Rate of change and SL Math - Analysis and Approaches#Derivatives for more information.

The derivative of a function f(x)f(x) at aa is determined by the following limit:

limxaf(x)f(a)xa\lim_{x\to a}\frac{f(x)-f(a)}{x-a}

If the limit does not exist, the function is not differentiable at aa.

Alternative notations for f(x)f'(x) include f˙(x)\dot f(x) and DfDf (which is equal to ddxf(x)\frac{d}{dx}f(x)).

Please see SL Math - Analysis and Approaches 1#Finding derivatives using first principles and SL Math - Analysis and Approaches 1#Derivative rules for more information.

Some examples of derivatives of inverse functions:

  • ddxf1(x)=1dxdy\frac{d}{dx}f^{-1}(x) = \frac{1}{\frac{dx}{dy}}
  • ddxsin1x=11x2\frac{d}{dx}\sin^{-1} x = \frac{1}{\sqrt{1-x^2}}
  • ddxcos1x=11x2\frac{d}{dx}\cos^{-1} x = -\frac{1}{\sqrt{1-x^2}}
  • ddxtan1x=11+x2\frac{d}{dx}\tan^{-1} x = \frac{1}{1+x^2}
  • ddxlogax=1(lna)x\frac{d}{dx}\log_a x = \frac{1}{(\ln a) x}
  • ddxax=(lna)ax\frac{d}{dx}a^x = (\ln a)a^x

Implicit differentiation

Please see SL Math - Analysis and Approaches 1#Implicit differentiation for more information.

Mean value theorem

The MVT states that the average slope between two points will be reached at least once between them if the function is differentiable.

If f(x)f(x) is continuous in [a,b][a, b] and differentiable in (a,b)(a, b), respectively, there must be a c(a,b)c\in(a,b) such that f(c)=f(b)f(a)baf'(c)=\frac{f(b)-f(a)}{b-a}.

LHôpitals rule

As long as f(x)g(x)=00 or \frac{f(x)}{g(x)} = \frac{0}{0}\text{ or } \frac{\infty}{\infty}:

limxaf(x)g(x)=limxaf(x)g(x)\lim_{x\to a}\frac{f(x)}{g(x)} = \lim_{x\to a}\frac{f'(x)}{g'(x)}

If f(x)f(x) and g(x)g(x) are differentiable (except maybe at aa), and limxaf(x)=0\lim_{x\to a}f(x) = 0 and limxag(x)=0\lim_{x\to a}g(x) = 0, the relation is true.

Please see SL Math - Analysis and Approaches 1#Related rates for more information.

Differentials

Δx\Delta x and Δy\Delta y represent tiny increments of xx and yy. dxdx and dydy are used when those tiny ammounts approach 0.

Specifically, by rearranging the definition of the deriative, dfdf is a short form for the differential of ff:

f(x)dx=dy=dff'(x)dx=dy=df

By abusing differentials, the tangent line of a point in a function can be approximated.

Δff(x)Δx\Delta f\approx f'(x)\Delta x

!!! example If f(x)=x,x0=81f(x) = \sqrt{x},x_0=81, 78\sqrt{78} can be estimated by:

$$
\begin{align*}
\Delta x&=dx=78-81=-3 \\
\frac{df}{dx} &= f'(x) \\
df &= f'(x)dx \\
&= \frac{1}{2\sqrt{81}}(-3) = -\frac{1}{6} \\
f(78) &= \sqrt{81}-\frac{1}{6} \\
&= \frac{53}{54}
\end{align*}
$$

Curve sketching

Please see SL Math - Analysis and Approaches 1#5.2 - Increasing and decreasing functions for more information.

Integrals

Please see SL Math - Analysis and Approaches 2#Integration for more information.

More integration rules

  • axdx=axlna+C\int a^xdx = \frac{a^x}{\ln a} + C
  • sec2xdx=tanx+C\int\sec^2xdx=\tan x+C
  • cosh xdx=sinh x+C\int\text{cosh } xdx = \text{sinh } x + C
  • sinh xdx=cosh x+C\int\text{sinh } xdx = \text{cosh } x + C
  • 11x2dx=sin1x+C\int\frac{1}{\sqrt{1-x^2}}dx = \sin^{-1}x+C
  • csc2xdx=cotx+C\int\csc^2xdx = -\cot x+C
  • secxtanxdx=secx+C\int\sec x\tan x dx = \sec x + C
  • cscxcotxdx=cscx+C\int\csc x\cot xdx = -\csc x + C
  • 11+x2dx=tan1x+C\int\frac{1}{1+x^2}dx=\tan^{-1}x+C
  • secxdx=lnsecx+tanx+C\int\sec xdx = \ln|\sec x + \tan x| + C
  • cscxdx=lncscx+cotx+C\int\csc x dx = -\ln|\csc x + \cot x| + C

Integration by parts

IBP lets you replace an integration problem with a different, potentially easier one.

u dv=uvv du \int u\ dv = uv-\int v\ du

or, in function notation:

u(x)v(x)dx=u(x)v(x)v(x)u(x)dx \int u(x)v'(x)dx = u(x)v(x)-\int v(x)u'(x)dx

Effectively, a product of two factors should be made simpler such that one is differentiable and the other is integratable. While there are integrals on both sides, the constant CC can be cancelled out for simplicity.

Heuristics to be used:

  • dvdv must be differentiable
  • uu should be simpler when differentiated
  • IBP might need to be used repeatedly
  • IBP and u-substitution might be needed together

!!! example To solve xexdx\int xe^xdx:

Let $u=x$, $dv=e^xdx$:

$\therefore du=dx, v=e^x + C$

via IBP:

$$
\begin{align*}
\int udv &= xe^x - \int e^xdx \\
&= xe^x-e^x + K
\end{align*}
$$

Please see SL Math - Analysis and Approaches 2#Area between two curves for more information.

  • A Type 1 region is bounded by functions of xx — its open-ended in the x-axis.
  • A Type 2 region is bounded by functions of yy, which can be solved by integrating yy.
  • A Type 3 region can be viewed as either Type 1 or 2.

Substituting u=cosθu=\cos\theta, du=sinθdθdu=-\sin\theta d\theta is common.

Mean values

The mean value of a continuous function f(x)f(x) in [a,b][a, b] is equal to:

m.v.(f)=1baabf(x)dx\text{m.v.} (f) = \frac{1}{b-a}\int_a^b f(x)dx

The root mean square is equal to the square root of the mean value for each point:

r.m.s.(f)=1baabf(x)2dx\text{r.m.s.} (f) = \sqrt{\frac{1}{b-a}\int_a^b f(x)^2dx}

Trigonometric substitution

If aRa\in\mathbb R, functions of the form x2±a2\sqrt{x^2\pm a^2} or a2x2\sqrt{a^2-x^2} can be rearranged in the form of a trig function.

  • In x2+a2x=atanθ\sqrt{x^2 + a^2} \rightarrow x=a\tan\theta
  • In x2a2x=asecθ\sqrt{x^2-a^2} \rightarrow x=a\sec\theta
  • In a2x2x=asinθ\sqrt{a^2-x^2} \rightarrow x=a\sin\theta

…which can be used to derive other trig identities to be integrated.

Rational integrals

All integrals of rational functions are expressible as more rational functions, ln, and arctan.

Partial fraction decomposition is useful here.

1x2+a2dx=1atan1(xa)+C\int \frac{1}{x^2+a^2}dx=\frac{1}{a}tan^{-1}\left(\frac{x}{a}\right)+C

Summary of all integration rules

  • xn dx=1n+1xn+1+C,n1\int x^n\ dx = \frac{1}{n+1}x^{n+1} + C,n\neq -1
  • 1xdx=lnx+C\int \frac{1}{x}dx = \ln|x| + C
  • ex dx=ex+C\int e^x\ dx = e^x + C
  • ax dx=1lnaax+C\int a^x\ dx = \frac{1}{\ln a} a^x + C
  • cosx dx=sinx+C\int\cos x\ dx = \sin x + C
  • sinx dx=cosx+C\int\sin x\ dx = -\cos x + C
  • sec2x dx=tanx+C\int\sec^2 x\ dx = \tan x + C
  • csc2x dx=cotx+C\int\csc^2 x\ dx = -\cot x + C
  • secxtanx dx=secx+C\int\sec x\tan x\ dx = \sec x + C
  • cscxcotx dx=cscx+C\int\csc x\cot x\ dx = -\csc x + C
  • cosh x dx=sinh x+C\int\text{cosh}\ x\ dx = \text{sinh}\ x + C
  • sinh x dx=cosh x+C\int\text{sinh}\ x\ dx = \text{cosh}\ x + C
  • \(\int\text{sech}^2\ x\ dx = \text{tanh}\ x + C\)
  • sech xtanh x dx=sech x+C\int\text{sech}\ x\text{tanh}\ x\ dx = \text{sech}\ x + C
  • 11+x2dx=tan1x+C\int\frac{1}{1+x^2}dx=\tan^{-1}x+C
  • 1a2+x2dx=1atan1(xa)+C\int\frac{1}{a^2+x^2}dx=\frac{1}{a}\tan^{-1}\left(\frac{x}{a}\right)+C
  • 11x2dx=sin1x+C\int\frac{1}{\sqrt{1-x^2}}dx=\sin^{-1}x+C
  • 1xx21dx=sec1x+C\int\frac{1}{x\sqrt{x^2-1}}dx=\sec^{-1}x+C
  • secx dx=lnsecx+tanx+C\int\sec x\ dx = \ln|\sec x+\tan x|+C
  • cscx dx=lncscx+cotx+C\int\csc x\ dx = -\ln|\csc x + \cot x|+C

Applications of integration

The length of a curve over a given interval is equal to:

\[L=\int^b_a\sqrt{1+\left(\frac{dy}{dx}\right)^2\ dx}\]

For curves bounded by functions of yy:

\[L(y)=\int^b_a\sqrt{1+\left(\frac{dx}{dy}\right)^2\ dy}\]

Solids of revolution

Please see SL Math - Analysis and Approaches 2#Volumes of solids of revolution for more information.

The parallel axis theorem can be used to shift the axis of the solid to y=ky=k:

\[V=\pi\int^b_a [f(x)^2 + 2kf(x)]\ dx\]

Around the vertical axis about the origin with a function that is bounded by yy:

\[V=\int^b_a2\pixf(x)\ dx\]

Around the vertical axis about the origin with functions bounded by xx:

\[V=\int^b_a2\pi(x-k)[f(x)-g(x)]\ dx\]

The frustrum is the sesction bounded by two parallel plates.

The surface area of the solids are as follows:

SA=ab2πf(x)1+f(x)2 dxSA=\int^b_a2\pi f(x)\sqrt{1+f'(x)^2}\ dx

Around the vertical axis about the origin:

\[SA=\int^b_a2\pi x\sqrt{1+f'(x)^2}\ dx\]

Improper integrals

An improper integral is a definite integral where only one bound is defined:

!!! example 2\int_2^\infty or ab\int_a^b, where only aa is defined.

These can be expanded into limits:

af(x) dx=limtatf(x) dx\int_a^\infty f(x)\ dx = \lim_{t\to\infty}\int_a^t f(x)\ dx

The integral converges to a value if the limit exists.

af(x) dx=limttaf(x) dx\int_{-\infty}^a f(x)\ dx = \lim_{t\to-\infty}\int^a_tf(x)\ dx

Discontinuities can be simply dodged. If there is a discontinuity:

  • at bb: abf(x) dx\int_a^{b^-}f(x)\ dx
  • at aa: a+bf(x) dx\int_{a^+}^b f(x)\ dx
  • at a<c<ba<c<b: acf(x) dx+cbf(x) dx\int_a^cf(x)\ dx + \int_c^bf(x)\ dx

Limits to both infinities must be broken up because they may not approach them at the same rate.

x dx=0x dx+0x dx\int^\infty_{-\infty}x\ dx = \int^0_{-\infty} x\ dx + \int^\infty_0 x\ dx

Polar form

Please see MATH 115: Linear Algebra#Polar form for more information.

Instead of rr and θ\theta, engineers use ρ\rho and ϕ\phi.

For ρ0\rho \geq 0, these basic conversions go between the two forms:

  • x=ρcosϕx=\rho\cos\phi
  • y=ρsinϕy=\rho\sin\phi
  • ϕ=x2+y2\phi=\sqrt{x^2+y^2}
  • ϕ=tan1(yx)+2kπ,kZ\phi=\tan^{-1}\left(\frac{y}{x}\right) + 2k\pi,k\in\mathbb Z

Polar form allows for simpler representations such as x2+y2=4    ρ=2x^2+y^2=4 \iff \rho=2

Functions are described in the form ρ=f(ϕ)\rho=f(\phi), such as ρ=sinϕ+2\rho=\sin\phi+2.

Area under curves

From the axis to the curve:

\[A=\int^\beta_\alpha\frac{1}{2}[f(\phi)]^2\ d\phi\]

Between two curves:

\[A=\int^\beta_\alpha\frac{1}{2}[f(\phi)^2-g(\phi)^2]\ d\phi\]

Arc length:

\[L=\int^\beta_\alpha\sqrt{f'(\phi)^2 + f(\phi)^2}\ d\phi = \int^\beta_\alpha\sqrt{\left(\frac{d\rho}{d\phi}\right)^2+\rho^2}\ d\phi\]

Complex numbers

Please see MATH 115: Linear Algebra#Complex Numbers for more information.

Impedance

Where \(\~i\) is a complex number representing the current of a circuit:

\[\~i(t)=I\cdot Im(e^{j\omega t})\]

This can be related to Ohms law, because v(t)=IRsin(ωt)v(t)=IR\sin(\omega t) such that \(\~v=IRe^{j\omega t}\):

\[\~v=R\~i\]

In fact, t

\[ \~v=Z\~i,\text{ where } Z=\begin{cases} \begin{align*} &R &\text{ for resistors} \\ &\frac{1}{j\omega C} &\text{ for capacitors} \\ &j\omega L &\text{ for inductors} \end{align*} \end{cases} \]

Impedance has similar properties to resistance.

  • In series: Z=Z1+Z2+Z3...Z = Z_1 + Z_2 + Z_3 ...
  • In parallel: 1Z=1Z1+1Z2+1Z3...\frac{1}{Z} = \frac{1}{Z_1} + \frac{1}{Z_2} + \frac{1}{Z_3} ...