Revise of Important Concept – Straight Line


(A) Equation of a straight Line 

 An equation of straight line is given by y = mx + c.
The variables x and y are linearly related
The term c is known as y-intercept. It represents the y value where the line cuts the y-axis
The term m is the gradient of the straight line and its value is constant



(B) Gradient of a Straight Line
If the points A ( x 1 , y 1 )  and B ( x 2 , y 2 )   lie on the straight line y = m x + c , then gradient of ,the straight line
m = y 2 y 1 x 2 x 1 o r y 1 y 2 x 1 x 2



(C) Mid Point 



Mid Point AB is given by M = ( x 1 + x 2 2 , y 1 + y 2 2 )


(D) Distance Between Two Points
Distance between point A ( x 1 , y 1 ) and point is B ( x 2 , y 2 ) given by ( x 1 x 2 ) 2 + ( y 1 y 2 ) 2

Equations Of Line Of Best Fit


A set of two variables are related non linearly can be converted to a linear equation.  The line of best fit can be written in the form

Y = mX + c


where
X and Y are in terms of x and/or y
m is the gradient,
c is the Y-intercept

Recall: To find equation of straight line
(1)  Equation of a straight line if gradient (m) and one points ( x 1 , y 1 ) are given:
Y y 1 = m ( X x 1 )
(2)  Equation of a straight line if gradient (m) and y-intercept (c) are given:
Y = m X + c

Reduce Non-Linear Function To Linear Function – Examples (A) To (F)

Examples:
Reduce each of the following equations to the linear form. Hence, state the gradient and the Y-intercept of the linear equations in terms of  a and b.
(a)  y = a x 3 + b x 2
(b)  y = a x + b x
(c)  y = a x b x 2
(d)  x y = p x + q x
(e)  y = a x + b x
(f)  a y = b x + 1

[Note :
X and Y cannot have constant, but can have the variables (for example x and y)
 m and c can only have the constant(for example a and b), cannot have the variables x and y]

Solution:







The Line Of Best Fit

2.2 The Line of Best Fit

Line of best fit 
has 2 characteristics:
(i) it passes through as many points as possible,
(ii) the number of points which are not on the line of best fit are equally distributed on the both sides of the line.

Example
Check whether the following graph has the characteristic of the line of best fit

(a)


Yes! This is the Line of Best Fit
.
Notice that you have 3 points passes through the straight line,1 points above the line and 1 point below the line. The number of points which are not on the line of best fit are equally distributed on the both sides of the line.

(b)


No. This is NOT the Line of Best Fit
.
Notice you have more points above the line than below the line. The number of points which are not on the line of best fit are NOT equally distributed on the both sides of the