Skip to content

Functions -- Diagnostic Tests | DSE

Tests edge cases, boundary conditions, and common misconceptions for functions.

UT-1: Domain of Composite fgf \circ g

Section titled “UT-1: Domain of Composite f∘gf \circ gf∘g”

Question:

Let f(x)=x1f(x) = \sqrt{x - 1} and g(x)=1x+2g(x) = \dfrac{1}{x + 2}.

Find the domain of fgf \circ g.

Solution:

We need the range of gg to fall within the domain of ff.

dom(g)=xR:x2\mathrm{dom}(g) = \\{x \in \mathbb{R} : x \neq -2\\}.

ran(g)=yR:y0\mathrm{ran}(g) = \\{y \in \mathbb{R} : y \neq 0\\} since g(x)=1x+2g(x) = \dfrac{1}{x+2} can take any non-zero real value.

dom(f)=xR:x1\mathrm{dom}(f) = \\{x \in \mathbb{R} : x \geq 1\\}.

For fgf \circ g to be defined, we need g(x)1g(x) \geq 1:

1x+21\frac{1}{x+2} \geq 1

Case 1: x+2>0x + 2 > 0 (i.e. x>2x > -2):

1x+2    x11 \geq x + 2 \implies x \leq -1

Combined with x>2x > -2: 2<x1-2 < x \leq -1.

Case 2: x+2<0x + 2 < 0 (i.e. x<2x < -2):

1x+2    x11 \leq x + 2 \implies x \geq -1

This contradicts x<2x < -2. No solutions in this case.

Therefore dom(fg)=(2,  1]\mathrm{dom}(f \circ g) = (-2,\; -1].


Question:

Let f(x)=2x+3x1f(x) = \dfrac{2x + 3}{x - 1}, x1x \neq 1. Which of the following equals f1(5)f^{-1}(5)?

(A)  1f(5)(B)  f(5)(C)  Neither\text{(A)}\; \frac{1}{f(5)} \qquad \text{(B)}\; f(5) \qquad \text{(C)}\; \text{Neither}

Find the correct value.

Solution:

f1(5)f^{-1}(5) is the value of xx such that f(x)=5f(x) = 5:

2x+3x1=5\frac{2x + 3}{x - 1} = 5

2x+3=5x52x + 3 = 5x - 5

3x=83x = 8

x=83x = \frac{8}{3}

Check option (A): 1f(5)=1134=41383\dfrac{1}{f(5)} = \dfrac{1}{\frac{13}{4}} = \dfrac{4}{13} \neq \dfrac{8}{3}.

Check option (B): f(5)=13483f(5) = \dfrac{13}{4} \neq \dfrac{8}{3}.

The answer is (C) Neither. The inverse function evaluated at a point is NOT the reciprocal of the function at that point, nor is it the function itself. f1(5)=83f^{-1}(5) = \dfrac{8}{3}.


Question:

The graph of y=f(x)y = f(x) passes through the point (2,7)(2, 7). Which transformation maps this point to (5,7)(5, 7)?

(A)  y=f(x+3)(B)  y=f(x3)\text{(A)}\; y = f(x + 3) \qquad \text{(B)}\; y = f(x - 3)

Solution:

For y=f(x3)y = f(x - 3)The graph shifts right by 3 units. The point (2,7)(2, 7) on y=f(x)y = f(x) moves to (5,7)(5, 7).

For y=f(x+3)y = f(x + 3)The graph shifts left by 3 units. The point (2,7)(2, 7) moves to (1,7)(-1, 7).

The answer is (B).

A common mistake is choosing (A) because ”+3+3 looks like moving in the positive direction.” In fact, replacing xx with xhx - h shifts the graph right by hhWhich is the opposite direction to the sign.


Question:

Let f(x)=x24x+3f(x) = x^2 - 4x + 3, xRx \in \mathbb{R}.

(a) Show that ff is not injective. (b) Restrict the domain so that f1f^{-1} exists and find f1(x)f^{-1}(x).

Solution:

(a) f(0)=3f(0) = 3 and f(4)=3f(4) = 3. Since f(0)=f(4)f(0) = f(4) but 040 \neq 4, ff is not injective.

(b) We need to restrict to a domain where ff is strictly monotonic.

f(x)=(x2)21f(x) = (x - 2)^2 - 1 has vertex at (2,1)(2, -1)Opening upward.

