
Howard J. answered 10/05/19
Principal Mechanical Engineer with >30 years' math coaching experience
If x2/a2+y2/b2=1 then we know right off the bat that the ellipse is centered about the origin with y-intercepts at y=±b and x-intercepts at x=±a.
The coordinates where the tangent lines are vertical are simply (a,0) and (-a,0).
Now using implicit differentiation,
2x/a2+(2y/b2)(dy/dx)=0
dy/dx =m=-(x/y)/(a/b)2
And we know from the original ellipse formula that y = ±b[1-(x/a)2]1/2. So substituting,
dy/dx=slope=-(x/{±b[1-(x/a)2}1/2)/(a/b)2
I'll leave it up to you to simplify.