Last week you met one function at a time. A business never has one. It has a rent bill, a bean bill and a payroll β three functions β and the number the board actually asks about, profit, is not measured anywhere: it is assembled out of the others. This week is the arithmetic that assembles it.
Six ways to put functions together, and each one answers a different kind of question. Add them and you get a total. Subtract and you get a margin. Multiply and you get revenue. Divide and you get a per-unit figure. Chain them and you follow a business process end to end. Run one backwards and you answer the question management actually asked: not "what happens if?" but "what do we need to do?"
The session is three hours in two parts. Part 1 (~1 h 15) is the lesson: your instructor presents the deck and you follow the same numbered sections here β every slide names its section. Part 2 is eight exercises worked together, given on the slides and as forms below; solutions open as your instructor reveals them.
XY Coffee's roastery reports its costs in three separate lines, because three different departments own them. Write q for the daily production, in thousands of coffee doses:
Nobody in the building has "total cost" on their desk. It does not exist as a measurement β it exists as an operation performed on three things that do:
Last week: what does this one relationship say? This week: what do I get when I put two relationships together?
XY Coffee sells a thousand doses for CHF 800, so revenue is R(q) = 800q. Click along the strip to build the answer one operation at a time; the graph redraws at each step.
Two things are worth saying out loud about that last curve, because they are not obvious from the algebra:
Every line below is a real business quantity, and every one of them is made out of simpler ones. Name the operation. Getting this reflex is most of what section 2.2 is for β and it is what makes an exam question readable before you have written anything.
A retail company wants to know what its online channel earns. It records three things every day: the number of website visits V, the conversion rate C (the fraction of visits that become a purchase), and the average transaction value T.
Notice what is not in that formula: revenue. It is never measured. Three things are measured, and revenue is the thing you build by combining them β which is exactly Theo's question about profit, in a different company.
Let f and g be two functions defined on the same domain A. Then:
Two more you will use constantly, and which are really special cases:
The deck's worked example is f(x) = 3x β 1 and g(x) = xΒ² + 3x. Here it is live, along with XY Coffee's own pair. Change the operation and see what happens to the shape, not just the symbols β that is what you are actually being asked to learn.
| x | f(x) | g(x) | result |
|---|
The deck's example worked out in full, so you can check yourself against it:
This is the part the printed definition puts in six words β "defined on the same domain A" β and the part the exam actually tests.
And watch what that quotient does as production falls. At 60 thousand doses average cost is CHF 666.67 per thousand; at 40, CHF 650; at 20, CHF 800. It falls, bottoms out, then climbs β because the fixed CHF 10Β 000 is being spread over more and more units while the salaries term climbs to meet it. That U-shape is the single most examined curve of the fall semester, and you have now built it out of an addition and a division.
The rectangular coordinate system gives you a geometric way to look at an equation in two variables. Two of its points have names, because two of them get asked about constantly:
Worked, exactly as the deck does it. For y = 2x + 3:
Sketch it and it is a vertical line through 3. It crosses the x-axis at (3, 0). Does it cross the y-axis? No β and it cannot. The y-axis is the set of points where x = 0, and on this graph x is 3 everywhere. There is no point with x = 0 on it at all.
| x | 3 | 3 | 3 |
|---|---|---|---|
| y | 0 | 3 | β2 |
Two things fall out of this small example, and both matter more than it looks:
The finance team models the roastery's cash balance, in thousands of francs, t months from now, as K(t) = 2tΒ² β 24t + 54. Every intercept on that curve is a date on somebody's calendar. Find them.
You can usually tell by looking. A cubic with no constant term has a root at zero; a sum of a square and a positive number never reaches zero at all; a downward parabola whose peak is above the axis crosses twice. Use the discriminant and the shape, not the calculator.
XY Coffee measures two things, in two different departments, and neither of them is the answer.
Marketing's question is revenue as a function of advertising spend. That function is not measured anywhere, because no department sits at both ends of the chain. You build it by feeding one machine into the other:
That function has a name: the composite, or composition, of R and N.
Feed in an advertising budget. The middle box shows you the part nobody usually sees β the number of customers β which is the value the whole chain hinges on and the one a single formula hides.
For functions f : X β Y and g : Y β Z, the composite of f with g is the function g β f : X β Z defined by
...and the domain of g β f is the set of those x in the domain of f such that f(x) is in the domain of g.
Worked, as in the deck. With F(p) = pΒ² + 4p β 3 and G(p) = 2p + 1:
A wholesale customer orders CHF 240 of beans. There is a 10% trade discount, d(x) = 0.9x, and a flat delivery charge, v(x) = x + 20. Both will be applied. Nobody has said in which order β and the contract does not say either.
The gap is CHF 2.00, and it is not arbitrary: it is exactly 10% of the delivery fee. Discount the goods only, and the fee escapes the discount. Discount the total, and it does not. Two francs on a 240-franc order is small; the same clause on a contract with a CHF 4Β 000 freight charge is CHF 400 a shipment, and it is the kind of thing that gets argued about in a room with lawyers in it.
Define the identity function Id : X β X by Id(x) = x β the machine that gives you back exactly what you put in. Then for any function f:
XY Coffee's daily demand for coffee doses, as a function of the retail price p in francs, is:
Put a price in, get a quantity out. Jane has a quantity and wants a price. There is no second model to build β the relationship between price and quantity is already there, and it is a one-to-one relationship. What is needed is to read it the other way round, and reading it the other way round is algebra:
So the inverse, which is the price as a function of quantity, is
And the two functions, stated formally, are mirror images of each other in what they take and what they give:
Drag the price. The blue curve reads it forwards; the red one is the same relationship read backwards. Every point on one has a twin on the other with its coordinates swapped β which is exactly what reflecting in y = x does.
Geometrically, fβ»ΒΉ is the mirror image of f in the identity line y = x β which is the picture above, and the reason the picture is worth drawing.
The proof that they really are inverses is a composition. This is the standard exam request β "show that P is the inverse of Q" β and it is done by computing P β Q and getting p back:
An inverse exists exactly when no two inputs share an output β otherwise the backwards machine would have to return two answers at once, and that is not a function. On a graph it is the horizontal line test: if any horizontal line meets the curve twice, there is no inverse.
Week 1 introduced them as a story: exponentials answer "where will we be in a year?", logarithms answer "when will we get there?". That story is right, and section 2.5 has just given you the machinery to say what it actually means:
And one more that will do a lot of work from Week 5 onwards:
Reading a list of rules teaches nobody anything. Click each one and it is applied to actual numbers, both sides worked out separately, so you can see that the two sides really are the same β and, for the ones written as traps, that they are not.
These are the deck's own examples. The technique is always the same and always worth saying out loud: work from the outside in for writing a log in simpler terms, and from the inside out for evaluating one.
Six lines. Three are genuine rules and three are the near-misses that cost marks. Decide before you test β and if you are unsure, the trick above (try it on numbers you know) is exactly what you should be doing in the exam.
The second half of the session is the eight exercises below, done as a class. They follow the six lesson sections in order β assemble, combine, read the crossings, chain, invert, and grow β and the last one puts all of it back together.
Each card shows a piece of notation and what it is constantly mistaken for β the trap. Tap to flip it to what it actually means. Not scored; it is here because this week's errors are almost all reading errors rather than arithmetic ones.
The first four are the review quiz exactly as it is printed for Session 2 β same questions, same five options each, right down to "None of the above". The eight after them are this site's addition: the same mathematics, asked the way the midterm asks it.
One attempt per question, every answer explained. Your score syncs to your instructor's dashboard as a self-check but does not count toward your grade β the review quizzes never do. What they do is tell your instructor, before the next session, which idea did not land.
Every operation you met this week exists because a business asks a particular kind of question. This is the table to have in your head when an exam question arrives and you do not yet know what to do with it.
Notice that the last two are the ones that are genuinely new. Adding and multiplying functions is arithmetic you have done since school, wearing a new hat. Composition and inversion are new ideas, and they are the two that Week 5 (the chain rule) and the whole of the spring semester (discounting, which is compounding inverted) are built on.
In Week 3 you take the two shapes you have used most this week β the line and the parabola β and study them properly: slope as a rate of change, demand and supply as lines that cross, break-even and market equilibrium as systems of equations. Do the Week 2 homework first: twelve problems from the printed sheet, by hand, with a calculator. It is not graded and it is the best two hours you will spend this week.