Book 2
Book 2
UNIVERSITY OF DELHI
Session: (2024-2025)
B.COM (HONOURS)
Semester 5
Submitted by:
Name: Anurag Singla
Roll no.: 2022/0188
Section: A (P-1)
Subject: IT Skills & Data Analysis
Submitted To:
Prof. Shveta G. Kuckreja
Functions and their graphical representation
A function is a relation in which each element of the input is associated with exactly one
element of the output 1 input only has 1 output
-4 15 15
-3 12.5
-2 10 10
-1 7.5
y axis
5
0 5
1 2.5 0
2 0 -6 -4 -2 0 2 4 6
-5
3 -2.5
4 -5 -10
x axis
cubic function
2) f(x)=x^3-9x
40
x y
30
-4 -28
-3 0 20
-2 10 10
-1 8
Y Axis
0
0 0 -6 -4 -2 0 2 4 6
1 -8 -10
2 -10 -20
3 0 -30
4 28
-40
X Axis
quadratic equation
3) f(x)=x^2-8x 60
x y 50
-4 48
40
-3 33
-2 20 30
Y Axis
-1 9 20
0 0
1 -7 10
2 -12 0
3 -15 -6 -4 -2 0 2 4 6
-10
4 -16
-20
X Axis
Vertical line test :-
This is a visual way to determine if a curve is a graph or function or not. In this method,
a single vertical line is drawn parallel to the Y axis for any chosen value of X. If the
vertical line you drew intersects the graph more than once for any value of X, then the
graph is not a graph of the function.
4) f(x)=x^2 20
x y 18
-4 16 16
-3 9
14
-2 4
12
-1 1
Y Axis
10
0 0
8
1 1
2 4 6
3 9 4
4 16 2
0
-6 -4 -2 0 2 4 6
X Axis
Transformation
Translation
5) Vertical Translation
y1 y2 y3
Horizontal Translation
120
100
80
60
40
20
0
-10 -8 -6 -4 -2 0 2 4 6 8 10
y1 y2 y3
Reflection
Vertical Reflection
7) Let, f(x)=x^2
x Original Reflection
f(x) [-f(x)]
-3 9 -9
-2 4 -4
-1 1 -1
0 0 0
1 1 -1
2 4 -4
Vertical Reflection
10
0
-4 -3 -2 -1 0 1 2 3
-5
-10
Original Reflection
Horizontal Reflection
8) Let,f(x)=(x-2)^2
x original reflection
x f(x) f(-x)
-3 25 1
-2 16 0
-1 9 1
0 4 4
1 1 9
2 0 16
3 1 25
Horizontal Reflection
30
25
20
15
10
0
-4 -3 -2 -1 0 1 2 3 4
original reflection
Parallel line
9) y1=x^2 y2=x^2+8
x y1 y2
0 0 8
1 1 9
2 4 12
3 9 17
4 16 24
5 25 33
Parallel Line
35
30
25
20
15
10
0
0 1 2 3 4 5 6
y1 y2
Perpendicular Line
x y1 y2
-1 -3 -0.5
0 -1 -1
1 1 -1.5
2 3 -2
3 5 -2.5
4 7 -3
8
perpendicular line
0
-2 -1 0 1 2 3 4 5
-2
y1 y2
-4
11) Draw a line parallel to 2x+4 passing through (5,8)
f(x)=2x+4
so, Equation of parallel line passing(5,8) is 8=2(5)+b
then, b=-2
x y y(parallel)
0 4 -2
1 6 0
2 8 2
3 10 4
4 12 6
5 14 8
-4
y y(parallel)
Exponential function
120
100
80
60
40
20
0
-4 -3 -2 -1 0 1 2 3 4
y1 y2
Logarithmic function
Logarithmic Function
4
0
0 2 4 6 8 10 12
-1
-2
14) Locate two points on the graph, choosing points whose coordinates are integers (0,
−3) and (5,1)
x1 x2 y1 y2
0 5 -3 1
so, f(x)=0.8x 5
x f(x) 4
1 0.8
Y Axis
3
2 1.6
3 2.4 2
4 3.2
1
6 4.8
7 5.6 0
0 1 2 3 4 5 6 7 8
X Axis
2y=-4-3x
y=-4/2-3x/2
y=-3/2x-2 Y=mx+b
m=-3/2 b=-2
2
x y
0
-2 1
-3 -2 -1 0 1 2 3 4 5 6
-1 -0.5 -2
0 -2
1 -3.5 -4
2 -5
3 -6.5 -6
4 -8
-8
5 -9.5
-10
-12
Correlation
x̄ 5 ȳ 30
b= 2 a= 20
r² = (a∑Y+b∑XY-n*ȳ²)/∑y²-n*ȳ²)
r² = 0.826446
where, r = coefficient of correlation
r= 0.909091
x̄ ∑X/n
3
ȳ ∑Y/n
6
b ∑XY-nxȳ̄/∑X^2-nx^̄2
(slope of the line) 0.75
a ȳ-bx̄
(y-intercept) 3.75
Ŷ a+bX
3.75+0.75X
x̄ ∑X/n ȳ ∑Y/n
5 30
b ∑XY-nxȳ̄/∑X^2-nx^̄2
2
a ȳ-bx̄
20
Ŷ a+bX
20+2X
Question Cost accountants often estimate overhead based on the level of production. At the
Standard Knitting Co., they have collected information on overhead expenses and
units produced at different plants, and want to estimate a regression equation to
predict future overhead
20) Regression
X 13 16 14 11 17 9 13
Y 6.2 8.6 7.2 4.5 9 3.5 6.5
X 17 18 12
Y 9.3 9.5 5.7
a) 10.0
X Y
9.0 9 3.5
8.0 11 4.5
12 5.7
7.0 13 6.2
13 6.5
6.0
14 7.2
Y Axis
5.0 16 8.6
17 9
4.0
17 9.3
3.0 18 9.5
2.0
1.0
0.0
0 2 4 6 8 10 12 14 16 18 20
X Axis
b) Develop the estimation equation that best describes the data.
X Y XY x^2
13 6.2 80.6 169
16 8.6 137.6 256
14 7.2 100.8 196
11 4.5 49.5 121
17 9 153 289
9 3.5 31.5 81
13 6.5 84.5 169
17 9.3 158.1 289
18 9.5 171 324
12 5.7 68.4 144
140 70 1035 2038
X¯ 14
y̅ 7
Y^=-2.8718+0.7051X
b 0.705128
a -2.871795
Multiple Regression