Docsity

Characteristic Functions and Function Composition in Math 215, Assignments of Mathematics

Toggle sidebar
bg1
Math 215, Fall 05 Homework #8
Due Friday, 10/28/05 at the beginning of class
Let Ube a set, suppose f , g :U−→ Rare functions from Uto the set of
real numbers R, and let a∈R. Then f+g, f g, af :U−→ Rare defined by
(f+g)(x) = f(x) + g(x),
(fg)(x) = f(x)g(x),
and
(af)(x) = a(f(x))
for all x∈R. If a∈R, by abuse of notation we regard aas the constant
function from Uto Rdefined by a(x) = afor all x∈U.
Now regard Uas a universal set. For a subset Aof Uthe characteristic
function of Ais the function χA:U−→ Rdefined by
χA(x) = (1 : x∈A;
0 : x6∈ A.
1. Let Ube a universal set.
a) Let A, B ⊆U. Show that χA=χBif and only if A=B.
b) Show that χ∅= 0 and χU= 1
c) Suppose that f:U−→ Ris a function such that Im f⊆ {0,1}. Show
that fis the characteristic function of some subset of U.
2. Let Ube a universal set and A, B ⊆U.
a) Show that χAc= 1 −χA.
b) Show that χA∩B=χAχB.
1
pf3
pf4
pf5

Partial preview of the text

Download Characteristic Functions and Function Composition in Math 215 and more Assignments Mathematics in PDF only on Docsity!

Math 215, Fall 05 Homework

Due Friday, 10/28/05 at the beginning of class

Let U be a set, suppose f, g : U −→ R are functions from U to the set of real numbers R, and let a ∈ R. Then f + g, f g, af : U −→ R are defined by

(f + g)(x) = f (x) + g(x),

(f g)(x) = f (x)g(x),

and (af )(x) = a(f (x))

for all x ∈ R. If a ∈ R, by abuse of notation we regard a as the constant function from U to R defined by a(x) = a for all x ∈ U. Now regard U as a universal set. For a subset A of U the characteristic function of A is the function χA : U −→ R defined by

χA(x) =

{ 1 : x ∈ A; 0 : x 6 ∈ A.

  1. Let U be a universal set.

a) Let A, B ⊆ U. Show that χA = χB if and only if A = B.

b) Show that χ∅ = 0 and χU = 1

c) Suppose that f : U −→ R is a function such that Im f ⊆ { 0 , 1 }. Show that f is the characteristic function of some subset of U.

  1. Let U be a universal set and A, B ⊆ U.

a) Show that χAc^ = 1 − χA.

b) Show that χA∩B = χAχB.

c) Express χA∪B and χA−B in terms of χA and χB. Justify your formulas.

  1. Let f : A −→ B and g : B −→ C be functions.

a) Suppose that f and g are injective. Show that g◦f is injective.

b) Suppose that f and g are surjective. Show that g◦f is surjective.

c) Suppose that f and g are bijective. Then g◦f is bijective by parts a) and b). Show that (g◦f )−^1 = f −^1 ◦g−^1.

  1. Let f : R −→ R be the function defined by f (x) = x^2 + 3x − 4. for all x ∈ R.

a) Determine whether or not f is injective.

b) Determine whether or not f is surjective.

c) Find f −^1 ({ 0 , 75 / 4 }).

d) Find f ([0, 1]). [Hint: You may assume from Calculus that the image of an interval under f (which is continuous) is an interval.]

b) Let x ∈ U. Then

(χAχB )(x) = χA(x)χB (x) =

    

1 · 1 : x ∈ A, x ∈ B; 1 · 0 : x ∈ A, x 6 ∈ B; 0 · 1 : x 6 ∈ A, x ∈ B; 0 · 0 : x 6 ∈ A, x 6 ∈ B

    

1 : x ∈ A, x ∈ B; 0 : x ∈ A, x 6 ∈ B; 0 : x 6 ∈ A, x ∈ B; 0 : x 6 ∈ A, x 6 ∈ B

Since x ∈ A∩B if and only if x ∈ A and x ∈ B, we conclude that

(χAχB )(x) =

{ 1 : x ∈ A∩B; 0 : x 6 ∈ A∩B = χA∩B (x)

for all x ∈ U. Thus χAχB = χA∩B. (6 points)

c) Here is a solution which uses parts a) and b).

χA∪B = χ(Ac∩Bc)c = 1 − χAc∩Bc = 1 − χAc χBc = 1 − (1 − χA)(1 − χB ) = 1 − (1 − χA − χB + χAχB ) = 1 − 1 + χA + χB − χAχB = χA + χB − χAχB.

Thus χA∪B = χA + χB − χAχB. (4 points) Note that χA−B = χA∩Bc = χAχBc = χA(1 − χB ) so χA−B = χA(1 − χB ). (4 points)

  1. (20 points total) f : A −→ B and g : B −→ C are functions.

a) Suppose that f, g are injective and let a, a′^ ∈ A satisfy (g◦f )(a) = (g◦f )(a′). Then g(f (a)) = g(f (a′)) by definition of function composition. Since g is injective f (a) = f (a′). Since f is injective a = a′. We have shown that g◦f is injective. (6 points)

b) Suppose that f, g are surjective and let c ∈ C. Since g is surjective c = g(b) for some b ∈ B. Since f is surjective b = f (a) for some a ∈ A. Therefore (g◦f )(a) = g(f (a)) = g(b) = c. We have shown that g◦f is surjective. ( 6 points)

c) We use Problem 3 of Homework 7 in calculating

(f −^1 ◦g−^1 )◦(g◦f ) = f −^1 ◦(g−^1 ◦(g◦f )) = f −^1 ◦((g−^1 ◦g)◦f ) = f −^1 ◦(IB ◦f ) = f −^1 ◦f = IA

and

(g◦f )◦(f −^1 ◦g−^1 ) = g◦(f ◦(f −^1 ◦g−^1 )) = g◦((f ◦f −^1 )◦g−^1 ) = g◦(IB ◦g−^1 ) = g◦g−^1 = IC.

(8 points)

  1. (20 points total) We complete the square and find that

f (x) = x^2 + 3x − 4 = [(x +

)^2 −

] − 4 = (x +

)^2 −

a) For example f (−1) = f (−2) = −6; therefore f is not injective. (5 points)

b) Since f (x) ≥ −

for all x ∈ R, f is not surjective. Specifically: c = − 7 < −

Then f (x) 6 = c for all x ∈ R. (5 points)

c) By definition

f −^1 ({ 0 , 75 / 4 }) = {x ∈ R | f (x) ∈ { 0 , 75 / 4 }} = {x ∈ R | f (x) = 0 or f (x) = 75/ 4 }.

Since f (x) = 0 if and only if f (x) = (x +

)^2 −

= 0 if and only if (x +

)^2 =

if and only if x +

if and only if x = 1 or x = −4, and since likewise