6
$\begingroup$

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 ?

$\endgroup$
3
  • $\begingroup$ you can use the min() and absolute value functions $\endgroup$ Commented Mar 11, 2014 at 16:55
  • $\begingroup$ math.stackexchange.com/questions/69099/equation-of-a-rectangle $\endgroup$ Commented Mar 11, 2014 at 16:57
  • $\begingroup$ You can regard the square as the limiting set of the graphs of $$|x-3|^p + |y-3|^p=1$$ as $p\rightarrow +\infty$. Unfortunately, you can't really write $|x-3|^{\infty} + |y-3|^{\infty}=1$ without rigorously defining the symbols used. $\endgroup$ Commented Mar 11, 2014 at 17:34

1 Answer 1

7
$\begingroup$

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.

$\endgroup$
2
  • $\begingroup$ The expression in the picture isn't very clear. Please format it here using MathJax $\ddot\smile$ $\endgroup$ Commented Mar 11, 2014 at 18:02
  • $\begingroup$ This isn't plotted in desmos is it? $\endgroup$ Commented Apr 3, 2021 at 7:40

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.