Facebook Pixel
Mathos AI logo

Linear Functions and Graphs

Understanding Linear Functions and Graphs

A linear function is a mathematical relationship that graphs as a straight line. The key feature of a linear function is its constant rate of change, which we call the slope.

Forms of Linear Equations

Linear functions can be written in three main forms:

  1. Slope-Intercept Form: y=mx+by = mx + b Here, mm is the slope, and bb is the yy-intercept (the point where the line crosses the yy-axis).
  2. Point-Slope Form: yy1=m(xx1)y - y_1 = m(x - x_1) Use this form when you know the slope mm and a specific point (x1,y1)(x_1, y_1) on the line.
  3. Standard Form: Ax+By=CAx + By = C AA, BB, and CC are generally integers, and AA is traditionally positive.

Understanding Slope

The slope (mm) measures the steepness of the line. You can find it using any two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) on the line: m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

  • Parallel Lines: Have the exact same slope (m1=m2m_1 = m_2).
  • Perpendicular Lines: Have slopes that are negative reciprocals of each other (m1m2=1m_1 \cdot m_2 = -1, or m1=1m2m_1 = -\frac{1}{m_2}).

Example Problems

Example 1: Write the equation of the line passing through (2,5)(2, 5) and (4,11)(4, 11).

First, calculate the slope: m=11542=62=3m = \frac{11 - 5}{4 - 2} = \frac{6}{2} = 3

Next, use the point-slope form with the point (2,5)(2, 5): y5=3(x2)y - 5 = 3(x - 2)

To convert this to slope-intercept form, distribute and isolate yy: y5=3x6y - 5 = 3x - 6 y=3x1y = 3x - 1

Example 2: Graph y=2x+3y = -2x + 3 and identify the slope and intercepts.

  • Slope (mm): 2-2. This means for every 11 unit you move right, you move down 22 units.
  • yy-intercept (bb): 33. The line crosses the yy-axis at the point (0,3)(0, 3).
  • xx-intercept: Set y=0y = 0 and solve for xx: 0=2x+3    2x=3    x=1.50 = -2x + 3 \implies 2x = 3 \implies x = 1.5 The line crosses the xx-axis at (1.5,0)(1.5, 0).

To graph the line, start by plotting the yy-intercept at (0,3)(0, 3). Then, use the slope to find the next point: from (0,3)(0, 3), go down 22 units and right 11 unit to land at (1,1)(1, 1). Draw a straight line extending through these points.