Subjects algebra

Line Equation 2Ffa60

Step-by-step solutions with LaTeX - clean, fast, and student-friendly.

Use the AI math solver

1. **Problem statement:** Find the equation of the straight line passing through the points $(1,4)$ and $(-2,-2)$ in the form $y = mx + c$. 2. **Formula used:** The slope $m$ of a line passing through points $(x_1,y_1)$ and $(x_2,y_2)$ is given by: $$m = \frac{y_2 - y_1}{x_2 - x_1}$$ Once $m$ is found, use the point-slope form to find $c$: $$y = mx + c \implies c = y - mx$$ 3. **Calculate the slope $m$:** $$m = \frac{-2 - 4}{-2 - 1} = \frac{-6}{-3} = 2$$ 4. **Find $c$ using point $(1,4)$:** $$c = y - mx = 4 - 2 \times 1 = 4 - 2 = 2$$ 5. **Write the equation of the line:** $$y = 2x + 2$$ **Final answer:** The equation of the line passing through $(1,4)$ and $(-2,-2)$ is $$y = 2x + 2$$