< Return to Video

www.mathcentre.ac.uk/.../Composition%20of%20functions.mp4

  • 0:02 - 0:07
    The composition of two functions
    G&F is the function we get from
  • 0:07 - 0:12
    doing at 1st and then G. So if
    we let F of X.
  • 0:13 - 0:17
    Be given by F of X
    equals X squared.
  • 0:18 - 0:19
    And we let G of X.
  • 0:21 - 0:23
    BX +3.
  • 0:24 - 0:30
    Then GF of X is given by.
    Well, we do F of X first and
  • 0:30 - 0:32
    that's X squared.
  • 0:33 - 0:35
    Then we apply G to the
    whole of that.
  • 0:38 - 0:41
    Now, since G just adds 3 onto a
  • 0:41 - 0:45
    number. G of X squared is
    X squared +3.
  • 0:46 - 0:49
    So GF of X is X squared +3.
  • 0:51 - 0:52
    Here's another example.
  • 0:55 - 0:56
    This time will let F of X.
  • 0:57 - 1:00
    Be given by F of X equals 2X.
  • 1:01 - 1:03
    And we'll have G of X.
  • 1:04 - 1:06
    Being East The X.
  • 1:08 - 1:13
    Now to get GFX again, we write
    down what F of X is.
  • 1:14 - 1:15
    That was 2X.
  • 1:17 - 1:19
    And then we apply G
    to the whole of that.
  • 1:22 - 1:25
    Now G of X is E to the X.
  • 1:25 - 1:28
    So G of two X is E to the 2X.
  • 1:30 - 1:34
    So again we have here GF of X is
    E to the 2X.
  • 1:35 - 1:38
    Sometimes the composition of two
    functions is called the function
  • 1:38 - 1:41
    of a function, and here's
    another way of writing it down.
  • 1:43 - 1:50
    We sometimes writes GF of
    X as G Little Circle F
  • 1:50 - 1:51
    of X.
  • 1:53 - 1:56
    Now you don't have to use this
    notation yourself, but you
  • 1:56 - 1:59
    might see it in classes or
    workbooks, so it's important
  • 1:59 - 2:00
    to know what it means.
  • 2:04 - 2:07
    The order in which we compose
    functions can make a big
  • 2:07 - 2:12
    difference. If you remember our
    first example, we had F of X
  • 2:12 - 2:14
    being X squared.
  • 2:15 - 2:16
    And G of X.
  • 2:18 - 2:19
    Being X +3.
  • 2:21 - 2:27
    We'll see what happens when we
    do G 1st and then F, so this is
  • 2:27 - 2:28
    FG of X.
  • 2:29 - 2:33
    So this time we write down what
    G of X is first, which is X +3.
  • 2:36 - 2:39
    Then we apply F to
    the whole of that.
  • 2:40 - 2:46
    Now applying the F to something
    just makes it square, so F of X
  • 2:46 - 2:48
    +3 is X plus three all squared.
  • 2:50 - 2:54
    And that X squared plus
    6X plus 9.
  • 2:55 - 3:01
    And if you remember, GF of X was
    just X squared +3.
  • 3:02 - 3:05
    So you can see here that
    changing the order in which
  • 3:05 - 3:07
    we compose these functions
    makes a big difference.
  • 3:15 - 3:18
    Now we've looked at how to
    compose functions. We look at
  • 3:18 - 3:19
    how to decompose functions.
  • 3:21 - 3:26
    If I have a function like each
    of X equals E to the 2X.
  • 3:27 - 3:31
    We've already seen that we
    can write H as a composition
  • 3:31 - 3:32
    of two functions.
  • 3:33 - 3:41
    H of X was equal to GF
    of X, where F of X was
  • 3:41 - 3:47
    2X and G of X was E
    to the X.
  • 3:54 - 3:57
    Let's decompose another
    function. This time will have
  • 3:57 - 3:59
    function each of X.
  • 4:00 - 4:02
    Equals the cube roots.
  • 4:03 - 4:05
    Of 2X plus one.
  • 4:07 - 4:15
    The first here we send X to 2X
    Plus One and then we cube root
  • 4:15 - 4:23
    the whole thing. So if we let F
    of XB2X plus one then H of X.
  • 4:24 - 4:25
    Is the cube root?
  • 4:26 - 4:28
    Oh, this is X.
  • 4:29 - 4:31
    So then if we sat G of X.
  • 4:33 - 4:34
    To be cube root X.
  • 4:36 - 4:37
    We get that HX.
  • 4:39 - 4:40
    Is G.
  • 4:42 - 4:47
    Of F of X. So that's
    GF of X.
  • 4:48 - 4:51
    Being able to decompose
    functions will be very
  • 4:51 - 4:54
    important when you come to do
    things like integration and
  • 4:54 - 4:55
    Differentiation.
  • 5:03 - 5:06
    Now there is some pairs of
    functions that can't be
  • 5:06 - 5:13
    composed. Let's have F of
    X being minus X squared.
  • 5:14 - 5:16
    And we'll have G of X.
  • 5:17 - 5:20
    Being natural log of X.
  • 5:23 - 5:24
    Now F of X.
  • 5:26 - 5:28
    Is less than or equal to 0?
  • 5:28 - 5:30
    Whichever X you pick.
  • 5:31 - 5:36
    But G of X is only defined if X
    is greater than 0.
  • 5:37 - 5:40
    So G of F of X.
  • 5:42 - 5:43
    Doesn't exist.
  • 5:54 - 5:56
    There are also some pairs of
    functions that can be
  • 5:56 - 5:59
    composed with some ex, but
    not for other ex.
  • 6:00 - 6:06
    This time will have F of
    X equals 4X minus 6.
  • 6:07 - 6:09
    And we'll have geovax.
  • 6:11 - 6:14
    Bing square root of X.
  • 6:15 - 6:21
    Now G of X is only defined if X
    is greater than or equal to 0.
  • 6:22 - 6:26
    So GF of X can only be
    defined if F of X is greater
  • 6:26 - 6:27
    than or equal to 0.
  • 6:29 - 6:34
    And F of X is greater than or
    equal to 0.
  • 6:34 - 6:38
    Only if X is greater than or
    equal to three over 2.
  • 6:42 - 6:47
    So GF of X is only
    defined.
  • 6:50 - 6:55
    4X greater than or equal to
    three over 2.
  • 6:58 - 7:01
    The values of X for which
    GF is defined is called the
  • 7:01 - 7:02
    domain of GF.
  • 7:09 - 7:12
    The range of a function is the
    set of all the values of
  • 7:12 - 7:17
    function can take.
    So for example, if F
  • 7:17 - 7:20
    of X was each the X.
  • 7:22 - 7:23
    The range.
  • 7:24 - 7:30
    Is given by F of X is greater
    than zero because E to the X can
  • 7:30 - 7:32
    only be greater than 0.
  • 7:33 - 7:38
    Similarly, if we have F of X
    being say, Sign X.
  • 7:41 - 7:42
    Then the range.
  • 7:46 - 7:47
    Is FX.
  • 7:49 - 7:53
    Is between plus one and
    minus one.
  • 8:00 - 8:03
    The range of a composite
    function must lie within the
  • 8:03 - 8:05
    range of the second function we
  • 8:05 - 8:07
    apply. Here's an example to show
  • 8:07 - 8:13
    you this. Will put
    down F of X equals X
  • 8:13 - 8:16
    minus 8 and G of X?
  • 8:17 - 8:18
    Equals X squared.
  • 8:20 - 8:21
    Now for F of X.
  • 8:22 - 8:23
    The range.
  • 8:26 - 8:28
    Is well F of X can take
    any value.
  • 8:35 - 8:37
    But for G of X.
  • 8:38 - 8:43
    Ranges G of X is greater than or
    equal to 0.
  • 8:44 - 8:48
    Now let's look at the range of
    the composed function GF.
  • 8:49 - 8:55
    GFX is well F of X
    is X minus 8.
  • 8:58 - 9:05
    And G of X squares it, so
    GF of X is X minus 8
  • 9:05 - 9:12
    squared. Which is X
    squared minus 16X plus
  • 9:12 - 9:13
    64.
  • 9:15 - 9:19
    But since GF of X is
    something squared.
  • 9:21 - 9:23
    And all square numbers are
    greater than or equal to 0.
  • 9:24 - 9:27
    GF of X is greater
    than or equal to 0.
  • 9:28 - 9:30
    So the range here.
  • 9:32 - 9:37
    Is GF of X is greater than or
    equal to 0?
  • 9:38 - 9:43
    So you can see here that the
    range of GF is the range of G.
  • 9:45 - 9:46
    Now let's look at what
    happens when he composed
  • 9:46 - 9:47
    and the other way around.
  • 9:49 - 9:51
    So this time FG books.
  • 9:54 - 9:56
    What again G of X is X squared?
  • 9:59 - 10:05
    And applying eh? The whole of
    that gives us X squared minus 8.
  • 10:06 - 10:09
    Now, since G of X is greater
    than or equal to 0.
  • 10:10 - 10:12
    And here we're taking away 8.
  • 10:13 - 10:17
    This whole thing must be greater
    than or equal to minus 8.
  • 10:19 - 10:20
    So the range.
  • 10:23 - 10:28
    Is FGX is greater than or equal
    to minus 8?
  • 10:30 - 10:35
    Now FG of X is range isn't the
    same as F, of X is range.
  • 10:36 - 10:39
    But it certainly contained in
    the range of F of X.
  • 10:40 - 10:43
    So these two examples show you
    that if you're given a composed
  • 10:43 - 10:46
    function, the range must lie
    within the range of the second
  • 10:46 - 10:49
    function you apply, but doesn't
    have to be all of it.
Title:
www.mathcentre.ac.uk/.../Composition%20of%20functions.mp4
Video Language:
English

English subtitles

Revisions