I am having trouble understanding how linear equations in polar coordinates work.
Say I have two points on the same line: $(1,1)$ and $(3,3)$.

Then for the equation $$b=y-mx,$$ $b=0$ and $m=1$ holds for the two points.
But for the equation $$r=x\cos\theta+y\sin\theta,$$ with $\theta=45\pi/180$, $r$ is different; it's $1.4$ for $(1,1)$ and $4.2$ for $(3,3)$.
I don't understand; shouldn't $r$ be constant?
Given is $$ y =x $$ Convert it to polar coordinates.
$$ r \cos \theta = r \sin \theta $$ Now divide by $r$,
$$ \tan \theta = m = 1 $$ for all $r$, independent of $r$. Means in polar coordinates the straight line through origin does not involve radius $r$. It should not be a constant, it should not appear anywhere at all.
That is its definition, holds well, makes sense is it not?