<p>For your second example <span class="math-container">$ax + by = cx + dy$</span> is the line where the kink will be. However, this will not be L shaped (Assuming a,b,c,d &gt; 0) the indifference curves may have an outward or inward kink depending on the values of a,b,c,d values. Try it out in the Desmos environment Giskard linked.</p>

CC BY-SA 4.0
2021-11-01T11:29:04.857Z
2021-11-01T11:29:04.857Z
Rumi
<p>Your first example is relatively easy, since the two terms have the same condition. That is, they both depend on whether <span class="math-container">$x&gt;y$</span> (note <span class="math-container">$x&gt;y$</span> iff <span class="math-container">$\frac x 2&gt; \frac y2$</span>), and if you go through the two cases, they simplify to <span class="math-container">$\frac{x+y+min\{x,y\}}2$</span>. For an indifference curve, set that equal to a constant: <span class="math-container">$\frac{x+y+\min\{x,y\}}2=c_1$</span>. We can then introduce another constant <span class="math-container">$c_2 = 2c_1$</span> to get <span class="math-container">$x+y+\min\{x,y\}=c_2$</span>. Now just draw two curves, one for <span class="math-container">$x&gt;y$</span>, and one for <span class="math-container">$x&lt;y$</span>. The dividing line will be the diagonal line <span class="math-container">$x=y$</span>. To the bottom-right, we have <span class="math-container">$x&gt;y$</span>, so <span class="math-container">$x+2y=c_2$</span>, so we have a bunch of lines with slope <span class="math-container">$-\frac 12$</span>. And to the top-left, we have lines with slope <span class="math-container">$-2$</span>.</p>
<p>In the second example, the dividing line is <span class="math-container">$ax+by=cx+dy$</span>, which simplifies to <span class="math-container">$y=\frac{b-d}{c-a}x$</span>. On one side of that line, we have lines with slope <span class="math-container">$=-\frac ab$</span>, and on the other side we have lines with slope <span class="math-container">$-\frac cd$</span>.</p>

CC BY-SA 4.0
2021-11-01T22:16:30.380Z
2021-11-01T22:16:30.380Z
Acccumulation
<p>You can easily plot these using Desmos.</p>
<p>On the left side, define the utility function with the equation
<span class="math-container">$$
U\left(x,y\right)=\min\left(x,y\right)+\max\left(\frac{x}{2},\frac{y}{2}\right)
$$</span>
Then ask for the set of points <span class="math-container">$(x,y)$</span> which satisfy the equation for a utility level, e.g. 2,
<span class="math-container">$$
2 = U\left(x,y\right).
$$</span>
It is important to place the function on the left hand side when defining the function (first equation), and to place the function on the right hand side when asking for the set of points (second equation).</p>
<p>Here is the <a href="https://www.desmos.com/calculator/vqyvsw69yn" rel="nofollow noreferrer">implementation</a>.</p>

CC BY-SA 4.0
2021-11-01T09:44:42.223Z
2021-11-01T09:44:42.223Z
Giskard
<p>I am having trouble with being able to graph indifference curves. This is a particularly important skill to have especially when trying to visualize corner solutions, and when the Lagrangian method doesn't necessarily give us the solution i.e. perfect substitutes.</p>
<p>I particularly struggle when the Utility function in question has a mixture of different types of curves.</p>
<p>For example: <br />
<span class="math-container">$U(x, y) = min$</span> {<span class="math-container">$x, y$</span>}  +  <span class="math-container">$max$</span> {<span class="math-container">$\frac{x}{2}, \frac{y}{2}$</span>}, or <br />
<span class="math-container">$U(x, y) = min$</span> {<span class="math-container">$ax + by, cx + dy$</span>}</p>
<p>My approach for the first one: I individually plotted the two curves by setting them equal to a constant. I got a L shaped curve for the min part after evaluating various cases (x = y, x &gt; y, x &lt; y), and the opposite of that for the max part again after evaluating cases.</p>
<p>However, I am having a hard time visualizing the combination of both. Like how would the shifts effect the shape? In general, what strategy do you recommend when trying to plot different types of indifference curves such as ones mentioned above?</p>

<microeconomics><consumer-theory><optimization>
Graphing indifference curves to visualize solutions?
Kinno
# Graphing indifference curves to visualize solutions?

(Asked by: username_0 on 2021-11-01)

I am having trouble with being able to graph indifference curves. This is a particularly important skill to have especially when trying to visualize corner solutions, and when the Lagrangian method doesn't necessarily give us the solution i.e. perfect substitutes.

I particularly struggle when the Utility function in question has a mixture of different types of curves.

For example:   
$U(x, y) = min$ {$x, y$} + $max$ {$\frac{x}{2}, \frac{y}{2}$}, or   
$U(x, y) = min$ {$ax + by, cx + dy$}

My approach for the first one: I individually plotted the two curves by setting them equal to a constant. I got a L shaped curve for the min part after evaluating various cases (x = y, x > y, x < y), and the opposite of that for the max part again after evaluating cases.

However, I am having a hard time visualizing the combination of both. Like how would the shifts effect the shape? In general, what strategy do you recommend when trying to plot different types of indifference curves such as ones mentioned above?

**Tags:** microeconomics, consumer-theory, optimization

---

## 3 answers

### Answer by username_3 on 2021-11-01. Score: 3 | Accepted answer

You can easily plot these using Desmos.

On the left side, define the utility function with the equation
$$
U\left(x,y\right)=\min\left(x,y\right)+\max\left(\frac{x}{2},\frac{y}{2}\right)
$$
Then ask for the set of points $(x,y)$ which satisfy the equation for a utility level, e.g. 2,
$$
2 = U\left(x,y\right).
$$
It is important to place the function on the left hand side when defining the function (first equation), and to place the function on the right hand side when asking for the set of points (second equation).

Here is the [implementation](https://www.desmos.com/calculator/vqyvsw69yn).


---

### Answer by username_1 on 2021-11-01. Score: 2

For your second example $ax + by = cx + dy$ is the line where the kink will be. However, this will not be L shaped (Assuming a,b,c,d > 0) the indifference curves may have an outward or inward kink depending on the values of a,b,c,d values. Try it out in the Desmos environment Giskard linked.


---

### Answer by username_2 on 2021-11-01. Score: 0

Your first example is relatively easy, since the two terms have the same condition. That is, they both depend on whether $x>y$ (note $x>y$ iff $\frac x 2> \frac y2$), and if you go through the two cases, they simplify to $\frac{x+y+min\{x,y\}}2$. For an indifference curve, set that equal to a constant: $\frac{x+y+\min\{x,y\}}2=c\_1$. We can then introduce another constant $c\_2 = 2c\_1$ to get $x+y+\min\{x,y\}=c\_2$. Now just draw two curves, one for $x>y$, and one for $x. The dividing line will be the diagonal line $x=y$. To the bottom-right, we have $x>y$, so $x+2y=c\_2$, so we have a bunch of lines with slope $-\frac 12$. And to the top-left, we have lines with slope $-2$.

In the second example, the dividing line is $ax+by=cx+dy$, which simplifies to $y=\frac{b-d}{c-a}x$. On one side of that line, we have lines with slope $=-\frac ab$, and on the other side we have lines with slope $-\frac cd$.


---

