If the line xcosα+ysinα=p represents the common chord APQB of the circles x2+y2=a2 and x2+y2=b2(a>b) as shown in the figure, then AP is equal to
If the straight line x cos α + y sin α = p touches the curve x2a2+y2b2=1, then prove that a2cos2α+b2sin2α=p2.