Any line ⊥ to AB is xb−ya=λ (variable)
∴A(a,0),B(0,b)
P(bλ,0),Q(0,−aλ)
By intercepts form the equations of AQ and BP are
xa+y−aλ=1
∴λ=yx−a
and xbλ+yb=1∴λ=−xy−b
In order to find the ocus of the point of intersection of these lines, eliminate the variable λ
∴λ=−xy−b∴yx−a=−xy−b=λ
∴x(x−a)+y(y−b)=0
or x2+y2−ax−by=0 is the required locus