Differential Calculus: Functions and Their Properties Lecture Notes

Definition and Notation of Functions

  • Definition of a Function: A function is a specific type of relation that assigns every element from a set AA (referred to as the domain) to exactly one element in a set BB (referred to as the codomain).
  • Mathematical Notation:   - The mapping is denoted as f:ABf : A \rightarrow B.   - The general form is y=f(x)y = f(x).   - In this expression, xx is the input and yy is the output.
  • Evaluative Example:   - Given the function: f(x)=x22x+3f(x) = x^2 - 2x + 3   - If we evaluate the function at x=2x = 2:   - f(2)=222(2)+3f(2) = 2^2 - 2(2) + 3   - f(2)=44+3f(2) = 4 - 4 + 3   - f(2)=3f(2) = 3

Independent and Dependent Variables

  • Independent Variable: This represents the input of the function, typically denoted as xx. It is the value you choose to put into the function.
  • Dependent Variable: This represents the output of the function, denoted as yy or f(x)f(x). Its value depends entirely on the choice of the independent variable.
  • Function Example:   - In the function g(t)=5t+2g(t) = 5t + 2:   - tt is the independent variable.   - g(t)g(t) is the dependent variable.
  • Real-Life Contextual Example: The temperature (TT) of a city measured over time (hh):   - Formula: T=f(h)T = f(h)   - In this scenario, time in hours (hh) is the independent variable.   - The temperature (TT) is the dependent variable because it depends on at what time of day it is measured.

Graphical Representations of Functions

  • Visualization Purpose: Graphing a function allows for the understanding of its behavior, including its domain, range, intercepts, and symmetry.
  • Common Function Types and Their Graphs:   - Linear Function: f(x)=2x+1f(x) = 2x + 1. The graph is a straight line.   - Quadratic Function: f(x)=x24f(x) = x^2 - 4. The graph is a parabola.   - Reciprocal Function: f(x)=1xf(x) = \frac{1}{x}. The graph exhibits asymptotic behavior where it never touches the axes.

The Vertical Line Test

  • Definition: The vertical line test is a visual method used to determine if a graph represents a function.
  • The Rule: A graph represents a function if and only if no vertical line intersects the graph more than once.
  • Failure Condition: If any vertical line passes through the graph at multiple points, it fails the test and is classified as a relation, not a function.
  • Comparison Examples:   - Is a Function: y=x2y = x^2 is a function because any vertical line crosses the parabola at most once.   - Is Not a Function: x2+y2=4x^2 + y^2 = 4 represents a circle. It is not a function because a vertical line can cross the circle at two distinct points.

Domain and Range

  • Domain: This is the set of all possible input values (xx) for which the function f(x)f(x) is mathematically defined.
  • Range: This is the set of all possible output values (f(x)f(x)) that the function can produce.
  • Detailed Example Analysis: Consider the function f(x)=1x2f(x) = \frac{1}{x - 2}.   - Domain Computation: The function becomes undefined if the denominator is zero. Since x2=0x - 2 = 0 when x=2x = 2, the value 22 must be excluded.   - Domain: (,2)(2,)(-\infty, 2) \cup (2, \infty).   - Range Computation: The function f(x)=1x2f(x) = \frac{1}{x - 2} will never equal zero because there is no value of xx that can make the fraction zero (since the numerator is a constant 11).   - Range: (,0)(0,)(-\infty, 0) \cup (0, \infty).

