Steady State
MAT161 / Lecture 2
Lecture 2 · Barnett 1-3 · about 45 min

Linear and Quadratic Functions

Lines from a slope or two points, break-even with linear cost and revenue, and the parabola: vertex, axis, intercepts, vertex form, and the quadratic revenue and profit models that come from a linear demand curve.

By the end you can
  • Write a linear function from a slope and a point, or from two points, and interpret the slope economically
  • Find and draw the break-even point of linear cost and revenue
  • Sketch a parabola from its vertex, axis and intercepts, and write it in vertex form
  • Build revenue from a demand equation and find maximum revenue, maximum profit and break-even points

How the exam asks it: three core exam templates

In midterm exams, linear and quadratic questions focus on three canonical structures: building linear cost and break-even models, sketching and converting parabolas, and optimising quadratic revenue/profit from linear demand. Master these three worked solutions, then follow the cheat-sheet and 4-step method below.

Exam template 1: Linear cost specification and break-even analysis

Question: A manufacturer produces handcrafted bags. Total cost is 800 TL for 50 bags and 1,100 TL for 100 bags. Each bag sells for p=50p = 50 TL. Separately, another product line has cost C(x)=30x+4000C(x) = 30x + 4000 and sells at 50 TL each.
a) Assuming cost is linear, find the slope mm and determine the cost function C(x)C(x).
b) Identify the fixed cost and variable cost per unit from C(x)C(x).
c) For the second product line (C(x)=30x+4000C(x) = 30x + 4000, p=50p = 50 TL), find the break-even quantity and the break-even dollar revenue.
d) Calculate the profit earned from the second product line when 300 units are produced and sold.

Worked example · Full step-by-step solution for Template 1 (Linear cost and break-even)0/13

Cost points (50,800)(50, 800) and (100,1100)(100, 1100); second line C(x)=30x+4000C(x) = 30x + 4000 with unit price p=50p = 50 TL.

Exam template 2: Parabola sketching, vertex coordinates, and vertex form

Question: Consider the quadratic function f(x)=x2−4x−5f(x) = x^2 - 4x - 5.
a) Find the vertex (h,k)(h, k) and state the equation of the axis of symmetry.
b) Find the coordinates of the yy-intercept and all xx-intercepts.
c) State whether f(x)f(x) has a maximum or minimum, and write its range in interval notation.
d) Write g(x)=−2x2+12x−10g(x) = -2x^2 + 12x - 10 in vertex form a(x−h)2+ka(x - h)^2 + k by completing the square, and identify its vertex.

Worked example · Full step-by-step solution for Template 2 (Parabola properties and vertex form)0/11

f(x)=x2−4x−5f(x) = x^2 - 4x - 5 and g(x)=−2x2+12x−10g(x) = -2x^2 + 12x - 10.

Exam template 3: Quadratic revenue, profit maximisation, and break-even points

Question: A firm faces price-demand equation p=100−2xp = 100 - 2x and total cost C(x)=20x+600C(x) = 20x + 600, where xx is output.
a) Find the total revenue function R(x)R(x) and state its economic domain.
b) Formulate the total profit function P(x)P(x).
c) Find the break-even quantities where the firm earns zero profit.
d) Find the production quantity xx that maximises profit, the maximum profit amount, and the corresponding price charged per unit.

Worked example · Full step-by-step solution for Template 3 (Business optimisation)0/11

Demand p=100−2xp = 100 - 2x, Cost C(x)=20x+600C(x) = 20x + 600.

Cheat-sheet & the 4-step method

Linear functions

Slope-intercept formFormula sheet →
y=mx+by = mx + b
mm
slope, the change in y per unit change in x
bb
y-intercept, the value of y when x = 0

Use it when you know the rate of change and the starting value. In a cost function, m is the variable cost per unit and b is the fixed cost.

Point-slope formFormula sheet →
y−y1=m(x−x1),m=y2−y1x2−x1y - y_1 = m(x - x_1), \qquad m = \frac{y_2 - y_1}{x_2 - x_1}
(x1,y1),(x2,y2)(x_1, y_1), (x_2, y_2)
two points on the line
mm
slope

Use it when you are given two points or one point and a slope.

Diagram · Graphing a straight lineintercepts or slope
12345671235(0, 4)(6, 0)2x + 3y = 12yx

Graph 2x+3y=122x + 3y = 12. Put x=0x = 0: 3y=123y = 12, y=4y = 4. Put y=0y = 0: 2x=122x = 12, x=6x = 6. Plot (0,4)(0, 4) and (6,0)(6, 0) and join. Slope =−23= -\tfrac{2}{3}: down 2 for every 3 across.

Worked example · A linear cost function from two data points0/8

A bakery's total cost was 800 TL for 50 loaves and 1,100 TL for 100 loaves. Assume cost is linear. Find C(x)C(x).

Check your understanding

A firm's cost function is C(x)=12x+3000C(x) = 12x + 3000. What does 3000 represent?

Your turn

Find the y-intercept of the line through (2,9)(2, 9) parallel to y=3x−1y = 3x - 1.

Break-even with two lines

Linear break-evenKey formulaFormula sheet →
R(x)=C(x)  ⇒  px=F+vx  ⇒  xBE=Fp−vR(x) = C(x) \;\Rightarrow\; px = F + vx \;\Rightarrow\; x_{BE} = \frac{F}{p - v}
pp
price per unit
vv
variable cost per unit
FF
fixed cost
xBEx_{BE}
break-even quantity

