• Major: Chemical Engineering • Subject: Chemical Engineering Mathematics 2
• Author: • Andrew KUM KUMORO ORO
• e!t" o# Chemical Engineering • i!onegoro Uni$ersit% • 2&'(
CHAPTER 2 LINEAR EQUATIONS and and SIMULTANEOUS LINEAR EQUATIONS
SUB CHAPTER Linear
equations
Simultaneous
linear equations with two
unknowns
Simultaneous
three unknowns
linear
equations
with
LINEAR EQUATIONS
Solution of simple equations A linear equation in a single variable (unknown) involves powers of the variable no higher than the rst. A linear equation is also referred to as a simple equation. The solution of simple equations consists essentially of simplifying the expressions on each side of the equation to obtain an ax + b = cx + d giving ax − cx = d −b and hence equation of the form x =
d −b a −c
SIMULTANEOUS LINEAR EQUATIONS WITH TWO UNKNOWNS
Solution
by graphical methos
Solution
by substitution
Solution by coecients/Elimination
equating
Simultaneous linear euations !it" t!o un#no!ns
Solution by graphical method !et us consider the following system of two simultaneous linear equations in two variable. "x # y $ %& 'x "y $ *ere we assign any value to one of the two variables and then determine the value of the other variable from the given equation.
Solution by substitution A linear equation in two variables has an innite number of solutions. +or two such equations there may be ,ust one pair of x % and y %values that satisfy both simultaneously. +or(aexample ) 5x + 2 y =14 (b)
3x − 4 y = 24 from (a): 5 x + 2 y =14
∴ 2 y =14 −5 x ∴ y = 7 − 5 x
5 x
in (b)
3x − 4 7 −
= 24 ∴ x = 4 ÷ 2
in (a)
5(4) + 2 y =14
∴ y = −3
2
Simultaneous linear euations !it" t!o un#no!ns
Solution by equating coecients/Elimination -xample (a) (b)
3x + 2 y =16 4 x − 3 y =10
ultiply (a) by ' (the coe/cient of y in (b)) and multiply (b) by " (the coe/cient of y in (a)) (a) × 3 (b) × 2
9 x + 6 y = 48 8 x − 6 y = 20 add together to give 17 x = 68 ∴ x = 4
!"#tit!te in (a) to give 3(4) + 2 y =16
∴ y=2
Simultaneous linear euations !it" t"ree un#no!ns 0ith three unknowns and three equations the method of solution is ,ust an extension of the work with two unknowns. 1y equating the coe/cients of one of the variables it can be eliminated to give two equations in two unknowns. These can be solved in the usual manner and the value of the third variable evaluated by substitution.
Simultaneous linear euations Pre-simplifcation 2ometimes3 the given equations need to be simplied before the method of solution can be carried out. +or example3 to solve 2( x + 2 y) + 3(3x − y ) = 38 4(3 x + 2 y) − 3( x + 5 y) = −8
11 x + y = 38 2implication yields 9 x − 7 y = −8
atri! "orm o# Linear Equations $he #%#tem of e&!ation#:
A total of 4 algebraic equations for the 4 nodal points and the system can be expressed as a matrix formulation
a11
a 21 where A' a N 1
a12
!
a22
!
aN 2
!
a1 N 5A65T6$5C6 T1 C1
a2 N
a NN
T
=
T C 2 C = 2 T C N N
Numeri$al Solutions
atrix form 5A65T6$5C6. +rom linear algebra 5A6%&5A65T6$5A6% & 5C63 5T6$5A6%&5C6 where 5A6%& is the inverse of matrix 5A6. 5T6 is the solution vector. atrix inversion requires cumbersome numerical computations and is not e/cient if the order of the matrix is
Numeri$al Solutions
9auss elimination method and other matrix solvers are usually available in many numerical solution package. +or example3 :4umerical ;ecipes< by =ambridge >niversity ?ress or their web source at www.nr.com. +or high order matrix3 iterative methods are usually more e/cient. The famous @A=1B BT-;ATB4 C 9A>22%2-BD-! BT-;ATB4 methods will be introduced in the following.
Iteration "or Sol%in& Simulatenous Linear Equations
enera* a*ge"raic e&!ation for noda* +oint: i −1
N
j =1
j =i +1
∑ aijT j + aiiTi + ∑ aijT j = Ci (,-am+*e : a31T1 + a32T2 + a33T3 + ! + a1 N TN = C1 i = 3) .e/rite the e&!ation of the form: Ti
(k )
=
C i aii
i −1
−∑
aij
j =1 aii
(k ) Tj
−
N
aij
∑a
j =i +1
( k −1)
;eplace (k) by (k%&) for the @acobi iteration
T j
ii
E (k) % specify the level of the iteration3 (k%&) means the present level and (k) represents the new level. E An initial guess (k$8) is needed to start the iteration. E 1y substituting iterated values at (k%&) into the equation3 the new values at iteration (k) can be estimated
,X;, o*ve the fo**o/ing #%#tem of e&!ation# !#ing (a) the aco"i metho# (") the a!## eide* iteration method .eorganie into ne/ form: 4 X + 2Y + Z = 11 11 1 1 X' - Y- 4 2 4 2 X + Y + 4 Z = 16 3 1 Y ' X0 4 2 1 X 11 2 2 −1 2 0 Y = 3 1 1 '4- X- Y 2 1 4 Z 16 2 4 (a) Jacobi method: !#e initia* g!e## X0'Y0'0'1 #to+ /hen maX -X-1Y -Y-1 --1 ≤ 01 First iteration: X1 ' (114) - (12)Y0 - (14)0 ' 2 Y1 ' (32) (12)X 0 ' 2 1 ' 4 - (12) X0 - (14)Y0 ' 134 − X + 2Y + 0 Z = 3
Thank you for interesting in our services. We are a non-profit group that run this website to share documents. We need your help to maintenance this website.