Please explain geometrically.(https://www.desmos.com/calculator/ifwnwte5da) How to find tangent equation for the function $$y={\operatorname{mod}(x)}^{\frac12}$$ at the origin Differentiate once. We get slope undefined, i.e vertical line Double differentiate (as $dy/dx$ at that point is constant, its derivative is $0.$) we get $dy/dx=0.$ By solving We got the horizontal line too. Therefore we obtained both the tangents. But my professor says that that is not the correct process but equating sum of lowest degree terms to zero to get such tangent line is.
Also with the above method(mine) I obtained equations of tangents for the curve at the origin $$y^2=x^2(1+x+x^2)$$ I get $dy/dx=+1$ or $- 1$
By applying method given by my professor,i.e equating sum of low degree terms to zero $$y^2-x^2=0,$$ See the slopes,? here too $+1$ or $-1.$ (https://www.desmos.com/calculator/gx5zsqyctw) Please review my approach geometrically and explain its meaning of what I actually did.