Porisma

Systems of linear equations

← Back to lesson · Complete chapter reading and print view

By the end, you can

  • Translate constraints into simultaneous equations
  • Solve by elimination and verify the result
  • Distinguish unique, inconsistent and dependent systems

about 15 minutes for the lesson · practise at your own pace.

The central idea

A linear equation has the form a1x1+⋯+anxn=ba_1x_1+\cdots+a_nx_n=b, with constant coefficients (not all zero) and first powers of the chosen unknowns.

The source motivates linear algebra through digital images: pixels form a matrix; its Mona Lisa illustration compares a full image with a 75-by-113 pixel representation, describes 0/1 as black/white and mentions 256 shades.

The original portrait illustration is retained in the source review evidence; the independent grid below illustrates how arrays represent image data. Binary values and a 256-level encoding are different conventions, not simultaneous requirements.

Linearity depends on the chosen unknowns:

EquationLinear in x,y,zx,y,z?
2x+y−z=62x+y-z=6Yes
10x=510x=5Yes
x+y23486+11.786z=4579x+\dfrac{y}{23486}+11.786z=4579Yes: all coefficients are constants
2ln⁡x−3ln⁡y+4ln⁡z=−12\ln x-3\ln y+4\ln z=-1No; linear in ln⁡x,ln⁡y,ln⁡z\ln x,\ln y,\ln z instead, with x,y,z>0x,y,z>0
12sin⁡x+3sin⁡y+3sin⁡z=0\tfrac12\sin x+3\sin y+\sqrt3\sin z=0No; linear in sin⁡x,sin⁡y,sin⁡z\sin x,\sin y,\sin z instead

A system has mm equations in nn common unknowns. Write row ii as ∑j=1naijxj=bi\sum_{j=1}^{n}a_{ij}x_j=b_i. In matrix form, Ax=bA\mathbf{x}=\mathbf{b}, where A=(aij)A=(a_{ij}) is m×nm\times n, x=(x1,…,xn)T\mathbf{x}=(x_1,\ldots,x_n)^T and b=(b1,…,bm)T\mathbf{b}=(b_1,\ldots,b_m)^T. The augmented matrix [A∣b][A\mid\mathbf{b}] retains the right-hand column.

The printed example is x+y+2z=9x+y+2z=9, 2x+4y−3z=12x+4y-3z=1, 3x+6y−5z=03x+6y-5z=0:

(11224−336−5)(xyz)=(910),[112924−3136−50].\begin{pmatrix}1&1&2\\2&4&-3\\3&6&-5\end{pmatrix}\begin{pmatrix}x\\y\\z\end{pmatrix}=\begin{pmatrix}9\\1\\0\end{pmatrix},\qquad\left[\begin{array}{ccc|c}1&1&2&9\\2&4&-3&1\\3&6&-5&0\end{array}\right].

Pixel values form a matrix: an independent example

Expand diagram

Use the scrollbars or arrow keys to inspect details.

An independent 4-by-4 binary grid has rows 0 0 1 1; 0 1 1 0; 1 1 0 0; 1 0 0 1, alongside the matching numeric matrix. Zero is black and one is white. A separate grayscale strip illustrates the source’s 1-to-256 convention: 1 is black, 86 dark gray, 171 light gray and 256 white. The original source uses a 75-by-113 pixel Mona Lisa; this grid explains its matrix idea without reproducing that portrait.
An independent 4-by-4 binary grid has rows 0 0 1 1; 0 1 1 0; 1 1 0 0; 1 0 0 1, alongside the matching numeric matrix. Zero is black and one is white. A separate grayscale strip illustrates the source’s 1-to-256 convention: 1 is black, 86 dark gray, 171 light gray and 256 white. The original source uses a 75-by-113 pixel Mona Lisa; this grid explains its matrix idea without reproducing that portrait.
An independent 4-by-4 binary grid has rows 0 0 1 1; 0 1 1 0; 1 1 0 0; 1 0 0 1, alongside the matching numeric matrix. Zero is black and one is white. A separate grayscale strip illustrates the source’s 1-to-256 convention: 1 is black, 86 dark gray, 171 light gray and 256 white. The original source uses a 75-by-113 pixel Mona Lisa; this grid explains its matrix idea without reproducing that portrait.
Open original diagram (new tab)

Explore

In Example 3, replace the second equation’s right-hand side 22 by 33. Doubling the first still forces 2x+4y+6z=22x+4y+6z=2, so the changed second equation contradicts it. The original has infinitely many solutions; the changed system has none. Keep all equations when interpreting a dependent row.

Related interactive example

Explore this related example, then return to the prediction task above.

Three equations are three sheets

Each axis is the amount of one metal in the first piece. Switch the equations on one at a time.

Open the interactive view to explore this geometry in 3D.

Open the full interactive problem →

Worked example

Solve x+y=5x+y=5 and 2x−y=12x-y=1. Adding gives 3x=63x=6, so x=2x=2. Substitution gives y=3y=3. Both original equations hold.

A calculator solution still needs interpretation in the context, especially when a quantity must be nonnegative or integral.

Check your understanding

A club sells 20 tickets, at 3 dollars for children and 5 dollars for adults, for total revenue 76 dollars. Define the unknowns, formulate and solve a system, and verify the answer. State two assumptions needed for the model.

Mastery learning objectives

At the end of this chapter, I should be able to:

Formulate contextual problems

Formulate a system of linear equations from contextual problems.

Use the PlySmlt2 calculator application

Solve a given system of linear equations resulting in a unique solution.

Solve a given system of linear equations resulting in infinitely many solutions.

Solve a given system of linear equations resulting in no solution.

Choose a practice question

The printed skill map (printed page172 in both copies) groups the chapter into the following question types. Its final row combines two printed bullets with shared references.

Common question typesLecture examples, as printedReview problems (follow up), as printed
Contextual problem (Direct)51, 2, 3, 4, 5
Non-contextual problem (may involve Calculus and/or other topics)6, 76, 7, 8
Contextual problem (Indirect); interpretation of a system’s solution in context8, 99, 10

Numbering qualification: the map calls the banking example “5,” but both lecture copies actually label it as a second “Example4,” immediately after the no-solution Example4. No separate Example5 is printed. Use the banking link below for the map’s direct-context example.

The two source checkpoints are after self-study and after tutorial, preserved by the checkboxes above. The repeated Review1–10 asks and answer key on lecture PDF13–15 point to the existing reviewed questions; no duplicate questions are added. The cinema answer key’s “<65” category is a source typo: its prompt/table say under16. The reviewed answer uses under16 at $7.65. The shoe-budget interpretation remains qualified in Review10.

Practice questions

Practice section 1 · Questions 1–6

Substitution, elimination and a graphical check · Enter a system and interpret a unique calculator solution · +4 more

Practice section 2 · Questions 7–12

Use both coordinates and gradients at stationary points · Restrict a free parameter to feasible donor counts · +4 more

Practice section 3 · Questions 13–18

Juice mixtures: conserve volume and each ingredient · Basketball: distinguish attempts, successes and points · +4 more

Practice section 4 · Question 19

Shoe production: full expenditure and a budget cap

More practice

Apply the lecture methods and contextual checks in the linked interactive questions.

Ready to try this on your own?

For “Systems of linear equations”, try a question without the working and explain your method. This records your confidence, saved in this browser only.

Ready to practise?Chapter practice