# How do you write linear equations in function notation?

First, convert the linear equation to slope-intercept form. The slope-intercept form of a linear equation is: $y = \textcolor{red}{m} x + \textcolor{b l u e}{b}$
Where $\textcolor{red}{m}$ is the slope and $\textcolor{b l u e}{b}$ is the y-intercept value.
Then switch out the $y$ variable for $f \left(x\right)$:
$f \left(x\right) = m x + b$