Composition of Functions: Free Response
5 questions in parts, 55 points in total. Work each one out on paper, taking a hint if you get stuck. When you have an answer, reveal the answer to check it, and the full solution only if you still want it. The rubric is there so you can mark your own work.
-
1. Two laws, checked on real rules . Foundational, 11 points. Question 1 of 5.
Composition obeys two laws that make a chain of functions safe to write down. This question checks both on concrete rules and then names the structure they produce. For Part A take
and throughout write for the identity rule.
- Part A.
Build the two intermediate composites and . Then assemble both groupings of the triple, and , giving a single simplified rule and the excluded input for each.
Write the expression An equation or an expression is enough here. Show how you built it. 4 points
- Part B.
Let , defined for every real number, and let be the identity rule taken only on the inputs . Give the rule and the domain of and of , then decide for each whether it equals .
Justify your claim State the claim, then give the reason it has to be true. 4 points
- Part C.
Part A grouped a chain of three functions in the two possible ways, and Part B composed with an identity rule. Explain what the law tested in Part A licenses about writing with no brackets at all, and what that string would have to mean without it. Then name the structure composition gives the rules from one fixed set to itself, with on that set as the identity, saying which laws that structure demands and which it leaves optional.
Explain why it works A sentence or two. Reasons, not steps. 3 points
Hints
One at a time, each one a step further than the last. Take only as many as you need.
-
Hint 1 of 4
Two separate laws are in play here. One is about where the brackets go in a chain of three functions; the other is about a rule that is supposed to leave whatever it is composed with alone. Test each on the functions given before saying anything general.
-
Hint 2 of 4 · Part A
Build the two inner composites first and give each a name, then feed the remaining function in. Nothing needs expanding: leaving each result as a single fraction makes the two groupings easy to lay side by side.
-
Hint 3 of 4 · Part B
Two functions are equal only when their domains match as well as their rules, so work out which inputs survive each composite before comparing anything. For one of the two orders, ask which inputs the outer rule is willing to receive, and which inputs get sent there.
-
Hint 4 of 4 · Part C
Ask what would go wrong if the two bracketings could differ: what would an unbracketed string of three names mean then? Then list the laws an operation can have and tick off which ones composition is guaranteed to supply.
That is every hint for this question.
Answer and solution
Check your answer first. If it is wrong, go back to your paper: the worked solution will still be here.
The answer
Part A
and ; both groupings give , on every real except .
Part B
Neither equals . Both composites carry the rule , but has domain and has domain , while is defined on every real number. Three domains, so three different functions.
Part C
Associativity makes both bracketings of a triple the same function, so names exactly one function; without it the string would abbreviate two possibly different functions. Associative, with an identity, and with neither commutativity nor inverses required, is a monoid.
Not what you got? Look for the slip on your own paper before you open the solution. Finding it yourself is worth more than reading it.
Worked solution
Part A
Build the two inner composites first. For , substitute the whole rule for into :
For , substitute the whole rule for into :
Now assemble the two groupings. Feeding into the composite gives
and feeding the composite into gives
The two rules are identical. Both also refuse exactly the input that makes , namely , and accept every other real number, so the two groupings agree in domain as well as in rule and are the same function. As a spot check at , both routes give .
Notice that the intermediate composites are genuinely different functions, against . It is only the completed chains that coincide.
Part B
Two functions are equal only when they share a domain and agree at every input of it, so each composite needs its domain worked out as well as its rule.
For the inner function is , so an input must first be legal for , which means , and then must be legal for , which accepts everything. The rule is , so
For the inner function is , which accepts every real number, and then the output must be legal for , which needs it to be at least :
The rule is , so
All three functions share the formula , and all three have different domains, so no two of them are equal. The lesson's identity law is not damaged by this: it says the identity is neutral when it is taken on the right set. On the right of that set must accept every input accepts, and on the left it must accept every output produces. The rule here is too small for both jobs, and the composition loses inputs to prove it. Taken on all of instead, the identity does its job: both and have domain and rule , so both equal .
Part C
Part A tested associativity: the two ways of bracketing a chain of three functions give the same function. That is exactly what licenses the unbracketed name. Writing
is meaningful only because the two readings it could carry, and , are never different functions. Without the law the string would be an abbreviation for two possibly different things, and a chain of four functions would carry five readings instead of one.
Part B tested the second law. There is an identity for composition, and composing with it changes nothing, provided it is taken on a set large enough to lose no inputs.
Now name the structure. An operation on a collection of objects that is associative and has an identity, with no requirement that it commute and no requirement that every object have an inverse, gives that collection the structure algebraists call a monoid. Which collection is not a free choice: two functions can be composed only when the outputs of the first are inputs the second accepts, so take the rules that run from one fixed set back to that same set, whose identity is on that set. Composition gives that collection exactly the structure just described. Part A supplied associativity, and Part B showed what the identity law needs and that it is met once the identity is taken on a large enough set. Commutativity is not available for a general pair, and an inverse is not available for every function. Two laws demanded, two left optional.
In one line
Both groupings give on , so needs no brackets. Neither nor equals : same rule , but on and on . Associative and with an identity, but with commutativity and inverses optional, makes the rules from one fixed set to itself a monoid under composition.
Rubric
Mark your own paper against this. Give yourself the points for each element you actually wrote down, not the ones you meant to.
Part A 4 points
Builds both intermediate composites by substituting one entire rule into the other, and says which function is inner in each. . Worth 2 points.
Assembles both groupings, simplifies each to a single rule, and reports which inputs each one excludes. . Worth 2 points.
Part B 4 points
Works out the rule and the domain of each composite separately, applying the two-stage domain test rather than reading the rule alone. . Worth 2 points.
Reaches a verdict on each composite by testing domain as well as rule, and says what the equality test for functions demands. . Worth 2 points. needs an explanation, not just an answer
Part C 3 points
Says what the unbracketed three-fold notation would have to abbreviate if the law of Part A failed, and why the law removes the ambiguity. . Worth 2 points. needs an explanation, not just an answer
Names the structure and sorts the four laws into those it demands and those it leaves optional. . Worth 1 point.
-
-
2. Which inputs survive both stages . Foundational, 10 points. Question 2 of 5.
Let
Both composites of this pair can be built, and it is their domains this question is about.
- Part A.
Find a simplified formula for and state its domain.
Write the expression An equation or an expression is enough here. Show how you built it. 3 points
- Part B.
Now build the other order. Find a simplified formula for , state its domain, and say whether the two composites have the same domain.
Carry your own answer forward Compare against whichever domain you reached in Part A, even if it is not the intended one; the credit here is for a correct comparison of YOUR OWN two domains.
Write the expression An equation or an expression is enough here. Show how you built it. 3 points
- Part C.
A classmate proposes the rule . Work out the set that rule gives for this pair and line it up against both of the domains you found. Explain which feature of the Part A exclusions were actually read from, and say what your comparison settles about the proposed rule.
Carry your own answer forward Line the proposed rule up against whichever two domains you reached in Parts A and B; the reasoning here is graded against YOUR OWN results.
Explain why it works A sentence or two. Reasons, not steps. 4 points
Hints
One at a time, each one a step further than the last. Take only as many as you need.
-
Hint 1 of 4
A composition runs in two stages, so an input has to clear two separate tests: the inner rule must accept it, and the outer rule must accept whatever comes back out. The second test is about outputs, not about inputs.
-
Hint 2 of 4 · Part A
Ask which single number the outer rule refuses, then hunt for every input the inner rule sends to that number. A squaring rule can reach one value from two different places.
-
Hint 3 of 4 · Part B
Swap which rule sits inside. Now the inner rule is the one with a forbidden input of its own, and the outer rule accepts every real number, so only one of the two tests can bite.
-
Hint 4 of 4 · Part C
Count how many inputs the proposed rule is even capable of removing for this pair, and compare that count with the number removed by each of your two answers. Then ask whether the inner function's domain, or the inputs it sends to the number the outer rule refuses, decided the correct one.
That is every hint for this question.
Answer and solution
Check your answer first. If it is wrong, go back to your paper: the worked solution will still be here.
The answer
Part A
, defined for every real number except and .
Part B
, defined for every real number except . The two composites have different domains.
Part C
The intersection is every real except . That is the Part B domain and not the Part A one, which drops and and keeps . The Part A exclusions come from the preimage of , the inputs maps to ; a rule that is right in one order and wrong in the other is not a rule.
Not what you got? Look for the slip on your own paper before you open the solution. Finding it yourself is worth more than reading it.
Worked solution
Part A
Substitute the whole rule for into and tidy the denominator:
Now the domain, in the two stages the rule asks for. First, must accept , and is defined for every real number, so this stage throws nothing away. Second, the output must be a number accepts, and refuses exactly one input, . So the inputs to remove are the ones sends to :
The domain is every real number except and . The simplified formula agrees, since is zero at exactly those two inputs. Note where the work happened: finding the exclusions meant asking which inputs sends to a particular value, not which inputs will accept.
Part B
This time is the inner function, so substitute its rule into :
For the domain, run the two stages again. First must accept , which rules out . Then the output must be a number accepts, and accepts every real number, so the second stage removes nothing further:
Set that beside Part A, whose domain was every real except and . The same two functions, composed the two possible ways, produce different domains: this order keeps and and drops , while the other order does exactly the reverse. So and are in general different sets, and neither can be read off the other.
Part C
Apply the proposed rule first. Here is every real number and is every real number except , so
That is exactly the Part B domain, and it is not the Part A domain. So the proposal gets one order of this very pair right and the other wrong. That is enough to sink it: a rule you have to check against the truth before trusting it is doing no work, and here it even reverses the correct answer, keeping the two inputs that fail and discarding one that is perfectly good.
The reason for the failure is in what each stage tests. Intersecting the two domains only asks which numbers each function will accept as an input. The second stage of a composition asks something different: whether the number produces is acceptable to . That is a question about which inputs maps to , the preimage of , and it cannot be answered by looking at domains at all.
The shape of the two answers makes the gap visible. Since accepts every real number and refuses a single input, the intersection can delete at most that one point, no matter what. Part A had to delete two:
and a quadratic reaching one value from two places is exactly the kind of thing an intersection of domains can never record.
In one line
on every real except and , while on every real except . The intersection is the second set, so it is right in one order and wrong in the other; the true exclusions are the inputs maps to .
Rubric
Mark your own paper against this. Give yourself the points for each element you actually wrote down, not the ones you meant to.
Part A 3 points
Substitutes the entire inner rule into the outer one and simplifies to a single fraction. . Worth 1 point.
Finds the excluded inputs by asking which inputs the inner rule sends to the number the outer rule refuses, and reports all of them. . Worth 2 points.
Part B 3 points
Builds the composite in the reversed order and simplifies it to a single rule. . Worth 2 points.
States this order's domain and compares it as a set with the domain found in the other order. . Worth 1 point.
Part C 4 points
Computes the set the proposed rule gives for this pair and lines it up against both composite domains. . Worth 2 points.
Explains which feature of the inner function the correct exclusions are read from, and states what the comparison settles about the proposed rule, addressing both orders. . Worth 2 points. needs an explanation, not just an answer
-
-
3. Testing a claim about order . Reasoning, 11 points. Question 3 of 5.
Two functions commute under composition when and are the same function. This question tests a claim about how often that happens. Alongside the pair in Part A it uses the power maps
one for each whole number , every one of them defined for all real .
- Part A.
Let and . Find and , and find every input at which the two take the same value.
Write the expression An equation or an expression is enough here. Show how you built it. 3 points
- Part B.
Take the power maps and for whole numbers . Work out both orders of composition with the exponents left as letters, decide whether the pair commutes, and say what your argument covers: one pair, some pairs, or all of them.
Complete the derivation Each line should follow from the one above it. Say what lets you take each step. 5 points
- Part C.
A classmate looks at Part A and concludes that composition is never commutative. Decide whether that conclusion is correct, state the claim about commutativity that this question's evidence actually supports, and say what goes wrong if the two claims are treated as interchangeable.
Carry your own answer forward Argue from whatever you concluded in Part B, even if it is not the intended conclusion; the credit here is for reasoning consistently from YOUR OWN result.
Justify your claim State the claim, then give the reason it has to be true. 3 points
Hints
One at a time, each one a step further than the last. Take only as many as you need.
-
Hint 1 of 4
Reversing the order of two rules usually rearranges the work, but sometimes both orders do exactly the same thing. One example settles nothing about the general case, so decide early which of your claims are about a pair and which are about all pairs.
-
Hint 2 of 4 · Part A
Substitute one whole rule into the other, and remember that a coefficient sitting inside a cube gets cubed along with the variable. Then set the two results equal and solve to see where they meet.
-
Hint 3 of 4 · Part B
Keep the exponents as letters throughout. Composing two power maps stacks one exponent on top of the other, and there is a rule for a power of a power that turns that stack into a single exponent.
-
Hint 4 of 4 · Part C
Write the two statements out side by side, one saying the equality never holds and one saying it does not always hold, and test each of them against both pieces of evidence this question produced. Ask which pairs each statement would misjudge.
That is every hint for this question.
Answer and solution
Check your answer first. If it is wrong, go back to your paper: the worked solution will still be here.
The answer
Part A
and . They take the same value only at .
Part B
Both orders give on all of , since and multiplication of whole numbers commutes. The argument is general, so every pair of power maps commutes: infinitely many commuting pairs, not a lucky one.
Part C
The conclusion is too strong: Part B supplies infinitely many commuting pairs. What the evidence supports is that composition is not always commutative, so equality may not be assumed for a general pair and may not be ruled out for a particular one. The stronger claim forces a false verdict on every commuting pair.
Not what you got? Look for the slip on your own paper before you open the solution. Finding it yourself is worth more than reading it.
Worked solution
Part A
Substitute one whole rule into the other, in each order. With inside, the cube acts on all of , coefficient included:
With inside, the multiplication by acts on the cube:
These are different functions. To find where their values coincide, set them equal:
So the two agree at and nowhere else. Agreeing at one input is not the same as being equal, so this pair does not commute.
Part B
Keep the exponents as letters, so that one calculation settles every pair at once. With inside,
by the power of a power rule. With inside,
Multiplication of whole numbers commutes, so and the two rules are the same rule. Both composites are also defined for every real number, since a whole number power of a real number is always a real number, so the domains agree too and the equality test is satisfied:
Nothing in that calculation depended on which whole numbers and were, so it covers all of them at once: every pair of power maps commutes, and there are infinitely many such pairs. Taking and , for instance, both orders give .
It is worth seeing why Part A was different, since a cube appeared there too. The partner was , a scaling, which is not a power map. In one order the was cubed and in the other it was not, and that asymmetry is precisely what stacking two exponents does not produce.
Part C
The conclusion is too strong. Part A does show one pair whose two orders differ, and a single such pair is enough to establish that composition is not always commutative. It is nowhere near enough to establish that composition is never commutative, which is a claim about every pair at once. Part B settles that direction outright by exhibiting a whole family of pairs that do commute:
So the claim the evidence supports is this: composition is not always commutative. Read carefully, that says two things. For a general pair you may not assume , so an argument must never quietly swap the two. And for a particular pair you may not assume they differ either, so a claim that a specific pair fails to commute has to be established, usually by naming one input where the two values disagree, as Part A's calculation delivers: the two agree only at , so every other input is a witness that they differ.
Treating never and not always as interchangeable throws the second half away. It turns a correct warning about the general case into a false claim about every case, and it would deliver a wrong verdict on every commuting pair there is, including all of Part B's. The difference between the two claims is the difference between a rule you may rely on and a rule that is simply false.
In one line
and meet only at , yet for every pair of whole numbers . So composition is not always commutative, which is strictly weaker than never commutative, and the weaker claim is the true one.
Rubric
Mark your own paper against this. Give yourself the points for each element you actually wrote down, not the ones you meant to.
Part A 3 points
Builds both orders correctly, applying the outer rule to the entire inner rule including its coefficient. . Worth 2 points.
Sets the two results equal and solves for every input at which they coincide. . Worth 1 point.
Part B 5 points
Composes the two power maps in both orders with the exponents kept as letters rather than replaced by chosen numbers. . Worth 2 points.
Uses a law of exponents to collapse each stacked exponent into a single one, and justifies the comparison of the two results rather than asserting it. . Worth 2 points. needs an explanation, not just an answer
States the rule each order produces, notes the set on which each composite is defined, and says how wide the argument reaches. . Worth 1 point.
Part C 3 points
Delivers a verdict on the quoted conclusion and supplies the claim about commutativity the evidence does support, quantified precisely rather than loosely. . Worth 2 points. needs an explanation, not just an answer
Says what separates the two claims when they are treated as interchangeable, naming the kind of pair that tells them apart. . Worth 1 point.
-
-
4. One function, two chains, and a superscript . Reasoning, 12 points. Question 4 of 5.
This question runs composition backwards and then forwards. Backwards: let
a rule assembled from several simpler steps. Forwards: let .
- Part A.
Write as a chain of three functions, , with linear, and check that the chain rebuilds . Then state the one input the chain refuses, and check it against the input itself refuses.
Write the expression An equation or an expression is enough here. Show how you built it. 4 points
- Part B.
Find a second chain of three functions that also rebuilds and differs from your first in where the cuts fall, not merely in the letters used. Then decide whether one of the two has a better claim to be called the decomposition of , and argue for your decision.
Carry your own answer forward Your second chain only has to rebuild and differ from whichever chain YOU wrote in Part A, so build it against your own Part A answer rather than an intended one.
Justify your claim State the claim, then give the reason it has to be true. 4 points
- Part C.
Now take . Asked for , a student writes
Name which of the two things a superscript on a function name can mean that line computed, produce under this lesson's reading, and find every input at which the student's function and yours take the same value.
Find and correct the error Say which line first goes wrong, why it is wrong, and then do it correctly. 4 points
Hints
One at a time, each one a step further than the last. Take only as many as you need.
-
Hint 1 of 4
Taking a rule apart is the reverse of building one up, and there is more than one place to cut. Composing a rule with itself is a separate job, and the notation for it shares a symbol with something quite different.
-
Hint 2 of 4 · Part A
Track an input through the rule in order: something linear happens to it, then a power, then a reciprocal. Give each stage its own letter, and confirm the chain by substituting each rule into the next.
-
Hint 3 of 4 · Part B
Two of the three stages in the natural chain can trade places without changing the finished rule, because those two particular operations happen to commute on the numbers that reach them. Try the swap and verify it.
-
Hint 4 of 4 · Part C
Read the superscript as counting how many times the function is applied, then feed the whole rule back into itself. To compare the two functions, set the expressions equal and factor out the term they share.
That is every hint for this question.
Answer and solution
Check your answer first. If it is wrong, go back to your paper: the worked solution will still be here.
The answer
Part A
, , . The chain refuses , the input making , which is exactly the input itself refuses.
Part B
For instance , , rebuilds as well, taking the reciprocal before squaring instead of after. Neither chain has the better claim: both compose back to , so a chain records how you chose to read the rule, not a feature of the rule.
Part C
The line squared the output, computing . Under this lesson's reading , so . The two functions take the same value at exactly two inputs, and .
Not what you got? Look for the slip on your own paper before you open the solution. Finding it yourself is worth more than reading it.
Worked solution
Part A
Follow what happens to an input, in order: it is multiplied by and has subtracted, then the result is squared, then the reciprocal of that is taken. Give each stage a letter:
Check the chain by substituting one rule into the next, working from the right, since the rightmost function acts first:
Now the input the chain refuses. The stages and accept every real number, but refuses , so the chain refuses exactly the inputs that sends to :
That is precisely where itself is undefined, so the chain matches on the set it is defined on as well as in its formula, which is what rebuilding a function asks for.
Part B
Cut the chain somewhere else. Squaring and taking a reciprocal can be done in either order on a nonzero number, since
so the last two stages can trade places:
and indeed , on the same set . A third chain moves a cut on the input side instead, absorbing the multiplication into the first stage:
which rebuilds as well.
None of these has a better claim than the others. Each composes back to on the same domain, which is the only test there is, and they differ only in where the author chose to draw the lines between stages. A decomposition records how a rule was read, not a property the rule itself carries, which is why a question can ask for a valid chain but never for the chain. The first chain is the most natural in the sense that each stage performs one familiar operation in the order you would say them aloud, but natural is not the same as correct, and here every chain listed is correct.
Part C
The quoted line squared the value of . It computed
which multiplies the output of by itself. This lesson reads a superscript on a function name as counting applications of the function, so means , and the entire rule goes back into :
One is linear and one is quadratic, so they are certainly different functions. They do agree somewhere, though, and it is worth knowing where. Setting them equal:
so they agree at , where both give , and at , where both give . Two shared values out of infinitely many inputs, which is exactly why coinciding somewhere is no evidence at all of being the same function.
In one line
with , , , and equally with the last two stages swapped, so neither chain is the decomposition of . Under , , not ; the two agree only at and .
Rubric
Mark your own paper against this. Give yourself the points for each element you actually wrote down, not the ones you meant to.
Part A 4 points
Names three stages that rebuild the given rule when run in order, and verifies the chain by substitution rather than by inspection alone. . Worth 2 points.
States the input the chain refuses and checks it against the domain of itself. . Worth 2 points.
Part B 4 points
Produces a second chain that rebuilds the same rule and differs in where the cuts fall, then verifies it by composing it back. . Worth 2 points.
Delivers a verdict on whether one chain deserves the definite article, and argues it from what a chain does and does not record about the function. . Worth 2 points. needs an explanation, not just an answer
Part C 4 points
Names which of the two readings of the superscript the quoted line carried out. . Worth 1 point.
Correctly computes and simplifies under the lesson's stated convention. . Worth 2 points.
Finds every input at which the two functions take the same value, and reports how many there are. . Worth 1 point.
-
-
5. Enlarging and framing a design . Application, 11 points. Question 5 of 5.
A design program has two commands. Scale multiplies every length in the artwork by . Frame draws a border centimetres wide all the way around whatever is currently on the canvas, adding centimetres to the total width. Scale enlarges everything on the canvas, a frame included.
Write for the width in centimetres of the original artwork, and take the two commands as functions of a width:
- Part A.
Write each of the two possible orders, Scale then Frame and Frame then Scale, as a composition of and , and give a simplified rule in for the finished width in each case.
Model the situation Name your unknown first, then write every other quantity in terms of that one letter. 4 points
- Part B.
The original artwork is centimetres wide. Find the finished width under each order and the difference between them, then say in one sentence what that difference measures on the canvas.
Carry your own answer forward Evaluate whichever two rules you wrote in Part A, even if they are not the intended ones; the credit here is for evaluating YOUR OWN rules and reading the gap between them.
Solve and show your work Write each step out, and end with the value and its units. 3 points
- Part C.
Every transformed graph can be written , whose outer map is . A classmate says the order of the two operations inside that outer map is only a convention, and that writing it as would say the same thing. Decide whether that is right, arguing with this question's two commands, and say also why the input map is written to the right of .
Justify your claim State the claim, then give the reason it has to be true. 4 points
Hints
One at a time, each one a step further than the last. Take only as many as you need.
-
Hint 1 of 4
Each command takes a width and hands back a width, so running the two in a chosen order is a composition. Before writing anything, decide which command acts on the other one's output, and remember that the second command sees whatever the first one left on the canvas.
-
Hint 2 of 4 · Part A
For each order, ask which command the finished width comes out of; that one is the outer function. Then substitute the entire inner rule into it and simplify, distributing where a sum sits inside a multiplication.
-
Hint 3 of 4 · Part B
Send the same starting width through both rules and subtract. To interpret the gap, ask what happens to the border itself in the order where it is drawn before the enlargement runs.
-
Hint 4 of 4 · Part C
Expand the proposed outer map and set it beside the one in the formula, term by term. Then match each of those two forms against one of the two command orders you have already compared numerically.
That is every hint for this question.
Answer and solution
Check your answer first. If it is wrong, go back to your paper: the worked solution will still be here.
The answer
Part A
Scale then Frame is , with . Frame then Scale is , with .
Part B
centimetres running Scale first, centimetres running Frame first, a difference of centimetres. The difference is the extra frame width created by scaling a frame that was already drawn.
Part C
Not right. scales then shifts and shifts then scales; they differ by , which is this question's centimetres, so they give different graphs. The order is forced by non-commutativity. The input map sits to the right because the right-hand function acts first.
Not what you got? Look for the slip on your own paper before you open the solution. Finding it yourself is worth more than reading it.
Worked solution
Part A
Each command takes a width and returns a width, so running one after the other is a composition. The command that runs second is the outer function, because it acts on what the first one produced.
Running Scale first puts inside and outside, which is the composite :
Running Frame first puts inside, and Scale then enlarges everything on the canvas, the new frame included:
The two rules have the same coefficient and different constants, so they are different functions for every . The order of the commands is not a matter of workflow taste: it changes the finished width.
Part B
Put through each rule.
The finished widths are centimetres and centimetres, and
The centimetres is the frame's own growth. Framing first draws a centimetre frame and then lets Scale multiply it by , turning it into centimetres of frame; scaling first leaves the frame at the centimetres it was drawn at. The artwork itself finishes at centimetres under either order, so the entire difference sits in the border.
Part C
The classmate is wrong, and this question is already the counterexample. The outer map scales the output and then shifts it, which is the composite of followed by , exactly the shape of Scale followed by Frame. The proposed alternative shifts and then scales. Expanding it,
which differs from by
That gap is zero only when or , which is to say only when one of the two operations does nothing at all. With this question's numbers, and , the gap is , the same centimetres separating the two orders in Part B. Two different outer maps produce two different final rules, so for the same and the two formulas describe different graphs.
The order inside the master formula is therefore forced rather than chosen. The formula commits to scaling the output first and shifting it second, and shifting first is a genuinely different function, so the two cannot be swapped for free. Non-commutativity is the entire reason the formula has to fix an order at all, and the same reason lies behind every warning that stretching then shifting differs from shifting then stretching.
The input map is written to the right of for the reading rule that governs the whole lesson. In
the rightmost function acts first, so changes the input before ever sees it, which is precisely the job does inside the parentheses.
In one line
Scale then Frame gives and Frame then Scale gives ; at those are and centimetres, a gap of . In general and differ by , so the order inside is forced by non-commutativity, and sits to the right of because the right-hand function acts first.
Rubric
Mark your own paper against this. Give yourself the points for each element you actually wrote down, not the ones you meant to.
Part A 4 points
Writes each of the two orders as a composition of the two named commands, assigning the inner and outer roles rather than guessing at them. . Worth 2 points.
Simplifies the Scale-first composite to a single rule in the original width. . Worth 1 point.
Simplifies the Frame-first composite to a single rule in the original width, expanding the outer command correctly. . Worth 1 point.
Part B 3 points
Evaluates both rules at the given original width. . Worth 1 point.
Reports both finished widths and their difference in centimetres. . Worth 1 point.
Says what the difference corresponds to on the canvas, rather than leaving it as a bare number. . Worth 1 point.
Part C 4 points
Expands the proposed alternative outer map and compares it term by term with the one in the transformation formula. . Worth 2 points.
Delivers a verdict on the convention claim, ties it to the law of composition responsible, and says why the input map is written where it is. . Worth 2 points. needs an explanation, not just an answer
-