Functions
A function is a mapping of values from. In this block we will mostly focus on functions that do mapping from to . We can write in this case or symply imply it. If for every value x of the function we plot a point for function's value we get the plot if the function. Here are some samples that should be familiar.
Sage also alows for interactive graphs.
Domain
Domain of a function is the set of arguments for which the function is defined. In this case this it's simply a subset of . For the the function defined below the domains are commented.
Limits
Limits play a central role in calculus. Main terms in calculus like the differentrial, integral are defined using the limit. A limit is the value that a function approaches as the input approaches some value.
In symbols,
If the function is continous at the point in question, then finding the limit is easy. Let's attempt to solve the folowing limits.
Limits to infinity can be used to identify horizontal or slanted asymptotes. Infinite limits at certain values of the function can be used to identify vertical asymptotes.
Derivatives
A deriviative is a measurment of change. Let's look at the change of a function with respect to the change of the input arround a certain point. The ratio is defined as:
We can take a function to analyze arround the point 0.5:
As we are getting closer and closer to the point, the line is getting closer to the tanget of the function. We can use the followinf limit to define the derivative.
The derivative tells us, what is the rate of change around a certain value of the function. Geometrically it's the slope of the function's tangent. There are multiple notations. The dot notation dates back to Newton. The Leibnitz notation is a bit more verbose, but more usefull when dealing with multiple variables (which we will not in this course).
The derivative of a function is a function of . We can also take the second derivative , which is again a function of . Taking the derivative of the second derivative will give us the third derivative and you can guess where this is going.
As we can see, the derivative of function can be calculated for the entire domain of a function. This is called a indefinite derivative. If a function is the derivative of a function , we call antiderivative of .
The derivatives of certain function are known and we can apply these rules to find the derivatives of other functions. Consider and to be functions of .
Basic ones:
Product rule:
Quotient rule:
Chain rule:
Exponential rule:
Trigonometric
Integrals
Now let's take another problem to analyze. What is the surface under a function.
We can break down the function in to smaller regions and approximate the surface underneath them with an rectangle and sum those rectangles together. This is called a Riemann sum.
If we take this process and use smaller and smaller we get to the definition of an integral.
Let's jump to an example an try to solve the integral:
Fundamental Theorem of Caculus
The place where all this ties together is the Fundamental Theorem of Calculus, which tells us the integration is the inverse opertaion of differentitation.
If is the antiderivative of a function , continuos over the region , then
Sometimes algebric itegration is not possible or very difficult to calcluate. We can then reffer to the riemann sum to approximate the value. A better approximation would be to use the trapezoidal rule.