III. Calculus

27. Function analysis

The app analyzes a function in the usual order: domain, even or odd, intercepts, the sign of the function, limits at the ends of the domain and asymptotes, the first derivative – monotonicity and extrema (also by higher derivatives), the second derivative – concavity and inflection points, and finally the range. It sums everything up in an overview and draws a graph with the points marked.

For a trigonometric function the app finds the period, examines the function on one period and writes the results with the period (a maximum at x = π/2 + 2kπ); if only the derivative is periodic (x + 2 sin x), the extrema and monotonicity repeat with the period. Absolute values are removed by the signs on the intervals and the one-sided derivatives compared at the corners; where the derivative is infinite, a vertical tangent is shown. Nested absolute values and sums of absolute values are analyzed by pieces; where the function is constant on an interval, this is stated with its value (a minimum at every point of the interval).

Absolute (global) extrema on a closed interval: “extrema of x^3 - 3x on [-2, 3]” – the app finds the stationary points and the points without a derivative inside the interval and compares the values there and at the end points. Without an interval, “extrema …” analyzes the function. The inverse function (“inverse of f(x) = …”) comes from solving y = f(x) for x, checked by composing; the graph shows f, f⁻¹ and the line y = x.

A parabola’s vertex (“vertex of the parabola y = x^2 - 4x + 7”, a bare y = … is enough) by completing the square – with the axis, the range and the shift of the graph of y = ax². Write a composite function with its definitions: “f(x) = x^2 + 1, g(x) = 2x - 3, f(g(x))”.

A graph by shifts, stretches and reflections: “graph transformations y = 2sin(3(x - 1)) + 1” – the app starts from the basic function (sin, cos, tan, cot, eˣ, aˣ, ln, logₐ, a root, a power, 1/x, |x|) and step by step compresses or stretches it along the x axis, shifts it right or left, stretches it along the y axis, reflects it and shifts it up or down; |f(x)| and f(|x|) too. The graph shows the basic and the resulting function.

How to enter it

analysis y = x^3 - 3xWith the word “analysis” before the function.
x^3 - 3xA function with the “Analyze function” chip.
extrema of x^3 - 3x on [-2, 3]Absolute extrema on a closed interval (also “max and min …, x ∈ [a, b]”).
inverse of f(x) = (2x+1)/(x-3)The inverse function (also “f^{-1}, f(x) = …”).

Examples

A polynomial – extrema and an inflection point.
Input: x^3 - 3x Analyze function
x^3 - 3x
x^3 - 3xx^3 - 3x
A rational function – asymptotes.
Input: x^2/(x - 1) Analyze function
x^2/(x - 1)
x^2/(x - 1)x^2/(x - 1)
A periodic function – everything on one period, the results with the period.
Input: sin 2x + 2cos x Analyze function
sin 2x + 2cos x
sin 2x + 2cos xsin 2x + 2cos xsin 2x + 2cos xsin 2x + 2cos x
Tangent – vertical asymptotes, range ℝ.
Input: tg x Analyze function
tg x
tg xtg xtg x
Hyperbolic tangent – horizontal asymptotes y = ±1.
Input: tanh x Analyze function
tanh x
tanh xtanh x
Only the derivative is periodic – the extrema values grow with k.
Input: x + 2sin x Analyze function
x + 2sin x
x + 2sin xx + 2sin x
Absolute value – corners, one-sided derivatives.
Input: |x^2 - 1| Analyze function
|x^2 - 1|
|x^2 - 1||x^2 - 1||x^2 - 1||x^2 - 1|
Cube root – a vertical tangent at zero.
Input: x^(1/3) Analyze function
x^(1/3)
x^(1/3)x^(1/3)
A nested absolute value – by pieces, an even function.
Input: |-x^2 + 2|x| + 3| Analyze function
|-x^2 + 2|x| + 3|
|-x^2 + 2|x| + 3||-x^2 + 2|x| + 3||-x^2 + 2|x| + 3||-x^2 + 2|x| + 3|
A sum of absolute values – a constant piece and two oblique asymptotes.
Input: |x - 2| + |x + 3| Analyze function
|x - 2| + |x + 3|
|x - 2| + |x + 3||x - 2| + |x + 3|
Absolute extrema on an interval – stationary points and end points.
Input: extrema of x^3 - 3x on [-2, 3]
extrémy x^3 - 3x na ⟨-2; 3⟩
extrémy x^3 - 3x na ⟨-2; 3⟩extrémy x^3 - 3x na ⟨-2; 3⟩
The inverse of a linear fractional function, with a check.
Input: inverse of f(x) = (2x+1)/(x-3)
inverzní funkce f(x) = (2x+1)/(x-3)
inverzní funkce f(x) = (2x+1)/(x-3)inverzní funkce f(x) = (2x+1)/(x-3)
A parabola’s vertex by completing the square.
Input: vertex of the parabola y = x^2 - 4x + 7
vrchol paraboly y = x^2 - 4x + 7
A sine graph by compressing, shifting and stretching.
Input: posuny grafu y = 2sin(3(x - 1)) + 1
posuny grafu y = 2sin(3(x - 1)) + 1
posuny grafu y = 2sin(3(x - 1)) + 1posuny grafu y = 2sin(3(x - 1)) + 1
A root shifted and reflected in the x axis.
Input: posuny grafu y = -sqrt(x + 2) + 3
posuny grafu y = -sqrt(x + 2) + 3
posuny grafu y = -sqrt(x + 2) + 3posuny grafu y = -sqrt(x + 2) + 3
A composite function f(g(x)).
Input: f(x) = x^2 + 1, g(x) = 2x - 3, f(g(x))
f(x) = x^2 + 1, g(x) = 2x - 3, f(g(x))

Known limitations