Skip to content

This exercise illustrates the classical utility maximization problem using Cobb-Douglas preferences under a linear budget constraint.

Notifications You must be signed in to change notification settings

vinicius-mbs/utility_maximization_plot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

utility_maximization_plot

This exercise illustrates the classical utility maximization problem using Cobb-Douglas preferences under a linear budget constraint. Given prices and income, we derive the optimal consumption bundle analytically and graphically. The plot displays:

The budget constraint (RO),

Three indifference curves (U₁, U₂, U₃) with varying utility levels,

The interior solution where the highest attainable indifference curve is tangent to the budget line,

Dashed lines projecting the optimal bundle onto the axes,

Axis labels highlighting the optimal quantities.

The code is written in R using ggplot2, and is fully reproducible and easily extendable to other preference specifications.

Utility Maximization Plot

About

This exercise illustrates the classical utility maximization problem using Cobb-Douglas preferences under a linear budget constraint.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages