πŸŽ“ BookMCQ
← Back to 1. Basics before calculus

πŸ“ Definition of a function in math (15 MCQs)

Functions as Rules Connecting Inputs and Outputs

In precalculus, a function is a mathematical relationship that assigns exactly one output to every permitted input. It is commonly expressed as f(x)=yf(x)=y, where xx represents an input and yy its corresponding output. Functions provide the foundation for differential and integral calculus, allowing mathematicians to describe changing quantities, model relationships, calculate rates of change, and determine accumulated values.

Why Single-Valued Relationships Matter

Many real situations connect two quantities, such as time and distance or production and cost. However, a general relation may assign several outputs to the same input, making its evaluation ambiguous. The function requirement removes this ambiguity by guaranteeing exactly one output per permitted input. Different inputs may still produce the same output without violating the definition.

Function Notation and the Assignment Rule

A function f:A→Bf:A\to B assigns each element of its domain AA exactly one element of its codomain BB. To evaluate it, substitute the given input into its rule and simplify. For f(x)=2x+3f(x)=2x+3, the calculation f(4)=2(4)+3=11f(4)=2(4)+3=11 shows that input 4 produces output 11.

Testing a Relationship with Specific Inputs

Consider y=x2y=x^2, which assigns 0,1,4,0,1,4, and 99 to inputs 0,1,βˆ’2,0,1,-2, and 33, respectively. Each input has exactly one output, so the relation is a function. Although inputs 2 and -2 both produce 4, uniqueness applies separately to each input, not to the outputs of different inputs.

Functions in Mathematical Models and Calculus

Functions describe position as a function of time, revenue as a function of production, and temperature as a function of location. Derivatives measure how rapidly outputs change, while integrals calculate accumulated quantities. A function may be discontinuous or nondifferentiable and still satisfy the function definition; additional conditions are required for particular calculus theorems.

Distinguishing Functions from General Relations

'Every relation is a function' is incorrect because a relation may assign two outputs to one input. 'Different inputs must have different outputs' confuses functions with one-to-one functions. 'A function must have an algebraic formula' is also false because a table, graph, or verbal rule can define one. The essential condition is exactly one output per permitted input.

Function Recognition in Examination Questions

Practise evaluating function notation, identifying domain and codomain, and distinguishing functions from general relations. Check whether any input has multiple outputs when examining ordered pairs, tables, or graphs. Remember that repeated outputs are allowed. For graphical questions, the vertical line test provides a practical way to determine whether a displayed relation represents a function of xx.

Key Terms of Function Definitions

  • Function - Rule assigning one output per input.
  • Domain - Set of permitted inputs.
  • Codomain - Specified target set.
  • Range - Outputs actually attained.
  • Input - Value supplied to a function.
  • Output - Value produced by a function.
3
Easy
6
Medium
6
Hard

πŸ“ All Definition of a function in math MCQs

Q1. What is the correct definition of a function?

A.A relation where each x is paired with at most one y
B.A relation where each y is paired with exactly one x
C.A relation where each x is paired with exactly one y βœ…
D.A relation where each y may have multiple x
πŸ’‘ Difficulty: easy | βœ… Correct: C

πŸ“– Explanation: The definition of a function requires that every element of the domain (the x‑values) is associated with exactly one element of the codomain (the y‑value). This matches option C, which states that each x determines exactly one y. Options A, B, and D either relax or reverse this requirement, so they are incorrect.

Q2. Given the table of Indianapolis 500 qualifying speeds, does the relation between year (t) and speed (S) define a function?

A.Yes, because each year maps to exactly one speed βœ…
B.No, because some years have multiple speeds
C.Yes, because speeds repeat for different years
D.No, because the table is incomplete
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: Each year appears only once in the table, and for that year there is a single speed value. Hence the mapping satisfies the definition of a function: one input (year) yields one output (speed). Repeating speed values for different years do not violate the definition, making option A correct.

Q3. A graph shows a curve that loops back over itself, intersecting a vertical line at two points. What does this imply about the relation depicted?

A.The relation is a function because each x has a y
B.The relation is not a function because some x correspond to two y’s βœ…
C.The graph represents a one‑to‑one correspondence
D.The relation is a function only on intervals where it passes the vertical line test
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: The vertical line test states that a curve represents a function only if any vertical line intersects it at most once. Since the graph loops and a vertical line meets it at two points, at least one x‑value has two y‑values, violating the function definition. Therefore the relation is not a function, making option B correct.

Q4. Which method of representing a function is most appropriate for a continuously varying quantity like temperature over time?

A.Algebraic formula
B.Verbal description
C.Numerical table
D.Geometric graph βœ…
πŸ’‘ Difficulty: easy | βœ… Correct: D

πŸ“– Explanation: Continuous data benefit from a visual representation that captures smooth change, and a geometric graph does this effectively. While formulas can also describe continuous relationships, the graph directly shows how temperature varies with time, making option D the best choice. Tables are discrete, and verbal descriptions lack visual clarity.

Q5. For a data set listing the number of students in each class, which representation best preserves the discrete nature of the information?

A.Algebraic formula
B.Numerical table βœ…
C.Geometric graph
D.Verbal description
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: When data are inherently discreteβ€”each class has a specific countβ€”a numerical table displays each class and its exact student count without interpolation. A formula would imply a continuous relationship, and a graph might suggest continuity between points. Therefore option B correctly captures the discrete character of the data.

Q6. Which of the following relations fails to be a function?