Absolute Value and Piecewise Functions

  • Absolute Value Function:   - Definition:     f(x)={x,x0x,x<0f(x) = \begin{cases}x, & x \geq 0 \\ -x, & x < 0\end{cases}   - Characteristics: The function is always non-negative (f(x)0f(x) \geq 0). The graph forms a "V" shape centered at the origin.
  • Piecewise Functions:   - Definition: A function that is defined by different expressions depending on the interval of the input value xx.   - Example Piecewise Expression:     f(x)={x2,x<22x+3,2x<45,x4f(x) = \begin{cases}x^2, & x < -2 \\ 2x + 3, & -2 \leq x < 4 \\ 5, & x \geq 4\end{cases}   - Interpretation of the Example:     - If the input is less than 2-2, the output is calculated using the square of the input.     - if the input is between 2-2 (inclusive) and 44 (exclusive), the output follows the linear path 2x+32x + 3.     - If the input is 44 or greater, the function remains constant at an output value of 55.

Composition of Functions

  • Definition: The composition of two functions ff and gg is an operation where one function is applied to the result of another.
  • Notation: (fg)(x)=f(g(x))(f \circ g)(x) = f(g(x))
  • Applied Example:   - Let f(x)=x2+1f(x) = x^2 + 1 and g(x)=x+3g(x) = x + 3.   - The composition (fg)(x)=f(g(x))=(x+3)2+1(f \circ g)(x) = f(g(x)) = (x + 3)^2 + 1.

Problem Sets and Exercises

Exercises: Vertical Line Test and Function Identification

  1. Determine whether the relation x2+y2=9x^2 + y^2 = 9 is a function using the vertical line test.
  2. Identify which of the following expressions define a function:    - (a) y2=xy^2 = x    - (b) y=x3y = |x - 3|    - (c) y=xy = \sqrt{x}
  3. Sketch the graph of the function f(x)=x33xf(x) = x^3 - 3x and apply the vertical line test to confirm its status.
  4. Provide an explanation for why every linear equation in the form y=mx+by = mx + b defines a function.

Exercises: Domain and Range Determination

  1. Find the domain and range of: f(x)=x1f(x) = \sqrt{x - 1}.
  2. Determine the domain of: g(x)=2x+1x24g(x) = \frac{2x + 1}{x^2 - 4}.
  3. Find the domain and range of: h(x)=1x3h(x) = \sqrt{\frac{1}{x - 3}}.
  4. Find the domain and range of: f(x)=3x22f(x) = 3x^2 - 2.
  5. Find the natural domain for the following functions:    - (a) f(x)=x2f(x) = x^2    - (b) f(x)=x6f(x) = x - 6    - (c) f(x)=3x(2x)(2x+1)f(x) = \frac{3 - x}{(2 - x)(2x + 1)}    - (d) f(x)=2x(x+5)(x1)f(x) = \frac{2}{x(x + 5)(x - 1)}    - (e) f(x)=xf(x) = \sqrt{x}    - (f) f(x)=3+xf(x) = 3 + \sqrt{x}    - (g) f(x)=x+1f(x) = \sqrt{x + 1}    - (h) f(x)=1x1f(x) = 1 - \sqrt{x - 1}    - (i) f(x)=x2x2f(x) = \sqrt{x^2 - x - 2}    - (j) f(x)=x29x+18f(x) = \sqrt{x^2 - 9x + 18}    - (k) f(x)=x2+2x15f(x) = \sqrt{x^2 + 2x - 15}    - (l) f(x)=(x2+2x)(x2)f(x) = \sqrt{(x^2 + 2x)(x - 2)}    - (m) f(x)=x+43216f(x) = \frac{x + 4}{3^2 - 16}    - (n) f(x)=x1x2+2x3f(x) = \frac{x - 1}{x^2 + 2x - 3}

Exercises: Absolute Value and Piecewise Functions

  1. Solve for xx given the absolute value equation: f(x)=2x5=3f(x) = |2x - 5| = 3.
  2. Identify the vertex and sketch the graph for: g(x)=x42g(x) = |x - 4| - 2.
  3. Use the piecewise function below to answer the following:    f(x)={2x+1,x<3x24,x3f(x) = \begin{cases}2x + 1, & x < 3 \\ x^2 - 4, & x \geq 3\end{cases}    - Calculate f(1)f(1), f(4)f(4), f(3)f(-3), and f(0)f(0).    - Solve for xx such that f(x)=5f(x) = 5.

Exercises: Composition of Functions

  1. Given f(x)=x23x+2f(x) = x^2 - 3x + 2 and g(x)=x1g(x) = x - 1, find (fg)(x)(f \circ g)(x).
  2. Given p(x)=2x+5p(x) = 2x + 5 and q(x)=x+4q(x) = \sqrt{x + 4}, find (pq)(x)(p \circ q)(x).
  3. Given f(x)=1xf(x) = \frac{1}{x} and g(x)=x+3g(x) = x + 3, find the expression and the domain for (gf)(x)(g \circ f)(x).
  4. Given f(x)=x24f(x) = x^2 - 4 and g(x)=2x+1g(x) = 2x + 1:    - Compute (fg)(2)(f \circ g)(2).    - Compute (gf)(2)(g \circ f)(2).
  5. Let f(x)=x3f(x) = x - 3 and g(x)=x+1g(x) = x + 1. Find (fg)(x)(f \circ g)(x).
  6. Let f(x)=x2f(x) = \sqrt{x - 2} and g(x)=x2+4g(x) = x^2 + 4. Find (gf)(x)(g \circ f)(x).
  7. Let f(x)=2x36f(x) = 2x^3 - 6 and g(x)=x+33g(x) = \sqrt[3]{x + 3}. Find (fg)(x)(f \circ g)(x).

Exercises: Graphing and Classification

Sketch the graphs of the following and determine if they represent a function or a relation:

  • (a) y=x1y = |x - 1|
  • (b) y=xy = -|x|
  • (c) 3x+y=03x + y = 0
  • (d) x5y=10x - 5y = 10
  • (e) 3x=63x = 6
  • (f) y=4y = -4
  • (g) y=x1y = \sqrt{x - 1}
  • (h) y=x+1y = -\sqrt{x + 1}
  • (i) y=1+xy = 1 + \sqrt{x}
  • (j) x+y2=3x + y^2 = 3
  • (k) y2=x2y^2 = x - 2
  • (l) (y2)2=x(y - 2)^2 = x
  • (m) (y+1)2=x+1(y + 1)^2 = x + 1
  • (n) (x1)2=1y(x - 1)^2 = 1 - y
  1. The relation x2+y2=9x^2 + y^2 = 9 is not a function using the vertical line test because a vertical line can intersect the circle at two points.

  2. The expressions that define a function are:

    • (b) y=x3y = |x - 3| (this gives one output for each input)
    • (c) y=1extinputy = \frac{1}{ ext{input}} (this gives one output for each input)

    (a) y2=xy^2 = x does not define a function because it can give two outputs for a single input (both positive and negative values of yy).

  3. The graph of the function f(x)=x33xf(x) = x^3 - 3x