Restricting to dom(f)=[2,  )\mathrm{dom}(f) = [2,\; \infty) makes ff strictly increasing.

For y=(x2)21y = (x - 2)^2 - 1:

y+1=(x2)2y + 1 = (x - 2)^2

x2=y+1(since x2)x - 2 = \sqrt{y + 1} \quad (\text{since } x \geq 2)

x=2+y+1x = 2 + \sqrt{y + 1}

Therefore f1(x)=2+x+1f^{-1}(x) = 2 + \sqrt{x + 1} with dom(f1)=[1,  )\mathrm{dom}(f^{-1}) = [-1,\; \infty).


UT-5: Range of a Composite with Quadratic Inner Function

Section titled “UT-5: Range of a Composite with Quadratic Inner Function”

Question:

Let f(x)=2x1f(x) = 2x - 1 and g(x)=x2+4x+5g(x) = x^2 + 4x + 5. Find the range of gfg \circ f.

Solution:

gf=g(f(x))=(2x1)2+4(2x1)+5g \circ f = g(f(x)) = (2x - 1)^2 + 4(2x - 1) + 5.

Expanding:

=4x24x+1+8x4+5=4x2+4x+2= 4x^2 - 4x + 1 + 8x - 4 + 5 = 4x^2 + 4x + 2

Complete the square:

=4(x2+x)+2=4(x+12)21+2=4(x+12)2+1= 4\left(x^2 + x\right) + 2 = 4\left(x + \tfrac{1}{2}\right)^2 - 1 + 2 = 4\left(x + \tfrac{1}{2}\right)^2 + 1

Since 4(x+12)204\left(x + \tfrac{1}{2}\right)^2 \geq 0 for all xRx \in \mathbb{R}:

ran(gf)=[1,  )\mathrm{ran}(g \circ f) = [1,\; \infty)


Tests synthesis of functions with other topics.

IT-1: Functions and Quadratics (with Quadratics)

Section titled “IT-1: Functions and Quadratics (with Quadratics)”

Question:

Let f(x)=ax2+bx+cf(x) = ax^2 + bx + c where a>0a > 0. The function ff has a minimum value of 5-5 at x=3x = 3. Given that f(1)=3f(1) = 3Find aa, bb And cc And hence find the range of f1f^{-1}.

Solution:

Since the minimum is 5-5 at x=3x = 3We can write:

f(x)=a(x3)25f(x) = a(x - 3)^2 - 5

Using f(1)=3f(1) = 3:

a(13)25=3a(1 - 3)^2 - 5 = 3

4a5=3    a=24a - 5 = 3 \implies a = 2

So f(x)=2(x3)25=2x212x+13f(x) = 2(x - 3)^2 - 5 = 2x^2 - 12x + 13.

Therefore a = 2$$b = -12$$c = 13.

Since ff has minimum value 5-5 and opens upward, ran(f)=[5,  )\mathrm{ran}(f) = [-5,\; \infty).

Therefore dom(f1)=[5,  )\mathrm{dom}(f^{-1}) = [-5,\; \infty) And so ran(f1)=[3,  )\mathrm{ran}(f^{-1}) = [3,\; \infty) (the restricted domain where ff is injective, to the right of the vertex).


IT-2: Functions and Logarithms (with Logarithms)

Section titled “IT-2: Functions and Logarithms (with Logarithms)”

Question:

Let f(x) = \log_2(x + 1)$$x > -1. Find f1(x)f^{-1}(x) and solve f(x)=f1(x)f(x) = f^{-1}(x).

Solution:

y=log2(x+1)    2y=x+1    x=2y1y = \log_2(x + 1) \implies 2^y = x + 1 \implies x = 2^y - 1.

So f1(x)=2x1f^{-1}(x) = 2^x - 1 with dom(f1)=R\mathrm{dom}(f^{-1}) = \mathbb{R}.

Solving f(x)=f1(x)f(x) = f^{-1}(x):

log2(x+1)=2x1\log_2(x + 1) = 2^x - 1

Let y=x+1y = x + 1 (so y>0y > 0):

log2y=2y11\log_2 y = 2^{y-1} - 1

By inspection: y=2y = 2 gives log22=1\log_2 2 = 1 and 211=12^{1} - 1 = 1. Check.

So x+1=2    x=1x + 1 = 2 \implies x = 1.

