# How do you write an equation that passes through the origin and has a slope of 3?

Feb 21, 2017

See the entire solution process below:

#### Explanation:

The origin is the point $\left(0 , 0\right)$

We can use the point-slope formula to find the equation of the line passing through the origin and having a slope of 3. The point-slope formula states: $\left(y - \textcolor{red}{{y}_{1}}\right) = \textcolor{b l u e}{m} \left(x - \textcolor{red}{{x}_{1}}\right)$

Where $\textcolor{b l u e}{m}$ is the slope and $\textcolor{red}{\left(\left({x}_{1} , {y}_{1}\right)\right)}$ is a point the line passes through.

Substituting the slope and point from the problem gives:

$\left(y - \textcolor{red}{0}\right) = \textcolor{b l u e}{3} \left(x - \textcolor{red}{0}\right)$

$y = 3 x$