1 / 6

Composition of functions

Composition of functions. constructing a function from 2 functions (g o f) = g[f(x)] for all x in domain of f such that f(x) is in domain of g f is applied first and g is second Read f by g (f o g)(x) = f [g(x)] that for all x in domain of g such that g(x) is in domain of f

afram
Download Presentation

Composition of functions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Composition of functions • constructing a function from 2 functions • (g o f) = g[f(x)] • for all x in domain of f such that f(x) is in domain of g • f is applied first and g is second • Read f by g • (f o g)(x) = f [g(x)] that • for all x in domain of g such that g(x) is in domain of f • g is applied first and f is second • Read g by f

  2. Find (g o f)(x) f(x) = x 2 - 3x g(x) = 2x + 1 (g o f)(x) = g[f(x)] = 2(f(x)) + 1 = 2(x 2 - 3x) + 1 = 2x 2 - 6x + 1

  3. (f o g)(x) f(x) = x 2 - 3x g(x) = 2x + 1 (f o g)(x) = f[g(x)] = (g(x))2 - 3(g(x)) = (2x + 1)2 - 3(2x + 1) = 4x2 + 4x + 1 - 6x - 3 = 4x2 - 2x - 2

  4. CAUTION! f(x) = x + 1 g(x) =  (x - 4) domain of g(x) has to be [4,) • also range of f • domain of f has to be [3, ) (g o f)(2) is not possible, • you must restrict domain of g so range of f is part of domain of g

  5. method 1 method 2 (f ° g)(3)= f [g(3)] determine f [g(x)] general function substitute 3 for x in (f ° g) (f ° g)(3) = f [g(3)] evaluate g(3) substitute the result in f for x evaluate f f(x) = 2x - 5, g(x) = 4x 2 + 1 f [g(x)] = 2(4x 2 + 1) - 5 = 8x 2 + 2 - 5 = 8x 2 - 3 evaluate f [g(3)] = 8(3)2 - 3 = 69 (more work, better for evaluating several values of x) f(x) = 2x - 5, g(x) = 4x 2 + 1 find g(3) = 4(3) 2 +1 = 37 f(37) = 2(37) - 5 = 69

  6. Find domain of composite function domain f(x) all real # domain g(x) [-3,3] f ° g (x) = f[g(x)] = = 9 – x 2 – 9 = -x 2 domain is [-3, 3] Domain could be any real # but the first function g(x) sets our domain.

More Related