Given:
The given equation of a line is,
![y=-(1)/(4)x+2](https://img.qammunity.org/2023/formulas/mathematics/high-school/myox3jle9hgm1frk51g4hrn0o3ej6s19d3.png)
The objective is to find the slope of a parallel line and the slope of a perpendicular line.
Step-by-step explanation:
The general equation of a straight line is,
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
Here, m represents the slope of the equation.
By comparing the general equation with the given equation,
![m=-(1)/(4)](https://img.qammunity.org/2023/formulas/mathematics/high-school/w0zo1ty46a1vrk6oo7kh4rg2s9e3mbr6z1.png)
To find slope of parallel lines:
The slope value of two parallel lines will always be equal.
![\text{Slope of parallel line =-}(1)/(4)](https://img.qammunity.org/2023/formulas/mathematics/college/f8bk3yq6wq5vb8hv09uaxmk14oftiss074.png)
To find slope of perpendicular line:
But for perpendicular lines the product of slope value of two perpendicular lines will be (-1).
![\begin{gathered} m*\text{Slope of perpendicular line = -1} \\ -(1)/(4)*\text{ Slope of perpendicular line = -1} \\ \text{Slope of perpendicular line = -1}*(-(4)/(1)) \\ \text{Slope of perpendicular line =}4 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/2f3g5lxu8v0vrjac39qzk7sghv9rsu8811.png)
Hence,
Slope of parallel line: -(1/4),
Slope of perpendicular line: 4.