Mathematical-Reasoning ยท Unit 20 ยท Video 1 ยท Interactive Practice

What Is a Function? Exactly One Output for Each Input

IKey Formulas

FormulaNameMeaning
fโ€‰โฃ:Aโ†’Bf\colon A \to BFunction from AA to BBEach element of the domain AA is assigned exactly one element of the codomain BB
f(x)=x2sinโกxf(x) = x^2 \sin x, โ€…โ€Šfโ€‰โฃ(ฯ€2)=ฯ€24\;f\!\left(\tfrac{\pi}{2}\right) = \tfrac{\pi^2}{4}Function notationff names the function; f(x)f(x) is the output for the input xx
y2=x+3โ€…โ€Šโ‡’โ€…โ€Šy=x+3y^2 = x + 3 \;\Rightarrow\; y = \sqrt{x+3} or y=โˆ’x+3y = -\sqrt{x+3}Two outputsEvery x>โˆ’3x > -3 gives two values of yy, so the equation does not define yy as a function of xx
y=xxโˆ’1y = \dfrac{x}{x-1}, domain {xโˆˆRโˆฃxโ‰ 1}\{x \in \mathbb{R} \mid x \neq 1\}No outputx=1x = 1 gives division by zero, so 11 is left out of the domain

Key Insight: An input with two outputs rules an equation out; an input with no output is removed from the domain. Two different inputs sharing one output is allowed.

IIVisualization 1 โ€” One Input, How Many Outputs?

An equation defines yy as a function of xx only if no input xx ever produces two values of yy.

IIIVisualization 2 โ€” Arrow Diagrams

An arrow diagram is a function exactly when one arrow leaves each element of the domain.

๐Ÿ’ก Challenge: build a function in which every element of BB except one receives no arrow, then one in which four different elements of BB each receive an arrow.

IVQuiz Questions

Problem 1 ยท Which Equation Is a Function?

Given: real inputs xx and real outputs yy โ€” which equation defines yy as a function of xx?

โœ… Correct! Squaring, multiplying and adding real numbers give exactly one result, so every real xx produces exactly one yy.
โŒ Not quite. Put in x=5x = 5: then y2=4y^2 = 4, so y=2y = 2 and y=โˆ’2y = -2 both work. One input, two outputs.
โŒ Not quite. This is the circle of radius 33. At x=0x = 0, y2=9y^2 = 9 gives y=3y = 3 and y=โˆ’3y = -3: one input, two outputs.
โŒ Not quite. At x=2x = 2, both y=2y = 2 and y=โˆ’2y = -2 satisfy โˆฃyโˆฃ=2\lvert y \rvert = 2. One input, two outputs.
Show solution

For each equation, ask whether a single input xx can produce two values of yy.

  • y2=xโˆ’1y^2 = x - 1: at x=5x = 5, y2=4y^2 = 4, so y=ยฑ2y = \pm 2. Not a function.
  • x2+y2=9x^2 + y^2 = 9: at x=0x = 0, y=ยฑ3y = \pm 3. Not a function.
  • โˆฃyโˆฃ=x\lvert y \rvert = x: at x=2x = 2, y=ยฑ2y = \pm 2. Not a function.
  • y=3x2โˆ’x+4y = 3x^2 - x + 4: for each real xx the right side is exactly one real number; for example x=2x = 2 gives y=12โˆ’2+4=14y = 12 - 2 + 4 = 14. This one defines yy as a function of xx.

Answer: (d).

Problem 2 ยท Two Inputs, One Output

Given: (I) y=x2y = x^2 and (II) y2=xy^2 = x, with real xx and real yy โ€” which statement is correct?

โœ… Correct! In (I) each input has exactly one output, even though 22 and โˆ’2-2 share the output 44. In (II) the input 44 has the two outputs 22 and โˆ’2-2.
โŒ Not quite. Test (II) at x=4x = 4: y2=4y^2 = 4 gives y=2y = 2 and y=โˆ’2y = -2. One input with two outputs rules (II) out.
โŒ Not quite. The roles are reversed. In (II) the input x=4x = 4 has two outputs, y=2y = 2 and y=โˆ’2y = -2; in (I) every input has exactly one output.
โŒ Not quite. The definition limits how many outputs each input has. Two inputs sharing the output 44 is allowed, so (I) is a function.
Show solution

(I) y=x2y = x^2. Each real xx has exactly one square, so each input has exactly one output. That f(2)=f(โˆ’2)=4f(2) = f(-2) = 4 does not matter: the requirement is about each input, not each output.

(II) y2=xy^2 = x. At x=4x = 4, y2=4y^2 = 4 is satisfied by y=2y = 2 and by y=โˆ’2y = -2. One input has two outputs, so (II) does not define yy as a function of xx.

Answer: (b).

Problem 3 ยท Natural Domain and an Output

Given: h(x)=x+3xโˆ’2h(x) = \dfrac{\sqrt{x+3}}{x-2}. Its domain is the set of all real xx for which the formula produces a real number โ€” find the domain and h(6)h(6).

What is the domain of hh?

What is h(6)h(6)?

