# Linear Functions
> A complete lesson on linear functions: definition, graph, slope, and applications.
---
LLMS index: [llms.txt](/llms.txt)
---
## Introduction to Linear Functions
A **linear function** is a function that creates a straight line when graphed. It describes a relationship where one variable changes at a constant rate with respect to another.
The general form of a linear function is:
**The Formula:**
Where:
* is the input (independent variable).
* is the output (dependent variable, often called ).
* is the **slope** (or coefficient).
* is the **y-intercept**.
---
## 1. Understanding the Slope ()
The slope measures the **steepness** of the line. It represents the rate of change: how much changes when increases by 1.
* If , the line goes **up** (increasing function).
* If , the line goes **down** (decreasing function).
* If , the line is **horizontal** (constant function).
**Formula for slope between two points:**
---
## 2. The y-Intercept ()
The y-intercept is the point where the line crosses the y-axis. This happens when .
So, .
---
## 3. Graphing a Linear Function
To draw the graph of a linear function, you only need **two points**.
**Example 1:** Graph .
**Step 1:** Find two points.
* When , . Point: .
* When , . Point: .
**Step 2:** Plot the points and draw the line through them.
**Key features of the graph:**
* The line crosses the y-axis at **1**.
* The slope is **2**, meaning for every 1 unit right, the line goes 2 units up.
---
## 4. Finding the Equation from a Graph
If you have a line, you can find its equation by identifying and .
**Example 2:** A line passes through and . Find its equation.
**Step 1:** The y-intercept is (because the line passes through ).
**Step 2:** Calculate the slope.
**Step 3:** Write the equation.
---
## 5. Applications: Word Problems
Linear functions are used to model real-life situations with a constant rate of change.
**Example 3:** A taxi charges a base fare of \$3 plus \$2 per kilometer.
**Step 1:** Identify the fixed cost (y-intercept) and the variable cost (slope).
* Fixed cost:
* Cost per km:
**Step 2:** Write the function.
where is the distance in km.
**Step 3:** Calculate the cost for 10 km.
The cost is **\$23**.
---
## 6. Summary Table
| Concept | Formula | Meaning |
| :--- | :--- | :--- |
| **Linear Function** | | Equation of a line |
| **Slope** | | Rate of change (steepness) |
| **y-Intercept** | | Point where |
| **Increasing** | | Line goes up |
| **Decreasing** | | Line goes down |
---
Section pages:
- [Exercises: Linear Functions](/mathematics/college/3ac/linear-functions/exercises/): Interactive exercises on linear functions, slope, and equations.
- [assessments](/mathematics/college/3ac/linear-functions/assessments/)
- [lessons](/mathematics/college/3ac/linear-functions/lessons/)