What a function is: cost, revenue, profit and demand

17 min · 3 drills

In the textbook: Ch. 1.1.3 Kosten und Erlöse

This chapter is about functions every business has: what output costs, what it brings in and from when on there is a profit. The maths is school maths: a straight line, a parabola, putting a number into a formula. The hard part is usually not the arithmetic but building the formula from the text of the task.

Imagine a café. It pays 3000 € a month for rent and staff, even if it sells not a single cup, and every cup it sells costs it another 2.5 €: coffee, milk, a paper cup. It sells a cup for 6.5 €. The owner wants to know how many cups a month it must sell so as not to run at a loss.

Each cup brings in 6.5 € and itself costs 2.5 €, and the remaining 4 € go towards the rent. Work out three months with different sales:

Cups a monthRevenue, €Cost, €Result, €
60039004500−600
750487548750
80052005000200

At 750 cups the café breaks even: fewer means a loss, more a profit. This line is called the break-even point. To find it for any numbers, you write cost, revenue and profit as formulas, as functions of the number of cups. That is what this article teaches.

Functions and the notation f(x)

The café's table above works out three months only: 600, 750 and 800 cups. To work it out for any number of cups, you write the dependence as a function. First a simpler example. A copy shop charges 2 € per order plus 0.10 € for every printed page. You say how many pages, the cashier says the amount. You choose the number of pages, the amount depends on it, and each number of pages always gets exactly one amount.

A rule that gives each number exactly one number is called a function. In short it is written like this:

f(x)=2+0.1⋅x
  • f is the rule itself, “what the order costs”;
  • x is the variable, the number of pages, which you choose;
  • f(x) is the value of the function, the amount in € for x pages.

f(3) is read “f of 3”: put 3 in for x. Three pages cost f(3)=2+0.1⋅3=2.3 €. Any other number of pages works the same way:

Pages xPut inValue f(x) in €
102+0.1⋅103
502+0.1⋅507
2002+0.1⋅20022

The letter for the rule is chosen by what it stands for. In this chapter the cost is called K(x), the revenue E(x) and the profit G(x): three functions of the same variable, the quantity x. The brackets are not multiplication here: K(800) means “the cost at 800 pieces”, not K⋅800.

Cost: fixed and variable

Back to the café from the start, and write its costs as such a function. It pays 3000 € a month for rent and staff, and each cup of coffee costs it another 2.5 € (beans, milk, cup). 800 cups a month cost it 3000+2.5⋅800=5000 €. The first 3000 € it pays whatever the number of cups; the second part grows with every cup.

These 5000 € are the cost (“Kosten”): everything a firm spends on making x pieces. In the exam amounts are written in GE (“Geldeinheiten”, money units), which is simply money; in our examples they are in euros. The quantity is counted in pieces or ME (“Mengeneinheiten”, quantity units). Cost has two parts, a fixed one and a variable one.

  • Fixed cost F (“Fixkosten”) does not depend on the quantity: rent, staff, insurance. You pay it even if nothing is sold.
  • Variable cost per piece v (“variable Stückkosten”) comes on top with every piece: raw material, packaging, shipping.

Together this gives the cost function (“Kostenfunktion”), and it is linear:

K(x)=F+v x

For the café F=3000 € and v=2.5 €, so K(x)=3000+2.5x.

Two more words appear in the tasks:

  • Unit cost (“Stückkosten”, Kˉ) is the cost divided by the quantity: Kˉ(800)=5000/800=6.25 € per cup. The more cups, the lower the unit cost, because the 3000 € are spread over more cups. If the task gives Kˉ(x), the total cost is K(x)=x⋅Kˉ(x).
  • Marginal cost (“Grenzkosten”, K′(x)) is what one more piece costs. With linear cost it equals v, here 2.5 €; for other functions you work it out with the derivative. The derivative is explained in the chapter on derivatives, in the article “What the derivative is: slope and the rules”. Marginal cost with its help is in the article “Marginal cost and elasticity: what they mean”.

Revenue and profit

That is the cost; now what the café takes in. The café sells a cup for 6.5 €. 800 cups bring it 6.5⋅800=5200 € and cost it 5000 €; what is left is 5200−5000=200 €.

These 5200 € are called the revenue (“Erlös”, E): the price p times the quantity sold. The 200 € left over are the profit (“Gewinn”, G), revenue minus cost:

E(x)=p⋅x,G(x)=E(x)−K(x)

At 600 cups the revenue is 3900 €, the cost is 4500 €, and the profit is −600 €: a negative profit is a loss.

It helps to look at a single cup. It brings in 6.5 € and itself costs 2.5 €; the rest, 6.5−2.5=4 €, covers the fixed cost. This rest is called the contribution margin (“Deckungsbeitrag”, p−v). From it follows the short form of the profit:

G(x)=(p−v) x−F=4x−3000

The profit is zero at 4x=3000, that is at 750 cups. This is the break-even point (“Gewinnschwelle”): below it there is a loss, above it a profit. In the picture below it is the point where the cost and revenue lines cross.

Loss left of 750 cups, profit to the right−200002000400060008000100000200400600800100012001400cups x€cost 3000 + 2.5xrevenue 6.5xprofit 4x − 3000

How to find the minimum quantity, the minimum price or the minimum revenue for breaking even is shown in the method “Break-even point and several plants”.

Your turn1 of 3

A workshop sells stools for 20 €. The fixed cost is 1800 € a month, and each stool costs 12 €. What profit do 300 stools a month bring?

Demand: price and quantity

So far the price stayed the same however many cups were sold. Usually, though, price and sales are tied together: when a good costs p €, 540−6p pieces are bought a day (where 540 and 6 come from is shown below in the section “Straight line through two points”). At a price of 50 € that is 540−300=240 pieces, at 60 € only 540−360=180: dearer means fewer buyers.

If a firm sets the price itself, the quantity depends on that price in the same way. This link is described by the demand function (“Nachfragefunktion”, also “Preis-Absatz-Funktion”). In the exam demand is almost always linear, as here, so its graph is a straight line. It is written in one of two forms:

  • quantity depending on price: x(p)=540−6p;
  • price depending on quantity: p(x)=90−x6. This is the same line, only expressed through x: from x=540−6p we get 6p=540−x, so p=90−x6.

On the formula sheet the first form is written D(p)=−ap+α. The D stands for “demand”; α is the demand at price 0, here 540; a says by how many pieces demand falls with each euro of price, here 6.

Demand x(p) = 540 − 6p0306090100200300400500600700price p, €demand x, MEx = 540p = 90
  • the prohibitive price (“Prohibitivpreis”), at which nobody buys any more: from 540−6p=0 you get p=90 €;
  • the saturation quantity (“Sättigungsmenge”), the demand at price 0: x(0)=540 ME.

It matters to tell two situations of a firm apart. If it is alone on the market, sets the price itself and takes the demand into account, it is a monopolist: the revenue E(x)=p(x)⋅x=90x−x26 becomes a parabola.

If the market sets the price and the firm cannot influence it (a price taker, “Preisnehmer”, it takes the price as given), the revenue stays the straight line p⋅x, and you do not need the demand in the task. Both cases are shown in the method “Maximum revenue and profit: price steps, monopoly, unit tax”.

Straight line through two points

Where did the 540 and the 6 in the demand come from? The line is almost always rebuilt from two observations, and in the exam that is a task of its own:

Exam-style task

Ein Wassertank wird gleichmäßig geleert. Nach 9 Minuten befinden sich noch 82 Liter im Tank, nach 16 Minuten noch 40 Liter. Wie viele Liter sind nach 12 Minuten seit Beginn noch im Tank?

  1. a)64
  2. b)83
  3. c)100
  4. d)122
  5. e)118

Two observations are given; the task asks for the value at a third point in time.

A line is often described by two observations: at a price of 40 €, 300 ME are sold, at 55 € only 210 ME; or 200 shelves cost 14000 €, 320 shelves 19400 €. Write the two observations as points (t1,y1) and (t2,y2): t is what is given (the price or the number of shelves), y what is observed (the quantity or the cost). You set up the line in two steps. First the slope k: by how much y changes when t grows by 1. Then the line through one of the points:

k=y2−y1t2−t1,y=y1+k (t−t1)

The tank is emptied at a steady rate, so the amount of water drops by the same amount every minute and lies on a straight line. After 9 minutes 82 litres are left, after 16 minutes 40 litres, and we want the amount after 12 minutes. Here t is the time in minutes and y the amount of water in litres; the two points are (9,82) and (16,40).

k=40−8216−9=−427=−6: 6 litres flow out every minute, which is why the slope is negative.

Through the first point: y=82−6⋅(t−9).

y=82−6⋅(12−9)=82−18=64 litres, answer (a). Check from the second point: 40−6⋅(12−16)=40+24=64.

Now the first of the observations above in full: at a price of 40 €, 300 ME are sold, at 55 € only 210 ME, and demand is linear. Here t is the price p and y the quantity x. Slope k=210−30055−40=−9015=−6: every extra euro costs 6 ME of sales. Line: x(p)=300−6 (p−40)=300−6p+240=540−6p, because −6⋅(−40)=+240 and 300+240=540. Check with the second point: 540−6⋅55=210, it matches. At what price are 360 ME sold? From 540−6p=360 you get 6p=180, p=30 €.