Also y=1y = 1 gives log21=0\log_2 1 = 0 and 201=02^{0} - 1 = 0. Check.

So x+1=1    x=0x + 1 = 1 \implies x = 0.

The solutions are x=0x = 0 and x=1x = 1.


IT-3: Functions and Coordinate Geometry (with Coordinate Geometry)

Section titled “IT-3: Functions and Coordinate Geometry (with Coordinate Geometry)”

Question:

The function f(x) = \dfrac{k}{x}$$x > 0Represents a rectangular hyperbola. The line y=mx+cy = mx + c is tangent to the curve at the point (2,  4)(2,\; 4). Find k$$m And cc.

Solution:

Since (2,4)(2, 4) lies on the hyperbola:

4=k2    k=84 = \frac{k}{2} \implies k = 8

So f(x)=8xf(x) = \dfrac{8}{x}.

Since (2,4)(2, 4) lies on the tangent line:

4 = 2m + c \tag{1}

The tangent has the same gradient as the curve at x=2x = 2:

f"(x)=8x2    f(2)=84=2f"(x) = -\frac{8}{x^2} \implies f'(2) = -\frac{8}{4} = -2

So m=2m = -2.

From equation (1): c=42(2)=8c = 4 - 2(-2) = 8.

Therefore k = 8$$m = -2$$c = 8 And the tangent line is y=2x+8y = -2x + 8.


WE-1: Domain and Range of a Rational Function

Section titled “WE-1: Domain and Range of a Rational Function”

Question:

Find the domain and range of f(x)=2x2+1f(x) = \dfrac{2}{x^2 + 1}.

Solution:

Domain: x2+10x^2 + 1 \neq 0 for all real xx (since x20x^2 \geq 0).

dom(f)=R\mathrm{dom}(f) = \mathbb{R}

Range: x2+11x^2 + 1 \geq 1 for all xx So 0<2x2+120 < \dfrac{2}{x^2 + 1} \leq 2.

Maximum value 22 occurs at x=0x = 0. The function approaches 00 as x|x| \to \infty.

ran(f)=(0,  2]\mathrm{ran}(f) = (0,\; 2]


Question:

Let f(x)=2x+1f(x) = 2x + 1 and g(x)=x23g(x) = x^2 - 3. Find:

(a) fg(2)f \circ g(2) (b) gf(2)g \circ f(2) (c) ff(x)f \circ f(x)

Solution:

(a) g(2)=43=1g(2) = 4 - 3 = 1. fg(2)=f(1)=3f \circ g(2) = f(1) = 3.

(b) f(2)=5f(2) = 5. gf(2)=g(5)=253=22g \circ f(2) = g(5) = 25 - 3 = 22.

Note: fg(2)gf(2)f \circ g(2) \neq g \circ f(2)Confirming that composition is not commutative.

(c) ff(x)=f(f(x))=f(2x+1)=2(2x+1)+1=4x+3f \circ f(x) = f(f(x)) = f(2x + 1) = 2(2x + 1) + 1 = 4x + 3.


Question:

Let f(x)=2x2+4x1f(x) = 2x^2 + 4x - 1 for x1x \geq -1. Find f1(x)f^{-1}(x).

Solution:

y=2x2+4x1=2(x2+2x)1=2(x+1)221=2(x+1)23y = 2x^2 + 4x - 1 = 2(x^2 + 2x) - 1 = 2(x + 1)^2 - 2 - 1 = 2(x + 1)^2 - 3.

For x1x \geq -1: y+3=2(x+1)20y + 3 = 2(x + 1)^2 \geq 0.

x+1=y+32x + 1 = \sqrt{\frac{y + 3}{2}}

x=y+321x = \sqrt{\frac{y + 3}{2}} - 1

f1(x)=x+321f^{-1}(x) = \sqrt{\frac{x + 3}{2}} - 1

dom(f1)=ran(f)=[3,  )\mathrm{dom}(f^{-1}) = \mathrm{ran}(f) = [-3,\; \infty).

ran(f1)=dom(f)=[1,  )\mathrm{ran}(f^{-1}) = \mathrm{dom}(f) = [-1,\; \infty).


Question:

The graph of y=f(x)y = f(x) passes through (2,5)(2, 5) and has a minimum at (3,1)(3, 1). State the corresponding points on the graph of:

