How Do We Calculate (f O g) for Given Functions and Set A?

  • Context: Undergrad 
  • Thread starter Thread starter aaa59
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
4 replies · 3K views
aaa59
Messages
8
Reaction score
0
if A={1,2,3}

f:A-> A = {(1,2),(2,3),(3,1)}
g:A->A = {(1,2),(2,1),(3,3)}

how would we calculate (f O g)?
 
Physics news on Phys.org
say h = f o g. To find h(x), simply plug x into g, and then plug the result into f.

For example, g(2) = 1 and f(1) = 2. So h(2) = 2. Hope this helps.
 
i think i got it.

so: g(1) = 2 and f(2) = 3. therefore h(1)=3. am i right?
 
At this stage, you can just consider
[tex]h = f \circ g[/tex]
as just "shorthand" for the function defined by
[tex]h(x) = f(g(x))[/tex]