A.{(1,2),(1,3),(2,4)} βœ…
B.{(0,5),(1,6),(2,7)}
C.{(3,9),(4,10),(5,11)}
D.{(6,12),(7,13),(8,14)}
πŸ’‘ Difficulty: hard | βœ… Correct: A

πŸ“– Explanation: A relation is a function only if each x‑value appears once. In set A, the x‑value 1 appears with two different y‑values (2 and 3), violating the definition. The other sets assign a single y to each distinct x, so they satisfy the function criteria. Hence option A is the correct answer.

Q7. A thermometer records temperature T as a function of time t throughout a day. Is this relationship a function?

A.No, because temperature can repeat values
B.Yes, because each moment in time yields a single temperature reading βœ…
C.No, because time can be negative
D.Yes, because temperature determines time
πŸ’‘ Difficulty: easy | βœ… Correct: B

πŸ“– Explanation: For each specific time t, the thermometer provides exactly one temperature reading, satisfying the definition of a function (one input β†’ one output). The fact that temperature values may repeat at different times does not affect the function status, so option B is correct.

Q8. Newton’s law of universal gravitation is stated verbally: β€œThe gravitational force is directly proportional to the product of the masses and inversely proportional to the square of the distance.” Which algebraic expression correctly captures this as a function of distance r?

A.F(r)=G m1 m2r2F(r)=\dfrac{G\,m_1\,m_2}{r^{2}} βœ…
B.F(r)=G m1 m2 r2F(r)=G\,m_1\,m_2\,r^{2}
C.F(r)=G m1 m2rF(r)=\dfrac{G\,m_1\,m_2}{r}
D.F(r)=G m1 m2 rF(r)=G\,m_1\,m_2\,r
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: The verbal description translates to β€œforce equals a constant G times the product of the masses divided by the distance squared.” This is precisely the formula F(r)=Gm1m2r2F(r)=\frac{G m_1 m_2}{r^{2}}. Options B, C, and D misplace the distance term, making option A the correct representation.

Q9. In the gravitational law F=Gm1m2r2F = \dfrac{G m_1 m_2}{r^{2}}, which variable is the independent variable when the masses are held constant?

A.FF
B.GG
C.rr βœ…
D.m1m_1
πŸ’‘ Difficulty: hard | βœ… Correct: C

πŸ“– Explanation: When the masses m1m_1 and m2m_2 and the constant GG are fixed, the only variable that can change is the distance rr. Treating rr as the input determines the output force FF. Hence rr is the independent variable, making option C correct.

Q10. Consider the piecewise definition f(x)={x2,xβ‰₯0βˆ’x,x<0f(x)=\begin{cases}x^{2}, & x\ge 0\\-x, & x<0\end{cases}. Does this define a function?

A.No, because the two pieces overlap
B.Yes, because each x yields exactly one y βœ…
C.No, because the rule is not expressed algebraically
D.Yes, but only for xβ‰₯0
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: The definition assigns a single formula to each portion of the domain and the two portions do not intersect; every real number x falls into exactly one case, producing a unique y. Thus the relation satisfies the function definition, making option B correct.

Q11. For the function defined by f(x)=xβˆ’3f(x)=\sqrt{x-3}, which set correctly describes its domain?

A.All real numbers
B.All positive numbers
C.All numbers greater than 3
D.All numbers greater than or equal to 3 βœ…
πŸ’‘ Difficulty: hard | βœ… Correct: D

πŸ“– Explanation: The square‑root function is defined only when its radicand is non‑negative. Setting xβˆ’3β‰₯0x-3\ge0 yields xβ‰₯3x\ge3. Therefore the domain consists of all real numbers that are at least 3, which corresponds to option D.

Q12. If y=3x+2y = 3x + 2 and x increases by 1 unit, how does y change?

A.y increases by 3 units βœ…
B.y increases by 2 units
C.y decreases by 1 unit
D.y remains unchanged
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: The equation is linear with slope 3, meaning that for each unit increase in x, y increases by the slope value, which is 3. Hence a one‑unit increase in x results in a three‑unit increase in y, making option A correct.

Q13. A graph fails the vertical line test because a vertical line intersects it at three points. Which statement about this graph is true?

A.It correctly represents a function
B.It cannot represent a function
C.It represents a one‑to‑one correspondence βœ…
D.It represents a function only on intervals where the test passes
πŸ’‘ Difficulty: hard | βœ… Correct: C

πŸ“– Explanation: When a vertical line meets the graph at multiple points, the relation violates the definition of a function. However, the graph may still represent a function on restricted intervals where the vertical line test is satisfied. Therefore option C accurately reflects this nuance.

Q14. Why does a verbal description like β€œspeed is distance divided by time” qualify as a function of distance?

A.Because it uses words instead of symbols
B.Because each distance value yields one unique speed value βœ…
C.Because it does not involve a graph
D.Because it cannot be expressed algebraically
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: The verbal statement defines a rule that assigns to every distance a single speed value (speed = distance/time). This one‑to‑one mapping satisfies the function definition, even though it is expressed in words rather than symbols. Hence option B correctly explains why the description defines a function.

Q15. Given a table of years and speeds, a formula S(t)=0.5t+200S(t)=0.5t+200, and a graph derived from that formula, which representation would you use to predict the qualifying speed for the year 2012?

A.The table, because it contains the exact value
B.The formula, because it can be evaluated for any year βœ…
C.The graph, because it visually shows the trend
D.All of the above, because they give the same prediction
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: The formula provides an explicit expression that can be evaluated for any year, including 2012, regardless of whether the table includes that year. While the graph visualizes the trend, the formula yields the precise numerical prediction directly, making option B the most reliable choice.

πŸ”— Related Topics (MCQs)