You are the new junior analyst. Six years ago Theo sold roasted beans from one market stall; today the company roasts, ships, runs cafés and sells subscriptions through an app — and it is drowning in questions it cannot answer by instinct. What price maximises profit? Which customers matter? Is the new roastery worth building?
Your manager is Jane, Head of Insights. She believes every important business question is secretly a quantitative question, and that your value to this company is the ability to translate one into the other. This week you learn the translation: what a function is, what it is for, and the algebra you need to handle one without fear.
1Why numbersa decision you can defend beats an opinion you can only assert
2Read the symbolswhat each sign means, and why it was invented at all
3Get the algebra backone unknown, two unknowns, squared unknowns
4What a function isa rule that turns one business quantity into another
5The libraryseven shapes, and the business behaviour each one describes
6Growthexponentials, logarithms, and money that earns money
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.
🏫 In class: 3 h · lesson, then exercises · bring this page open and a calculator📖 Reading: McAfee & Brynjolfsson, "Big Data: The Management Revolution" (HBR, 2012)▶ The Lecture button (top-right) shows the deck we use in class
By the end of Fall Week 1 you will be able to
Say why numbers drive decisions in a business, and name the five steps of the modelling cycle: question → model → data → answer → decision.
Explain every symbol this session uses — what it means, why it was invented, and what goes wrong when it is misread.
Solve a first-order equation, a system of two linear equations (both methods) and a second-order equation — and say where b² − 4ac comes from and why its sign decides how many answers exist.
Define a function, and move fluently between its four representations: words, table, graph, formula.
Find the domain of a function — and say what the business domain is, which is usually narrower than the mathematical one.
Recognise the seven families in the function library, and say what business behaviour each one is the natural description of.
Use exponentials and logarithms: compound an amount forward, and solve for the time that gets you there.
Resources — tick them off as you go
✓Lecture deck — the ▶ Lecture button above; presented in class in Week 1. Print it to PDF from inside the deck if you want it on paper.
✓Reading: McAfee & Brynjolfsson, "Big Data: The Management Revolution", Harvard Business Review, October 2012 — on Cyberlearn. Twelve pages; read it after section 1.1, and it will read very differently.
✓Leveling Up on Cyberlearn — videos, a self-test quiz and a blank HES-SO entry exam. Voluntary, and the single best use of your first fortnight if the algebra in section 1.3 felt rusty.
✓Part 2 · the exercise set — eight exercises done with your instructor in the second half of the session. Section 1.8 below.
✓Week 1 homework — the ten problems from the printed sheet, with hints and full worked solutions. Not graded; it is how you find out whether the lesson stuck.
Sections 1.3 and 1.4 are revision — pre-algebra and pre-calculus are the prerequisite for this course, and this is the session where you find out honestly whether you have it. Nothing is being taught for the first time there. Everything from 1.5 onwards is new.
"Welcome. Before you touch a spreadsheet, understand what I am paying you for. Everyone in this building has an opinion about the price of a bag of beans. You are the one person whose job is to turn that argument into a number the board can act on — and to be honest about how sure you are."
Jane · Head of Insights, XY Coffee Co.
The situation
Four people, four opinions, one price. Nobody can prove anything.
Theo wants to raise the price of the house blend from CHF 4.50 to CHF 5.00. He says customers are loyal and nobody will notice. The café manager says she will lose a third of the morning queue. Marketing says raise it to 5.50 and make it a premium product. The accountant just wants the margin.
All four arguments are plausible. None of them is checkable. That is the entire problem, and it has a shape: they are arguing about a relationship — how does the number of cups sold change when the price changes? — without ever writing that relationship down.
A quantitative method is a way of writing a business relationship down so that it can be argued with.
That is all it is. Not maths for its own sake. The formula is only ever a sentence in a shorter language. "Every 50 centimes on the price costs us about 120 morning cups" is a sentence; q = 1 200 − 240p is the same sentence, written so you can do something with it.
The five steps
Every piece of analysis in this course follows the same loop.
It is worth learning by name in week one, because for the rest of the year you will always be standing at one of these five points — and most of the confusion students feel comes from not knowing which one.
The modelling cycle · click a step
Click each of the five. They must all be visited before the section counts as done.
Model vs data — the distinction Jane will test you on
A model is what you assume. Data is what you observed. Confusing them is the expensive mistake.
Both semesters of this module divide cleanly along this line, and it is worth seeing now:
The model half — calculus, financial mathematics, probability, matrices. You write down a relationship and then reason about it: where is profit highest, what is this project worth today, how likely is a bad quarter. The reasoning is exact; the assumption is the risky part.
The data half — descriptive statistics and forecasting. You measure what actually happened and summarise it honestly. The measurement is the solid part; the generalisation is the risky part.
A model with no data is a daydream in algebra. Data with no model is a pile of numbers nobody can decide anything from. The job is both, which is why this module teaches both, in that order.
On the coffee → "Every 50 centimes costs us 120 cups" is a model. Last Tuesday's till receipts are data. Until somebody puts the receipts against the model, the price meeting is just four people talking.
Try it
Which step of the cycle is this?
Each line below is something a real person says in a real meeting. Put it at the right point of the loop. Getting this reflex is worth more than it looks: in a meeting, the useful contribution is usually naming which step everyone has skipped.
Question · Model · Data · Answer · Decision
Section 1.2 · What the symbols mean
What the symbols actually mean
Before any algebra
Nobody is born knowing what Δ means.
Every symbol in mathematics was invented by somebody, to solve a specific problem. None of them is arbitrary, and none of them is obvious. You are about to meet about thirty of them in one afternoon, which is a lot — and it is the real reason a page of algebra feels impenetrable.
The usual advice is "learn the notation". That is not advice, it is a restatement of the problem. What actually makes a symbol stick is knowing what job it does and why it was needed. Once you know that √ cannot take a negative because squaring always produces a positive, you never have to memorise the three cases of the discriminant — you can work them out.
A symbol you understand is a symbol you can rebuild. A symbol you memorised is one you will lose by November.
Why this is not a detour → The formulas in this session are short. Almost every mark lost on them this year will be lost to a misread symbol — a ≥ taken as >, a missing bracket, a denominator divided into only half of itself. Not to difficult mathematics. Getting the symbols straight is the single highest-return hour in the course.
Try it · the decoder
Every symbol in today's session — what it means, and why it exists.
Click any symbol. Each gives you three things: what it does, why it was invented, and what goes wrong if you misread it. You are not memorising a table — you are making sure none of these can surprise you when it turns up in twenty minutes.
The symbol decoder
Open at least one symbol in every group to complete this section.
Try it · take a formula apart
A formula is a mechanism. Every part is doing a job.
Below are formulas you will meet today. Step through one and each part tells you what it contributes — and what it costs you to get that part wrong. Most wrong answers in this course come from one misread part, not from bad arithmetic.
What each part is doing
Pick a formula and step through its parts.
Why letters at all?
Because the rule has to work for a number you have not been given yet.
This is the question first-year students ask and almost never get answered. Why not just use numbers?
Because a rule is worth more than an answer. "Our café costs CHF 5 400 on a 1 200-cup day" is an answer — one fact, useful once. C(q) = 3 240 + 1.80q is a rule: it answers the same question for every possible day, including the days that have not happened. The letter q is not a mystery to be solved. It is a gap left deliberately open, so that you can fill it with whatever number turns up.
Some letters are things you choose or observe — q for quantity, p for price, t for time, n for a count. They are chosen as reminders, not at random.
Some letters are fixed numbers you have not been told — the a, b, c in ax² + bx + c. They stand still while x varies. These are called coefficients or parameters, and confusing them with the variable is the single most common source of "I don't know where to start".
Some letters are specific numbers with names — e is 2.71828…, exactly as π is 3.14159…. It is not an unknown. It is a number whose decimal expansion is a nuisance to write.
The habit that saves youBefore computing anything, write down what each letter is, with its unit, in the margin: "q = tonnes roasted per day". Ten seconds. It is the difference between doing algebra and doing business — and in an exam it is the difference between a wrong answer and a wrong answer that still earns marks for method.
Three habits that prevent most errors
Not talent. Procedure.
Name every letter first
With its unit. q = tonnes per day, not just "q". Most "I got a weird answer" moments are a units problem wearing a disguise.
Substitute inside brackets — always
To find G(−1) where G(x) = 3 − x², write 3 − (−1)², never 3 − −1². The brackets are not decoration: (−1)² = +1, and without them you will compute 3 − 1 = 2 by luck or 3 + 1 = 4 by accident. You meet exactly this in homework 1.5.
Put the answer back into the original line
You solved 3x + 1 = 5x + 7 and got x = −3? Then check: 3(−3) + 1 = −8 and 5(−3) + 7 = −8. Equal, so you are right. Five seconds, and it catches nearly every sign error you will make this year. Do it in the exam.
Section 1.3 · Leveling up I
One unknown, then two
Why we start here
This section teaches nothing new. It is a check-up.
Pre-algebra is the stated prerequisite for this course. Everything below you have seen at school — but "seen at school" and "can do it under time pressure in November" are different things, and the gap between them is the single commonest reason a student loses this module. Find out now, while it costs you nothing.
If any of it is uncomfortable, the Leveling Up module on Cyberlearn — videos, a self-test quiz and a blank HES-SO entry exam — is voluntary and is the best fortnight you will spend on this course.
First-order equations
One unknown, one power of it, one answer.
Let a, b ∈ ℝ with a ≠ 0. The first-order (or linear) equation is
ax + b = 0 ⟹ x = − b ⁄ a
🔍a is a rate — how much changes per unit of x. b is a starting level. = 0 is the question: at what x does this vanish? Set the right-hand side to a target instead of zero and the same algebra answers a target-profit question. The ⟹ is one-way: the second line follows from the first.
The condition a ≠ 0 is not pedantry. If a = 0 the x disappears and you are left with b = 0, which is either true for every x or for none — and in a business model that is exactly the signal that the quantity you are solving for has no effect on the thing you are measuring. Worth recognising rather than panicking at.
3x + 1 = 5x + 7the example from the deck
3x − 5x = 7 − 1unknowns left, numbers right
−2x = 6collect
x = −3divide by −2
Two more, for the reflex: 5x − 45 = 0 ⟹ x = 9, and 4x + 7 = 2x − 5 ⟹ 2x = −12 ⟹ x = −6. Always substitute your answer back into the original line — it takes five seconds and catches most sign errors.
Solve it live · drag the coefficients
Solving ax + b = cx + d is finding where two straight lines cross. Set a = c and watch the answer disappear.
On the coffee → "At what volume does the new roaster stop costing us money?" is ax + b = cx + d with the old cost on one side and the new one on the other. Every break-even question in business is this shape.
Two unknowns · systems of linear equations
Two facts, two unknowns. Two ways to unpick them.
One equation with two unknowns has infinitely many answers. Add a second independent equation and the answer is usually pinned to one point. Take the system from the deck:
2x + y = 18 · −x + 5y = 2
🔍The words doing the work are and at the same time. Either equation alone has infinitely many answers; together they usually pin one point. That is what makes it a system rather than two separate equations — and why the answer is where two lines cross.
Method 1 · elimination
−2x + 10y = 4×2 on the second
11y = 22add the two
y = 2, x = 8back-substitute
Scale one equation so that adding them kills a variable. Fast when the coefficients are friendly.
Method 2 · substitution
x = 5y − 2extract x from the second
2(5y − 2) + y = 18put it into the first
11y = 22 ⟹ y = 2, x = 8same answer
Isolate one variable and push it into the other equation. Better when something already has a coefficient of 1.
The same answer, twice. That is the point of showing both: methods are tools, not rules. Pick the one that makes the arithmetic ugly-free. And there is a third reading — graphically, the solution is where the two lines cross, which is why "simultaneous equations" and "break-even point" turn out to be the same picture.
XY Coffee · a real system
Last week the roastery sold 500 kg in total across two blends and took CHF 10 800. Espresso blend goes out at 24 CHF/kg, filter blend at 18 CHF/kg. Jane wants the split. Type the two numbers; the system is solved live below.
espresso, kg
filter, kg
Two facts, two unknowns: e + f = 500 and 24e + 18f = 10 800.
Break-even · the first real business answer of the year
The Anderson Company
Straight from the deck, because it is the archetype of everything in the fall semester: variable cost per unit CHF 6, fixed cost CHF 80 000, selling price CHF 10. How many units must be sold to earn a profit of CHF 60 000?
C(q) = 6q + 80 000total cost = variable + fixed
R(q) = 10qtotal revenue
P(q) = R(q) − C(q) = 4q − 80 000profit; the 4 is the contribution margin
60 000 = 4q − 80 000set profit to the target
q = 35 000 units140 000 ⁄ 4
Notice the number that is doing the work: CHF 4, the gap between price and variable cost. Every unit you sell contributes exactly 4 francs toward the fixed costs, and once those are paid, toward profit. So break-even — profit zero — is 80 000 ⁄ 4 = 20 000 units, and every unit after that is 4 francs of profit. One number, two answers.
The break-even lab · XY Coffee's café
—
contribution per cup
—
cups to break even
—
profit at 1 500 cups
Drag the price down toward the variable cost and watch break-even run away to infinity — that is a business with no contribution margin, and no volume can save it.
The trapStudents answer "break-even" when the question asked for a target profit, and vice versa. Break-even is P(q) = 0. A target is P(q) = T. Same equation, different right-hand side — read the question twice.
Section 1.4 · Leveling up II
When the unknown is squared
Why a business ever meets a square
Because revenue is price × quantity, and quantity depends on price.
Raise the price and you earn more per cup but sell fewer. Revenue is the product of the two, so if quantity falls in a straight line with price, revenue is price × (a straight line in price) — and a straight line multiplied by a straight line is a parabola. That is where the squared term comes from, and it is why revenue has a peak rather than rising forever.
On the coffee → Jane's demand estimate for the house blend: q = 900 − 60p cups a day. Then R(p) = p(900 − 60p) = 900p − 60p². Theo's instinct — "charge more, earn more" — is true only on the left half of that curve.
Second-order equations
The discriminant tells you how many answers exist before you find them.
For ax² + bx + c = 0, define the discriminantΔ = b² − 4ac. Then:
Δ = 0 — one solution: x₁ = −b ⁄ 2a. The curve touches the axis instead of crossing it.
Δ < 0 — no solution in ℝ. The curve never reaches the axis at all.
Δ < 0 is not a failure. It is an answer: "the thing you asked for cannot happen."
If you set profit equal to a target and get Δ < 0, the honest report to Jane is "at no price whatsoever does this product hit that target" — and that is far more useful than a number would have been.
Where does b² − 4ac come from?
Nobody invented it out of nowhere. Watch it appear.
This is the formula students most often memorise without ever being shown, and memorising it is exactly why it slips away by November. It takes four minutes to derive, and afterwards you can rebuild it if you forget it.
The problem. We can solve x² = 9 instantly — x = ±3. We cannot solve x² + 6x + 5 = 0 the same way, because x turns up twice and there is nothing to take a root of. So the whole trick is: rewrite it so that x appears only once, inside a square. That move has a name — completing the square.
With numbers first, so you can see it work:
x² + 6x + 5 = 0
x appears twice. Stuck.
(x + 3)² = x² + 6x + 9
Take half of the 6, which is 3, and square the bracket. It gives us the x² + 6x we want — plus an unwanted 9.
x² + 6x = (x + 3)² − 9
So subtract the 9 back off. Now the two x terms are one squared bracket.
Now the identical moves with letters instead of numbers. Nothing new happens — it is the same five steps, and the formula falls out at the end:
ax² + bx + c = 0
the general case
x² + (b⁄a)x + c⁄a = 0
divide everything by a, so the square term is clean. This is why a ≠ 0 matters — we just divided by it.
(x + b⁄2a)² − b²⁄4a² + c⁄a = 0
half of b⁄a is b⁄2a; square the bracket and subtract the surplus, exactly as with the numbers
(x + b⁄2a)² = (b² − 4ac) ⁄ 4a²
There it is. Put the two right-hand fractions over one denominator and b² − 4ac appears on top, without being asked for.
x = (−b ± √(b² − 4ac)) ⁄ 2a
take the square root of both sides, then move the b⁄2a across
Δ is simply the thing that ends up under the square root. That is the whole story.
And the name → "discriminant" is from the Latin discriminare, to tell apart — the same root as "discriminate". It is the number that tells the three cases apart. Naming it was a convenience, not a discovery.
So why does its sign decide everything?
Because of one fact about square roots, and nothing else.
Look at where Δ sits: under a √, immediately after a ±. Every one of the three cases is a fact about that square root:
Δ > 0 — the root is a real, non-zero number. The ± then adds it once and subtracts it once, giving two different answers.
Δ = 0 — the root is zero. Adding and subtracting zero does nothing, so the ± collapses and there is one answer.
Δ < 0 — you are being asked for the square root of a negative number. There isn't one. Any real number times itself is positive (a negative times a negative is positive), so nothing squared can give −11. No answer.
That last one is worth dwelling on, because students meet it and assume they have made a mistake. They have not. The mathematics is telling them something true: there is no value of x that does what you asked.
Say it as a sentence, not as a shrug"The discriminant is negative, so this target cannot be reached at any price — the cost structure would have to change first." That is a finished piece of analysis. Writing "no solution" and stopping is not, and it is worth about half the marks.
One more thing Δ is quietly telling you
It measures how far apart the two answers are.
Read the formula once more: x = −b⁄2a ± √Δ ⁄ 2a. The two roots sit symmetrically either side of −b⁄2a — which is the vertex — at a distance of √Δ ⁄ 2a each. So the gap between the two answers is
gap = √Δ ⁄ |a|
🔍Read it as what it measures: the bigger the discriminant, the further apart the two answers sit. |a| is the size of a regardless of sign, because a distance cannot be negative.
Check it on the example below: 3x² + 3x − 18 has Δ = 225 and a = 3, so the gap should be 15 ⁄ 3 = 5. The roots are 2 and −3, which are indeed 5 apart. ✓
That makes the three cases one continuous story rather than three rules: as Δ shrinks toward zero the two answers slide together; at zero they collide; below zero they have nothing left to do but leave the real line entirely.
Why an analyst cares → Two prices that both hit a revenue target, five francs apart, is a comfortable position — anywhere between them beats the target. Two prices ten centimes apart is a knife edge you will miss in practice. Δ is a measure of how much room you have, and that is a business fact, not a mathematical one.
The three worked examples
One of each case.
3x² + 3x − 18 = 0Δ = 3² − 4·3·(−18) = 225 > 0
x = (−3 ± 15) ⁄ 6√225 = 15
x = 2 or x = −3two solutions
Or see it: 3x² + 3x − 18 = 3(x² + x − 6) = 3(x + 3)(x − 2). Factoring is faster when it works; the formula always works. Learn both, use whichever the numbers invite.
x² − 10x + 25 = 0Δ = (−10)² − 4·1·25 = 0
x = 10 ⁄ 2 = 5one solution — and x² − 10x + 25 = (x − 5)²
x² + x + 3 = 0Δ = 1 − 12 = −11 < 0
no solution in ℝthe parabola floats above the axis
Try it · move the parabola, watch Δ
The discriminant is the picture, in one number.
Δ = b² − 4ac
—
Δ
—
solutions
—
vertex (the peak or the floor)
Set a = 0 and the curve straightens into a line — a first-order equation is the a = 0 case of a second-order one.
The vertex sits at x = −b ⁄ 2a, exactly halfway between the two roots. In Week 8 you will find that same point with a derivative and it will feel like a new idea; it is not. It is this.
Back to the coffee
Two prices give the same revenue. Only one of them is the one you want.
With R(p) = 900p − 60p², ask Jane's actual question: at what price does the house blend bring in CHF 3 000 a day?
900p − 60p² = 3 000set revenue to the target
p² − 15p + 50 = 0÷(−60), tidy up
Δ = 225 − 200 = 25two solutions
p = 5.00 or p = 10.00(15 ± 5) ⁄ 2
CHF 5 sells 600 cups. CHF 10 sells 300 cups. Same revenue, half the cups — and half the cups means half the milk, half the staff hours and half the queue. Revenue was the wrong target; profit is the right one, and that is Week 8. But notice that the algebra already handed you the business insight: two answers, and the difference between them is the whole decision.
For the record, the revenue peak is at the vertex, p = 900 ⁄ 120 = 7.50, giving R = CHF 3 375 on 450 cups — the most money this curve can produce, and still not necessarily the price you should charge.
Section 1.5 · Functions
What a function actually is
J
"I do not want to know what it cost us to roast forty tonnes. I want a rule that tells me what it will cost to roast any tonnage, including the one we have not tried yet. Give me the rule and I can plan. Give me one number and I can only remember."
Jane · on why a table is not enough
A first case
Advertising money in, sales out.
A small online retailer wants to know whether its marketing works. It records, for twelve months, what it spent on advertising and what it sold. Now it wants a mathematical model of the relationship between advertising spend and sales.
That relationship is a function: a rule that maps inputs to outputs. Here the inputs are the advertising expenses and the outputs are the corresponding sales figures. Once the relationship is written as a function, a question that was unanswerable — "what if we spent CHF 20 000 next month?" — becomes arithmetic.
A function is a machine: one input goes in, at most one output comes out, every single time.
The "at most one" is the whole definition and the only part people get wrong. A rule that returns two different sales figures for the same advertising spend is not a function — it is a contradiction, and a model containing one cannot be used to decide anything.
XY Coffee's production cost function
The roastery: maximum 100 tonnes a day, and a cost for every tonnage.
Here is the real table the deck uses. Click any row and read what it is telling you as an analyst rather than as a bookkeeper.
Production costs · click a row
Quantity q (tonnes)
Total cost C (CHF)
Average cost C/q
Extra cost of the last tonne
Read a row
Click any quantity above.
The chart marks it. The two right-hand columns are not in the original table — an analyst adds them, and they are where the decision lives.
0 of 8 rows read · read at least four to complete this section.
Three things fall straight out of that table, and none of them is visible in the raw cost column:
Producing nothing costs CHF 500. That is the fixed cost: rent and standing charges that do not care whether the roaster runs.
The cheapest coffee is not the smallest batch. Average cost falls from CHF 705/t at 20 tonnes to about CHF 528/t at 60 tonnes, then climbs to CHF 1 005/t at 100. There is a sweet spot, and finding it is what the whole calculus block is for.
The last tonne is the expensive one. Going from 60 to 61 tonnes adds CHF 776 — far more than the average. Push a machine toward its limit and each extra unit costs more than the last. That "extra cost of one more" is marginal cost, and it is the single most important idea in the fall semester (Week 4).
The formal definition, now that you have seen the point of it
Domain, range, and the two words for the two sides.
A function f : X → Y is a rule that assigns to each element x ∈ Xat most one element of Y. The value assigned to x is written f(x). The subset of X for which f(x) is defined is the domain; the set of values of the form f(x) is the range.
C : A → B · q ↦ C(q) — for the roastery, A = [0; 100] and B = [500; 100 500]
🔍Two different arrows, deliberately. → is about the whole sets — costs come out in francs. ↦ is about one case — 60 tonnes becomes CHF 31 700. And [0; 100] uses square brackets, so both ends are attainable: the plant can run at exactly 100 tonnes, or at nothing at all.
x is the input, or independent variable — the thing you choose. How much to produce. What to charge.
y = f(x) is the output, or dependent variable — the thing that follows. The cost. The revenue.
Which is which is a modelling decision, not a mathematical one, and getting it backwards is a real error: cost depends on quantity, so quantity is the input. Write q(C) and you have claimed that your cost decides your output, which is a strange business to be in.
The four representations
One function, four languages. You must be fluent in all four.
The exam asks you to move between them; so does every meeting you will ever sit in.
Words
"Every cup costs us CHF 1.80 in beans, milk and cup, on top of CHF 3 240 of fixed costs a day."
A straight line starting at 3 240 on the vertical axis, climbing 1.80 for every cup to the right.
Each one hides something the others show. The formula hides the size of the numbers; the table hides the pattern between rows; the graph hides precision; the words hide everything you have not thought to say. Analysts who work in only one representation make predictable mistakes.
The function machine · feed it a number
500
in
—
the rule
—
out
Same machine, one number at a time. Notice that no input ever produces two outputs — that is what makes it a function.
Finding the domain
Two things break a formula, and one thing breaks a business model.
Mathematically, only a short list of operations can fail. At this level there are two: you cannot divide by zero, and (from Week 2) you cannot take a logarithm or an even root of a negative number. So finding the domain means finding the x that would make the formula misbehave, and excluding exactly those.
f(x) = x ⁄ (x − 2)when is the denominator zero?
x − 2 = 0 ⟹ x = 2the one offender
domain = ℝ \ {2}"all reals except 2"
f(x) = x ⁄ (x² − x − 2)a quadratic denominator — so use §1.4
x² − x − 2 = (x − 2)(x + 1) = 0Δ = 1 + 8 = 9
domain = ℝ \ {2, −1}two offenders this time
Three more for the reflex, and they are exactly the shape the quiz will use: 2x ⁄ (x + 3) ⟹ ℝ \ {−3} · 2x ⁄ (x² − 9x + 14) ⟹ ℝ \ {2, 7} · (x + 5) ⁄ (x² − 5x − 6) ⟹ ℝ \ {6, −1}.
The sign trap that costs the most marksThe denominator x + 3 vanishes at x = −3, not at x = +3. Every year, a large share of the class writes ℝ \ {3}. Set the denominator equal to zero and solve it — never read the sign off the formula.
Domain detective
The business domain is narrower — always
Mathematics allows q = −300 tonnes. Your roastery does not.
The cost function C(q) = 3 240 + 1.80q is mathematically defined for every real q, including negative and absurd ones. But the roastery holds 100 tonnes a day and you cannot produce a negative amount, so the domain that means anything is [0; 100].
Stating that restriction is part of the answer, not decoration. An analyst who reports "profit is maximised at 140 tonnes" for a plant that holds 100 has not made an arithmetic mistake — they have made a modelling mistake, which is worse, because the arithmetic will be right all the way to the board meeting.
Say it like this → "On the feasible range of 0 to 100 tonnes, average cost is lowest at about 60 tonnes." The clause before the comma is what makes the sentence honest.
Section 1.6 · The library
Seven shapes, seven business behaviours
Why bother naming families
Because the shape is the claim you are making about the business.
When you choose to model sales as a straight line, you have claimed that the tenth franc of advertising buys exactly as much as the thousandth. When you choose an exponential, you have claimed growth compounds. When you choose a parabola, you have claimed there is a peak. Nobody argues with your arithmetic; they argue with your shape — and they are right to.
So the library below is not vocabulary to memorise. It is a menu of claims, and knowing what each one commits you to is the difference between modelling and decorating.
The library · pick a family
Each one drawn, defined, and translated into what it says about a company.
Seven families
0 of 7 opened · open them all to complete this section.
The two that need a second look
Absolute value, and functions defined case by case.
The absolute-value function is defined in two pieces:
|x| = x if x ≥ 0 · |x| = −x if x < 0
🔍Two rules, and the ≥ versus < is what makes them meet exactly once: zero uses the first. The simpler reading of the whole thing: |x| is the distance from x to zero — size kept, direction discarded, which is exactly what you want when measuring an error.
It behaves differently on ℝ⁺ and ℝ⁻, which is exactly why it is useful: it measures size regardless of direction. A forecast error of −200 cups and one of +200 cups are equally wrong, and |actual − forecast| says so. Average that over a year and you have the mean absolute error, which is how forecasts are graded in industry — and in the spring semester.
A case-defined function (also "piecewise") uses different rules on different parts of the domain. Business is full of them, because business is full of thresholds: volume discounts, tax brackets, overtime rates, shipping tiers, bonus schemes.
f(x) = x if 0 ≤ x < 3 · x − 1 if 3 ≤ x < 5 · 4 if 5 ≤ x < 7
🔍Each ≤ includes its end and each < excludes it — which is how three rules cover the whole domain without ever overlapping or leaving a gap. Get one of those signs wrong and some value of x either has two answers or none, and the thing stops being a function at all.
That is the deck's example: its domain is 0 ≤ x ≤ 7, its range 0 ≤ y ≤ 4, and its graph jumps at x = 3 — the open circle marks the value the function does not take.
Try it · the threshold that pays you to buy more
A group books theatre tickets. Under 12 people: CHF 9.50 each. Twelve or more: CHF 8.75 each.
Write it as a case-defined function and something strange appears.
Total cost of n tickets
9.50
rate per ticket
104.50
total cost, CHF
—
cost of the nth ticket
Slide to 12 and read the third box carefully.
Eleven tickets cost CHF 104.50. Twelve cost CHF 105.00. The twelfth ticket costs 50 centimes. A group of eleven that buys one spare seat pays almost nothing for it — and a group of eleven that does not is leaving an obvious trade on the table.
No new mathematics produced that insight. It came from writing the pricing rule down as a function and then asking a question of it. That is the job.
Where you will meet this again → Homework 1.6 asks you to write exactly this function. Every volume-discount scheme XY Coffee offers its wholesale customers has the same structure — and the same exploitable step.
Drawing it · the Euclidean plane and the rules of a decent chart
A graph that needs the surrounding paragraph to be understood has failed.
Every point is an ordered pair (x, y): go across by x, then up by y. The graph of a function is the set of all points (x, f(x)) — the picture of every input-output pair at once, which is why a graph shows you the pattern a table cannot.
Plot the deck's six points
(3, 4) · (0, 2) · (−2, 1) · (4, 1) · (2, 0) · (−3, −2). Sign errors are the commonest cause of a wrong graph, and the second quadrant is where they show.
In Excel, plotting a function means one of exactly two chart types, and choosing wrongly is a real mistake:
Scatter with smoothed lines — for a continuous relationship, where the points between your data points are meaningful.
Scatter with straight segments — when you want to be honest that you only know the points you measured and are joining them for readability.
Never a line chart with categories on the x-axis when x is a number: Excel will space your x-values evenly whatever they are, and a chart where 60 and 61 sit as far apart as 80 and 100 is a lie told by a default setting.
Four rules, and marks depend on them all year1. An explicit title that states what is shown. 2. Both axes labelled, with units. 3. Axis minimum and maximum chosen deliberately — a truncated vertical axis exaggerates every difference on the chart. 4. The right chart type. A graph must be understandable without reading the text around it.
Section 1.7 · Exponentials and logarithms
Growth, and how to undo it
J
"Two questions, and they are the same question backwards. If we grow subscriptions 6% a month, where are we in a year? And: if the board wants 2 400 subscribers, when do we get there? The first one is an exponential. The second one is a logarithm. You will be asked both every quarter for the rest of your career."
Jane · on the only two questions about growth
Exponential functions
The variable is in the exponent — and that changes everything.
The function f(x) = bx, with b > 0 and b ≠ 1, is the exponential function with base b: expb : ℝ → ℝ⁺, x ↦ bx.
Compare it with the power function xm from the library, and be sure you can tell them apart: in x² the base varies; in 2x the exponent varies. At x = 10 they are 100 and 1 024. At x = 50 they are 2 500 and about 1015. That gap is what "exponential" means in a business memo, and it is why the word gets misused: most things people call exponential are merely fast.
Two conditions, two reasons: b > 0 because (−4)1/2 has no real value; b ≠ 1 because 1x = 1 for every x — a flat line, and no growth to speak of.
Compound interest · where the exponent comes from
The compound amount of a principal P after n years at rate r.
S = P · (1 + r)n
🔍(1 + r) is the growth factor, not the growth: at 2% it is 1.02, and the 1 is you keeping what you already had. ⁿ is an exponent, not a multiplier — you multiply by the factor n times. That one distinction is the whole difference between compound and simple interest.
The deck's example: CHF 10 000 at 2% a year, three years on.
S(3) = 10 000 · (1.02)³every year multiplies by 1.02
S(3) = CHF 10 612exactly 10 612.08
Where does the exponent come from? Year one gives 10 000 × 1.02. Year two multiplies that by 1.02 again. Multiplying by the same factor n times is raising to the power n. Interest earns interest — and the whole of the spring semester's financial-mathematics block is this one line, rearranged.
The compounding lab
—
amount after n years
—
more than simple interest
—
years to double
The dotted line is simple interest — the same rate, never compounded. The gap between the curves is the whole of the argument for saving early.
Numbers worth carrying: 10 000 at 2% for ten years is CHF 12 189.94; at 5% it is CHF 16 288.95. Two and a half times the rate, but nearly three times the gain — because the growth is not added, it is multiplied.
The number e
What if the interest compounded not yearly, but constantly?
Take 100% interest for one year and chop the year into n pieces, each paying 1/n. The amount is Sn = (1 + 1/n)n. Push n up and watch: the answer does not run away to infinity. It settles.
Compound it more and more often
Compounded
n
(1 + 1/n)n
Press it until the number stops changing in the third decimal.
e ≃ 2.718281828459…
🔍≃ rather than =, and that is an honest choice: the decimals never stop and never repeat, so any written form is rounded. e is a specific number with a name, exactly as π is — not an unknown waiting to be solved for.
The natural exponential function — "THE exponential function" — is exp : ℝ → ℝ⁺, x ↦ ex. It is the shape of anything growing continuously rather than in steps, and it is the base every later formula in this course quietly assumes.
A concrete comparison: CHF 10 000 at 2% for three years is CHF 10 612.08 compounded annually, and 10 000 · e0.06 = CHF 10 618.37 compounded continuously. Six francs apart. The number e matters far less for the francs than for the fact that it makes every formula afterwards simpler.
Logarithms · the question asked backwards
"To what power must I raise b to get x?"
y = logb x ⟺ by = x
🔍The ⟺ is doing all the work: it is two-way. These are not two facts, one derived from the other — they are one fact written two ways, which is why you may swap whichever form is easier. And notice what y is: the exponent. A logarithm IS an exponent, just the one you did not know yet.
That single line is the definition, and the two forms are the same statement. Everything else about logarithms follows from reading it in whichever direction is convenient. The two fundamental equations say only that the operations undo each other:
logb(bx) = x · blogb x = x
🔍Both lines say one thing: the two operations undo each other, exactly as adding undoes subtracting. That is what an inverse is for — and it is why a logarithm is the only tool that can pull an unknown out of an exponent.
The converter · same fact, two languages
Exponential form
5² = 25
⟺
Logarithmic form
log₅ 25 = 2
1 of 8 · the deck's six conversions, plus two more.
Two bases get their own names because they are used constantly:
Common logarithm, base 10: log₁₀ x = log x. It answers "how many digits / how many orders of magnitude". Decibels, pH and the Richter scale are all log₁₀.
Natural logarithm, base e: loge x = ln x. It is the one that turns up whenever growth is continuous — which, in finance, is always.
A warning about notation you will meet in the wild: some textbooks and most programming languages write log for the natural logarithm. In this course, and on the exam, log means base 10 and ln means base e. Check the convention before you trust anyone else's formula.
Try it · read the graph, then do the four examples
The logarithm is the exponential, reflected.
y = log₂ x, and y = 2ˣ, and the mirror between them
The dotted diagonal is y = x. Each curve is the other one folded across it — that is what "inverse" looks like. Note where the log crosses: log₂ 1 = 0, always, for every base.
Now the deck's four, each in one line, and each done by rewriting the number as a power of the base:
log 100 = log₁₀(10²) = 2rewrite 100 as a power of 10
ln 1 = 0because e⁰ = 1 — true for every base
log 0.1 = log(10⁻¹) = −1negative logs mean "less than one"
The three rules — and the business question they answer
A logarithm turns multiplication into addition. That is the entire trick.
log(AB) = log A + log B · log(A/B) = log A − log B · log(An) = n · log A
🔍All three turn a harder operation into an easier one: multiplying becomes adding, dividing becomes subtracting, and — the useful one — raising to a power becomes multiplying. That third rule is what brings an unknown down out of the exponent, and it is the only reason "when do we get there?" is answerable at all.
The third one is the one that earns its keep, because it pulls an unknown down out of the exponent where you can solve for it. Jane's second question — when do we hit the target? — is exactly that:
t · ln 1.06 = ln 2take ln of both sides, rule three
t = 0.6931 ⁄ 0.0583 ≈ 11.9 monthsjust under a year
Exponential: "where will we be in a year?" Logarithm: "when will we get there?" The second question is the one management actually asks.
Quick sanity check you can do without a calculator — the rule of 72: money at r% doubles in roughly 72/r years. At 6% that gives 12, and the exact answer above is 11.9. At 2% it gives 36, against an exact 35.0. Close enough to catch a typo, never close enough to put in a report.
Section 1.8 · Part 2 · Exercises
Eight exercises, worked together
How this half of the session runs
The second half of the session is the eight exercises below, done as a class. They follow the seven lesson sections in order — the symbols first, then the algebra, then functions, then growth.
The question goes up on the screen; you work it here.
Attempt first, then the hint, then the solution. The hint costs you nothing and teaches you more than the answer does.
The 🔒 Solution button unlocks when your instructor releases that exercise in class. Once released it stays open, so the whole set is here for revision afterwards.
Your answers are saved and reach your instructor's dashboard as classwork. They are not graded — nothing in this course is graded except the three exams.
Use the calculator you will use in the exam: a Casio FX-82 Solar or a TI-30 eco RS. Getting used to its keys now is worth two marks in January.
Section 1.9 · Review quiz
Prove it to yourself
Warm-up · false friends
Mathematics hijacks ordinary words and gives them sharp, different meanings.
Each card shows a word and its everyday meaning — the trap. Tap to flip it to what it actually means in this course. This is doubly hard if English is not your first language: you are decoding the language and the jargon at once. Not scored — it is here to loosen you up before the quiz.
Tap each word to flip it
0 of 6 flipped
Review quiz · not graded
Twelve questions on this week
The first seven are the review quiz exactly as it is printed for Session 1 — same questions, same five options each, right down to "None of the above". The five after them are the business half: 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.
—
The map of the year
Every block of this module is one more thing XY Coffee needs to decide.
We keep one running company for both semesters and let its decisions pull in exactly the mathematics each one needs. The level rises: from describing one quantity, to describing data, to reasoning about uncertainty, to valuing money over time, to handling entire systems.
Unlike some subjects, the topics are tightly stacked. A shaky grasp of functions silently breaks derivatives three weeks later, with no obvious symptom — which is the real reason a student feels lost in Week 8, when the crack was in Week 1. It is hard for structural reasons, not because you are "not a maths person."
Where this goes next
In Week 2 you start combining functions — adding, multiplying, composing and inverting them — which is how a cost function and a revenue function become a profit function. Do the Week 1 homework first: ten 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.
Before the next session → read McAfee & Brynjolfsson's "Big Data: The Management Revolution" on Cyberlearn, and — if section 1.3 was uncomfortable — start the voluntary Leveling Up module. Nobody will check. It is January that checks.