Any dynamic phenomenon could be identified as a variable
If X is considered as the independent variable and Y as the dependent variable , changes of Y on X could be shown on a straight line in a graph as follows
Y= mx+ c
Y = mx + c in the equation, Y = dependent variable, X = independent variable
M = gradient/ slope, C = intercept
When there is a positive relationship between the independent variable and the dependent variable, the graph has a positive slope and this can be shown as follows.
When there is a negative relationship between independent variable and the dependent
variable, the graph shows a negative slope as follows.
The ratio of the differences in independent variable and the dependent variable is the slope or gradient of the line and it could be computed as follows
Gradient/slope(b) = Difference in the horizontal axis / Difference in the vertical axis
The equation of a straight line : Y =a+ bx is applied in economics in this equation:
Y = dependent variable
a = Intercept
b =Gradient/ slope
x = Independent Variable
Slope of a straight line is constant