Cost from two observations is set up the same way. 200 and 320 shelves differ by 120 pieces, the cost by 19400−14000=5400 €, so v=5400/120=45 € per shelf. The fixed part from the first point: F=14000−200⋅45=5000 €.

Trap. Turning the fraction upside down: 55−40210−300=−16. That is the slope of the line p(x), not of x(p). The check with the second point shows the mistake at once.

Your turn2 of 3

The value of a machine falls linearly. 2 years after purchase it is worth 8400 €, after 5 years 6000 €. How many years after purchase is it still worth 4400 €?

Parabola: zeros and vertex

For the monopolist from the demand section, revenue is no longer a straight line, and neither is profit. Say, for example, a firm's profit is G(x)=−2x2+80x−600. Work it out for a few quantities:

Quantity x1015202530
Profit G(x)01502001500

The profit rises up to 20 pieces and then falls in the same way: left and right of 20 stand the same numbers. This is what profit looks like as soon as the price depends on the quantity or the cost contains an x2. Such a curve y=ax2+bx+c is called a parabola; here a=−2, b=80, c=−600. If the number a in front of x2 is negative, the parabola opens downwards and has a highest point, the vertex (“Scheitel”), here at 20. It is the maximum of the profit or the revenue. Without a table you find it with a formula; on the formula sheet it is written as S=−b2a:

x=−b2a

The zeros (“Nullstellen”) of the parabola, the points with y=0, are found with the formula for quadratic equations (“Lösungsformel”, from school; it is on the formula sheet; x1 comes from the plus before the root, x2 from the minus):

x1,2=−b±b2−4ac2a

For the profit from the table at the start of this section: vertex x=−802⋅(−2)=20, the largest profit is G(20)=−800+1600−600=200, as in the table. Zeros: b2−4ac=6400−4800=1600, 1600=40, x1,2=−80±40−4, so 10 and 30. The profit is positive between 10 and 30 pieces, and the vertex 20 lies exactly in the middle.

Profit G(x) = −2x² + 80x − 6000103040−600−400−20020200quantity x, piecesprofit G1030G(20) = 200

If the quantity has to be a whole number and the vertex is not, work out the value at the two neighbouring whole numbers and take the larger. In the tasks this happens with a step price: the price rises in whole steps, for example each rise of 1 € removes 6 buyers, and the number of rises is a whole number.

How the vertex gives the largest revenue and profit with price steps, at the market price and for a monopolist is shown in the method “Maximum revenue and profit: price steps, monopoly, unit tax”.

Your turn3 of 3

A firm's profit is G(x)=−0.5x2+30x−250. At what quantity x is it largest?

In short

The topic in a minute

  • Function f(x): the rule “each x gets exactly one value f(x)”; f(3) means “put 3 in”. Trap: K(x) is not K⋅x.
  • Cost (“Kosten”): K(x)=F+v x. Trap: the unit cost Kˉ(x) is not v; the total cost is K(x)=x⋅Kˉ(x).
  • Revenue and profit: E(x)=p⋅x, G(x)=E(x)−K(x), in short G(x)=(p−v) x−F. Trap: the revenue p x is not yet the profit; F and v x have to be subtracted.
  • Demand: linear, x(p)=α−a p; the prohibitive price is where x=0.
  • Monopolist: the revenue p(x)⋅x becomes a parabola. Trap: at a market price the revenue stays the straight line p x.
  • Straight line through two points: k=y2−y1t2−t1, y=y1+k (t−t1). Trap: the fraction turned upside down gives the slope of p(x) instead of x(p); check with the second point.
  • Parabola y=ax2+bx+c: vertex at x=−b2a, in the middle between the zeros. Trap: without the two you get −ba, the sum of the two zeros, not the vertex; and read whether the task asks for the quantity or for the profit itself.
  • Formula sheet (“Formelsammlung”): the page of formulas printed in the exam booklet (“Angabenheft”) after the tasks. It has the vertex, the formula for quadratic equations, the demand D(p)=−ap+α, the revenue R(p)=p⋅D(p) (price times demand) and the profit π(p)=R(p)−C(D(p)) as functions of the price (there R, π, C instead of our E, G, K). Linear costs F+v x and the break-even point are not on it.

What comes next

Three methods of the chapter rely on these rules, each in its own exam task:

The tasks on sequences start with the method “Arithmetic sequences: term and sum”: it has everything you need for them.

Now practise it

What a function is: cost, revenue, profit and demand

Trainer · Linear and quadratic functions

Practise
Next: Maximum revenue and profit: price steps, monopoly, unit tax
0/3

Was this article helpful?