Composing functions (article) | Khan Academy (2024)

Walk through examples, explanations, and practice problems to learn how to find and evaluate composite functions.

Want to join the conversation?

Log in

  • Tess Van Horn

    9 years agoPosted 9 years ago. Direct link to Tess Van Horn's post “In practice Q 4, where is...”

    In practice Q 4, where is 4t created? I see where t^2 and 4 come from, but am not sure what puts 4t in

    (69 votes)

    • Mr.Magroo

      9 years agoPosted 9 years ago. Direct link to Mr.Magroo's post “I was stuck on this too, ...”

      Composing functions (article) | Khan Academy (4)

      Composing functions (article) | Khan Academy (5)

      Composing functions (article) | Khan Academy (6)

      I was stuck on this too, but I think the reason is that (t-2)^2 = (t-2)(t-2) . Using the distributive property, you get t^2-4t+4.

      (133 votes)

  • Nigar Kainath

    8 years agoPosted 8 years ago. Direct link to Nigar Kainath's post “(f ∘ g)(x)here, what doe...”

    (f ∘ g)(x)
    here, what does the sign ∘ mean?

    (2 votes)

    • Levi Geadelmann

      8 years agoPosted 8 years ago. Direct link to Levi Geadelmann's post “(f ∘ g)(x) is read "f of ...”

      Composing functions (article) | Khan Academy (10)

      (f ∘ g)(x) is read "f of g of x", so the ∘ translates to "of".
      In this case, if you had functions defined, f(x) and g(x), then to get (f ∘ g)(x) you would substitute g(x) for x inside of f(x). Another way to write it is f(g(x)).

      (18 votes)

  • Rory Avera

    8 years agoPosted 8 years ago. Direct link to Rory Avera's post “How do you know when to u...”

    How do you know when to use the "inside out property" or the composing function?

    (9 votes)

    • Judith Gibson

      8 years agoPosted 8 years ago. Direct link to Judith Gibson's post “It doesn't really matter ...”

      It doesn't really matter --- they will both give the same answer, so it's up to you to choose what works best/easiest for you with the problem you're given at the time!
      (But, of course, you need to be familiar with both techniques.)

      (7 votes)

  • Aditya Mahajan

    5 years agoPosted 5 years ago. Direct link to Aditya Mahajan's post “May someone please explai...”

    May someone please explain the challenge problem to me?

    (4 votes)

    • Dylan Chan

      5 years agoPosted 5 years ago. Direct link to Dylan Chan's post “The challenge problem say...”

      Composing functions (article) | Khan Academy (17)

      The challenge problem says, "The graphs of the equations y=f(x) and y=g(x) are shown in the grid below." So basically the two graphs is a visual representation of what the two different functions would look like if graphed and they're asking us to find (f∘g)(8), which is combining the two functions and inputting 8. From the definition, we know (f∘g)(8)=f(g(8)). So let's work "inside out". If we look at the graph of "g", we see that g(8) is 2 (look at the 8 at the x-axis and if you go up to where it meets the line, the y value would be 2). Because g(8)=2, then when you substitute it back in the equation, f(g(8)) would equal f(2). Then if we look at the graph of "f", we can see that f(2) is -3. (when you look at the 2 in the x-axis, it will correspond to -3 on the y-axis). So by looking at the graph, you can figure out that (f∘g)(8) is approximately -3.
      ~Dylan

      (15 votes)

  • flowermap21

    a year agoPosted a year ago. Direct link to flowermap21's post “In question 4 how do peop...”

    In question 4 how do people get the 4t in tsquered-t4+9?

    (3 votes)

    • Kim Seidel

      a year agoPosted a year ago. Direct link to Kim Seidel's post “It comes from (t-2)^2(t-...”

      Composing functions (article) | Khan Academy (21)

      It comes from (t-2)^2
      (t-2)^2 = (t-2)(t-2) = t^2-2t-2t+4 = t^2-4t+4
      To square binomials, you need to use FOIL or the pattern for creating a perfect square trinomial. You can't square the 2 terms and get the right answer.

      Hope this helps.

      (11 votes)

  • Ceaseless_Thoughts

    a year agoPosted a year ago. Direct link to Ceaseless_Thoughts's post “in the example question "...”

    in the example question "g(x)= x+4, h(x)= x(squared)-2x" how does it get the +8x and -2x in the distribute section ?
    here's the distribute equation =(x(squared)+8x+16−2x−8)

    (5 votes)

    • Kim Seidel

      a year agoPosted a year ago. Direct link to Kim Seidel's post “h(g(x)) = (x+4)^2 - 2(x+4...”

      h(g(x)) = (x+4)^2 - 2(x+4)
      Basically each "x" in h(x) gets replaced with (x+4), which if g(x). Then, you simplify.

      1) FOIL out (x+4)^2:
      h(g(x)) = x^2+4x+4x+16 - 2(x+4) = x^2 + 8x + 16 - 2(x+4)

      2) Distribute -2: h(g(x)) = x^2 + 8x + 16 - 2x - 8

      3) Combine like terms: x^2 + 6x + 8

      Hope this helps.

      (6 votes)

  • ScribofThoth

    a year agoPosted a year ago. Direct link to ScribofThoth's post “I still can't get this. I...”

    I still can't get this. I think my problem is them showing multiple ways to do this instead of focusing on how to combine it into one equation. Either I have to work each function alone then combine them at the end or have more help figuring out how to make one equation.

    (2 votes)

    • ersepsi

      a year agoPosted a year ago. Direct link to ersepsi's post “I don't think their aim i...”

      I don't think their aim is to show you the multiple ways you can evaluate the composite function.

      The first example they basically show what evaluating a composite function really means, it's like you said "work each function alone". In the second example they showed a more faster and efficient way to evaluate the composite function by combining them into one equation.

      If you're still confused about composite functions, I'll explain this way:

      we have a function f(x), this function takes "x" as "input". Now, I'm certain you're used to the variable x being substituted for a number, but in maths, you can pretty much substitute it for anything you like. (Expressions for example)

      Like I can let x = 5, but I can also let x = 2h. Doesn't that mean I can also substitute x for some function? In other words x = g(x).

      Say if g(k) = 4k, then this would become: x = 4k. (Because x = g(k) = 4k)

      Since we let x = g(k) = 4k, then our function f can be written as: f( g(k) ) or f(5k) (We substituted x for g(k) )

      if f(x) = 5x, by substituting x for g(k), this becomes:

      f( g(x) ) = 5g(x) ---> f( 4k ) = 5(4k) = 20k

      This also means that our composite function changes value depending on the value of k.

      Conclusion: g(k) becomes input for function f.

      (8 votes)

  • awesomeness.RM

    8 years agoPosted 8 years ago. Direct link to awesomeness.RM's post “Can someone please simpli...”

    Can someone please simplify all of this for me cause i am so confused!

    (2 votes)

    • Kim Seidel

      8 years agoPosted 8 years ago. Direct link to Kim Seidel's post “Sometimes it's useful to ...”

      Sometimes it's useful to look at a different point of view. Try this site. Then come back and try this video again. http://www.mathsisfun.com/sets/functions-composition.html

      (6 votes)

  • Mercado Oscar

    10 months agoPosted 10 months ago. Direct link to Mercado Oscar's post “Number 3 is hard can u gi...”

    Number 3 is hard can u give better explanations

    (4 votes)

    • jakubjwerner

      10 months agoPosted 10 months ago. Direct link to jakubjwerner's post “The way I understand it a...”

      The way I understand it and I solve it is to always split solution in to steps where each step is solving just single function:

      f(x) = 3x-5
      g(x) = 3-2x
      (g∘f)(3)

      1. We'll solve f(x) as it's on the end. We know that x is 3 so we need to calculate 3*3-5 which is 4

      2. We'll solve g(x). g(x) is wrapping up f(x) so it might look something like g(f(x)) = 3-2(fx) = 3-2(3x-5).

      As we know from step 1 that f(x) = 4 we can just use it as x variable for g. So equation should be g(x) = 3-2*4

      Esentially you can just focus on single function and use your result as x of next function.

      I hope this is helpful and not more confusing.

      (2 votes)

  • Jennifer Laessig

    7 years agoPosted 7 years ago. Direct link to Jennifer Laessig's post “If f(x)=(1/x) and (f/g)(x...”

    If f(x)=(1/x) and (f/g)(x)=((x+4)/(x^2+2x)), what is the function g?

    (4 votes)

    • Kim Seidel

      7 years agoPosted 7 years ago. Direct link to Kim Seidel's post “Based upon the rules for ...”

      Based upon the rules for dividing with fractions: f/g = (1/x) / g = (1/x) * the reciprocal of g

      We need to work in reverse
      1) Factor denominator to undo the multiplication: (x+4)/(x^2+2x) = (x+4)/[x(x+2)]
      We can see there is a factor of X in the denominator. This would have been from multiplying 1/x * the reciprocal of g.
      2) Separate the factor 1/x: (1/x) * (x+4)/(x+2)
      This tells us the reciprocal of g = (x+4)/(x+2)

      3) Flip it to find g: g(x) = (x+2)/(x+4)

      Hope this helps.

      (2 votes)

