We know that x-intercept or y-intercept is distance at which line cut the X-axis or Y-axis respectively. Here, x-intercept is ' a ' and Y-intercept is ' b '.
Obviously L meets X-axis at the point (a,0) and Y-axis at the point (0,b)
By two-point form of the equation of the line, we have y−0=0−ab−0(x−a)
or ay=−bx+ab, i.e., ax+by=1
Thus, equation of the line making intercepts ' a ' and ' b ' on X-axis and Y-axis respectively, is ax+by=1.