,
(2)依题意有,而,
22.解:(1)依题意有,则,将点代入得,而,,,故;
且当tanB=时,上式取等号,因此tan(A-B)的最大值为
≤,
=
tan(A-B)=
依题设得
解得tanAcotB=4
(II)由(I)得tanA=4tanB,故A、B都是锐角,于是tanB>0