# Instructions for mathematical analysis

**Note**: There are several live demos on this page, identified with the label INTERACTIVE DEMO. If you click into the area containing the CalcMe parameters, it will launch a new browser window containing a CalcMe session with all the operations you can see. Try it out, change the parameters or options. You won't break anything.

## Review of basic instructions

Given the function , here's an exercise to find a series of properties that will allow you to represent it graphically by hand. Academically, it will help you review some basic commands related to the world of analysis.

To solve the first question, you must use the command `domain`

and the icon you can find in the *Calculus* section of the *Menu* to calculate the limits. Notice how the points outside the domain of the function coincide with the roots of the denominator.

INTERACTIVE DEMO

The second question is easier to solve with the tools seen in the previous question. The fact this limit equals 0 guarantees the line is an oblique asymptote of the initial function.

INTERACTIVE DEMO

To solve the third question, you simply have to derive the initial function using the apostrophe. If you prefer it, you can also find it by using the action that you can find in the top bar or through the `differentiate`

command. Note that if you want to calculate these derivatives by hand you must use the derivation rule of a quotient.

INTERACTIVE DEMO

You can solve the equations by equating the expression to 0 or using the `solve`

command interchangeably. Naming the solutions allows you to save them in memory and use them in subsequent calculations using more decimal places than CalcMe shows on the screen.

INTERACTIVE DEMO

The fifth question is solved by evaluating the previously found second derivative of the function at the critical points. If this is positive on the point, it's a relative minimum. On the contrary, if it's negative, it will be a relative maximum.

On the other hand, if you want to find the intervals of increase and decrease, you should see when the derived function is negative (decreasing function) and when it's positive (increasing function). These intervals are delimited by relative extremes and points outside the domain.

INTERACTIVE DEMO

As for the inflection points, just make sure the point nullifying the second derivative does not nullify the third one as well. Therefore, will be an inflection point.

INTERACTIVE DEMO

Finally, you need to represent the function and its asymptotes.

INTERACTIVE DEMO

## Review of integrals

Given a set of functions, you can use CalcMe to find and draw the area of the region between them. To do this you will need to find the integration limits and see which function is greater in the related range.

Given the functions and , you want to find the area of the region between them from the origin to the first point where they intersect with a positive abscissa. When looking for the cut-off points, you can see the first is , therefore you will have to calculate the integral between 0 and of the function that goes above (which is ) minus the one that goes below ().

INTERACTIVE DEMO

Given this time the functions and , you want to find the region area between the OY axis () and both functions. As before, you have to find its intersection and calculate the integral between 0 and this point. This time, goes over and , above.

INTERACTIVE DEMO

If you want to represent these regions, you have two choices. If the region you want to plot is encapsulated between two functions, you just have to use the `region`

command and indicate the functions and the range you want to represent.

INTERACTIVE DEMO

On the other hand, if the represented region is not properly between two functions, you can directly intersect the necessary inequalities and draw it using the action.

INTERACTIVE DEMO

## Optimization

Given any function, with a wide variety of purposes, you may be interested in finding the maximum and minimum in a given interval. With CalcMe you can easily find them; you simply have to evaluate the function at its critical points and at the extremes of the range of possible values.

Given a food price index model , you want to find when in the first six years the food has been cheaper and more expensive. When you look for the derivative and equating it to zero, you will see there are points outside our range that you will not have to take into account. Therefore, it remains only to evaluate the function at the points in question and see when it is bigger and when it is smaller.

INTERACTIVE DEMO

Repeating the same exercise with a period of 12 years, you have to add to the list of optimal candidates. This way you can see how the minimum is achieved later than in the first case.

INTERACTIVE DEMO

## Taylor

Given any function, you can use CalcMe to find its Taylor polynomial of a specific degree centered on a given point. To do this, you can use the formula or the command `taylor`

.

Given the function , let's first calculate the Taylor polynomial of degree centered at . You can use the formula and CalcMe will directly find the coefficients.

INTERACTIVE DEMO

Given the functions , now let's calculate the Taylor polynomial of degree centered on the same point. Since the formula is very long, you can choose to use the `taylor`

command indicating the function, the variable, the point, and the degree.
INTERACTIVE DEMO

After looking at the two approaches, you can consider representing them graphically to see how they relate to the initial function.

INTERACTIVE DEMO

Note the higher the degree of the Taylor polynomial, the greater the interval at which the function approximates properly. In this example, the blue function adequately approximates the polynomial to the interval while the red one approaches the interval .

## Improper integration

As you have seen before, given a set of functions you can use the calculator to find the area of the region you are delineating. The usual process is to use the Barrow rule. That is, find a primitive of the function in question and evaluate it at the extremes of integration.

Sometimes, when these integration limits approach a non-real number ( and ), we talk about an improper integral and calculate the limit of a definite integral.

Firstly, given the curve , calculate the cut-off point and the integral between 0 and the point of our function to find the area of the related region.

INTERACTIVE DEMO

Secondly, given the curve , calculate the integral with extremes of integration minus and plus infinity of the horizontal asymptote minus the function to find the area of the related function. Since integration bounds approach a specific non-real number ( and ), we are talking about an improper integral.

INTERACTIVE DEMO

Finally, you can calculate the area of the bounded region between the two curves above.

INTERACTIVE DEMO

## Laplace transform

Lastly, CalcMe also lets you solve ODEs with or without initial conditions using the `solve`

command. When writing the equation, you should consider entering the function using the icon in the *Calculus* section of the *Menu*. Otherwise, CalcMe will not understand you are talking about a differential equation.

Thus, once the initial conditions are given, CalcMe returns the equation of a variable that satisfies the ODE and the initial conditions in question.

INTERACTIVE DEMO