Functions
Functions
A function is simply a rule that assigns a unique value of a dependent variable (e.g.
- Something is not a function if it assigns multiple values of
for the same value of (e.g. on a graph, a vertical line) - We can relate any independent variable (e.g.
) to any dependent variable (e.g. ) so get comfortable using variables other than and !
In its general form a function can be written as:
- “Quantity (
) is a function of price ( )” - This expresses that there is a relationship between
and , it doesn’t tell us the specific form of that relationship is the dependent or “endogenous” variable, its value is determined by is the independent or “exogenous” variable, its value is given and not dependent on other variables- The specific form of this function might be:
- The numbers 100 and 6 are known as parameters, they are parts of the quantitative relationship between quantity and price (the variables) that do not change
- If we have values of
, we can find the value of :- When
- When
:
- When
Multivariate functions have multiple independent variables, such as:
“Output (
) is a function of both capital ( ) and labor ( )”In economics, we often restrict the domain and range of functions to positive real numbers,
, since prices and quantities are never negative in the real world- Domain: the set of
-values - Range: the set of
-values determined by the function
- Domain: the set of
Inverse Functions
- Many functions have a useful inverse, where we switch the independent variable and dependent variable
- For example, if we have the demand function:
we may want find the inverse demand function, an equation where is the dependent variable, rather than (this is how we normally graph Supply and Demand functions!) - To do this, we need to solve the above equation for
:
- For example, if we have the demand function:
Functions with Fractions
- Many people are rusty on a few useful algebra rules we will need, one being how to deal with fractions in equations
- To get rid of a fraction, multiply both sides of the equation by the fraction’s reciprocal (swap the numerator and denominator), which will yield just 1
- Alternatively (if possible), re-imagining the fraction as a decimal may help:
- Add fractions by finding a common denominator:
- Multiply fractions straight across the numerator and denominator