Professional Documents
Culture Documents
Homework 1 Solutions - Essentials of Business Analytics
Homework 1 Solutions - Essentials of Business Analytics
2
2
3
-3
1
-3
10
22
-2
-2
1 1/2
1/2
-6
-4
12
R2=R1*(-2)+R2
-8
-22
R3=R1*(-4)+R3
1
0
1 1/2
1
1/2
2/3
-8
1
0
0
1 1/2
1
0
1/2
2/3
6 1/3
5
-2
-38
R3=R2*8+R3
1
0
0
1 1/2
1
0
1/2
2/3
1
5
-2
-6
R3=R3/(6 1/3)
Augmented form
5
-2
R2=R2/(-6)
-22
Solution
z
y
x
Q3
a0+a1.x+a2.x2=p(x)
x
10
p(x)
51 7/8
a0+a1.(0)+a2.(0)2=80
20
a0+a1.(4)+a2.(4) =68
30
14 3/8
40
50
60
70
80
90
100
5
1 7/8
5
14 3/8
30
51 7/8
80
a0+a1.(80)+a2.(80) =30
2
1
1
1
1
0
0
Augmented form
0
0
4
16
80
6400
0
1
80
0
4
6400
80
68
30
80
-3
-50
30
p(x)
10 0/1
8 0/1
6 0/1
-6.00
2.00
5.00
p(x)
1
0
0
0
1
0
0
4
6080
80
-3
190
10 0/1
8 0/1
6 0/1
4 0/1
1
0
0
0
1
0
0
4
1
a0
80
a1
-3 1/8
a2
1/ 32
80
-3
1/ 32
2 0/1
0/1
10 20 30 40 50 60 70 80 90 100
a0+a1.x+a2.x2=p(x)
80-(25/8)x+(1/32)x2=p(x)
Q2
Polynomical function
a0+a1.x+a2.x2+a3.x3=p(x)
d form
Linear Equations for 4 data points
(-1,-1)
(0 ,0)
a0+a1.(-1)+a2.(-1)2+a3.(-1)3=-1
2)+R2
a0+a1.(0)+a2.(0)2+a3.(0)3=0
4)+R3
a0+a1.(1)+a2.(1)2+a3.(1)3=1
(1 ,1)
(2 ,4)
a0+a1.(2)+a2.(2)2+a3.(2)3=4
(-6)
-1
-1
-1
1
1
1
0
1
2
0
1
4
0
1
8
0
1
4
1
0
0
0
-1
1
2
3
1
-1
0
3
-1
1
2
9
-1
1
2
5
1
0
0
0
-1
1
0
0
1
-1
2
6
-1
1
0
6
-1
1
0
2
1
0
0
-1
1
0
1
-1
1
-1
1
0
-1
1
0
-1
-1
-1
-1
0
0
0
0
1
0
0
1
0
1/3
8+R3
6 1/3)
Q4
x1 -x2
-x4
= -200
1/3
70 80 90 100
x2 + x3
x1
-x5
= 300
x4 + x5 -x6 = 0
+x3
-x6 = 100
a)
6 variables with 4 equations. Cannot be solved independently!
b)
x1=50
x4=0
x2=250
x5=50
x3=100
x6=50
Solution
a0
a1
2/3
a2
a3
1/3
Polynomial function
0+2/3.x+0.x2+1/3.x3=p(x)
Augmented form
2/3.x+1/3.x3=p(x)
p(x)
-3
-2
-1
0
1
2
3
R2+R1*(-1)+R2
R3+R1*(-1)+R3
R4+R1*(-1)+R4
R3=R2*(-2)+R3
R4=R2*(-3)+R4
-11
-4
-1
0
1
4
11
p(x)
R3=R3/2
R4=R4/6
1 5/1
1 0/1
5/1
0/1
R4=R3*(-1)+R4
- 5/1
-1 0/1
-1 5/1
-3
-2
-1
independently!
Matrix Transpose
(