The Straight line and its slope

What is a Straight Line?

A straight line is a locus of all points such that the moving point does not change its direction, or the rate of change of direction remains constant. In other words, a straight line is a line of zero curvature. Precisely, a straight line is the shortest distance between two points in a plane.

The general form of a straight line in two-dimensional Cartesian coordinates is:

𝑦 = 𝑚𝑥 + 𝑐

Where:

𝑚 = the slope or gradient of the line.

𝑐 = the y-intercept, i.e., the value of 𝑦 where the graph of the line crosses the y-axis.

What is Curvature?

Curvature is the amount by which a curve deviates from being a straight line, or a surface deviates from being a plane. A straight line has zero curvature, which means it does not bend.

Plotting a Straight Line

Let us take a simple linear equation:

𝑦 = 2𝑥 + 1

Computing the values of yy for various xx:

  • When x=0x = 0:

    y=2(0)+1=1
  • When x=1:

    y=2(1)+1=3
  • When x=2x = 2:

    y=2(2)+1=5
  • When x=3x = 3:

    y=2(3)+1=7
  • When x=4x = 4:

    y=2(4)+1=9y = 2(4) + 1 = 9

Solutions:

x    0        1        2        3        4    
  y=2x+1   13579

Locating the Position of a Straight Line in the Plane

We can determine the position of a straight line on a plane by:

  • Any two points through which the straight line passes.

  • Y-intercept and the angle it makes with the X-axis.

  • Intercepts on both X and Y axes

​Straight Line Formulae 

Slope (Gradient) of a Straight Line given Two Points

Given two points A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2):

m=y2y1x2x1

Equation of a Straight Line

a) Slope-Intercept Form:

y=mx+c
  • mm: slope

  • cc: y-intercept (value of yy when x=0x = 0)

b) Point-Slope Form:

yy1=m(xx1)
  • (x1,y1): a known point

  • mm: slope

c) Two-Point Form (when two points are known):

yy1=y2y1x2x1(xx1)

d) Intercept Form:

xa+yb=1
  • aa: x-intercept

  • bb: y-intercept

Condition for Parallel Lines

Comments

Popular posts from this blog

Mathematical Methods for Economics I