Supply and Demand
In this section, we will discuss supply and demand.
The supply function and demand function are functions of many variables, i.e., $Q({h_i})$. The set of variables ${h_i}$ are factors that can have effects on the quantity of demand and quantity of supply. One of the most discussed variables is price $P$, i.e., quantity is a function of price $Q(P)$.
Demand

A very simple demand function
The demand function specifies the relation between price $P$ and the quantity of demand $Q_d$. Though the relation is between the two values, the relation itself is determined by many different factors such as the average income of the community $I_c$. Thus changes in these factors, such as increase in the income, will change the relation between the prices and quantity of demand.

Increase in the income shifts the relation to the right
The demand function as a function of many variables is properly defined by a function of these variables. In the above example, the demand function is a function of price $P$ and the income of the community $I_c$.

Demand function in 3D
For simplicity, we only discuss the relation between price $P$ and the quantity of demand $Q_d$. All the changes in the relations due to other variables will be obscured.
Supply
Similar to demand, the supply function is also represented by the relation between the price $P$ and the quantity of supply $Q_s$. The dependencies on other variables will be viewed as shifts in the relation between $P$ and $Q_s$.

Supply function shifts
Supply and Demand Analysis
The supply and demand analysis is a useful tool to think about the price changes.

Demand function shifts right, price becomes higher.
Lei Ma (2020). 'Supply and Demand', Intelligence, 11 April. Available at: https://intelligence.leima.is/economics/microeconomics/supply-demand/.