HOW TO FIND COMPOSITION OF TWO FUNCTIONS WITH ABSOLUTE VALUE

Example 1 :

Let f, g : R → R be defined as f(x) = 2x − |x| and g(x) = 2x + |x|. Find f ◦ g and g ◦ f

Solution :

We know that,

 |x|  =  x  if x > 0 or 

 |x|  =  -x  if x < 0 

Now let us find f(x) and g(x) respectively.

Given : f(x) = 2x − |x|

f(x)  =  2x - x if x > 0

 f(x)  =  x    if  x > 0

f(x)  =  2x - (-x)  if x < 0

  =  2x + x 

 f (x)   =  3x   if x < 0

Given : g(x) = 2x + |x|

g(x)  =  2x + x if x > 0

 g(x)  =  3x    if  x > 0

g(x)  =  2x - x  if x < 0

  =  2x - x 

=  x

g (x)   =  x   if x < 0

Now we have to find the composition of the above functions.

f ◦ g (x)  when x > 0

f ◦ g (x)  =  f [g (x)] 

  =  f [ 3x ]

we have to apply the value 3x instead of x in the function f (x)

 f ◦ g (x)  =  3x

g ◦ f (x)  when x < 0

g ◦ f (x)  =  g [f (x)] 

  =  g [ 3x ]

we have to apply the value 3x instead of x in the function g (x)

 g ◦ f (x)  =  3x

Example 2 :

If f, g : R → R are defined by f(x) = |x| + x and g(x) = |x| − x, find g ◦ f and f ◦ g.

Solution :

We know that,

 |x|  =  x  if x > 0 or 

 |x|  =  -x  if x < 0 

Now let us find f(x) and g(x) respectively.

Given : f(x) = |x| + x

f(x)  =  x + x if x > 0

 f(x)  =  2x    if  x > 0

f(x)  =  x - x  if x < 0

  =  0   if x < 0

Given : g(x) = |x| - x 

g(x)  =  x - x if x > 0

 g(x)  =  0    if  x > 0

g(x)  =  -x - x  if x < 0

  =  -2x 

g (x)   =  -2x   if x < 0

Now we have to find the composition of the above functions.

f ◦ g (x)  when x > 0

f ◦ g (x)  =  f [g (x)] 

  =  f [ 0 ]

we have to apply the value 0 instead of x in the function f (x)

f(0)  =  2 (0)  =  0

Hence f ◦ g (x)  =  0

g ◦ f (x)  when x < 0

g ◦ f (x)  =  g [ f (x)] 

  =  g [ 0 ]

we have to apply the value 0 instead of x in the function f (x)

f(0)  =  -2 (0)  =  0

g ◦ f (x)  =  0

Kindly mail your feedback to v4formath@gmail.com

We always appreciate your feedback.

©All rights reserved. onlinemath4all.com

Recent Articles

  1. How to Solve Age Problems with Ratio

    Mar 28, 24 02:01 AM

    How to Solve Age Problems with Ratio

    Read More

  2. AP Calculus BC Integration of Rational Functions by Partical Fractions

    Mar 26, 24 11:25 PM

    AP Calculus BC Integration of Rational Functions by Partical Fractions (Part - 1)

    Read More

  3. SAT Math Practice

    Mar 26, 24 08:53 PM

    satmathquestions1.png
    SAT Math Practice - Different Topics - Concept - Formulas - Example problems with step by step explanation

    Read More