2.5+Transformations+of+Functions

Section 2.5: Transformations of Functions

Key Objectives:

  • Recognize graphs of common functions.

  • Use vertical shifts in graphs of functions.

  • Use horizontal shifts in graphs of functions.

  • Use reflections in graphs of functions.

  • Use vertical stretching and shrinking in graphs.

  • Use horizontal stretching and shrinking in graphs.

  • Graph functions involving a sequence of transformations.

Common Functions

Overview

Previous study focused on linear and quadratic functions. This section will introduce various other important functions and their graphs which include constant functions, square root functions, absolute value functions, and polynomial functions with both even and odd exponents.

The Graph of y = c (Constant Function)

  • Definition: The expression represents a constant function where c is any real number.

  • Domain: (-∞, ∞)

  • Range: {c}

  • Characteristics: The graph is a horizontal line at the height of c on the y-axis. It does not vary with changes in x, demonstrating that any value for x results in the same output.

The Graph of y = √x (Square Root Function)

  • Definition: Represents the square root function, which gives the principal square root of x.

  • Domain: [0, ∞) (excludes negative numbers as square roots of negatives are not real).

  • Range: [0, ∞) (the output of the function is always non-negative).

  • Characteristics: Begins at the origin (0,0) and increases gradually, reflecting the nature of square roots which grow slower as x increases. All graphs of the form y = √x, where x is a positive even integer, have the same shape.

The Graph of y = |x| (Absolute Value Function)

  • Definition: Represents the absolute value function which measures the distance of x from 0 without considering direction.

  • Domain: (-∞, ∞)

  • Range: [0, ∞)

  • Characteristics: The graph forms a V shape, centered at the origin, with the left arm going down to (0,0) and the right arm going up, demonstrating that all output values are non-negative irrespective of whether x is positive or negative.

The Graph of y = x^n (Even Exponents)

  • Definition: Applicable for even exponents (n = 2, 4, 6).

  • Domain: (-∞, ∞)

  • Range: [0, ∞)

  • Characteristics: As the value of n increases, the graph flattens out between -1 and 1, and becomes steeper outside of that range, with symmetry across the y-axis due to the even degree.

The Graph of y = x^n (Odd Exponents)

  • Definition: Applicable for odd exponents (n = 3, 5, 7).

  • Domain: (-∞, ∞)

  • Range: (-∞, ∞)

  • Characteristics: Similar behavior in terms of steepness and flatness as even exponents, but the graph is symmetric about the origin reflecting its odd nature. Graphs for odd functions will extend infinitely in both the positive and negative directions.

Transformations of the Basic Graphs

Graphing functions that are more complex can be accomplished using transformations of basic functions. Transformations include vertical shifts, horizontal shifts, reflections, and vertical/horizontal stretching and shrinking.

Vertical Shifting

  • General Concept: To understand transformations, consider functions of the form f(x) = f(x) + c.

    • Example: If we take f(x) = x^2, and transform it to f(x) = x^2 + 3, we observe that all output values shift up by 3 units.

  • General Rule: The graph of y = f(x) + c maintains the same shape as y = f(x) but is shifted c units vertically.

    • Positive c: Moves the graph up.

    • Negative c: Moves the graph down.

Horizontal Shifting

  • General Concept: Consider functions of the form f(x) = f(x + k).

    • Example: For f(x) = x^2 and g(x) = (x + 2)^2, the graph of g(x) is the same shape as f(x) but shifted 2 units to the left.

  • General Rule: To maintain the same output values between f(x) and g(x), input values must be adjusted by k.

    • Example: To maintain the value for g(x), input x must decrease by k, effectively shifting the graph horizontally.

Reflections over the x-Axis

  • Behavior: Explore behavior of f(x) = -f(x): this transformation inverses the output values.

    • Example: If f(x) = x^2, its reflection would yield f(x) = -x^2.

  • General Rule: y = -f(x) reflects y = f(x) over the x-axis, changing the sign of all output values. Thus, the range will also reflect over the x-axis, shifting non-negative outputs to non-positive outputs.

Vertical Scaling (Stretch/Compress)

  • General Concept: The behavior of functions can be expressed as g(x) = c∙f(x).

    • Example: If c = 2, then vertically, all output values are increased by a factor of 2 (vertical stretch).

  • General Rule: y = c∙f(x) stretches graph vertically if c > 1 and compresses if 0 < c < 1.

Exercise 2: Function Sketching

  • Sketch the following transformations:

    • f(x) = -3 (horizontal line)

    • f(x) = 2|x| (V shape stretched vertically by factor of 2)

Reflection of Graphs

  • Outlines reflections across both x-axis and y-axis:

  • Example Graphs will visualize concepts through sketching to illustrate the effects of transformation clearly.

Horizontally Stretching and Shrinking Graphs

  • Behaviors of Horizontal Transformations: If c > 1, the graph shrinks; if c < 1, the graph stretches.

  • Example of Stretching/Shrinking a Graph: Using f(x) = x^2, derive a new graph g(x) = f(x/c), showcasing how input scaling adjustments affect output behavior and shape.