Composing functions (article) | Khan Academy (2024)

FAQs

What are composing functions? ›

In mathematics, function composition is an operation ∘ that takes two functions f and g, and produces a function h = g ∘ f such that h(x) = g(f(x)). In this operation, the function g is applied to the result of applying the function f to x.

What is a composite function calculus? ›

We start off with x. The function g takes x to x2 + 1, and the function h then takes x2 +1to(x2 + 1)17. Combining two (or more) functions like this is called composing the functions, and the resulting function is called a composite function.

How to introduce composite functions? ›

Introduction

The composition of two functions g and f is the new function we get by performing f first, and then performing g. For example, if we let f be the function given by f(x) = x2 and let g be the function given by g(x) = x + 3, then the composition of g with f is called gf and is worked out as gf(x) = g(f(x)) .

How to evaluate composite functions? ›

In order to evaluate a composite function, take the given input value (fractional value) and find its output value (which may be a fraction). Then, take this output value and replace it as the "new" input value ("new" fractional value) of a second function, to find the value between the composition.

What is a real world example of composing functions? ›

An example of a real-life composite function is where you're calculating the amount of money you'll have to spend on petrol. The first function will calculate the amount of petrol required by dividing the distance to be travelled (input variable) by the distance that the car can travel per litre(constant).

