Skip to content
Matheminate
TopicsProgressWorksheetsGamesLabToolsAbout
← Back to the ladder
Guided functions lessonStep 1 of 12

The idea

A function gives one output for each input

A function takes an input, applies a rule to it, and gives back exactly one output. The same input always gives the same output. In f(x)=2x+3f(x) = 2x + 3f(x)=2x+3, fff is the name of the function and the xxx in brackets stands for the input. The rest, 2x+32x + 32x+3, is the rule.

A quick example

With f(x)=x+5f(x) = x + 5f(x)=x+5, f(4)f(4)f(4) means “the output of fff when the input is 4”, not fff times 4. Here f(4)=9f(4) = 9f(4)=9. There is one answer, and only one.

Try a related calculator

  • Linear & Quadratic Graphing Calculator - Connect function inputs and outputs to a graph and value table.
▸Read all 12 steps at once

The same 12 steps, in order, with the working shown. No clicking from one to the next.

Page 1

A function gives one output for each input

A function takes an input, applies a rule to it, and gives back exactly one output. The same input always gives the same output. In f(x)=2x+3f(x) = 2x + 3f(x)=2x+3, fff is the name of the function and the xxx in brackets stands for the input. The rest, 2x+32x + 32x+3, is the rule.

Example: With f(x)=x+5f(x) = x + 5f(x)=x+5, f(4)f(4)f(4) means “the output of fff when the input is 4”, not fff times 4. Here f(4)=9f(4) = 9f(4)=9. There is one answer, and only one.

Page 2 · Rule 1

Evaluate by substituting

Replace every xxx with the number in brackets, then work out the arithmetic.

To evaluate a function means to find its output for a given input. The brackets after the letter hold the input. To find f(4)f(4)f(4) for f(x)=2x+3f(x) = 2x + 3f(x)=2x+3, put 4 wherever xxx appears: 2(4)+32(4) + 32(4)+3. The brackets around 4 show that it is multiplied by the 2. They also keep a negative input clear: an input of −4-4−4 would give 2(−4)+32(-4) + 32(−4)+3. Multiplication comes before addition, so 2(4)=82(4) = 82(4)=8 is worked out first.

Example: f(x)=2x+3⇒f(4)=2(4)+3=11f(x) = 2x + 3 \quad \Rightarrow \quad f(4) = 2(4) + 3 = 11f(x)=2x+3⇒f(4)=2(4)+3=11

  1. f(x)=2x+3f(x) = 2x + 3f(x)=2x+3
  2. Substitute 4 for xxx: 2(4)+32(4) + 32(4)+3.
  3. Calculate: 8+3=118 + 3 = 118+3=11, so f(4)=11f(4) = 11f(4)=11.

Remember: f(4)f(4)f(4) is the output for the input 4, never a multiplication. Substitute first, then calculate.

Page 3 · question

Check: evaluating

For f(x)=3x−2f(x) = 3x - 2f(x)=3x−2, what is f(5)f(5)f(5)?

  • A.131313 — correct
  • B.999
  • C.171717

Correct: 3(5)−2=15−2=133(5) - 2 = 15 - 2 = 133(5)−2=15−2=13.

Page 4 · Rule 2

The domain: which inputs are allowed

The domain is the set of all inputs that the rule can be used with.

Two things limit the inputs. You cannot divide by zero, so any input that makes the bottom of a fraction zero is not allowed. You cannot take the square root of a negative number, so any input that makes the inside of a square root negative is not allowed. Zero inside a root is fine, because 0=0\sqrt{0} = 00​=0. If neither problem happens, every number is allowed. Here “number” means any number on the number line, including negatives, fractions and decimals. The textbook name for these is real numbers. Domains are often written with inequality signs: x≥3x \ge 3x≥3 means “xxx is 3 or more”, and x≤3x \le 3x≤3 means “xxx is 3 or less”. A question can also limit the inputs to a list, and then the domain is that list.

Example: For f(x)=1x−4f(x) = \frac{1}{x - 4}f(x)=x−41​ the input x=4x = 4x=4 would divide by zero, so the domain is every number except 4.

  1. Look for xxx in the bottom of a fraction or inside a square root.
  2. For 1x−4\frac{1}{x - 4}x−41​, set the bottom to zero: x−4=0x - 4 = 0x−4=0.
  3. That happens at x=4x = 4x=4, so 4 is the one input that is not allowed.

Remember: Inputs are ruled out by dividing by zero and by taking the square root of a negative number.

Page 5 · question

Check: a domain

What is the domain of g(x)=x−3g(x) = \sqrt{x - 3}g(x)=x−3​?

  • A.x≤3x \le 3x≤3
  • B.every number
  • C.x≥3x \ge 3x≥3 — correct

Correct: the inside of a square root cannot be negative, so x−3≥0x - 3 \ge 0x−3≥0, which means x≥3x \ge 3x≥3.

Page 6 · Rule 3

The range: which outputs are possible

The range is every output value the function can produce.

