근과 계수의 관계에서
sinθ+cosθ=51, sinθcosθ=25k
sinθ+cosθ=51의 양변을 제곱하면
1+2sinθcosθ=251, sinθcosθ=−2512
k=−12이므로 25x2−5x−12=0, (5x−4)(5x+3)=0
x=54 또는 x=−53
2π<θ<π에서 sinθ>0,cosθ<0이므로
sinθ=54,cosθ=−53, tanθ=cosθsinθ=−34
sinθ+tanθ=54−34=−158, sinθtanθ=54×(−34)=−1516
따라서 sinθ,tanθ를 두 근으로 하는 이차방정식은
x2+158x−1516=0, 즉 15x2+8x−16=0
p=8,q=−16이므로 p+q=−8이다.
③