Suppose $f(x),g(x),h(x)$ are all linear functions, and $j(x)$ and $k(x)$ are defined by $$j(x) = \max\{f(x),g(x),h(x)\},$$ $$k(x) = \min\{f(x),g(x),h(x)\}.$$ This means that, for each $x$, we define $j(x)$ to be equal to either $f(x),$ $g(x),$ or $h(x),$ whichever is greatest; similarly, $k(x)$ is the least of these three values.
Shown below is the graph of $y=j(x)$ for $-3.5\le x\le 3.5$.
Let $\ell$ be the length of the graph of $y=k(x)$ for $-3.5\le x\le 3.5$. What is the value of $\ell^2$?
Since the function $j(x)$ is made up of 3 parts. I first tried to find the equations of each of the lines. The horizontal line is just $j(x)=2 [-2\le{x}\le{2}]$. The other two lines have almost the same equation - the only thing that differs is their slope. I used point-slope form to find that the equation of the left-most line is $j(x)=-2x-2 [-3.5\le{x}\le{-2}]$, and the equation of the right-most line is $j(x)=2x-2 [2\le{x}\le{3.5}]$. Therefore, the slopes of the two lines, respectively, are $-2$ and $2$.
Then, I tried finding the total length of the function $j(x)$. I drew a perpendicular line from the top point of the right-most function until it met the line $y=2$. The distance between the point where it meets and the red dot is $1.5$. Since the slope is $2$, the change in $y$ goes up by $(1.5)(2)=3$. The same is true with the left-most function. Then, I used the Pythagorean theorem, $\sqrt{1.5^2+3^2}$, to find the lengths of the two slanted sides. I got $\sqrt{11.25}$. So, the total length is $4+2\sqrt{11.25}$.
However, I'm don't know how to find the relationship between $j(x)$ and $k(x)$ (aka how the maximum and minimum are related).