Ask what the rule can never give you. Here yyy stands for the output. Take f(x)=x2+1f(x) = x^2 + 1f(x)=x2+1. Squaring never gives a negative number, so x2x^2x2 is always 0 or more, and x2+1x^2 + 1x2+1 is always 1 or more. The smallest output is 1, when x=0x = 0x=0. Every number from 1 upwards can be reached, because any number from 0 upwards is the square of some number. If only certain inputs are allowed, the range is only the outputs that those inputs give.

Example: For f(x)=x2+1f(x) = x^2 + 1f(x)=x2+1 the range is y≥1y \ge 1y≥1. For the rule x+1x + 1x+1 with only the inputs 3, 5 and 7, the outputs are 4, 6 and 8. The range is those three numbers only. 5 is not in it, because no allowed input gives 5.

  1. Look for an operation that blocks certain answers: squaring blocks negatives, so x2x^2x2 is never below 0.
  2. The smallest value of x2x^2x2 is 0, at x=0x = 0x=0, so the smallest output of x2+1x^2 + 1x2+1 is 0+1=10 + 1 = 10+1=1.
  3. Every number from 1 upwards is reachable, so the range is y≥1y \ge 1y≥1.

Remember: Domain asks what you may put in; range asks what can come out. They are different questions.

Page 7 · question

Check: a range

What is the range of f(x)=x2f(x) = x^2f(x)=x2?

  • A.every number
  • B.y≥0y \ge 0y≥0 — correct
  • C.y≤0y \le 0y≤0

Correct: squaring never gives a negative, and 0 is reachable, so the outputs are y≥0y \ge 0y≥0.

Page 8 · Rule 4

Reading domain and range off a graph

The domain is the stretch of the x-axis the graph covers. The range is the stretch of the y-axis it covers.

If a graph starts at one point and finishes at another, it only uses the x-values in between. Look along the graph and find the smallest and largest x-value, then the smallest and largest y-value. Those give the two intervals.

Example: A straight-line graph running from (1,2)(1, 2)(1,2) to (5,10)(5, 10)(5,10) has domain 1≤x≤51 \le x \le 51≤x≤5 and range 2≤y≤102 \le y \le 102≤y≤10.

  1. Find the smallest and largest x-values on the graph. For this line they are at the ends: 1 and 5, so 1≤x≤51 \le x \le 51≤x≤5.
  2. Find the smallest and largest y-values. For this line they are also at the ends: 2 and 10, so 2≤y≤102 \le y \le 102≤y≤10.
  3. The signs are ≤\le≤ and not <<<, because the graph includes its end points.

Remember: Domain comes from the x-axis, range from the y-axis. Keep the two axes straight. On a curve, the highest or lowest point is not always at an end.

Page 9 · question

Check: reading a graph

A straight-line graph runs from the point (−2,0)(-2, 0)(−2,0) to the point (3,6)(3, 6)(3,6). What is its domain?

  • A.−2≤x≤3-2 \le x \le 3−2≤x≤3 — correct
  • B.0≤y≤60 \le y \le 60≤y≤6
  • C.every number

Correct: the graph only uses x-values between −2 and 3, so that is the domain.

Page 10 · Rule 5

Does a graph show a function?

A graph is a function if no vertical line crosses it more than once.

In these graphs xxx is the input and yyy is the output. A function gives one output for each input, so for each xxx there can be only one point on the graph. To test this, imagine a vertical line sweeping across the graph. On a vertical line xxx has one fixed value, so if the line meets the graph twice, that xxx has two outputs. Two different inputs may share an output; for example, inputs 1 and 2 may both give 5. That is allowed. What is not allowed is one input with two outputs. The test does not depend on how simple the shape looks.

Example: The straight line y=x+1y = x + 1y=x+1 passes the test, because every vertical line meets it once. The vertical line x=4x = 4x=4 fails, because it lies along the test line and meets it at every point: the input 4 has many outputs.

  1. Imagine a vertical line moving from left to right.
  2. If it ever meets the graph more than once, that xxx has more than one output.
  3. One xxx with more than one output means it is not a function.

Remember: One input, one output. If a single xxx can produce two y-values, the graph is not a function. Different inputs sharing an output is fine.

Page 11 · question

Check: is it a function?

Take xxx as the input and yyy as the output. Which of these is NOT a function?

  • A.y=x2y = x^2y=x2
  • B.x=y2x = y^2x=y2 — correct
  • C.y=2x+1y = 2x + 1y=2x+1

Correct: in x=y2x = y^2x=y2 the input x=9x = 9x=9 gives two outputs, y=3y = 3y=3 and y=−3y = -3y=−3, so it is not a function.

Page 12

Functions, domains and ranges

You worked through evaluating a function, finding which inputs are allowed, finding which outputs are possible, reading both off a graph, and testing whether a graph shows a function at all.

  • A function gives exactly one output for each input.
  • f(4)f(4)f(4) means substitute 4 — it is not a multiplication.
  • The domain is the set of allowed inputs. It leaves out inputs that would divide by zero or take the square root of a negative number.
  • The range is every output the rule can actually produce.
  • A graph is a function if no vertical line crosses it more than once.
© 2026 Matheminate·About·Privacy·Terms·Contact·Support·Topics