krit.club logo

Functions - Functions, domain, range, graph

Grade 12IB_AA

Review the key concepts, formulae, and examples before starting your quiz.

πŸ”‘Concepts

β€’

A function f:A→Bf: A \rightarrow B is a rule that assigns each element xx in the domain AA to exactly one element yy in the codomain BB. Graphically, this is verified by the Vertical Line Test: if any vertical line intersects a graph more than once, it is not a function.

A parabola y=x^2 with a vertical line intersecting at exactly one point, demonstrating the vertical line test.
β€’

The domain is the set of all possible input values (xx). Key restrictions include: values under a square root must be non-negative (g(x)β‰₯0g(x) \geq 0) and denominators must be non-zero (g(x)β‰ 0g(x) \neq 0).

Graph of y = sqrt(x) starting from x=0 and moving right, illustrating domain restriction.
β€’

The range is the set of all possible output values (yy). For a function f(x)=ax+cf(x) = a^x + c, the range is typically y>cy > c because the exponential function has a horizontal asymptote at y=cy = c.

Graph of y = e^x + 1 showing the horizontal asymptote at y=1.
β€’

The graph of an inverse function fβˆ’1(x)f^{-1}(x) is the reflection of the graph of f(x)f(x) in the line y=xy = x. A function has an inverse if and only if it is one-to-one (passes the horizontal line test).

Graphs of y=x^2 and y=sqrt(x) reflected across the line y=x.

πŸ“Formulae

f(x)=yf(x) = y

(f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))

f(fβˆ’1(x))=xf(f^{-1}(x)) = x

DomainΒ ofΒ g(x)β‡’g(x)β‰₯0\text{Domain of } \sqrt{g(x)} \Rightarrow g(x) \geq 0

DomainΒ ofΒ 1g(x)β‡’g(x)β‰ 0\text{Domain of } \frac{1}{g(x)} \Rightarrow g(x) \neq 0

πŸ’‘Examples

Problem 1:

Given f(x)=2x+1xβˆ’3f(x) = \frac{2x + 1}{x - 3}, find the domain and range of ff.

Solution:

For the domain, the denominator cannot be zero: xβˆ’3β‰ 0β‡’xβ‰ 3x - 3 \neq 0 \Rightarrow x \neq 3. Thus, the domain is x∈R,xβ‰ 3x \in \mathbb{R}, x \neq 3. To find the range, we look for the horizontal asymptote. As xβ†’βˆžx \to \infty, f(x)β†’2xx=2f(x) \to \frac{2x}{x} = 2. Thus, yβ‰ 2y \neq 2. The range is y∈R,yβ‰ 2y \in \mathbb{R}, y \neq 2.

Explanation:

The domain is restricted by the vertical asymptote at x=3x=3. The range is restricted by the horizontal asymptote at y=2y=2.

Problem 2:

Let f(x)=e2xβˆ’5f(x) = e^{2x} - 5. Find the expression for fβˆ’1(x)f^{-1}(x) and state its domain.

Solution:

  1. Replace f(x)f(x) with yy: y=e2xβˆ’5y = e^{2x} - 5.
  2. Swap xx and yy: x=e2yβˆ’5x = e^{2y} - 5.
  3. Solve for yy: x+5=e2yx + 5 = e^{2y} ln⁑(x+5)=2y\ln(x + 5) = 2y y=12ln⁑(x+5)y = \frac{1}{2}\ln(x + 5). So, fβˆ’1(x)=12ln⁑(x+5)f^{-1}(x) = \frac{1}{2}\ln(x + 5). The domain of fβˆ’1f^{-1} is the range of ff. Since e2x>0e^{2x} > 0, f(x)>βˆ’5f(x) > -5. Thus, the domain of fβˆ’1f^{-1} is x>βˆ’5x > -5.

Explanation:

To find the inverse, we swap variables and solve for yy. The domain of the logarithmic inverse is restricted to values that make the argument positive.

Problem 3:

If f(x)=x2+3f(x) = x^2 + 3 and g(x)=xβˆ’1g(x) = \sqrt{x - 1}, find (f∘g)(x)(f \circ g)(x) and its domain.

Solution:

(f∘g)(x)=f(g(x))=f(xβˆ’1)=(xβˆ’1)2+3=xβˆ’1+3=x+2(f \circ g)(x) = f(g(x)) = f(\sqrt{x - 1}) = (\sqrt{x - 1})^2 + 3 = x - 1 + 3 = x + 2. For the domain, g(x)g(x) must be defined, so xβˆ’1β‰₯0β‡’xβ‰₯1x - 1 \geq 0 \Rightarrow x \geq 1. Even though the simplified expression x+2x+2 looks like it accepts all xx, the domain is restricted by the inner function g(x)g(x). Domain: xβ‰₯1x \geq 1.

Explanation:

Composition requires the input to be valid for the inner function first.

Problem 4:

Identify the domain and range of the function f(x)=βˆ’4βˆ’x+3f(x) = -\sqrt{4 - x} + 3 using its graph.

Graph of y = -sqrt(4-x) + 3 showing endpoint at (4,3) and curving down to the left.

Solution:

  1. For the domain, the expression inside the square root must be non-negative: 4βˆ’xβ‰₯0β‡’x≀44 - x \geq 0 \Rightarrow x \leq 4
  2. For the range, since 4βˆ’xβ‰₯0\sqrt{4 - x} \geq 0, then βˆ’4βˆ’x≀0-\sqrt{4 - x} \leq 0. Adding 3 gives: f(x)≀3f(x) \leq 3 Thus, Domain is (βˆ’βˆž,4](-\infty, 4] and Range is (βˆ’βˆž,3](-\infty, 3].

Explanation:

The graph starts at the endpoint (4,3)(4, 3) and moves to the left and downwards. The xx-values are all numbers less than or equal to 4, and the yy-values are all numbers less than or equal to 3.

Problem 5:

Given the function f(x)=1x+2βˆ’1f(x) = \frac{1}{x+2} - 1, find the equations of the asymptotes and the domain/range.

Graph of y = 1/(x+2) - 1 showing vertical asymptote at x=-2 and horizontal asymptote at y=-1.

Solution:

  1. Vertical Asymptote: Set denominator to zero: x+2=0β‡’x=βˆ’2x + 2 = 0 \Rightarrow x = -2
  2. Horizontal Asymptote: As xβ†’Β±βˆžx \rightarrow \pm\infty, 1x+2β†’0\frac{1}{x+2} \rightarrow 0: y=βˆ’1y = -1
  3. Domain: x∈R,xβ‰ βˆ’2x \in \mathbb{R}, x \neq -2
  4. Range: y∈R,yβ‰ βˆ’1y \in \mathbb{R}, y \neq -1

Explanation:

The graph is a hyperbola translated 2 units left and 1 unit down. The domain and range exclude the values where the asymptotes are located.