MA1522 Tutorial1 Solutions
MA1522 Tutorial1 Solutions
Department of Mathematics
1. (a) Find a linear equation in the variables x and y that has a general solution x = 1+2t
and y = t where t is an arbitrary parameter.
2. Find a linear equation in the variables x, y, and z that has a general solution
x = 3 − 4s + t
y = s s, t ∈ R .
z = t
(a)
3x1 + 2x2 − 4x3 = 3
2x1 + 3x2 + 3x3 = 15
5x1 − 3x2 + x3 = 14
Solution:
3 2 −4 3 5 2
R3 − 3 R1 ,R2 − 3 R1
3 2 −4 3 19
R3 + R2
3 2 −4 3
2 3 3 15 −−−→ −−−−−−−→ 0 35 17
3
13 −−−−5−→ 0 53 17 3
13
19 23 146 292
5 −3 1 14 0 −3 3
9 0 0 5 5
5
R3 ,3R2
3 2 −4 3 3 2 −4 3 1
R2 R1 −2R2 R1 +4R3
R −17R3
−−−−−→ 0 5 17 39 −−2−−−→
−146 0 5 0 5 −5−→ −−−−→−−−−→
0 0 1 2 0 0 1 2
3 0 0 9 1R 1 0 0 3
1
0 1 0 1 −3−→ 0 1 0 1
0 0 1 2 0 0 1 2
(c)
x − 4y + 2z = −2
x + 2y − 2z = −3
x − y = 4
Solution:
a 0 b 2 a 0 b 2
a a 4 4 → 0 a 4 − b 2 .
0 a 2 b 0 0 b−2 b−2
Case 1: b ̸= 2.
a 0 b 2 a 0 0 2−b
→ 0 a 4 − b 2 → 0 a 0 b − 2
0 0 1 1 0 0 1 1
If a = 0, system is inconsistent. If a ̸= 0, system has a unique solution.
Case 2: b = 2.
a 0 2 2
→ 0 a 2 2 .
0 0 0 0
If a = 0, then system has infinitely many solutions with two free variables. If a ̸= 0,
then system has infinitely many solution with one free variable.
We summarize our findings.
5. (a) Does an inconsistent linear system with more unknowns than equations exist?
Solution: Yes, for example
x + y + z = 0
x + y + z = 1
(b) Does a linear system which has only one solution, but more equations than un-
knowns, exist?
Solution: Yes, for example
x + y = 0
x − y = 0
2x + 4y = 0
(c) Does a linear system which has only one solution, but more unknowns than equa-
tions, exists?
Solution: No. A linear system with more unknowns than equations will either
have no solution or infinitely many solutions.
(d) Does a linear system which has infinitely many solutions, but more equations than
unknowns, exists?
Solution: Yes, for example
x + y = 1
2x + 2y = 2
3x + 3y = 3
6. Solve the following system of non-linear equations:
x2 − y 2 + 2z 2 = 6
2x2 + 2y 2 − 5z 2 = 3
2x2 + 5y 2 + z 2 = 9
X − Y + 2Z = 6
2X + 2Y − 5Z = 3
2X + 5Y + Z = 9
x3 x4 x5
400 D x6 E x7 F 450
x1 + x3 = 800
x1 − x2 + x4 = 200
x2 − x5 = 500
x3 + x6 = 750
− x4 − x6 + x7 = −600
x5 − x7 = −50
1 0 0 0 0 −1 0 50
0
1 0 0 0 0 −1 450
0 0 1 0 0 1 0 750
In fact, the RREF is , which shows that we need 2
0
0 0 1 0 1 −1 600
0 0 0 0 1 0 −1 −50
0 0 0 0 0 0 0 0
parameters.
(c) Can the road between junction A and B be closed for construction while still keeping
the traffic flowing in the same directions on the other streets? Explain.
Solution: As the line passes through the origin and the point (1, 1, 1), we have d = g =
h = k = 0 and a + b + c = 0, e + f = 0. Since the row-echelon form must have two
nonzero rows (so that the solutions form a line in the xyz-space), e ̸= 0. Finally, the
augmented matrix is in reduced row-echelon form, we get a = e = 1, b = 0 and hence
f = c = −1.
2. Determine which of the following statements are true. Justify your answer.
(c) If a homogeneous system has the trivial solution, then it cannot have a non-trivial
solution.
(e) If a homogeneous system has a unique solution, then the solution has to be trivial.
Solution: True, since the trivial solution is always a solution.
(f) If a homogeneous system has the trivial solution, then the solution has to be unique.
(g) If a homogeneous system has a non-trivial solution, then there are infinitely many
solutions to the system.
Solution: True. Any multiple of an non-trivial solution to a homogeneous system
is solution too. More precisely, if (a, b, c) is a non-trivial solution, then (ka, kb, kc)
for any real number k is also a solution.
I2
I1
I3
(Kirchoff ’s Voltage Law (KVL)) In one traversal of any closed loop, the sum of the
voltage rises equals to the sum of the voltage drops.
In circuits with multiple loops and batteries there is usually no way to tell in advance
which way the currents are flowing, so the usual procedure in circuit analysis is to
assign arbitrary directions to the current flows in the branches and let the mathematical
computations determine whether the assignments are correct. In addition to assigning
directions to the current flows, Kirchoff’s Voltage Law requires a direction of travel for
each closed loop. The choice is arbitrary, but for the sake of consistency we will always
take this direction to be clockwise. We will also make the following conventions:
• A voltage drop occurs at a resistor if the direction assigned to the current through
the resistor is the same as the direction assigned in the loop, and a voltage rise
occurs at a resistor if the direction assigned to the current through the resistor is
the opposite to that assigned in the loop.
• A voltage rise occurs at a battery if the direction assigned to the loop is from −
to + through the battery, and a voltage drop occurs at a battery if the direction
assigned to the loop is from + to − through the battery.
If we follow these conventions when calculating currents, then those currents whose
directions were assigned correctly will have positive values and those whose direction
were assigned incorrectly will have negative values.
For each of the following circuits, use KCL and KVL to write down a linear system with
equations involving variables I1 , I2 , . . .. Solve the linear system by Gaussian Elimination.
I1 I2
I3
5Ω 20 Ω 10 Ω
50 volts 30 volts
(a)
1Ω
2Ω
I2 I2
4Ω
I3 I3
8 volts
(b)