โœ… Correct! The domain is {xโˆˆRโˆฃxโ‰ฅโˆ’3ย andย xโ‰ 2}\{x \in \mathbb{R} \mid x \geq -3 \text{ and } x \neq 2\}, and h(6)=94=34h(6) = \tfrac{\sqrt{9}}{4} = \tfrac{3}{4}.
โŒ Not quite. Division by zero is excluded, but so is the square root of a negative number: x=โˆ’7x = -7 gives โˆ’4\sqrt{-4}, which is not real.
โŒ Not quite. The square root is fine for xโ‰ฅโˆ’3x \geq -3, but x=2x = 2 makes the denominator 00, so h(2)h(2) is undefined.
โŒ Not quite. At x=โˆ’3x = -3 the formula gives 0โˆ’5=0\tfrac{\sqrt{0}}{-5} = 0, a real number, so โˆ’3-3 belongs to the domain.
โŒ Not quite. Two conditions are needed: x+3โ‰ฅ0x + 3 \geq 0 for the root and xโˆ’2โ‰ 0x - 2 \neq 0 for the quotient.
โŒ Not quite. 94\tfrac{9}{4} forgets the square root: 6+3=9=3\sqrt{6 + 3} = \sqrt{9} = 3, not 99.
โŒ Not quite. The symbol 9\sqrt{9} means the nonnegative root, 33. A function gives exactly one output, so h(6)h(6) is a single number.
โŒ Not quite. Check the denominator: 6โˆ’2=46 - 2 = 4, not 88.
โŒ Not quite. Substitute x=6x = 6: 6+3=3\sqrt{6 + 3} = 3 on top and 6โˆ’2=46 - 2 = 4 on the bottom.
Show solution

Domain. The formula produces a real number exactly when both pieces make sense:

x+3โ‰ฅ0andxโˆ’2โ‰ 0,thatย is,xโ‰ฅโˆ’3ย andย xโ‰ 2.x + 3 \geq 0 \quad\text{and}\quad x - 2 \neq 0, \qquad\text{that is,}\qquad x \geq -3 \text{ and } x \neq 2.

So the domain is {xโˆˆRโˆฃxโ‰ฅโˆ’3ย andย xโ‰ 2}\{x \in \mathbb{R} \mid x \geq -3 \text{ and } x \neq 2\}. Note that โˆ’3-3 is included, since h(โˆ’3)=0โˆ’5=0h(-3) = \tfrac{0}{-5} = 0.

Output.

h(6)=6+36โˆ’2=94=34.h(6) = \frac{\sqrt{6+3}}{6-2} = \frac{\sqrt{9}}{4} = \frac{3}{4}.

The square root symbol denotes the nonnegative root, so there is exactly one output.

Problem 4 ยท Arrow Diagrams and the Range

Given: A={1,2,3,4}A = \{1, 2, 3, 4\} and B={p,q,r,s}B = \{p, q, r, s\}. Each option lists the arrows of a diagram from AA to BB. For a function fโ€‰โฃ:Aโ†’Bf\colon A \to B, the range is {f(x)โˆฃxโˆˆA}\{f(x) \mid x \in A\}, the set of outputs that actually occur.

Which diagram represents a function from AA to BB?

What is the range of that function?

โœ… Correct! Exactly one arrow leaves each element of AA, so (c) is a function, and its only output is pp: the range is {p}โІB\{p\} \subseteq B.
โŒ Not quite. No arrow leaves 44, so the input 44 has no output. Every element of the domain needs an output.
โŒ Not quite. Two arrows leave 11 (to pp and to qq), so the input 11 has two outputs.
โŒ Not quite. Two arrows leave 22 (to rr and to ss), so the input 22 has two outputs.
โŒ Not quite. Count the arrows leaving each of 1,2,3,41, 2, 3, 4: a function needs exactly one from each.
โŒ Not quite. {p,q,r,s}\{p, q, r, s\} is the codomain. The range contains only the outputs that occur, and here every arrow ends at pp.
โŒ Not quite. {1,2,3,4}\{1, 2, 3, 4\} is the domain, the set of inputs. The range is a subset of the codomain BB.
โŒ Not quite. Every input has the output pp, so pp is in the range; the range of a function with a nonempty domain is never empty.
โŒ Not quite. List f(1),f(2),f(3),f(4)f(1), f(2), f(3), f(4) and collect the distinct values.
Show solution

A diagram represents a function Aโ†’BA \to B exactly when one arrow leaves each element of AA.

  • (a): no arrow leaves 44. Not a function.
  • (b): two arrows leave 11. Not a function.
  • (c): one arrow leaves each of 1,2,3,41, 2, 3, 4. A function, even though all four arrows end at pp and qq, rr, ss receive none.
  • (d): two arrows leave 22. Not a function.

For (c), f(1)=f(2)=f(3)=f(4)=pf(1) = f(2) = f(3) = f(4) = p, so the range is

{f(x)โˆฃxโˆˆA}={p},\{f(x) \mid x \in A\} = \{p\},

a proper subset of the codomain B={p,q,r,s}B = \{p, q, r, s\}.

Solved: 0 / 4