Introduction to Functions

Function notation, domain, range, and evaluation

Introduction to Functions

What is a Function?

A function is a relation where each input has exactly one output.

Function Notation

f(x)=2x+3f(x) = 2x + 3

  • ff is the function name
  • xx is the input
  • 2x+32x + 3 is the rule

Evaluating Functions

To find f(5)f(5) when f(x)=2x+3f(x) = 2x + 3: f(5)=2(5)+3=13f(5) = 2(5) + 3 = 13

Domain and Range

  • Domain: Set of all possible input values
  • Range: Set of all possible output values

Vertical Line Test

A graph represents a function if any vertical line intersects it at most once.

📚 Practice Problems

1Problem 1easy

Question:

If f(x)=2x5f(x) = 2x - 5, find f(3)f(3)

💡 Show Solution

To find f(3)f(3), substitute x=3x = 3 into the function:

f(x)=2x5f(x) = 2x - 5 f(3)=2(3)5f(3) = 2(3) - 5 f(3)=65f(3) = 6 - 5 f(3)=1f(3) = 1

Answer: f(3)=1f(3) = 1

2Problem 2medium

Question:

Given g(x)=x23x+1g(x) = x^2 - 3x + 1, find g(2)g(-2)

💡 Show Solution

Substitute x=2x = -2 into the function:

g(x)=x23x+1g(x) = x^2 - 3x + 1 g(2)=(2)23(2)+1g(-2) = (-2)^2 - 3(-2) + 1 g(2)=4+6+1g(-2) = 4 + 6 + 1 g(2)=11g(-2) = 11

Answer: g(2)=11g(-2) = 11

3Problem 3medium

Question:

Find the domain of h(x)=1x4h(x) = \frac{1}{x - 4}

💡 Show Solution

The domain is all real numbers except where the denominator equals zero.

Set the denominator equal to zero: x4=0x - 4 = 0 x=4x = 4

We cannot divide by zero, so x=4x = 4 must be excluded.

Answer: Domain: all real numbers except x=4x = 4

In interval notation: (,4)(4,)(-\infty, 4) \cup (4, \infty)