Does a square have an equation?

18.8k Views Asked by At

can you model a square in an equation ?

like a circle for example $r^2 = x^2 + y^2$

and lets say we have a square with: centered at $(3,3)$

$2 \leq x \leq 4$ and $2 \leq y\leq 4$

can we somehow make an equation for that square ?

1

There are 1 best solutions below

2
On BEST ANSWER

enter image description here

In general, $\left|(x - h) + (y - k) \right|+\left| (x - h) - (y - k) \right|=r$ describes a square centered at (h,k) and having side length r.