Sie sind auf Seite 1von 19

PIECEWISE FUNCTION

“Is a function that has multiple pieces, each with their


own restrictions. The domain of a function is the set of
input, or x, values for which the function is defined.”
Piecewise Function
- is a function which involves rules and conditions such that its formula
goes like this:
f(x) = ( rules) , (condition)
Example of Piecewise Word Problems

Oooopssss!!!
Oooopssss!!!
Oooopssss!!!
Evaluation of Piecewise Function
f(x) = 500 , if x < 15
500 + 50 (x-15) , if x > 15

Solve for : f(17) Solve for: f(14)

• Solution: • Solution:
f(17) = 500 + 50 (17-15) 14 < 15
= 500 + 50 (2) So:
= 500 + 100 f(14) = 500
= 600
Evaluation of a function
Finding a Value of a given algebraic expression is to substitute the value(s) of
the variable(s) given to the expression.
• Example No. 1 Example No. 2
Evaluate the expression given
the value(s) of the variable(s): 2x + 5 when x= 1
x+3
3xy – 2x+5 when x= -1 and = 2(1) + 5 = 7
y= 2 1+3 4
• Solution
= 3(-1)(2)-2(-1)+5
= -3(2) +2+5
= -6 +7
=1
Task 1 Evaluate the ff. Functions according
to the given conditions:
• 1. f (x) = x² + 2x -1 Solutions:
a) f (2) = (2)² + 2(2) – 1
where the values given are =4+4–1
assumed to be from the =7
domain of the function.
a) x = 2 b) f (a) = (a)² + 2(a) – 1
b) x = a = a² + 2a – 1
c) x = -a
d) x = a + h c) f(-a) = (-a)² + 2(-a) – 1
= a² - 2a – 1

d) f(a+h) = (a+h)² + 2(a+h) – 1


= a²+2ah + h²+2a+2h -1
= a²+h²+2ah+2a+2h-1
Operations on functions
• The operations on functions use the properties of the operations on
algebraic expressions. It applies the rules on combining similar
terms and simplifying the results. Each of the operations produces
a new function.

• Let f(x) and g(x) be two functions defined in their respective


domains. These functions can be combined to form a new function
h(x) defined as follows:

Sum h(x) = f(x) + g(x)


Difference h(x) = f(x) – g(x)
Product h(x) = f(x) * g(x)
Quotient h(x) = f(x)
g(x)
• Perform the indicated operations:
Given the functions f(x) = 2x-3 and g(x) = x²-x,
find:
a. (f+g)(x)
b. (g-f)(x)
c. (fg)(x)
d. g X
f
e. (gºf)(x)
Solutions:
a. (f+g)(x) = f(x)+g(x) = (2x-3)+(x²-x)
= 2x-3+x²-x
= x²+x-3

b. (g-f)(x) = g(x)-f(x) = (x²-x) – (2x-3)


= x²-x-2x+3
= x² -3x + 3

c. (fg)(x) = f(x)g(x) = (2x-3) (x²-x)


= 2x³-2x²-3x²+3x
= 2x³-5x²+3x
Solutions
d. g = x²-x 3
X
f 2x-3 ; 2x-3≠0 0r x ≠ 2

e. (gºf)(x) = g(f(x)) = g(2x-3)=(2x-3)² - (2x-3)


= 4x²-12x+9-2x+3
= 4x² - 14x +12
Let’s work on this!
• Functions f, g and h are given by f(x)=3x²-11x-4;
g(x)=3x+1; and h(x)=2x-3. Find the following:

a. (g+h)(x) b. (g•h)(x) c. (f-g)(x)

d. f (x) e. (f•g)(x) e. (f+g+h)(x)


g
Solutions
• A. (g+h)(x) = g(x) + h(x)
= (3x+1) +(2x-3)
= 3x+1+2x-3
= 5x-2

• B. (g•h)(x) = g(x) • h(x)


= (3x+1) (2x-3)
= 6x²-9x+2x-3
= 6x²-7x-3
Solutions
• C. (f-g)(x) = f(x) – g(x)
= (3x²-11x-4) - (3x+1)
= 3x²-11x-4-3x-1
= 3x²-14x-5

• D. f (x) = f(x)
g g(x)
= 3x²-11x-4
3x+1
= (3x+1) (x-4)
3x+1
= x-4
Solutions
• E. (f•g)(x) = f(x) • g(x)
= (3x²-11x-4) (3x+1)
= 9x³+3x²-33x²-11x-12x-4
= 9x³-30x²-23x-4

• F. (f+g+h)(x)= f(x)+g(x)+h(x)
= (3x²-11x-4) + (3x+1) + (2x-3)
= 3x²-11x-4+3x+1+2x-3
= 3x²-6x-6
Composite Function
Composition of function is another way of combining
functions. This method of combining functions
uses the output of one function as the input for a
second function.

Example: Suppose that f(x)=3x+4 and g(x)=2x-1.


Find:
a. (f ◦ g)(x) b. (g ◦ f)(x) c. (f ◦ f)(x)

d. (g ◦ g)(x)
Solution:
Example: Suppose that f(x)=3x+4 and g(x)=2x-1.
Find:

a. (f ◦ g)(x) = f [g(x)] b. (g ◦ f)(x)=g [f(x)]


= f(2x-1) = g(3x+4)
= 3(2x-1)+4 = 2(3x+4)-1
= 6x-3+4 = 6x+8-1
= 6x+1 = 6x+7
Solution:
Example: Suppose that f(x)=3x+4 and g(x)=2x-1.
Find:

c. (f ◦ f)(x) = f [f(x)] d. (g ◦ g)(x)=g [gx)]


= f(3x+4) = g(2x-1)
= 3(3x+4)+4 = 2(2x-1)-1
= 9x+12+4 = 4x-2-1
= 9x+16 = 4x-3

Das könnte Ihnen auch gefallen