MathLab with Mr. Ahmed is a math learning website by Ahmed Amasha, a mathematics teacher teaching the American curriculum. Explore Algebra 2, Precalculus, Calculus, and SAT and PSAT Math Prep through lessons, focused practice and printable resources.
The domain is the set of allowed inputs; the range is the set of outputs. Over the real numbers, the expression under a square root must be nonnegative.
Remember For rational functions, exclude every input that makes the original denominator zero.
Worked example 1
01 / For f(x)=x2−2, make a five-row table at x=−2,−1,0,1,2; plot the points and sketch the full curve. What point corresponds to input 3? Write or draw your full response before checking the answer. A teacher must review the construction or argument. Complete the written work or drawing first. The selected answer checks the result only; your reasoning or drawing needs teacher/self-review.
02 / The table outputs are [2,−1,−2,−1,2].
03 / Plot input horizontally and output vertically.
04 / The full graph is an upward parabola with vertex (0,−2); f(3)=7.
Worked example 2 · Connect graph points, values, and tables
The entire function graph is the four filled points shown. Find f(−2) and list its domain.
Find the dot vertically above x=−2. Its height is 3. Only the four filled dots belong to this graph, so the domain contains four inputs, not the whole interval.
Read the graphs
Connect graph points, values, and tables
The entire function graph is the four filled points shown. Find f(−2) and list its domain.
Find the dot vertically above x=−2. Its height is 5. Only the four filled dots belong to this graph, so the domain contains four inputs, not the whole interval.
Answer: f(−2)=5;D={−2,−1,0,2}
Use the vertical-line test and read finite domains
Apply the vertical-line test to graph 2. Its endpoints are included. If it is a function, give domain and range.
Every vertical line meets the drawn curve at most once. The horizontal span is −2 through 2, with endpoints. The lowest height is −1 and highest is 1.
Answer: Yes; D=[−2,2],R=[−1,1].
Recover formulas from segments and semicircles
Find a formula and its full domain for the segment shown.
Calculate rise/run from the two endpoints. Use either point to find the vertical intercept. The filled endpoints limit the function to the closed interval [−2,2].
Textbook reference: Stewart, Redlin & Watson, Precalculus: Mathematics for Calculus, 7th ed. (Cengage, 2016). The explanations and practice here are original, organized by textbook section.