write a proof in latex code:
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
Let ABCD be a cyclic quadrilateral with AB=7 and CD=8. Points P and are selected on segment such that . Points and are selected on segment such that . Prove that is a cyclic quadrilateral.
Let us place the cyclic quadrilateral in a coordinate plane such that and , so that side lies along the -axis.
Q
AB
AP=BQ=3
R
S
CD
CR=DS=2
PQRS
\end{document}
ABCD
A(0,0)
B(7,0)
AB
x
Since AP=3 and AB=7, point P divides AB such that AP=3 and PB=4. Therefore, P has coordinates P(3,0).
Similarly, since BQ=3, point Q is located at a distance 3 units from B towards A. Therefore, Q has coordinates Q(4,0).
Now, since CD=8, we can place points C and D such that they lie horizontally parallel to AB at some height h (to be determined), with C at x=−0.5 and D at x=7.5 so that CD has length 8.
Point R is located on CD such that CR=2, so R is 2 units to the right of C. Therefore, R has coordinates R(1.5,h).
Similarly, point S is located on CD such that DS=2, so S is 2 units to the left of D. Therefore, S has coordinates S(5.5,h).
Now, consider quadrilateral PQRS with vertices at P(3,0), Q(4,0), S(5.5,h), and R(1.5,h).
First, observe that sides PQ and RS are horizontal:
[
\text{Slope of } PS = \frac{h - 0}{5.5 - 3} = \frac{h}{2.5} \
\text{Slope of } QR = \frac{h - 0}{1.5 - 4} = \frac{h}{-2.5} = -\frac{h}{2.5}
]
Hence, Slope of PS=−Slope of QR, so PS∥QR.
Therefore, quadrilateral PQRS has both pairs of opposite sides parallel, which makes it a parallelogram. However, since PQ∥RS and PS∥QR with PQ≅RS (both horizontal segments of equal length 1), and PS≅QR (both segments with slopes ±2.5h and equal horizontal distances), PQRS is an \textbf{isosceles trapezoid}.
A key property of isosceles trapezoids is that they are \textbf{cyclic quadrilaterals}; that is, their vertices lie on a common circle. This is because the base angles are congruent, and the sum of the measures of each pair of opposite angles is 180∘.