Prove that the straight lines x+2y+1=0 and 2x−y+5=0 are perpendicular to each other.
Open in App
Solution
Slope of the straight line x+2y+1=0 is m1=−coefficientofxcoefficientofy=−12\ Slope of the straight line 2x−y+5=0 is m2=−coefficientofxcoefficientofy=−−2−1=2 Product of the slopes m1m2=−12×2=−1 ∴ The two straight lines are perpendicular.