I just started calculus and got this problem stuck in my head. It seems, in my case, a problem of bad understanding or definition.
The cardioid:
$r=1+\cos(θ)$
Derivative:
$\frac{dy}{dx}=\frac{\cosθ+\cos^2θ−\sin^2θ}{−\sinθ−2\sinθ\cosθ}$
When trying to calculate the derivative of the cardioid on the origin ($θ=\pi$), an indetermination shows
¿Does that means that the derivative does not exist on that point? I read in some site that this is not conclusive; instead, we should try to do the limit of the derivative function on that point.
$L'Hopital:$
$$\lim_{θ\to \pi}\frac{d(\cosθ+\cos^2θ−\sin^2θ)/dθ}{d(−\sinθ−2\sinθ\cosθ)/dθ}=\lim_{θ\to \pi}\frac{-\sinθ-2\sin2θ}{−\cosθ−2\cos2θ}=0$$
Following that procedure, the answer should be an horizontal line, slope $0$, which seems reasonable if you remember the graph of a cardioid.
The solution seems to imply (for me) that the derivative function is, actually, like this (something I could not find anywhere, so I assume I am somehow wrong):
Derivative of $f(x)$ at the x point:
$$\lim_{h\to x}f'(h)$$
Is "$0$" the right answer to this problem, or the cardioid is not differentiable on the origin point?
The principle "differentiable if and only if has a tangent line" holds for Cartesian graphs. There is, however, a subtlety between graphs and parametric paths, including polar graphs.
Throughout, let's suppose $f$ is a continuously-differentiable real-valued function ($f'$ exists and is continuous) in some interval.
Generally, we say a parametric path $(u(t), v(t))$ is differentiable if $u$ and $v$ are individually differentiable. We say the path is regular or an immersion at $t_{0}$ if $u'$ and $v'$ are continuous in a neighborhood of $t_{0}$ and the velocity $(u'(t_{0}), v'(t_{0}))$ is non-zero.
The curve traced by a parametric path has a tangent line at $(u(t_{0}), v(t_{0}))$ if the path is regular there. Otherwise the path may or may not have a tangent line. For instance:
Exercises:
In the example at hand, $f(\theta) = 1 + \cos\theta$. Thus $f(\pi) = f'(\pi) = 0$ (N.B. $\theta = \pi$, not $2\pi$), and we have no guarantee of a tangent line at $(0, 0)$. In fact, the indeterminacy in the calculation of $\frac{dy}{dx}$ is precisely a result of the polar graph as a parametric path having velocity zero.