Functions and Their Graphs: Star problems
Ten optional challenges to stretch your reasoning. Work on paper, use hints when you need them, and check the answer or full solution when you are ready. You can skip these problems and continue the course.
- 1 of 3 stars: Stretch
- 2 of 3 stars: Challenge
- 3 of 3 stars: Deep challenge
Stars indicate difficulty within this set.
0 of 10 completed · 0 skipped
Progress saved in this browser.
Progress can't be saved in this browser, so your choices last for this visit only.
-
Problem 1 Changing the horizontal coordinate
Difficulty: 1 of 3 stars, Stretch
Start with the graph for all real . For a fixed real number , move every point to the point with coordinates
This rule changes the horizontal coordinate by an amount depending on the height.
Find every for which the resulting set is the graph of a function . For every permitted , give the full domain and a formula for . Prove that every excluded value fails the vertical-line test.
Builds on Relations and Functions
- Hint 1
Follow the two rays and separately.
- Hint 2
On those rays, respectively, and . Decide whether their images occupy opposite sides of the -axis or overlap.
Answer
Exactly . The domain is , and for , while for .
Full solution
On the right ray, and with .
On the left ray, and with .
If , both coefficients are positive.
The right ray therefore gives exactly , and the left ray exactly .
Each produces one height at each of its inputs, and the two heights agree at .
Solving for gives the stated formulas and domain.
If , the entire left ray has and varying heights.
If , the right ray does.
Both fail the vertical-line test.
If , both rays produce every positive .
At such an input their heights are and , which differ.
If , both produce every negative , with those same two formulas for heights; again the denominators differ and the heights are distinct.
Thus every remaining setting also fails.
An invertible point transformation of the plane need not preserve the property of being a function of its horizontal coordinate.
Answer
Exactly . The domain is , and for , while for .
Key idea
To test a transformed relation, track which horizontal inputs each branch covers, not just the movement of individual points.
- Hint 1
-
Problem 2 A translation chosen by the input
Difficulty: 1 of 3 stars, Stretch
For a real number , define by
A rational number is a ratio of integers with nonzero denominator.
Find all for which is a bijection. For each permitted , give the inverse formula. For each excluded , exhibit both two distinct inputs with the same output and an output that is never attained.
- Hint 1
If is rational, adding or subtracting it preserves whether a number is rational.
- Hint 2
If is irrational, compare the inputs and , and investigate whether can be an output.
Answer
Exactly rational . Then for rational , and for irrational . For irrational , and both map to , and is missing.
Full solution
Suppose first that is rational.
Rational inputs remain rational after adding , and irrational inputs remain irrational after subtracting .
Thus outputs from the two branches cannot collide.
Each branch is a translation and hence injective within its input class.
Every rational is obtained from the rational input , and every irrational from the irrational input .
This proves bijectivity and gives the inverse.
Now suppose is irrational.
Then is irrational and nonzero, so
These are distinct inputs, disproving injectivity.
To obtain output from the rational branch would require , or , which is irrational and therefore not allowed on that branch.
To obtain it from the irrational branch would require , or , which is rational and not allowed there.
Hence is also absent from the range.
The same parameter change breaks both injectivity and surjectivity, but each failure needs its own verification.
Answer
Exactly rational . Then for rational , and for irrational . For irrational , and both map to , and is missing.
Key idea
A piecewise rule can be inverted branch by branch only after you know how the branches’ output sets interact.
- Hint 1
-
Problem 3 Error after repeated application
Difficulty: 1 of 3 stars, Stretch
A function satisfies for every . Applying repeatedly times is denoted by ; for example, .
For each positive integer , find the smallest number guaranteed to satisfy
for every such function and every . Prove the bound and give one explicit function that shows all your bounds are sharp. No continuity or monotonicity is assumed.
- Hint 1
Write the change after applications as a sum of consecutive changes.
- Hint 2
The output interval provides a second bound independent of . For sharpness, consider a function that moves right by until it reaches the endpoint.
Answer
. One function attaining every bound at is .
Full solution
Let and for
Every remains in because that is the codomain of .
Thus the given error condition can be used at every step, not just the first.
By adding the consecutive changes and using the triangle inequality,
Also , so
This proves the combined bound .
For sharpness, define
It maps the interval into itself, and its change at each input lies between and .
Starting at , successive outputs are .
Hence for every positive integer .
Any smaller proposed would fail for this single function and input.
The example also shows why a bound based only on adding local errors eventually stops being sharp: the finite range limits the total displacement.
Answer
. One function attaining every bound at is .
Key idea
Combine accumulated local error with a global range restriction, then test sharpness using a deliberately constructed function.
- Hint 1
-
Problem 4 When two rules can change order
Difficulty: 2 of 3 stars, Challenge
Define by
Let , where are real and the constant cases are allowed.
Find every pair for which for every real . Also prove that is its own inverse. Your classification must include functions that are not bijections.
Builds on Inverse Functions
- Hint 1
First evaluate the commutation equation at the unique fixed point of .
- Hint 2
After finding , separate , , and . Positive scaling preserves the branch of , while negative scaling exchanges branches.
Answer
Exactly and . Also .
Full solution
The only fixed point of is : the equation gives on the nonpositive branch and on the positive branch.
Setting in the commutation equation gives , so necessarily .
If , multiplying an input by preserves its sign, and each branch formula directly gives
Thus all positive work.
If , both compositions are the zero function, so this constant case works too.
If , use .
Then , whereas
Equality would force , contradicting .
This excludes every negative setting.
Finally, if , the first application sends it to , and the second gives
If , the first sends it to , and the second gives
Zero stays zero.
Thus everywhere, proving is bijective with inverse .
Answer
Exactly and . Also .
Key idea
Fixed points can constrain a commuting function before its full formulas are compared.
- Hint 1
-
Problem 5 Every pair keeps its distance
Difficulty: 2 of 3 stars, Challenge
Find all functions such that
Do not assume that is linear, continuous, or monotone.
Your proof should explain why choosing the images of just two distinct inputs forces every other image, and should verify that every function in your answer works.
- Hint 1
Let and use the distance between and to determine the two possibilities for .
- Hint 2
For an arbitrary input , square its distance equations to and and subtract them. The unknown square of will cancel.
Answer
Exactly and , with arbitrary real .
Full solution
Put .
The pair gives , so write , where or .
For any real , let .
Its distances to the images of and give
Squaring is legitimate here because both original sides are nonnegative.
Subtracting the first squared equation from the second gives , hence .
Since , this forces and therefore for every input.
Conversely, for either sign,
Thus both families work, with no additional conditions on .
The images of and chose the translation and the orientation; the two distance equations then fixed every remaining image.
Merely assigning one of the two values independently at each input would fail: distances to a second anchor coordinate the sign choices.
Answer
Exactly and , with arbitrary real .
Key idea
Distances to two anchors can force a global rule even when no regularity of the function is assumed.
- Hint 1
-
Problem 6 How far apart can inverse readings lie?
Difficulty: 2 of 3 stars, Challenge
Let be a strictly increasing bijection with and . For every , it satisfies
Set and .
Find the exact set of possible values of as varies. Prove both bounds and construct a permitted function for every value between them. No differentiability is assumed.
Builds on Inverse Functions
- Hint 1
Apply the upper bound on the rate of change to the pairs , , and .
- Hint 2
For construction, use a polygonal graph through , and choose . Check the slopes of its three pieces.
Answer
Exactly , with both endpoints attainable.
Full solution
Strict increase gives .
The rate bound applied to the three successive intervals gives , , and
Thus , , and .
Consequently
while
To realize every value in this interval, choose any and set .
Join by straight segments.
Their slopes are
Both and lie in , so all slopes lie between and .
The resulting graph is continuous and strictly increasing from height to height , hence gives a bijection of the required intervals.
A secant crossing several pieces has slope equal to a length-weighted average of their slopes, so the required rate bound holds for every pair of inputs, not just within individual pieces.
Its inverse readings are exactly the chosen , and fills .
This proves full attainability as well as sharp endpoint bounds.
Answer
Exactly , with both endpoints attainable.
Key idea
Bounds on inverse inputs require both necessary spacing inequalities and a function construction that satisfies every secant condition.
- Hint 1
-
Problem 7 Two rules for a positive function
Difficulty: 2 of 3 stars, Challenge
Find all functions satisfying
and
Prove your answer without assuming continuity or a particular formula for . You may use the elementary fact that between any two distinct real numbers there is a rational number.
- Hint 1
Use in the second rule, and multiply by .
- Hint 2
After obtaining for positive inputs, positivity forces strict increase. Determine rational values and trap each real value between them.
Answer
The unique function is for every .
Full solution
Multiplicativity gives , and positivity forces .
For positive , put .
Multiplying by and using multiplicativity gives
Thus the second condition converts the multiplicative rule into an additive rule as well.
If , additivity gives , so is strictly increasing.
Repeated addition gives for positive integers .
Also , so for every positive rational .
Fix any real .
If , choose a rational strictly between and .
Strict increase would give , but , a contradiction.
If , choose a positive rational strictly between and ; then strict increase gives , again a contradiction.
Therefore .
This function is positive and plainly satisfies both original rules, completing existence and uniqueness.
Answer
The unique function is for every .
Key idea
Positivity can supply the order information needed to determine a function from its rational values.
- Hint 1
-
Problem 8 How many inputs survive two stages?
Difficulty: 3 of 3 stars, Deep challenge
The graph of consists exactly of the straight segments joining , in that order, with all endpoints included.
(a) For each real , determine the number of distinct solutions of with . Account for the special levels , , and .
(b) Find all inputs for which . Explain how counting preimages in two stages avoids writing a long piecewise formula for the composition.
Text description of this figure
Coordinate axes labeled x and y, each marked at 1, 2 and 3, with the origin labeled 0. The graph is a broken line of three straight segments with a dot at each of its four endpoints. It starts at the origin, rises to the point with x equal to 1 and y equal to 3, falls to the point on the x axis where x equals 2, and rises again to its end point, where x equals 3 and y equals 2. The peak at x equal to 1 and the end point at x equal to 3 are labeled with their coordinates.
Builds on Solving Linear Equations
- Hint 1
First count the preimages of a single level under . A vertex shared by two segments counts only once.
- Hint 2
For , the intermediate inputs are , , and . Count the preimages of each of those numbers separately.
Answer
(a) The count is outside ; at ; for ; at ; for ; and at . (b) .
Full solution
The three branch formulas are on , on , and on .
Let count the distinct preimages of under .
The graph gives , for , for , and ; outside it is zero.
For , the three intermediate values satisfying are , , and .
Their preimage counts are , totaling .
At , the last intermediate value is , with only one preimage, so the count is .
For , only the first two intermediate values remain, each with three preimages, giving .
At , the intermediate values are , giving ; at , the sole intermediate value is , giving .
No input can be counted for two distinct intermediate values because has only one value.
For , the intermediate values are .
Their preimages are, respectively, , , and .
Combining and sorting gives the eight stated inputs.
Every branch used lies in its declared domain, so the two-stage enumeration is complete.
Answer
(a) The count is outside ; at ; for ; at ; for ; and at . (b) .
Key idea
Count a composition’s preimages by summing counts over distinct intermediate values; handle vertex levels separately.
- Hint 1
-
Problem 9 A graph that settles after one application
Difficulty: 3 of 3 stars, Deep challenge
For real parameters , define a continuous piecewise linear function on by
Find all pairs for which for every real . For each family in your answer, describe the image of . Prove completeness, including zero slopes and negative slopes.
- Hint 1
The equation means that every output of must be a fixed point of .
- Hint 2
If , the left branch outputs negative values, which must themselves be fixed. If , that branch outputs every positive value. Make the corresponding observations for the right branch.
Answer
Exactly ; with ; with ; and . Their images are respectively , , , and .
Full solution
The required equation holds exactly when every value in the image is fixed by .
All of is already fixed.
If , negative inputs produce every negative output.
Every negative must then satisfy , forcing .
If , the left branch produces every positive output, including all ; these can all be fixed only if .
If , the left branch contributes only the already fixed value .
Similarly, if , the right branch produces every output above , forcing .
If , it produces every value below , including every negative value, forcing .
If , it contributes only the fixed value .
Combining these implications leaves precisely the four listed possibilities: both identity slopes; a nonpositive left slope with identity right slope; identity left slope with a nonpositive right slope; or two zero slopes.
Conversely, their respective images are , , , and .
On each listed image the function is the identity.
Thus every output is fixed, proving the composition equation for every case.
This also proves the image descriptions and includes the endpoint cases or without treating them as limits.
Answer
Exactly ; with ; with ; and . Their images are respectively , , , and .
Key idea
An equation of the form says that the image lies entirely inside the fixed-point set.
- Hint 1
-
Problem 10 An algebraic rule with a global sign condition
Difficulty: 3 of 3 stars, Deep challenge
Find every function such that
and for every real .
No continuity, monotonicity, or polynomial formula is assumed. You may use the fact that between any two distinct real numbers there is a rational number. Explain where the nonnegativity condition rules out freedom that the algebraic identity alone would allow.
- Hint 1
Subtract : the function obeys . First determine on rational inputs.
- Hint 2
If , choose a rational between and to contradict . Then use rational shifts of an arbitrary real input.
Answer
The unique function is for every real .
Full solution
Putting gives .
Define
Expanding shows , so
If , repeated addition and division give for every rational , including negative ones.
Nonnegativity at rational inputs says
If , a rational strictly between and would make these two factors have opposite signs.
Therefore and for every rational .
Fix an arbitrary real .
For every rational , additivity gives
If , choose a rational in the nonempty interval .
Then , a contradiction.
Hence for every .
Applying this to and using oddness gives as well.
Thus and .
This function satisfies both original requirements.
The identity alone allows at least the functions for arbitrary real , so the global sign condition is essential.
The proof uses it first to eliminate rational drift and then to eliminate any remaining drift at irrational inputs, without assuming regularity.
Answer
The unique function is for every real .
Key idea
A global inequality can force a functional rule beyond its rational inputs, even without continuity.
- Hint 1