Virtual laboratory/Mathematics/Algebra/System of linear equations — parallel lines

System of linear equations — parallel lines

A system of two linear equations is two lines. Drag the coefficients and see when there is exactly one solution, when there is none (distinct parallel lines), and when there are infinitely many.

System of linear equations — parallel lines
Mathematics · Algebra · System of linear equations — parallel lines
Slope a1a_11
Intercept b1b_11
Slope a2a_2-0.5
Intercept b2b_2-2
A system of two equations whose lines are parallel (and distinct) has…
line 1
y=1x+ 1
line 2
y=-0.5x− 2
relative position
intersecting
number of solutions
1 (one)
🎯 Challenge: how many solutions?
streak: 0

I will give you a system of two equations — identify the number of solutions without the sliders. Compare the slopes first, then the intercepts.

A system of two equations is two lines

Every linear equation y=ax+by = ax + b is a line in the plane. A system of two such equations describes two lines:

{y=a1x+b1y=a2x+b2\begin{cases} y = a_1x + b_1 \\ y = a_2x + b_2 \end{cases}

A solution of the system is a pair (x,y)(x, y) that satisfies both equations at once — that is, a common point of the two lines. So the number of solutions equals the number of points the lines share.

Three possible cases:

The lines intersect (a1≠a2a_1 \neq a_2) — they have exactly one common point → one solution. The intersection point:

x=b2−b1a1−a2,y=a1x+b1x = \dfrac{b_2 - b_1}{a_1 - a_2}, \qquad y = a_1x + b_1

Parallel, distinct lines (a1=a2  ∧  b1≠b2a_1 = a_2 \;\wedge\; b_1 \neq b_2) — they have the same slope but are shifted vertically, so they never meet. The solution set is empty — the system is inconsistent, no solutions.

a1=a2  ∧  b1≠b2  ⟹  no solutionsa_1 = a_2 \;\wedge\; b_1 \neq b_2 \;\Longrightarrow\; \text{no solutions}

The lines coincide (a1=a2  ∧  b1=b2a_1 = a_2 \;\wedge\; b_1 = b_2) — it is the same line, every point of which is shared → infinitely many solutions (an undetermined system).

How do you solve such a system?

Substitution method — isolate one variable from one equation and plug it into the other. Elimination method — multiply the equations so that adding them cancels one variable.

For a system in general form you can also use a determinant. Writing the lines as a1x−y=−b1a_1x - y = -b_1 and a2x−y=−b2a_2x - y = -b_2, the main determinant is:

W=∣a1−1a2−1∣=a2−a1W = \begin{vmatrix} a_1 & -1 \\ a_2 & -1 \end{vmatrix} = a_2 - a_1

W≠0W \neq 0 (that is, a1≠a2a_1 \neq a_2) → exactly one solution. When W=0W = 0, the system is either inconsistent (none) or undetermined (infinitely many) — comparing the intercepts settles it.

Why this matters for the exam:

Before you start computing, compare the slopes. Equal slopes are a signal: either no solutions or infinitely many — the intercept then decides the outcome. This saves time and guards against mistakes.

Remember: the number of solutions of a system = the number of points the lines share. Parallel and distinct (a1=a2,  b1≠b2a_1=a_2,\; b_1\neq b_2) → the solution set is empty, the system is inconsistent.

Illustrative model · NexTutor Virtual laboratory

Enjoyed the experiment? Share it.

It's free — send it to friends from school.

Theory & formulas

A system is two lines

{a1x+b1y=c1a2x+b2y=c2\begin{cases}a_1x+b_1y=c_1\\ a_2x+b_2y=c_2\end{cases} Each equation defines a line; a solution of the system is their common point.

Three cases

  • one solution — the lines intersect: a1a2≠b1b2\dfrac{a_1}{a_2}\ne\dfrac{b_1}{b_2}
  • no solutions — parallel and distinct: a1a2=b1b2≠c1c2\dfrac{a_1}{a_2}=\dfrac{b_1}{b_2}\ne\dfrac{c_1}{c_2}
  • infinitely many — coincident: a1a2=b1b2=c1c2\dfrac{a_1}{a_2}=\dfrac{b_1}{b_2}=\dfrac{c_1}{c_2}

Determinant

The determinant W=a1b2−a2b1W=a_1b_2-a_2b_1 also settles it: when W≠0W\ne 0, the system has exactly one solution.

Notation: ai,bi,cia_i,b_i,c_i are the coefficients of the equations, WW is the main determinant.

Frequently asked questions

›

How many solutions does a system of distinct parallel lines have?

Zero — the lines never intersect, so the system is inconsistent (no solutions).

›

What does the number of solutions of a system depend on?

On the relative position of the lines: intersecting → 1, parallel and distinct → 0, coincident → infinitely many.

Teaching? Embed this experiment on your site.

Free widget — paste it on your school site, blog or notes. It links to the full version.

Teaching a class or tutoring? Guide students in NexTutor →