write the following rectangular equation in polar form:

x^2 - y^2 = 1

also for x^2 + y^2 = 25, would the answer be r=5?

(r cos θ)^2 - (r sin θ)^2 = 1

r^2 cos^2 θ - r^2 sin^2 θ = 1

r^2 ( cos^2 θ - sin^2 θ) = 1

r^2 (cos 2 θ) = 1

x^2 + y^2 = 25

r^2 = 25

r = 5