IB Analysis and Approaches HL · Systems of linear equations · Section 1 of 3

Linear equations and systems

3 worked examples · By Álvaro López

Key idea

A system of linear equations is a set of equations that must all hold at the same time. With three unknowns it can have a unique solution, infinitely many or none, and recognising which of the three cases you have is the basis of the whole topic. In the IB exam you need it to set up problems, express solutions with parameters and justify what happens when the system has no unique solution.

The linear equation in three unknowns

An equation is linear when each unknown appears on its own, raised to the power 1 and not multiplied by another unknown.

For example, is linear. In contrast, (a product of unknowns) or (an unknown squared) are not.

A solution is a triple of numbers that makes the equality true when substituted. Solving the equation means finding all its solutions. With one equation and three unknowns there are infinitely many: you choose two values freely and the third is then determined. For example, in , with and we get , and is a solution, since .

To describe all of them at once, we use the general solution: call and the unknowns you choose freely (the parameters), and solve for the third.

For : with and , , and the general solution is with . Giving values to and produces each of the specific solutions.

Systems of three equations

When the three constant terms are zero, the system is homogeneous.

The reason is immediate: substituting , each left-hand side equals , which is the constant term of each equation.

Equivalent systems

Two systems are equivalent when they have exactly the same solutions. This idea is what allows you to simplify a system without changing its answer, and it is what the Gaussian elimination method uses.

How many solutions it can have

According to the number of solutions, a system is classified as follows:

Type Abbreviation Solutions
Consistent, unique solution SCD Exactly one
Consistent, infinitely many solutions SCI Infinitely many (they depend on one or more parameters)
Inconsistent SI None

"Consistent" means that it has at least one solution; "unique" means that the solution is the only one. A system never has, for example, exactly two solutions: it has 0, 1 or infinitely many.

Two simple recognition criteria, which the Gaussian elimination method makes systematic:

  • If combining equations produces an impossible equality such as , the system is inconsistent.
  • If one equation is redundant (it is a combination of the others) and some unknown is free, there are infinitely many solutions, and they are expressed with parameters.

Worked examples

Example 1 Basic

Solutions of a linear equation

Consider the equation .

a) Find the value of so that is a solution.

b) Write the general solution, taking and as parameters.

Solution

a) Substitute and :

So is a solution.

b) With and , solve for :

The general solution is with . Check with , : , which agrees with part a).

Example 2 Medium

Three systems, three behaviours

Classify each system (SCD, SCI or SI) and, when it has a solution, solve it.

a)

b)

c)

Solution

a) Adding the first and third equations eliminates : . Adding the second and third also: . From the second, ; substituting into the first, , so and . From the first equation of the system, . It is checked in the three equations. The solution is unique: SCD, .

b) It is homogeneous, so it has the trivial solution. Subtracting the second equation from the first: , so . The first and second equations become , and the third, , says the same. One equation is redundant and is free: with , . There are infinitely many solutions: SCI, with .

c) If you subtract twice the first equation from the second, you get , which is impossible. No triple satisfies both: SI.

Example 3 Hard

A system that comes from a problem

A shop buys T-shirts, sweatshirts and caps. It buys 20 items in total and pays 270 euros. Each T-shirt costs 10 euros, each sweatshirt 25 euros and each cap 5 euros.

a) Set up the system that describes the situation with these two conditions, and express it with as a parameter. What type of system is it?

b) Given that , , are non-negative integers, how many different purchases are possible?

c) It is also known that there are 2 caps fewer than sweatshirts. Find , and .

Solution

a) The two conditions give:

Dividing the second by 5: . Subtracting the first: , so . Substituting into the first, . With :

There are two equations and three unknowns, and no contradiction: the system is consistent with infinitely many solutions.

b) We need and : gives , and gives . As is an integer, : there are 4 possible purchases.

c) The new condition is , that is, , which gives and . Then , , . Check: items and euros.

In the exam: set up the system by stating what each unknown represents and, if the solution depends on a parameter, name it and say what type of system it is. After obtaining the general solution, check the constraints of the context (integers, non-negative values): these usually earn marks of their own.

Common mistakes

Summary

  • Linear equation in three unknowns: . Its solutions are triples and there are infinitely many; they are described with two parameters and .
  • system: three linear equations with coefficients and constant terms . A solution satisfies all three at once.
  • Homogeneous system (): always consistent, with the trivial solution .
  • Classification: SCD (one solution), SCI (infinitely many, with parameters) and SI (none). There is never a finite number of solutions greater than one.
  • An impossible equality such as signals an inconsistent system; a redundant equation with free unknowns signals a system with infinitely many solutions.
  • Geometrically, each equation is a plane, and the classification describes how the planes meet (developed in topic 8).
  • With the GDC (Paper 2) the solution is only obtained when it is unique; in the other cases you must reason by hand, as in Paper 1.
Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp