Physics Lournal

Powered by 🌱Roam Garden

Quick Calculus

Functions and Graphs

One of the most important structures in Calculus is the the function: it is an association between the elements of two sets.

The set of input values to a function is called the domain of the function.

Usually, we use xx to denote an element of the domain, which is referred to as the independent variable.

If yy (an element of the codomain of the function) represents an element that is associated with xx, then yy is referred to as the independent variable.

Dependent variables are elements of the codomain, and independent variables are elements of the domain. The range of the function are the elements of codomain that are acceptable according to the rules defined by the function.

For example, if hh represents a time of day, and TT is a temperature, hh is the independent variable, and TT is the dependent variable.

Generally, specifying a function entails listing the details of the association between two elements. Another method is to present a rule for isolation the dependent variables in terms of the independent variable, which is often an equation:

s=2t2+6ts = 2t^{2} + 6t.

Typically, the allowed values are listed as well.

Unless stated otherwise, the independent variable can be any real number, for which the dependent variable is also a real number.

Functions are represented by ff, and the dependent variable associated with the independent variable by the function ff, is f(x)f(x), written in its entirety ass y=f(x)y = f(x).

This means we can rewrite the above value ss, like so: f(t)=2t2+6ts=f(t)f(t) = 2t^{2} + 6t \rightarrow s = f(t)

One of the common techniques for representing a function is a graph, which is constructed of intersecting coordinate axes, where the intersection is valued zero for all axes, referred to as the origin. The vertical coordinate axis is named the y-axis, and the horizontal axis is named the x-axis.

Note: the scale of the x and y axes do not have to be the same, and neither do the units.

We can use this to represent a pair of values like so: if we let aa be the independent variable xx, and bb be the dependent variable y/y=f(x)y / y = f(x), then we see b=f(a)b = f(a).

We can extend a line parallel to the y-axis, at distance aa from that axis, and extend another line parallel to the x-axis, at distance bb, and the point PP at which these lines intersect is designated by the pair of values (a,b)(a,b) for (x,y)(x,y).

The number aa is the x-coordinate of PP, and the number bb is the y-coordinate of PP. In more technical language, the value aa is referred to as the abscissa, and the value bb is referred to as the ordinate.

The simplest way of plotting the graph of some function y=f(x)y = f(x), is to calculate a table of values of xx, and the corresponding values of y=f(x)y = f(x).

There are also special kinds of functions, which have dependent variables which do not fluctuate with independent variables, referred to as constant functions, such as this function which assigns a fixed number cc to every variable xx, meaning f(x)=cf(x) = c.

Another simple function is the absolute value function, which is defined by a value surrounded by a pair of bars: x|x|, which determines the value of a number regardless of its sign.

$$|x| = \begin{cases} x\; \text{if}\; x \geqslant \; 0, \

-x\; \text{if}\; x \lt 0 \end{cases} $$

Linear and Quadratic Functions

Linear functions are equations of the form y=mx+by = mx + b, and it is called so because graphing the values produces a line.

A graph of a typical linear function looks like the following:

Should the xx and yy scale be the same, the slope is the ratio of vertical distance to horizontal distance as we travel from one point on the line to another, and the slope is the same regardless of which pair of points you choose.

If the line is vertical, the slope is infinite.

If the scales are not the same, the slope doesn't change, but it must be described with the appropriate scale: the following two figures may look the same, but have different slopes:

Slopes: 12,and  50\frac{1}{2},\text{and}\; 50, respectively.

Another way to find the slope of a line, if the equation is given: if it is of the form y=mx+b\small y = mx + b, then the slope given by Slope=y2y1x2x1\text{Slope} = \frac{y_2 - y_1}{x_2 - x_1}, can be rewritten like so:

(mx+b)(mx1b)x2x1=mx2mx1x2x1=m(x2x1)x2x1=m\small \frac{(mx + b) - (mx_{1} - b)}{x_2 - x_1} = \frac{mx_2 - mx_1}{x_2 - x_1} = \frac{m(x_2 - x_1)}{x_2 - x_1} = m.

The slope of a line can be positive, negative, or 00.

Because the slope is the ratio of the y-axis to the x-axis, if we plot distance on the y-axis, and time on the x-axis, we have a slope which represents some velocity.