Physics Lournal

Powered by 🌱Roam Garden

1. Functions

Functions are fundamental calculus, as they're a tool for describing the real world in mathematical terms, and have multiple representations.

1.1 Functions and Their Graphs

Functions; Domain and Range

The temperature of water is defined relative to sea level, and the area of a circle is defined relative to the radius. These are examples of quantities that vary depending on other quantities, or, these quantities are functions of other quantities.

A function f\mathcal{f} from a set DD to a set YY is a rule associating an element of DD with a unique element of YY.

The set DD of all possible input values is the domain, and the possible values of f(x)f(x) as yy varies is the range of the function: the range may not contain every value in the set YY, which is the codomain of the function, or the set of all possible output values of the function.

Typically, functions are formulas that describe how input values are turned into output values.

When a function is defined, and the domain is not explicitly stated, the domain is assumed to be the largest set of real values for xx, for which yy has real values, referred to as the natural domain.

The domain of y=x2y =x^2 is the entire set of real numbers, but we can restrict the domain to positive values by saying y=x2,x>0y = x^2, x > 0.

A change in the domain of a function typically results in a change of the range of the function.

When the range is the real numbers, the function is real-valued, and the domains and ranges of real valued functions are described by intervals.

Graphs of Functions

If f\mathcal{f} is a function with domain DD, then its graph represents the points on the cartesian plane, whose coordinates are input-output pairs for the function.

In set notation: (x,f(x))∣x∈D{(x, \mathcal{f}(x))|x \in D}.

Vertical Line Test

Not every curve on the cartesian grid is acceptable as the graph of a function: a function ff can only have one value f(x)f(x), for every xx in the domain, meaning no vertical line can intersect a graph twice.

If aa is in the domain of ff, the vertical line x=ax = a will intersect the graph at the point (a,f(a))(a, f(a)).

This means circles can't be graphs of functions, but it can be the graph of two or more functions:

Piecewise Functions