What is the composition of functions for dummies? ›

The composition of functions is an algebraic operation in which you use one function as the input into another and perform the operations on that input function. You can perform the basic mathematical operations of addition, subtraction, multiplication, and division on the equations used to describe functions.

How to remember composite functions? ›

Understanding Composite Functions: The Basics

Let's break it down: if you have two functions, f(x) and g(x), their composite, written as (f∘g)(x) or f(g(x)), means applying g first and then f. It's like a chain reaction where the output of one function (g(x)) becomes the input for the other (f(x)).

What is the chain rule for composite functions? ›

In words, the chain rule says, “the derivative of a composite function is the product of the derivative of the outer function evaluated at the inner function and the derivative of the inner function.” If y is a function of u and u is a function of x (so that y is a composite function), then provided that and exist.

Why can't composite functions be formed? ›

It is not possible to compose any two functions, some functions cannot be composed together, for example, let's say f(x) = ln(x) and g(x) = -x. If we try to compose f(g(x)), it is not possible for the positive value of x, as the logarithmic function cannot take negative input values, so f(g(x)) is not possible.

Do you simplify composite functions? ›

You can use your substitution abilities to simplify a composition of functions! When we're simplifying f(g(x)), we substitute our g(x) function into our f(x) function. In other words, everywhere we see an x in our f(x) function, we plug in our g(x) function!

What is the rule of composite functions? ›

To evaluate a composite function f(g(x)) at some x = a, first compute g(a) by substituting x = a in the function g(x). Then substitute g(a) into the function f(x) by substituting x = g(a). In the same way, we can calculate g(f(a)) as well.

How do you write expressions for composite functions? ›

Writing simple expressions

Generally, you'll do this by replacing the words with operators that mean the same thing. So for instance, four divided by x could be 4 ÷ x. ÷ and / are just two ways of writing divided.

What does ∘ mean in math? ›

The open circle symbol ∘ is called the composition operator. We use this operator mainly when we wish to emphasize the relationship between the functions themselves without referring to any particular input value.

What does it mean when a function is composed? ›

Given two functions, we can combine them in such a way so that the outputs of one function become the inputs of the other. This action defines a composite function.

What is the function of compose method? ›

compose. Returns a composed function that first applies the before function to its input, and then applies this function to the result. If evaluation of either function throws an exception, it is relayed to the caller of the composed function.

How to know if a composite function exists? ›

Composite functions exist when another function is wrapped inside another function. Functions are built by replacing one function with another one. The composite function combining f (x) and g (x) is, for example, f [g (x)] (x).

What are the functions of music composition? ›

8 music composer responsibilities
  • Creating original music compositions. ...
  • Collaborating with creative artists. ...
  • Selecting instruments. ...
  • Writing sheet music. ...
  • Conducting rehearsals. ...
  • Recording and producing music. ...
  • Marketing and promoting music. ...
  • Networking.
Jul 27, 2023

Top Articles
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 5283

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.