Skip to content

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.

Warning

Composition is not commutative: .

Inverse functions

The inverse of a function swaps the domain and range of the original function: is the inverse of .. It can be determined by solving for the other variable:

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

(Source: Wikimedia Commons, public domain)

If the inverse of a function is applied to the original function, the original value is returned.

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 , the multivalued inverse function is reduced to just the partial inverse .

Symmetry

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

An odd function satisfies the property that , 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 and exist) can be split into an even and odd component. Where is the even component and is the odd component:

Note

The hyperbolic sine and cosine are the even and odd components of .

Piecewise functions

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

Absolute value function

Signum function

The signum function returns the sign of its argument.

Ramp function

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

(Source: Wikimedia Commons, public domain)

Floor and ceiling functions

The floor function rounds down.

The ceiling function rounds up.

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

Because this function is periodic, it can be used to limit angles to the range with:

Heaviside function

The Heaviside function effectively returns a boolean whether the number is greater than 0.

This can be used to construct other piecewise functions by enabling them with as a factor, where is the interval.

In a nutshell:

  • lets you "turn a function off" at at
  • lets you "turn a function on at
  • leaves a function on in the interval

Example

TODO: example for converting piecewise to heaviside via collecting heavisides

and vice versa

Periodicity

The function is periodic only if there is a repeating pattern, i.e. such that for every , there is an , where is the period and 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:
  3. A linear factor has a term .
  4. An irreducibly quadratic factor has a term .
  5. 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.
  6. Set the two equal to each other such that the denominators can be factored out.
  7. Create systems of equations to solve for each constant.

Example

To decompose :

Trigonometry

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

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

Angle (rad) 0
cos 1 0 -1
sin 0 1 0
tan 0 1 not allowed 0

Identities

The Pythagorean identity is the one behind right angle triangles:

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

The angle sum identities allow expanding out angles:

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.

The half angle formulas are just random shit.

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 . Otherwise, it is equal to that version mod 2 pi.

This means that .

Similarly, inverse cosine only returns values within .

Similarly, inverse tangent only returns values within . However, is defined for all .

Although most of the reciprocal function rules can be derived, secant is only valid in the odd range , and returns values .

Electrical signals

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

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

The sign of should be determined via its quadrant via the signs of (sine) and (cosine) via the CAST rule.

Example

Given :

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.

Sometimes sequences have formulae.

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

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

Specifically, a sequence converges to limit if, for any positive number , there exists an integer such that .

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 , the sequence has the claimed limit.

Example

A limit can be proved to exist with the above definition. To prove as :

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 and as , and is always true, .

Example

: since , . 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 is continuous and exists:

On a side note:

Limits of functions

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

A function as if, for any positive , there exists a number such that .

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

The extra is because the behaviour for when , which may or may not be defined, is irrelevant.

Example

To prove as :

Warning

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

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

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

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., , etc.).

is continuous in an interval if for any and in the interval and any positive number , there exists a number such that .

Effectively, if can be made infinitely close to by making closer to , the function is continuous.

If two functions are continuous:

  • is continuous
  • is continuous
  • is continuous
  • is continuous anywhere

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 is continuous, if , there must be a number where .

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 is continuous in the closed interval , there exist numbers and in such that .

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 at is determined by the following limit:

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

Alternative notations for include and (which is equal to ).

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:

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 is continuous in and differentiable in , respectively, there must be a such that .

L'Hôpital's rule

As long as :

If and are differentiable (except maybe at ), and and , the relation is true.

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

Differentials

and represent tiny increments of and . and are used when those tiny ammounts approach 0.

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

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

Example

If , can be estimated by:

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

Integration by parts

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

or, in function notation:

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 can be cancelled out for simplicity.

Heuristics to be used:

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

Example

To solve :

Let , :

via IBP:

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

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

Substituting , is common.

Mean values

The mean value of a continuous function in is equal to:

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

Trigonometric substitution

If , functions of the form or can be rearranged in the form of a trig function.

  • In
  • In
  • In

…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.

Summary of all integration rules

Applications of integration

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

For curves bounded by functions of :

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 :

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

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

The frustrum is the sesction bounded by two parallel plates.

The surface area of the solids are as follows:

Around the vertical axis about the origin:

Improper integrals

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

Example

or , where only is defined.

These can be expanded into limits:

The integral converges to a value if the limit exists.

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

  • at :
  • at :
  • at :

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

Polar form

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

Instead of and , engineers use and .

For , these basic conversions go between the two forms:

Polar form allows for simpler representations such as

Functions are described in the form , such as .

Area under curves

From the axis to the curve:

Between two curves:

Arc length:

Complex numbers

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

Impedance

Where is a complex number representing the current of a circuit:

This can be related to Ohm's law, because such that :

In fact, t

Impedance has similar properties to resistance.

  • In series:
  • In parallel: