5.1 Workshop 1 (Exploration)

5.1.1 Preparatory exercises (30 mins)

Exercise 5.1.

With the usual xx- and yy-axes in ×\mathbb{R}\times\mathbb{R}, sketch the curves with the following equations:

  1. (A)

    y=1xy=1-x;

  2. (B)

    y=(x1)2+3y=(x-1)^{2}+3;

  3. (C)

    x2+y2=4x^{2}+y^{2}=4;

  4. (D)

    y=xy=\sqrt{x};

  5. (E)

    y=sinxy=\sin x;

  6. (F)

    x2+y2=4x^{2}+y^{2}=-4. [Think about what it would mean for a point (x,y)(x,y) to lie on the curve.]

Be prepared to compare your sketches with your group at the start of the next workshop.

Exercise 5.2.

Consider the following statement:

“The expressions

11+x and 1x1x\frac{1}{1+\sqrt{x}}\mbox{ and }\frac{1-\sqrt{x}}{1-x}

represent the same function.”

Is the statement true or false?

Exercise 5.3.

For any two integers aa and bb, with b0b\neq 0, let f(ab)=a+bf\bigl{(}\frac{a}{b}\bigr{)}=a+b.

  1. 1.

    What is f(12)f\bigl{(}\frac{1}{2}\bigr{)}?

  2. 2.

    What is f(24)f\bigl{(}\frac{2}{4}\bigr{)}?

5.1.2 B3 Exploration Workshop Supplementary Material

Definition (Function, domain, codomain, graph).

A function is an object consisting of three sets:

  1. (i)

    a set DD called its domain;

  2. (ii)

    a set CC called its codomain; and

  3. (iii)

    a subset GG of D×CD\times C called its graph.

These three sets must have the properties:

  1. (a)

    for every xDx\in D, there exists yCy\in C such that (x,y)G(x,y)\in G; and

  2. (b)

    if (x,y)G(x,y)\in G and (x,z)G(x,z)\in G then y=zy=z.

Definition (Composition of functions).

Given functions f:ABf:A\to B and g:BCg:B\to C we can create a new function gf:ACg\circ f:A\to C defined by gf:xg(f(x))g\circ f:x\mapsto g(f(x)).

Definition (Image of a function).

Given a function f:DCf:D\to C, the set {f(x):xD}\{f(x):x\in D\} is called the image of ff.

Definition (Image of a subset).

Given a function f:DCf:D\to C and a subset SDS\subseteq D, the set

f(S):={f(x):xS}f(S):=\{f(x):x\in S\}

is called the image of SS under ff.

Definition (Preimage).

Given a function f:XYf:X\to Y, the preimage of UYU\subseteq Y under ff is the subset

f1(U)={xX:f(x)U}.f^{-1}(U)=\{x\in X:f(x)\in U\}.
Definition (Periodic function).

Let DD be a subset of \mathbb{R} and f:Df:D\to\mathbb{R} be a function. Suppose there is a real number p>0p>0 such that f(x+p)=f(x)f(x+p)=f(x) for all xDx\in D. Then the function ff is said to be pp-periodic or periodic with period pp.

Definition (Even function).

Let DD be a subset of \mathbb{R}. A function f:Df:D\to\mathbb{R} is said to be even if f(x)=f(x)f(-x)=f(x) for all xDx\in D.

Definition (Odd function).

Let DD be a subset of \mathbb{R}. A function f:Df:D\to\mathbb{R} is said to be odd if f(x)=f(x)f(-x)=-f(x) for all xDx\in D.

Definition (Polynomials and Polynomial Functions).

Suppose a0,a1,a2,,ana_{0},a_{1},a_{2},\ldots,a_{n} are real numbers, with an0a_{n}\neq 0. The expression

a0+a1x+a2x2++anxna_{0}+a_{1}x+a_{2}x^{2}+\cdots+a_{n}x^{n}

is called a polynomial with real coefficients. The numbers a0,a1,a2,,ana_{0},a_{1},a_{2},\ldots,a_{n} are called coefficients. The integer nn is called the degree of the polynomial. The special polynomial 0 has degree 0.

We can use this algebraic expression to define a polynomial function p:p:\mathbb{R}\to\mathbb{R} given by the formula

p(x)=a0+a1x+a2x2++anxn.p(x)=a_{0}+a_{1}x+a_{2}x^{2}+\cdots+a_{n}x^{n}.

5.1.3 Workshop tasks

Task 5.4 (5 min).

(Warm Up) Compare your sketches of curves (A)–(F) from the preparatory exercise 5.1 with the rest of your group.

  1. 1.

    For each equation in this exercise, suppose (x,y)(x,y) is a pair of real numbers that solves the equation. What values of xx are possible? What values of yy are possible?

  2. 2.

    Which of these curves do you think represents a function?

Task 5.5 (10 mins).

Which of the following are functions?

  1. 1.

    Assume that each nn\in\mathbb{N} is written as a product of primes

    n=2p2(n)3p3(n)5p5(n),n=2^{p_{2}(n)}3^{p_{3}(n)}5^{p_{5}(n)}\cdots,

    where each pk(n)p_{k}(n) is a non-negative integer, which depends on nn. Let f:0f:\mathbb{N}\to\mathbb{N}_{0} be defined as f(n)=p2(n)f(n)=p_{2}(n), where 0={0}\mathbb{N}_{0}=\mathbb{N}\cup\{0\}.

    Hint: You may find it helpful to sketch the graph of ff for 1n101\leq n\leq 10.

  2. 2.

    Let g:g:\mathbb{Q}\to\mathbb{Z} be given by the formula

    g(ab)=a+b.g\left(\frac{a}{b}\right)=a+b.

    Hint: Think about your Preparatory Exercise 5.3.

  3. 3.

    Let h:h:\mathbb{Q}\to\mathbb{Z} where

    h(ab)=a2+b2ab.h\left(\frac{a}{b}\right)=\frac{a^{2}+b^{2}}{ab}.
  4. 4.

    EXTENSION: Can you think of your own functions f:f:\mathbb{Q}\to\mathbb{Z}?

Definition (Composition of functions).

Given functions f:ABf:A\to B and g:BCg:B\to C we can create a new function gf:ACg\circ f:A\to C defined by gf:xg(f(x))g\circ f:x\mapsto g(f(x)).

Task 5.6 (10 mins).

For a set XX, the identity function idX:XXid_{X}:X\rightarrow X is defined by idX(x)=xid_{X}(x)=x for all xXx\in X.

Let X={1,3}X=\{1,3\} and Y={2,4,5}Y=\{2,4,5\} and let f:XYf:X\rightarrow Y and g:YXg:Y\rightarrow X be functions.

  1. 1.

    Complete the definition of functions ff and gg such that gf=idXg\circ f=id_{X}.

  2. 2.

    Is fgf\circ g also equal to idXid_{X}? What if you change your definition of ff and gg? Is it possible to define ff and gg such that fg=gf=idXf\circ g=g\circ f=id_{X}?

EXTENSION: If f:ABf:A\to B and g:BCg:B\to C are functions, is gf:ACg\circ f:A\to C always a function? What requirements are necessary for fg:BBf\circ g:B\rightarrow B to be a function?

Definition (Image of a function).

Given a function f:DCf:D\to C, the set {f(x):xD}\{f(x):x\in D\} is called the image of ff.

Definition (Image of a subset).

Given a function f:DCf:D\to C and a subset SDS\subseteq D, the set

f(S):={f(x):xS}f(S):=\{f(x):x\in S\}

is called the image of SS under ff.

Definition (Preimage).

Given a function f:XYf:X\to Y, the preimage of UYU\subseteq Y under ff is the subset

f1(U)={xX:f(x)U}.f^{-1}(U)=\{x\in X:f(x)\in U\}.
Task 5.7 (15 min).

Let f:f:\mathbb{R}\to\mathbb{R} with f(x)=x2f(x)=x^{2} and let A=[2,)=BA=[2,\infty)=B.

  1. 1.

    Find the image of ff and the sets f(A)f(A) and f1(B)f^{-1}(B).

  2. 2.

    Sketch the graph of ff and highlight the sets f(A)f(A) and f1(B)f^{-1}(B) on your sketch.

  3. 3.

    What is f1(f(A))f^{-1}(f(A))? How does it compare to AA? Is this true for any function f:XYf:X\to Y with AXA\subseteq X?

  4. 4.

    What is f(f1(B))f(f^{-1}(B))? How does it compare to BB? Is this true for any function f:XYf:X\to Y with BYB\subseteq Y?

