If the chord y=mx+1 of the circle x2+y2=1, subtends an angle of π4 at the major segment of the circle, then m=
1±√2
Equation of the chord is y=mx+1
Equation of the circle is x2+y2=1
The joint equation of the curve through the line and the circle can be given by x2+y2=(y−mx)2
=x2(1−m2)+2mxy=0
Now, tanθ=±2√h2−aba+b, where a=1−m2, b=0, and h=m
⇒tanπ4=±2√m2−01−m2
⇒1−m2=±2m
⇒m2±2m−1=0
⇒m=±1±√2
⇒m=1±√2 and −1±√2