In: Math
Type or paste question here
ax+by+c=0.ax+by+c=0.
Let (s′,t′)(s′,t′) be the reflection of the point (s,t)(s,t) in ℓℓ. Find a formula that computes the coordinates of (s′,t′)(s′,t′) if one knows the numbers s,t,a,bs,t,a,b and cc. Your formula should depend on the variables s,t,a,bs,t,a,b and cc. It should work for arbitrary values of s,t,a,bs,t,a,b and cc as long as (a,b)≠(0,0)(a,b)≠(0,0). Its output should be a point.