Trying to reconcile function composition problems with sets & formulas

Click For Summary
SUMMARY

This discussion focuses on reconciling function composition problems using sets and formulas, specifically addressing the confusion between set relations S and T and their corresponding formulaic representations. The user successfully computes the composition S ◦ T and f ◦ g, but struggles to align the two methods conceptually. The key takeaway is that while both approaches yield similar results, they represent different algorithms for function composition, with the set approach relying on matching outputs and inputs, and the formulaic approach utilizing direct substitution.

PREREQUISITES
  • Understanding of function composition in mathematics
  • Familiarity with set theory and relations
  • Basic knowledge of mathematical functions and notation
  • Ability to manipulate algebraic expressions
NEXT STEPS
  • Study the properties of function composition in set theory
  • Learn about the differences between relations and functions
  • Explore examples of function composition using different mathematical representations
  • Investigate the implications of composing multiple functions in various contexts
USEFUL FOR

Students of mathematics, educators teaching function composition, and anyone interested in the theoretical foundations of relations and functions.

s3a
Messages
828
Reaction score
8
Homework Statement
**Problem involving function composition with sets:**
Consider the set A = {w , x , y, z }, and the relations

S = {(w , x ), (w , y), (x , w ), (x , x ), (z , x )}

T = {(w , w ), (w , y), (x , w ), (x , x ), (x , z ), (y, w ), (y, y), (y, z )}

Find S ◦ T.

**Problem involving function composition with formulas:**
Let f(x) = x + 1 and g(x) = x^2.

Find f ◦ g.
Relevant Equations
The answer for the set one is.:
S ◦T = {(w , w ), (w , x ), (w , z ), (w , y), (x , w ), (x , y), (x , x ), (x , z ), (z , w ), (z , x ), (z , z )}

The answer for the formula one is.:
f( g(x) ) = ( x^2 ) + 1

f( g(x) ) = x^2 + 1
I know how to solve each of those problems. For the set one, I look at the output of the S and try to match it with the input of T and then take the pair (input_of_S, output_of_T), and I do that for each pair.

As for the formula one, I just plug in x = g(y).

My confusion lies in trying to reconcile the two methods as different algorithms that are doing the same thing.

What bothers me is that for the formulaic one x_f = g(x_g), but for the set one, it seems to be to be output_of_S = input_of_T, which to translate that to the formulaic way, would be like saying f(x_f) = x_g instead.

Given that I get similar results, I'm assuming that I'm making a small mistake somewhere, but I'm not sure what it is.

Could someone please help me reconcile the two approaches (to similar problems)?

Any input would be greatly appreciated!

P.S.
Sorry for the weird question. :P
 
Physics news on Phys.org
s3a said:
Homework Statement:: **Problem involving function composition with sets:**
Consider the set A = {w , x , y, z }, and the relations

S = {(w , x ), (w , y), (x , w ), (x , x ), (z , x )}

T = {(w , w ), (w , y), (x , w ), (x , x ), (x , z ), (y, w ), (y, y), (y, z )}

Find S ◦ T.

**Problem involving function composition with formulas:**
Let f(x) = x + 1 and g(x) = x^2.

Find f ◦ g.
Relevant Equations:: The answer for the set one is.:
S ◦T = {(w , w ), (w , x ), (w , z ), (w , y), (x , w ), (x , y), (x , x ), (x , z ), (z , w ), (z , x ), (z , z )}
That looks like ##T \circ S## to me.
 
  • Like
Likes   Reactions: SammyS
s3a said:
I know how to solve each of those problems. For the set one, I look at the output of the S and try to match it with the input of T and then take the pair (input_of_S, output_of_T), and I do that for each pair.

As for the formula one, I just plug in x = g(y).

My confusion lies in trying to reconcile the two methods as different algorithms that are doing the same thing.

f \circ g means "do g, then do f to the result". So in set notation with g: X \to Y and f: Y \to Z it would be <br /> \begin{split}<br /> f &amp;= \{ (x, f(x)) : x \in Y \} \subset Y \times Z \\<br /> g &amp;= \{ (x, g(x)) : x \in X \} \subset X \times Y \\<br /> f \circ g &amp;= \{ (x, f(g(x))) : x \in X \} \subset X \times Z \end{split}
 
  • Like
Likes   Reactions: SammyS
Consider that , for one , , while every function is a relation, the converse doesn't hold.
You can consider a set R in your case as a relation r, where (a,b) stands for (a,r(a)), i.e., b:=r(a).

 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K