Use it when revenue and cost are both linear in x.

Diagram · Break-even with cost and revenue linesC = 30x + 4000, R = 50x
1002003004000800012 00016 000C(x)R(x)lossprofitBETLx (units)

Left of 200 the cost line is above the revenue line: loss (C − R). Right of 200 revenue is above: profit P(x)=20x−4000P(x) = 20x - 4000. At 300 units: P=2000P = 2000 TL, the vertical gap between the lines.

Worked example · Solving for break-even0/9

A product sells for 50 TL. Cost is C(x)=30x+4000C(x) = 30x + 4000. Find the break-even point and the profit at 300 units.

Your turn

A café sells coffee at 60 TL a cup. Its cost function is C(x)=25x+7000C(x) = 25x + 7000. What is the break-even quantity, in cups?

Quadratic functions: the parabola

Standard formFormula sheet →
f(x)=ax2+bx+cf(x) = ax^2 + bx + c
aa
shape: a > 0 opens upward (minimum), a < 0 opens downward (maximum)
cc
y-intercept, f(0)

Use it when you are given a quadratic in expanded form and need its graph.

Vertex and axisKey formulaFormula sheet →
h=−b2a,k=f(h),axis: x=hh = -\frac{b}{2a}, \qquad k = f(h), \qquad \text{axis: } x = h
(h,k)(h, k)
the vertex
kk
the minimum (a > 0) or maximum (a < 0) value

Use it when you need the optimum of a quadratic, or the centre of its graph, without derivatives.

Diagram · Sketching a parabolaf(x) = x² − 4x − 5
−212346−84f(x) = x² − 4x − 5−15(0, −5)(4, −5)min (2, −9)x = 2yx

Finished sketch: five labelled points (vertex, two x-intercepts, y-intercept and its mirror), the dashed axis, a smooth symmetric U. Vertex form: f(x)=(x−2)2−9f(x) = (x - 2)^2 - 9.

Worked example · Sketch f(x) = x² − 4x − 50/8

Find everything you need to sketch f(x)=x2−4x−5f(x) = x^2 - 4x - 5: shape, vertex, axis, intercepts, range.

Worked example · Vertex form by completing the square0/9

Write f(x)=−2x2+12x−10f(x) = -2x^2 + 12x - 10 in vertex form and find its maximum and its x-intercepts.

Your turn

A firm's average cost is Cˉ(x)=0.5x2−20x+300\bar C(x) = 0.5x^2 - 20x + 300. What is the minimum average cost?

The discriminant b2−4acb^2 - 4ac counts the x-intercepts: positive → two, zero → one (vertex on the axis), negative → none.

Quadratic formulaFormula sheet →
x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
a,b,ca, b, c
the coefficients of ax^2 + bx + c
b2−4acb^2 - 4ac
the discriminant

Use it when a quadratic does not factor easily and you need its roots (break-even points).

Revenue, cost and profit with a parabola

A linear demand p=a−bxp = a - bx makes revenue R=x⋅pR = x \cdot p quadratic. With a linear cost, profit is quadratic too.

Diagram · Quadratic revenue, linear costR = 100x − 2x², C = 20x + 600
102030405040080012001600R(x)C(x)BE₁BE₂profitlossTLx

R=CR = C: 100x−2x2=20x+600⇒2x2−80x+600=0⇒x2−40x+300=0⇒(x−10)(x−30)=0100x - 2x^2 = 20x + 600 \Rightarrow 2x^2 - 80x + 600 = 0 \Rightarrow x^2 - 40x + 300 = 0 \Rightarrow (x - 10)(x - 30) = 0. Break-even at x=10x = 10 and x=30x = 30. Profit only between them.

Worked example · Break-even and maximum profit0/10

Price-demand: p=100−2xp = 100 - 2x. Cost: C(x)=20x+600C(x) = 20x + 600. Find the revenue function, the break-even points, and the maximum profit.

Worked example · Break-even with the quadratic formula0/9

Profit is P(x)=−x2+26x−120P(x) = -x^2 + 26x - 120. Find the break-even quantities.

Raise the net price bb and the vertex moves up and right. Raise the fixed cost cc and the whole curve shifts down: the break-even points move toward each other, and if cc is too large there are none.

Check your understanding

A quadratic profit function has discriminant b2−4ac=−50b^2 - 4ac = -50. What does this tell you?

Exam practice

Exam question 1

A line passes through (10, 220) and (30, 340). Find its slope.

Exam question 2

Find the y-intercept of the line through (2,5)(2, 5) and (6,13)(6, 13).

Exam question 3

A machine costs 20,000 TL and is worth 4,000 TL after 8 years. With straight-line (linear) depreciation, what is it worth after 5 years?

Exam question 4

Revenue is R(x)=−3x2+240xR(x) = -3x^2 + 240x. What is the maximum revenue?

Exam question 5

For f(x)=2x2+8x+3f(x) = 2x^2 + 8x + 3, which is correct?

Exam question 6

Demand is p=60−xp = 60 - x and cost is C(x)=20x+300C(x) = 20x + 300. Find the maximum profit.

Exam question 7

Same firm (P(x)=−x2+40x−300P(x) = -x^2 + 40x - 300). What is the larger break-even quantity?

Exam question 8

Profit is P(x)=−2x2+20x−70P(x) = -2x^2 + 20x - 70. What can you conclude from its discriminant?

Summary and review

Review deck · 14 cards0/14 mastered