EXTENSION: Consider a general function f:XYf:X\to Y where AXA\subseteq X and BYB\subseteq Y. What conditions on ff would guarantee that f1(f(A))=Af^{-1}(f(A))=A. What conditions on ff would guarantee that f(f1(B))=Bf(f^{-1}(B))=B?

Symmetry of Functions

Definition (Periodic function).

Let DD be a subset of \mathbb{R} and f:Df:D\to\mathbb{R} be a function. Suppose there is a real number p>0p>0 such that f(x+p)=f(x)f(x+p)=f(x) for all xDx\in D. Then the function ff is said to be pp-periodic or periodic with period pp.

Definition (Even function).

Let DD be a subset of \mathbb{R}. A function f:Df:D\to\mathbb{R} is said to be even if f(x)=f(x)f(-x)=f(x) for all xDx\in D.

Definition (Odd function).

Let DD be a subset of \mathbb{R}. A function f:Df:D\to\mathbb{R} is said to be odd if f(x)=f(x)f(-x)=-f(x) for all xDx\in D.

Task 5.8 (10 mins).

The Dirichlet function 𝟏:{0,1}\bm{1}_{\mathbb{Q}}:\mathbb{R}\to\{0,1\} is defined by

𝟏(x)={1if x0otherwise.\bm{1}_{\mathbb{Q}}(x)=\begin{cases}1&\text{if $x\in\mathbb{Q}$}\\ 0&\text{otherwise.}\end{cases}
  1. 1.
    (a) What is 𝟏(12)\bm{1}_{\mathbb{Q}}\bigl{(}\frac{1}{2}\bigr{)}? (b) What is 𝟏(7)\bm{1}_{\mathbb{Q}}\bigl{(}\sqrt{7})?
  2. 2.

    Explain in simple language what the Dirichlet function does.

  3. 3.

    Is the Dirichlet function odd, even, neither or both?

  4. 4.

    Is the Dirichlet function periodic? If so, what period does it have?

  5. 5.

    EXTENSION: Let a,ba,b\in\mathbb{R}. Suppose you have a function g:g:\mathbb{R}\to\mathbb{R} with period aa and yy-intercept bb. What conditions (if any) are needed on a,ba,b for gg to be even? What about for gg to be odd?

Definition (Polynomials and Polynomial Functions).

Suppose a0,a1,a2,,ana_{0},a_{1},a_{2},\ldots,a_{n} are real numbers, with an0a_{n}\neq 0. The expression

a0+a1x+a2x2++anxna_{0}+a_{1}x+a_{2}x^{2}+\cdots+a_{n}x^{n}

is called a polynomial with real coefficients. The numbers a0,a1,a2,,ana_{0},a_{1},a_{2},\ldots,a_{n} are called coefficients. The integer nn is called the degree of the polynomial. The special polynomial 0 has degree 0.

We can use this algebraic expression to define a polynomial function p:p:\mathbb{R}\to\mathbb{R} given by the formula

p(x)=a0+a1x+a2x2++anxn.p(x)=a_{0}+a_{1}x+a_{2}x^{2}+\cdots+a_{n}x^{n}.
Task 5.9 (10 min).

Consider a general cubic polynomial with a0a\neq 0 and b,c,db,c,d\in\mathbb{R}:

p(x)=ax3+bx2+cx+d.p(x)=ax^{3}+bx^{2}+cx+d.
  1. 1.

    Find the expanded form of p(x+s)p(x+s) where ss\in\mathbb{R} is some constant. How does the graph of p(x+s)p(x+s) relate to the graph of p(s)p(s)?

  2. 2.

    Note that p(x)=p((xs)+s)p(x)=p((x-s)+s). Hence express p(x)p(x) in terms of powers of (xs)(x-s). How do the coefficients of the (xs)(x-s) terms relate to the derivatives of p(x)p(x)?

  3. 3.

    What happens if we set s=b3as=-\frac{b}{3a} (ss is said to be the point of inflexion of the cubic)? Use this to form a conjecture about the symmetry of cubic polynomials.

  4. 4.

    EXTENSION: Use your workings to construct a formal proof for your conjecture.