(a) y=f(2x)y = f(2x) (b) y=f(x)+3y = -f(x) + 3 (c) y=f(x1)+2y = f(x - 1) + 2

Solution:

(a) y=f(2x)y = f(2x): horizontal compression by factor 12\dfrac{1}{2}.

(2,5)(1,5)(2, 5) \to (1, 5) and (3,1)(32,  1)(3, 1) \to \left(\dfrac{3}{2},\; 1\right).

(b) y=f(x)+3y = -f(x) + 3: reflection in xx-axis, then shift up 3.

(2,5)(2,5)(2,2)(2, 5) \to (2, -5) \to (2, -2) and (3,1)(3,1)(3,2)(3, 1) \to (3, -1) \to (3, 2).

(c) y=f(x1)+2y = f(x - 1) + 2: shift right 1, then up 2.

(2,5)(3,7)(2, 5) \to (3, 7) and (3,1)(4,3)(3, 1) \to (4, 3).


Question:

Define f(x)={x2if x<02x+1if 0x37if x>3f(x) = \begin{cases} x^2 & \text{if } x < 0 \\ 2x + 1 & \text{if } 0 \leq x \leq 3 \\ 7 & \text{if } x > 3 \end{cases}.

Find f(-2)$$f(0)$$f(3) And f(5)f(5).

Solution:

f(2)=(2)2=4f(-2) = (-2)^2 = 4.

f(0)=2(0)+1=1f(0) = 2(0) + 1 = 1.

f(3)=2(3)+1=7f(3) = 2(3) + 1 = 7.

f(5)=7f(5) = 7.


Question:

Determine whether each function is even, odd, or neither:

(a) f(x)=x3xf(x) = x^3 - x (b) g(x)=x4+2x2g(x) = x^4 + 2x^2 (c) h(x)=x3+1h(x) = x^3 + 1

Solution:

(a) f(x)=(x)3(x)=x3+x=(x3x)=f(x)f(-x) = (-x)^3 - (-x) = -x^3 + x = -(x^3 - x) = -f(x). Odd.

(b) g(x)=(x)4+2(x)2=x4+2x2=g(x)g(-x) = (-x)^4 + 2(-x)^2 = x^4 + 2x^2 = g(x). Even.

(c) h(x)=(x)3+1=x3+1h(x)h(-x) = (-x)^3 + 1 = -x^3 + 1 \neq h(x) and h(x)h(x)h(-x) \neq -h(x). Neither.


WE-7: Function Composition with Domain Restrictions

Section titled “WE-7: Function Composition with Domain Restrictions”

Question:

Let f(x)=xf(x) = \sqrt{x} and g(x)=x4g(x) = x - 4. Find fgf \circ g and its domain.

Solution:

fg(x)=f(g(x))=f(x4)=x4f \circ g(x) = f(g(x)) = f(x - 4) = \sqrt{x - 4}.

Domain of fgf \circ g: we need x40x - 4 \geq 0I.e. x4x \geq 4.

dom(fg)=[4,  )\mathrm{dom}(f \circ g) = [4,\; \infty)

Note: g(x)=x4g(x) = x - 4 is defined for all xRx \in \mathbb{R} But the range of gg must fall within the domain of ff (which is [0,)[0, \infty)), so g(x)0    x4g(x) \geq 0 \implies x \geq 4.


Question:

Determine whether f(x)=2x+3x1f(x) = \dfrac{2x + 3}{x - 1} is injective.

Solution:

Suppose f(a)=f(b)f(a) = f(b):

2a+3a1=2b+3b1\frac{2a + 3}{a - 1} = \frac{2b + 3}{b - 1}

(2a+3)(b1)=(2b+3)(a1)(2a + 3)(b - 1) = (2b + 3)(a - 1)

2ab2a+3b3=2ab2b+3a32ab - 2a + 3b - 3 = 2ab - 2b + 3a - 3

2a+3b=2b+3a-2a + 3b = -2b + 3a

5b=5a5b = 5a

a=ba = b

Since f(a)=f(b)    a=bf(a) = f(b) \implies a = bThe function is injective.


flowchart TD
A[Diag Functions] --> B[Key Concepts]
A --> C[Core Principles]
A --> D[Practical Applications]
B --> E[Fundamental definitions]
C --> F[Design patterns]
D --> G[Real-world usage]

A machine with input and output: A function is like a vending machine — put in a specific item (input), get out a specific snack (output). Composition is chaining machines: the output of one becomes the input of the next. The inverse is the undo button.

Why it matters: Functions model everything from bacterial growth to financial returns. Understanding domain, range, and composition lets you predict system behavior and reverse-engineer processes.

The key insight: The inverse function “undoes” the original — f⁻¹(f(x)) = x — but only works when the function is one-to-one.

  1. Confusing f1f^{-1} with the reciprocal 1f\dfrac{1}{f}. The notation f1f^{-1} denotes the inverse function, NOT the reciprocal. f1(x)f^{-1}(x) is the value of yy such that f(y)=xf(y) = xWhich is completely different from 1f(x)\dfrac{1}{f(x)}.

  2. Incorrect domain of composite functions. The domain of fgf \circ g is NOT dom(g)\mathrm{dom}(g). It is the set of all xx in dom(g)\mathrm{dom}(g) such that g(x)dom(f)g(x) \in \mathrm{dom}(f). You must check both conditions.

  3. Wrong direction for horizontal shifts. f(xh)f(x - h) shifts the graph RIGHT by hh units, not left. The transformation is counterintuitive: replacing xx with xhx - h moves the graph in the positive xx-direction.

  4. Forgetting to restrict the domain when finding the inverse of a non-injective function. If ff is not one-to-one on its entire domain, you must restrict the domain before finding the inverse. Always state the restricted domain explicitly.

  5. Assuming fg=gff \circ g = g \circ f. Function composition is generally NOT commutative. Always compute fgf \circ g and gfg \circ f separately unless you have proven they are equal.


Let f(x) = \dfrac{3x - 1}{x + 2}$$x \neq -2.

(a) Find f1(x)f^{-1}(x). (3 marks) (b) Find the domain and range of f1f^{-1}. (2 marks) (c) Solve f(x)=xf(x) = x. (3 marks)

Solution:

(a) y=3x1x+2y = \dfrac{3x - 1}{x + 2}.

y(x+2)=3x1    yx+2y=3x1    yx3x=12yy(x + 2) = 3x - 1 \implies yx + 2y = 3x - 1 \implies yx - 3x = -1 - 2y.

x(y3)=12yx(y - 3) = -1 - 2y.

x=12yy3=2y+13yx = \dfrac{-1 - 2y}{y - 3} = \dfrac{2y + 1}{3 - y}.

f1(x)=2x+13xf^{-1}(x) = \frac{2x + 1}{3 - x}

(b) dom(f1)=ran(f)\mathrm{dom}(f^{-1}) = \mathrm{ran}(f). Since f(x)=3x1x+2=37x+2f(x) = \dfrac{3x - 1}{x + 2} = 3 - \dfrac{7}{x + 2} and 7x+2\dfrac{7}{x+2} takes all non-zero real values, ran(f)=R{3}\mathrm{ran}(f) = \mathbb{R} \setminus \{3\}.

dom(f1)={xR:x3}\mathrm{dom}(f^{-1}) = \{x \in \mathbb{R} : x \neq 3\}.

ran(f1)=dom(f)={xR:x2}\mathrm{ran}(f^{-1}) = \mathrm{dom}(f) = \{x \in \mathbb{R} : x \neq -2\}.

(c) 3x1x+2=x    3x1=x2+2x    x2x+1=0\dfrac{3x - 1}{x + 2} = x \implies 3x - 1 = x^2 + 2x \implies x^2 - x + 1 = 0.

Δ=14=3<0\Delta = 1 - 4 = -3 < 0. No real solutions.


Let f(x)=x26x+5f(x) = x^2 - 6x + 5 and g(x)=2x3g(x) = 2x - 3.

(a) Express f(x)f(x) in the form (xa)2+b(x - a)^2 + b. (2 marks) (b) Find the range of ff. (1 mark) (c) Find fg(x)f \circ g(x) and gf(x)g \circ f(x). (4 marks) (d) Solve fg(x)=0f \circ g(x) = 0. (2 marks)

Solution:

(a) f(x)=(x3)29+5=(x3)24f(x) = (x - 3)^2 - 9 + 5 = (x - 3)^2 - 4.

(b) Since (x3)20(x - 3)^2 \geq 0: ran(f)=[4,  )\mathrm{ran}(f) = [-4,\; \infty).

(c) fg(x)=f(2x3)=(2x33)24=(2x6)24=4x224x+364=4x224x+32f \circ g(x) = f(2x - 3) = (2x - 3 - 3)^2 - 4 = (2x - 6)^2 - 4 = 4x^2 - 24x + 36 - 4 = 4x^2 - 24x + 32.

gf(x)=g(x26x+5)=2(x26x+5)3=2x212x+7g \circ f(x) = g(x^2 - 6x + 5) = 2(x^2 - 6x + 5) - 3 = 2x^2 - 12x + 7.

(d) 4x224x+32=0    x26x+8=0    (x2)(x4)=0    x=24x^2 - 24x + 32 = 0 \implies x^2 - 6x + 8 = 0 \implies (x-2)(x-4) = 0 \implies x = 2 or x=4x = 4.


The function ff is defined by f(x)=1x24f(x) = \dfrac{1}{x^2 - 4}.

(a) Find the domain of ff. (1 mark) (b) Find the range of ff. (3 marks) (c) Solve f(x)=15f(x) = \dfrac{1}{5}. (2 marks)

Solution:

(a) x240    x±2x^2 - 4 \neq 0 \implies x \neq \pm 2.

dom(f)={xR:x2 and x2}\mathrm{dom}(f) = \{x \in \mathbb{R} : x \neq -2 \text{ and } x \neq 2\}

(b) Let y=1x24y = \dfrac{1}{x^2 - 4}. Then x24=1yx^2 - 4 = \dfrac{1}{y} So x2=4+1y=4y+1yx^2 = 4 + \dfrac{1}{y} = \dfrac{4y + 1}{y}.

For x20x^2 \geq 0: 4y+1y0\dfrac{4y + 1}{y} \geq 0.

Critical values: y=0y = 0 (asymptote) and y=14y = -\dfrac{1}{4}.

4y+1y0    y<14\dfrac{4y + 1}{y} \geq 0 \implies y < -\dfrac{1}{4} or y>0y > 0.

ran(f)=(,  14)(0,  )\mathrm{ran}(f) = \left(-\infty,\; -\dfrac{1}{4}\right) \cup (0,\; \infty)

(c) 1x24=15    x24=5    x2=9    x=±3\dfrac{1}{x^2 - 4} = \dfrac{1}{5} \implies x^2 - 4 = 5 \implies x^2 = 9 \implies x = \pm 3.


Let f(x)=2xf(x) = 2^x and g(x)=log2xg(x) = \log_2 x.

(a) Find fg(x)f \circ g(x) and simplify. (2 marks) (b) Find gf(x)g \circ f(x) and simplify. (2 marks) (c) Explain the relationship between ff and gg. (1 mark)

Solution:

(a) fg(x)=f(log2x)=2log2x=xf \circ g(x) = f(\log_2 x) = 2^{\log_2 x} = xFor x>0x > 0.

(b) gf(x)=g(2x)=log2(2x)=xg \circ f(x) = g(2^x) = \log_2(2^x) = xFor all xRx \in \mathbb{R}.

(c) ff and gg are inverse functions of each other. fg=idf \circ g = \mathrm{id} on (0,)(0, \infty) and gf=idg \circ f = \mathrm{id} on R\mathbb{R}.


The graph of y=f(x)y = f(x) is shown. It passes through (-2, 0)$$(0, 4)$$(2, 0) And has a maximum at (0,4)(0, 4).

(a) Sketch the graph of y=f(x+1)y = f(x + 1). (2 marks) (b) Sketch the graph of y=f(x)y = f(-x). (2 marks) (c) The graph of y=f(x)y = f(x) is transformed to the graph of y=f(x)+2y = -f(x) + 2. Describe this transformation in words. (2 marks)

Solution:

(a) y=f(x+1)y = f(x + 1) shifts the graph left by 1 unit. New key points: (-3, 0)$$(-1, 4)$$(1, 0). Maximum at (1,4)(-1, 4).

(b) y=f(x)y = f(-x) reflects the graph in the yy-axis. New key points: (2, 0)$$(0, 4)$$(-2, 0). Maximum at (0,4)(0, 4).

(c) y=f(x)+2y = -f(x) + 2: reflect in the xx-axis (all yy-values change sign), then translate up by 2 units. New maximum at (0,4+2)=(0,2)(0, -4 + 2) = (0, -2). New xx-intercepts at (2,2)(-2, 2) and (2,2)(2, 2) (which are not on the xx-axis anymore).