2-6 Special Functions
2-6 Special Functions
1 Piecewise-Defined Functions
• The function relating income and tax is not a linear function because each interval, or
piece, of the function is defined by a different expression.
• A function that is written using two or more expressions is called a piecewise-defined
function.
• On the graph of a piecewise-defined function, a solid dot indicates that the point is
included in the graph.
• A open circle indicates that the point is not included in the graph.
Graphs of Piecewise-Defined Functions
• The graphs of different parts of a piecewise defined function may or may not connect.
• A graph may also stop at a given x-value and then begin at a different y-value for the
same value of x.
2 Step Functions and Absolute Value Functions
The greatest integer function, written f(x) = , is one kind of step function.
The symbol means the greatest integer less than or equal to x.
For example,
= 3 and = -5.
Absolute value function
Key Points
The domain of a piecewise-defined function is the union of its subdomains.
The range of a piecewise-defined function is the union of the ranges of each sub
function over its subdomain.
We can find the domain of a function from its graph by considering the intersections of
the curve with vertical lines.
We can find the range of a function from its graph by considering the intersections of
the curve with horizontal lines.
Example 1 Piecewise-Defined Function
Graph f(x) =. Identify the domain and range.
Understand The total labor charge is $50 for the first hour plus $35 for each additional fraction of
an hour, so the graph will be a step function.
Plan If the time spent on labor is greater than 0 hours, but less than or equal to 1 hour, then the
labor charge is $50.
If the time is greater than 1 hour but less than 2 hours, then the labor charge is $85, and so on.
Solve Use the pattern of times and costs to make a table, where x is the number of hours of labor
and T(x) is the total labor charge. Then graph.
Example 4 Absolute Value Functions
Graph f(x) = |2x| - 4. Identify the domain and range.
1 Parent Graphs:
A family of graphs is a group of graphs that display one or more similar characteristics.
The parent graph, which is the graph of the parent function, is the simplest of the graphs
in a family.
This is the graph that is transformed to create other members in a family of graphs.
Key Concept Parent Functions
The graph is in the shape of a V. The graph is a horizontal line that crosses
The graph represents an absolute value the y-axis at 4.
function. The graph represents a constant function
Guided Practice
Transformations of a parent graph may appear in a different location, flip over an axis, or
appear to have been stretched or compressed.
The transformed graph may resemble the parent graph, or it may not.
A translation moves a figure up, down, left, or right.
• When a constant k is added to or subtracted from a parent function, the result f(x) ± k is
a translation of the graph up or down.
• When a constant h is added to or subtracted from x before evaluating a parent
function, the result, f(x ± h), is a translation left or right.
ANSWER:
Translation of the graph of y = | x | left 3 units
Guided Practice
Describe the translation in each function. Then graph the function.
2B. y = x2 - 4
ANSWER:
translation of the graph of
y = x2 - 4 left 4 units
Reflection
A dilation shrinks or enlarges a figure proportionally. When the variable in a linear parent
function is multiplied by a nonzero number, the slope of the graph changes.
When a nonlinear parent function is multiplied by a nonzero number, the function is
stretched or compressed vertically.
Coefficients greater than 1 cause the graph to be stretched vertically, and coefficients
between 0 and 1 cause the graph to be compressed vertically.
Example 4 Describe and Graph Dilations
Describe the dilation in y = 4x. Then graph the function.
Reflection
-f (x ) Reflects graph in the x-axis.
f (-x ) Reflects graph in the y-axis.
Dilation
a · f (x ), |a | > 1 Stretches graph vertically.
a · f (x ), 0 < | a | < 1 Compresses graph vertically
f (bx ), | b | > 1 Compresses graph horizontally.
f (bx ), 0 < | b | < 1 Stretches graph horizontally.
Graphing Linear and Absolute Value
Inequalities
Graphing Linear and Absolute Value Inequalities
• Let x represent the number of 30-minute or (1/2) hour art classes, and let y represent
the number of 60-minute or 1-hour art classes. Because the sum can equal the
maximum, the inequality symbol is ≤, and the boundary is solid. The inequality is (1/2)x
+ y ≤ 20.
Step 1 Graph the boundary (1/2)x + y = 20.
Step 2 Test the point (0, 0).
(1/2)x + y ≤ 20 Original inequality
(1/2)(0) + (0) ≤ 20 ? (x, y) = (0, 0)
0 ≤ 20 True
The region that contains (0, 0) is shaded.
Example 2 - Solid Boundary
RECREATION - A recreation center offers various 30-minute and 60-minute art classes. The
recreation director has allotted up to 20 hours per week for art classes.
b. Can the recreation director schedule 25 of the 30-minute classes and 15 of the 60-minute
classes during a given week? Explain your reasoning.
• The point (25, 15) lies outside the shaded region, so it does not satisfy the inequality.
Thus, the recreation director cannot schedule 25 - 30-minute and 15 - 60-minute
classes.
Guided Practice
2. Manuel has $15 to spend at the county fair. The fair costs $5 for admission, $0.75 for each ride
ticket, and $0.25 for each game ticket. Write an inequality, and draw a graph that represents the
number of r ride and g game tickets that Manuel can buy.
Graph Absolute Value Inequalities
• Graphing absolute value inequalities is similar to graphing linear inequalities. First you
graph the absolute value equation. Then you determine whether the boundary is
dashed or solid and which region should be shaded.
• Since the inequality symbol is ≥, the boundary is solid. Graph the equation. Then test (0,
0).
y ≥ |x| - 4 Original inequality
0 ≥|0| - 4 ? (x, y) = (0, 0)
0 ≥ -4 True
The region that includes (0, 0) is shaded.
Thank You