Linear Function

Linear Function:

Article Contents

  1. What is a Linear Function?
  2. Slope k
  3. Y-intercept q
  4. Drawing the Graph (Two-Point Method)
  5. SVG: Comparing Linear Functions
  6. Special Cases
  7. Parallel Lines
  8. Finding the Equation from Two Points
  9. Intersection with Axes
  10. Properties
  11. Common Mistakes
  12. Interactive Exercises

1. What is a Linear Function? {#what-is-linear}

A linear function is a function of the form:

where:

  • is the slope (gradient) -- how steep the line is
  • is the y-intercept -- where the line crosses the y-axis

The graph is always a straight line.

Relationship to Direct Proportion

When , the linear function becomes , which is a direct proportion. So direct proportion is a special case of the linear function.


2. Slope k {#slope-k}

The slope tells us how much changes when increases by 1:

Value of MeaningGraph
Function is increasingLine goes up to the right
Function is decreasingLine goes down to the right
Function is constantHorizontal line ()
$k$ largeSteep line
$k$ smallGentle line

Example

For : the slope is .

This means: when increases by 1, increases by 3.


3. Y-intercept q {#y-intercept-q}

The y-intercept is the value of :

So the graph crosses the y-axis at the point .

Value of Where the line crosses the y-axis
Above the origin
At the origin (direct proportion)
Below the origin

4. Drawing the Graph (Two-Point Method) {#drawing-graph}

To draw a straight line, you only need two points. Here is the method:

Step 1: Find two points

Choose two easy values of (often and , or where ).

Step 2: Calculate

Step 3: Plot and connect

Example:

  • Point 1: gives
  • Point 2: gives
  • Point 3 (check): gives

Plot these points and draw a straight line through them.


5. SVG: Comparing Linear Functions {#comparing-functions}

x y 1 2 3 4 -1 -2 -3 1 2 3 4 -1 -2 -3 y = 2x + 1 y = -x + 2 y = 0.5x - 1
FunctionSlope Y-intercept Behaviour
Increasing, steep
Decreasing
Increasing, gentle

Notice how:

  • The blue and green lines both go upward (positive ), but blue is steeper
  • The red line goes downward (negative )
  • Each line crosses the y-axis at its value

6. Special Cases {#special-cases}

CaseEquationGraph
Horizontal line
Direct proportion (through origin)
The identity line (45 degree angle)

7. Parallel Lines {#parallel-lines}

Two linear functions are parallel if and only if they have the same slope .

Example

and are parallel (both have ).

They never intersect -- the distance between them is constant.

x y y = 2x + 2 y = 2x - 1 same k Rule: Same slope = parallel. Different slope = the lines will intersect at exactly one point.

8. Finding the Equation from Two Points {#equation-from-points}

Given two points and :

Step 1: Calculate the slope:
Step 2: Use one point to find :

Example

Find the equation of the line through and .

Check: -- correct.

9. Intersection with Axes {#intersection-axes}

Y-axis intersection

Set :

The line crosses the y-axis at .

X-axis intersection (zero of the function)

Set :

The line crosses the x-axis at .

Example:

  • Y-intercept:
  • X-intercept: , so

10. Properties {#properties}

PropertyValue
Formula
GraphStraight line
Domain
Range (if ) or (if )
Slope
Y-intercept
X-intercept for
IncreasingWhen
DecreasingWhen
Parallel linesSame slope

11. Common Mistakes {#common-mistakes}

MistakeCorrection
Confusing slope and y-interceptIn , is the slope (multiplies ), is the y-intercept (constant)
Using only one point to drawUse at least two points; three for verification
Thinking parallel lines have the same Parallel means same , not same
Writing The slope is , not
Confusing with direct proportionDirect proportion: (no ). Linear:

12. Interactive Exercises {#interactive-exercises}

Practice linear functions:


Summary

ConceptDescription
Linear function
Slope Rate of change; steepness and direction of the line
Y-intercept Where the line crosses the y-axis:
DrawingFind 2 points, plot them, draw a straight line
ParallelSame slope , different
Special case gives direct proportion