I know that if we multiply the gradient of 2 perpendicular lines they must be equal to -1. But why doesn't it applies when the lines are the x-axis(y=0) and the y-axis(x=0)..
The gradient of the x-axis will be 0(zero). The gradient of the y-axis will be ∞.