
Mathematics for Master Students
Which tasks gave you trouble? Bring them up now. We take the time to work through them before moving on.
Question
Minimize the cost \(C(q) = q^2 - 8q + 20\). Where is the minimum, and how do you know it is a minimum?
An equation is linear when every unknown appears on its own, to the first power, nothing more exotic.

A single equation like \(x + y = 5\) has infinitely many solutions: \((1,4)\), \((2,3)\), \((3,2)\), …, every point on one line.
One condition leaves a whole line of choices. Add a second condition and the freedom shrinks.
A furniture workshop makes chairs (\(x\)) and tables (\(y\)) and wants to use its resources fully this week:
\[2x + 3y = 13 \qquad\qquad x + y = 5\]
Solve one equation for one variable, then substitute into the other.
Scale the equations so one variable cancels when you subtract.

Always check: \(2(2) + 3(3) = 4 + 9 = 13\) ✓ and \(2 + 3 = 5\) ✓, the point sits on both lines.
Question
Is \(\;3xy = 12\;\) a linear equation in \(x\) and \(y\)?
For three unknowns, substitution gets messy. Our example for this section:
\[x + y + z = 9, \qquad x + 2y + 2z = 16, \qquad 2x + y + 3z = 17\]
Three conditions, three unknowns, and a lot of repetitive writing ahead. What we need first is a compact bookkeeping shorthand.
The system is just its numbers, the augmented matrix (coefficients, then the right-hand side):
\[\left[\begin{array}{ccc|c} 1 & 1 & 1 & 9 \\ 1 & 2 & 2 & 16 \\ 2 & 1 & 3 & 17 \end{array}\right]\]
Each row is an equation; the bar just separates the left from the right side. No matrix algebra, pure bookkeeping.
We reshape the system with three row operations, each keeps the solution unchanged:
The goal: create zeros below the diagonal, a triangular staircase we can read off from the bottom up.
Start from the augmented matrix and knock out the \(x\)-terms below the top row:
\[\left[\begin{array}{ccc|c} 1 & 1 & 1 & 9 \\ 1 & 2 & 2 & 16 \\ 2 & 1 & 3 & 17 \end{array}\right] \;\xrightarrow[\;R_3 \,\to\, R_3 - 2R_1\;]{\;R_2 \,\to\, R_2 - R_1\;}\; \left[\begin{array}{ccc|c} 1 & 1 & 1 & 9 \\ 0 & 1 & 1 & 7 \\ 0 & -1 & 1 & -1 \end{array}\right]\]
Now use the new second row to clear the entry beneath it, then scale to a leading \(1\):
\[\left[\begin{array}{ccc|c} 1 & 1 & 1 & 9 \\ 0 & 1 & 1 & 7 \\ 0 & -1 & 1 & -1 \end{array}\right] \;\xrightarrow[\;R_3 \,\to\, R_3 / 2\;]{\;R_3 \,\to\, R_3 + R_2\;}\; \left[\begin{array}{ccc|c} 1 & 1 & 1 & 9 \\ 0 & 1 & 1 & 7 \\ 0 & 0 & 1 & 3 \end{array}\right]\]
The matrix is now triangular, zeros fill the lower-left corner. Read it from the bottom up:
\[x + y + z = 9, \qquad y + z = 7, \qquad z = 3\]
Plug the triple \((2, 4, 3)\) back into the original three equations:
Common Mistake
When you apply a row operation, act on the whole row, the right-hand side included. Subtracting \(2R_1\) from \(R_3\) but forgetting to also do \(17 - 2 \cdot 9 = -1\) silently corrupts the whole solve.
Question
Halfway through, you swap two rows of the augmented matrix. Does that change the system’s solution?
A linear system has exactly one of three fates, there is no other possibility:
Geometry tells the story cleanly for two lines in the plane.

\(x + y = 4\) and \(x + y = 6\) are parallel, same slope, different heights. They never meet, so no pair \((x, y)\) satisfies both.

\(2x + 2y = 8\) is just \(x + y = 4\) doubled, the same line. Every point on it solves both; there are infinitely many solutions.
When one equation adds nothing new, we describe all solutions with a free parameter.
For \(x + y = 4\) with a redundant partner:
With three unknowns, each equation is a plane in space, but the same three fates return:
You do not need the picture, the triangular form tells you which fate you have:
Common Mistake
A vanished row \(\;0 = 0\;\) means the equation was redundant, the system has infinitely many solutions, not “no solution”. “No solution” only appears as \(\;0 = (\text{non-zero})\), a genuine contradiction. Read the right-hand side before you decide.
Question
During elimination a row collapses to \(\;0 = 0\). Does the system have a unique solution, no solution, or infinitely many?
A market clears where supply meets demand, quantity offered equals quantity wanted.
For a product at price \(p\), suppose
Both express \(q\), so set them equal, or eliminate \(q\) from the system \[q + 2p = 120, \qquad q - 3p = -30.\]

Below €30 buyers outnumber sellers (shortage); above it sellers outnumber buyers (surplus). The lines cross where the market balances.
Question
The price is set at €40, above the equilibrium of €30. Is there excess supply or excess demand?
Remember the system we solved by elimination? It was a production plan all along.
A workshop makes three products \(x, y, z\) and wants to use every resource fully:
We already found the unique solution by Gaussian elimination: \[(x, y, z) = (2, 4, 3)\]
To round off the tutorial, there is a voluntary mock exam covering Sessions 1–6.
That’s it for today.
Any Questions?
Six sessions, one steadily growing toolkit for the math behind your M.Sc. courses:
You are ready for the mock exam, and for the math your degree will lean on.
Session 06 - Systems of Linear Equations | Dr. Tobias Vlcek | Home