The orthogonal trajectories for the family of curves y=ax for a≠0 are:
y=ax⟹xy=a
Differentiating w.r.t. x, we get
xdydx+y=0⟹dydx=−yx
Replacing dydx with −dxdy, we get
−dxdy=−yx⟹ydy=xdx
Integrating on both sides, we get
∫ydy=∫xdx⟹y22=x22+C1
or y2−x2=C
Hence, for C≠0, the orthogonal trajectories are rectangular hyperbola and for C=0, the orthogonal trajectories are the lines x=±y