MATH 1003 Calculus and Linear Algebra (Lecture 5) : Albert Ku
MATH 1003 Calculus and Linear Algebra (Lecture 5) : Albert Ku
Albert Ku
Remark
A collection of equations is called a system.
There are two unknowns (or variables) x and y in the system.
To find a solution to the system, we need to find the values of x and
y that satsify the two equations in the system.
Method of Substitution
x − 2y = 2 (1)
x +y = 5 (2)
(2 + 2y ) + y = 5
Solving, we get y = 1.
Method of Elimination
Multiply both sides of (2) by 2, we have
2x + 2y = 10 (4)
(x − 2y ) + (2x + 2y ) = 2 + 10
⇒ 3x = 12
Solving, we have x = 4.
Graphical Method
Definition
Given the linear system (
ax + by =h
cx + dy =k
where a, b, c, d, h and k are constants. A pair of number (x0 , y0 ) is a
solution of this system if each equation is satisfied by this pair.
Question: Can a linear system always be solved? Can a linear system have
more than one solution? (Hint: Imagine how many ways can two straight
lines intersect each other.)
Example
Solve each of the following systems
(
x +y =4
(a)
2x − y = 2
(
6x − 3y = 9
(b)
2x − y =3
(
2x − y =4
(c)
6x − 3y = −18
Solution of (a)
(
x +y =4
2x − y =2
(x + y ) + (2x − y ) = 4 + 2
⇒ 3x = 6
Therefore, x = 2 and by substituting it into the first equation, we get
y = 2.
Solution of (b)
(
6x − 3y =9
2x − y =3
Multiply the second equation by -3 and add to the first equation, we have
(6x − 3y ) + (−6x + 3y ) = 9 − 9
⇒0=0
Notice that this happens because two equations are essentially the same.
Therefore, (x, y ) is a solution to the system if it satifies any one equation.
Solution of (c)
(
2x − y =4
6x − 3y = −18
Multiply the first equation by -3 and add to the second equation, we have
⇒ 0 = −30
A contradiction is obtained. Therefore, there does not exist (x, y ) that
satisfies the system.
There is no solution.
Theorem
The linear system (
ax + by =h
(3)
cx + dy =k
must have
(a) Exactly one solution. In this case, we call the system (3) independent
consistent.
(b) Infinitely many solutions. In this case, we call the system (3)
dependent consistent.
(c) No solution. In this case, we call the system (3) inconsistent.
An Application
Example
At $0.6 per bottle, the daily supply for milk is 450 bottles, and the daily
demand is 570 bottles. When the prices is raised to $0.75 per bottle, the
daily supply increases to 600 bottles, and the daily demand decreases to
495 bottles. Assume that the supply and the demand equation are linear.
Find the equilibrium.
Remark
The equilibrium is the price and quantity that satify both the demand
and supply equations.
The example is not quite realistic because the demand and supply
equations are seldom linear.
Solution
Let $p be the price and q bottles be the quantity of milk.
Given the information about the demand of milk, we can construct the
demand equation as follows:
p − 0.6 0.6 − 0.75
=
q − 570 570 − 495
⇒ p + 0.002q = 1.74
Similarly, we can construct the supply equation as follows:
p − 0.6 0.6 − 0.75
=
q − 450 450 − 600
⇒ p − 0.001q = 0.15
p + 0.002q = 1.74
p − 0.001q = 0.15