JustToThePoint English Website Version
JustToThePoint en español

Algebra of functions

Older people shouldn’t eat health food, they need all the preservatives they can get, Robert Orben.

Recall

Definition. A function f is a rule, relationship, or correspondence that assigns to each element x in a set D, x ∈ D (called the domain) exactly one element y in a set E, y ∈ E (called the codomain or range).

  1. If f′(x) > 0 for x just to the left of c and f′(x) < 0 for x just to the right of c, then f(c) is a local maximum.
  2. If f′(x) < 0 for x just to the left of c and f′(x) > 0 for x just to the right of c, then f(c) is a local minimum.
  3. If f′(x) does not change sign at c (stays positive or stays negative), then f(c) is not a local extremum.

Image 

Algebra of functions

Algebra of functions involves operations and manipulations applied to functions. Consider the scenario where we aim to sum the individual annual incomes of both a husband and a wife to obtain their total household income for each year. If w(x) signifies the wife’s income and h(x) denotes the husband’s income, and we wish to express the total income as T, we can define a new function, T(x) := h(x) + w(x).

We can combine existing functions. One way is to use function composition where we evaluate or apply one function to another, that is, where we take the output of one function and feed it into another, (e.g., sin(x2), log(1x), $\sqrt{1-x^2}$). Another way is to carry out the basic four arithmetic operations on functions. For any arithmetic operation of two functions at an input, we just have to apply the same operation with the function outputs (Figure E).

Algebra of functions means creating new functions from old ones by performing algebraic operations (addition, subtraction, multiplication, division), scalar multiplication, and composition. These operations are performed pointwise.

Image 

Basic operations and domains

Let f and g be real-valued functions. For every x in the appropriate domain define:

For doing any arithmetic operation of two functions, their domains must be the same (it is typically the set of all real numbers, ℝ) or the intersection of their domains. Imagine two machines (functions) that process raw materials (inputs) where machine f works on materials from 8 AM to 5 PM (its domain) and machine g works from 10 AM to 6 PM (its domain). If you want to run both machines simultaneously (add their outputs), you can only operate during 10 AM to 5 PM —the intersection of their working hours!

Examples: $f(x) = \sqrt{x}$ (domain: $[0, \infty)$), $g(x) = x - 2$ (domain: ℝ), $(f \circ g)(x) = f(g(x)) = \sqrt{x - 2}$, $Domain(f \circ g) = [2, \infty)$ (x must be in Domain(g) = ℝ, g(x) = x -2 must be in the domain of f, $x -2 \geq 0$); $f(x) = \frac{1}{x}$ (domain: ℝ \ {0}), $g(x) = x^2 - 4$ (domain: ℝ), $(f \circ g)(x) = f(g(x)) = \frac{1}{x^2 - 4}$, $Domain(f \circ g)$ = ℝ \ {-2, 2}; $f(x) = \sqrt{x}$ (domain: $[0, \infty)$), $g(x) = x + 1$ (domain: ℝ), $(f \circ g)(x) = \sqrt{x + 1}$ (domain: $[-1, \infty)$), but $(g \circ f)(x) = \sqrt{x} + 1$ (domain: $[0, \infty)$). $f \circ g \neq g \circ f$ in general! The order matters enormously.

Differentiation of algebraic combinations

If f and g are differentiable where defined, the usual derivative rules apply.

  1. Sum rule: (f + g)’ = f’ + g’, e.g., $h(x) = 3x^2 - 5\sin(x) + 7, h'(x) = 6x - 5\cos(x)$.
  2. Product rule: (fg)’ = f’g + fg’, e.g., $p(x) = x^2 \cdot e^x, p'(x) = 2x e^x + x^2 e^x = e^x (2x + x^2)$
  3. Difference rule: (f - g)’ = f’ - g'
  4. Constant rule: c’= 0.
  5. Constant Multiple rule: (cf)’ = cf'.
  6. Quotient rule: $\displaystyle\biggl(\frac{f}{g}\biggr)'=\frac{f'g-fg'}{g^2} (\text{valid where } (g\neq0))$, e.g., $(\frac{f}{g})(x)= \frac{x}{x-1}, (\frac{f}{g})'(x)= \frac{1·(x-1)-x·1}{(x-1)^2} = \frac{-1}{(x-1)^2}$

So $(\frac{f}{g})' \lt 0, \forall x \ne 1$, $\frac{f}{g}$ is strictly decreasing on each interval of its domain.

$(\frac{f}{g})(x)= \frac{x+7}{x^2+x-6}, (\frac{f}{g})'(x) = \frac{x^2+x-6-(2x+1)(x+7)}{(x^2+x-6)^2} = \frac{x^2+x-6-2x^2-14x-x-7}{(x^2+x-6)^2} = \frac{-x^2-14x-13}{(x^2+x-6)^2} = -\frac{x^2+14x+13}{(x^2+x-6)^2} = -\frac{(x+13)(x+1)}{(x-2)^2(x+3)^2}$.

Denominator is always positive on the domain, so the sign of $(\frac{f}{g})'$ is the negative of the sign of (x + 13)(x + 1).

f’ > 0 (f increasing) on the interval (-13, -1) and f’ < 0 (f decreasing) in (-∞, -13) ∪ (-1, ∞). The critical points include 2 and -3, but we can exclude those from our analysis because our function is not defined on them.

< 0 - 1 3 > 0 - 1 < 0 ( x = 0 )

Limits, horizontal and vertical asymptotes

$\lim_{x \to ∞} \frac{x}{x-1} = 1, \lim_{x \to -∞} \frac{x}{x-1} = 1$. The function has a horizontal asymptote at y = 1, where the function approaches as x goes to infinity or negative infinity.

L’Hôpital’s rule: $\lim_{x \to ∞} \frac{x}{x-1} = \lim_{x \to ∞} \frac{1}{1} = 1$

$\lim_{x \to 1-} \frac{x}{x-1} = -∞, \lim_{x \to 1+} \frac{x}{x-1} = ∞$. The function has a vertical asymptote at x = 1, where the function is undefined. The function has a y-intercept at (0,0) and an x-intercept at (0,0).

Image

The test-point method (sign chart)

We use the test point method to determine the sign of a function in each interval defined by its critical points.

  1. Identify critical points of the functions where its derivative is equal to zero or undefined.
  2. Use the critical points to create intervals on ℝ.
  3. Pick “convenient” test points from each interval.
  4. Evaluate the function at these test points.
  5. Analyze the results. If the function value is positive, the function is positive in that interval; otherwise, the function is negative.

$\lim_{x \to ∞} \frac{x+7}{x^2+x-6} = 0, \lim_{x \to -∞} \frac{x+7}{x^2+x-6} = 0$. The function has a horizontal asymptote at y = 0, where the function approaches as x goes to infinity or negative infinity.

L’Hôpital’s rule: $\lim_{x \to ∞} \frac{x+7}{x^2+x-6} = \lim_{x \to ∞} \frac{1}{2x+1} = 0.$

$\lim_{x \to -3⁻} \frac{x+7}{x^2+x-6} = \lim_{x \to -3⁻} \frac{(x+7)}{(x-2)(x+3)} = ∞, \lim_{x \to -3⁺} \frac{x+7}{x^2+x-6} = \lim_{x \to -3⁺} \frac{(x+7)}{(x-2)(x+3)} = -∞$

$\lim_{x \to 2⁻} \frac{x+7}{x^2+x-6} = \lim_{x \to 2⁻} \frac{(x+7)}{(x-2)(x+3)} = -∞, \lim_{x \to 2⁺} \frac{x+7}{x^2+x-6} = \lim_{x \to 2⁺} \frac{(x+7)}{(x-2)(x+3)} = ∞$. The function has vertical asymptotes at x = -3 and x = 2.

Image

We use the test point method to determine the sign of $\frac{x+3}{x-4}$. The critical points in this case if when x + 3 = 0 or x -4 = 0, that is, -3 and 4 respectively.

> 0 - 3 < 0 4 > 0

Therefore, the domain is (∞, -3) ∪ (4, ∞).

  1. f(-2). f(−2) is not defined because x = −2 is not in the domain of the function. From the graph, the function has a vertical asymptote at x = −2, so no function value is assigned there.
  2. $\lim_{x \to -2} f(x)$. From the graph: $\lim_{x \to -2^{-}} f(x) = -\infin, \lim_{x \to -2^{+}} f(x) = \infin$. Since the one-sided limits are not equal, the two-sided limit $\lim_{x \to -2} f(x)$ does not exist.
  3. f(0). From the filled point on the graph at x = 0, f(0) = 4.
  4. $\lim_{x \to 0} f(x)$. From the graph: $\lim_{x \to 0^{-}} f(x) = \frac{1}{2}, \lim_{x \to 0^{+}} f(x) = 4$. Because the one-sided limits are not equal, the limit $\lim_{x \to 0} f(x)$ does not exist. Note: Even though f(0) is defined, the limit can still fail to exist.
  5. f(2). f(2) is not defined, since there is an open circle at x = 2 and no filled point indicating a function value.
  6. $\lim_{x \to 2} f(x)$. From the graph: $\lim_{x \to 2^{-}} f(x) = \frac{1}{2}, \lim_{x \to 2^{+}} f(x) = \frac{1}{2}$. Since both one-sided limits are equal, the limit does exist $\lim_{x \to 2} f(x) = \frac{1}{2}$. This is an example of a removable discontinuity: the limit exists, but the function value is missing.
  7. f(4). From the filled point on the graph, f(4) = 2.
  8. $\lim_{x \to 4} f(x)$. From the graph: $\lim_{x \to 4^{-}} f(x) = \infin, \lim_{x \to 4^{+}} f(x) = \infin$. Since both one-sided limits are equal, the limit does exist $\lim_{x \to 4} f(x) = \infin$.

    When a limit is infinite, we say the function diverges to infinity; strictly speaking, the limit does not exist as a real number, but the notation $\lim_{x \to 4} f(x) = \infin$ precisely describes this behaviour.

Bibliography

This content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
  1. NPTEL-NOC IITM, Introduction to Galois Theory.
  2. Algebra, Second Edition, by Michael Artin.
  3. LibreTexts, Calculus. Abstract and Geometric Algebra, Abstract Algebra: Theory and Applications (Judson).
  4. Field and Galois Theory, by Patrick Morandi. Springer.
  5. Michael Penn, Andrew Misseldine, blackpenredpen, and MathMajor, YouTube’s channels.
  6. Contemporary Abstract Algebra, Joseph, A. Gallian.
  7. MIT OpenCourseWare, 18.01 Single Variable Calculus, Fall 2007 and 18.02 Multivariable Calculus, Fall 2007, YouTube.
  8. Calculus Early Transcendentals: Differential & Multi-Variable Calculus for Social Sciences.
Bitcoin donation

JustToThePoint Copyright © 2011 - 2025 Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun. Social Issues, Join us.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.