The orthogonal trajectories of the family of curves an−1y=xn are given by
ny2+x2 = constant
Differentiating, we have an−1dydx=nxn−1⇒an−1=nxn−1dxdy
Putting this value in the given equation, we have nxn−1 dxdy y=xn
Replacing dydx by −dxdy, we have ny=−xdxdy
⇒ny dy+x dx=0⇒ny2+x2= constant. Which is the required family of orthogonal trajectories.