# 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
(1)  Equation of a straight line if gradient (m) and one points $\left({x}_{1},{y}_{1}\right)$   are given:
$Y− y 1 =m(X− x 1 )$
$Y=mX+c$