Presentation is loading. Please wait.

Presentation is loading. Please wait.

Game theory.

Similar presentations


Presentation on theme: "Game theory."— Presentation transcript:

1 Game theory

2 Brief History of Game Theory
E. Zermelo provided the first theorem of game theory asserts that chess is strictly determined John von Neumann proved the minimax theorem John von Neumann / Oskar Morgenstern’s wrote "Theory of Games and Economic Behavior” , John Nash describes Nash equilibrium John Maynard Smith wrote “Game Theory and The Evolution of Fighting”

3 What is Game Theory? Game theory is a study of how to mathematically determine the best strategy for given conditions in order to optimize the outcome. game theory focuses on how groups of people interact. Game theory focuses on how “players” in economic “games” behave when, to reach their goals, they have to predict how their opponents will react to their moves. CONCLUSION: As a conclusion Game theory is the study of competitive interaction; it analyzes possible outcomes in situations where people are trying to score points off each other, whether in bridge, politics of war. You do this by trying to anticipate the reaction of your competitor to your next move and then factoring that reaction into your actual decision. It teaches people to think several moves ahead. From now on , Whoever it was who said it doesn’t matter if you win or lose but how you play the game, missed the point. It matters very much. According to game theory, it’s how you play the game that usually determines whether you win or lose. Source:

4 Basic Terms or Terminology
Player: The competitors in the game are known as players. A player may be individual or group of individuals, or an organization. Strategy: A strategy for a player is defined as a set of rules or alternative courses of action that he should adopt. A strategy may be of two type: Pure Strategy and Mixed Strategy. Pure Strategy:- If the players select the same strategy each time, then it is referred to as pure-strategy. In this case each player knows exactly

5 Basic Terms or Terminology…
what the other player is going to do, the objective of the players is to maximize gains or minimize losses. Mixed Strategy:-When the players use a combination of strategies and each player always kept guessing as to which course of action is to be selected by the other player at a particular occasion then this is known as mixed strategy. Thus there is a probabilistic situation and objective of the player is to maximize expected gains or to minimize expected losses.

6 Basic Terms or Terminology…
Optimum strategy: A course of action or play which puts the player in the most preferred position, irrespective of the strategy of his competitor, is called an optimum strategy. Payoff: Each combination of a course of action and an event is associated with a payoff, which measures the net benefit to the decision maker the accrues (accumulate) from a given combination of decision alternatives and events. ( conditional profit values or conditional economic consequences )

7 Basic Terms or Terminology…
Value of the Game: It is the expected payoff of play when all the players of the game follow their optimum strategies. The game is called fair if the value of the game is zero and unfair, if it is non-zero. Payoff Matrix: When the players select their particular strategies, the payoffs (gains or losses) can be represented in the form of a matrix called the payoff matrix.

8 Two Person Zero-Sum game
When there are there are two competitors playing a game, it is called a two-person game. In case the number of competitors exceeds two, say n, then the game is termed as a n-person game. Zero-sum means that the algebraic sum of gains and losses of all the players is zero. Zero-sum game with two players are called two-person zero sum games. In it the loss (gain) of one player is exactly equal to the gain (loss) of the other. If the sum of losses or gains is not equal to zero, then the game is of non-zero sum game.

9 Two Person Zero-Sum game…
Let player A has m strategies A1, A2, ...,Am and players B has n strategies B1,B2,…,Bm. Assumptions: Each player has his choices from amongst the pure strategies. Player A is always the gainer and player B is always the loser. (i.e. all payoffs assumed in terms of player A). Let aij be the payoff which player A gains from player B if player A chooses strategy Ai and B chooses Bj. Then the payoff matrix of A is:

10 The payoff matrix for players B is -aij

11 Two Person Zero-Sum game…
Example:- Consider a two person coin tossing game. Each player tosses an unbiased coin simultaneously. Player B pays Rs. 7 to A, if (H,H) occurs and Rs. 4, if (T,T) occurs; otherwise player A pays Rs. 3 to B. (This two-person game is zero-sum game) Pure strategies for players are H and T.

12 The maximin-minimax Principle
For player A, minimum value in each row represents the least gain (payoff) to him if he chooses his particular strategy. Then the player A selects the strategy that maximizes his minimum gains. This choice of player A is called the maximin principle and corresponding gain is called maximin value of the game. On the other hand, player B likes to minimize his losses. The maximum value of each column represents the maximum loss to him if he chooses

13 The maximin-minimax Principle…
his particular strategy. These are written in the matrix by column maxima. He will then select the strategy that minimize his maximum losses. This choice of player B is called the minimax principle, and the corresponding loss is the minimax value of the game. If the maximin value equals the minimax value, then the game is said to have a saddle point (equilibrium) and the corresponding strategies are called optimum strategies. The amount of payoff at an equilibrium point is known as the value of the game.

14 The maximin-minimax Principle…
Example: Consider a two-person zero sum game with a 3X2 payoff matrix for player A. Pure strategies for player A (SA) = A1, A2, A3 Pure strategies for player B (SB) = B1, B2

15 The maximin-minimax Principle…
Example:……. Suppose player A starts the game ( he knows fully that whatever strategy he adopts, B will select that particular counter strategy which will minimize the payoff to A) If A selects A1 then B will reply by selecting B2, as this corresponds to the minimum payoff to A in in row-1 corresponding to A1. Similarly if A chooses A2, he may gain 8 or 6 depending upon B’s strategy.

16 Games without saddle points — Mixed Strategy Games
It is not necessary that there is always a saddle point exist. In such cases to solve games, both the players must determine an optimal mixture of strategies to find a saddle point. The optimal strategy mixture for each player may be determined by assigning to each strategy its probability of being chosen. The strategies so determined are called mixed strategies because they are probabilistic combination of available choices of strategies

17 Mixed Strategy Games… The value of game obtained by the use of mixed strategies represents which least player A can expect to win and the least which player B can lose. The expected payoff to a player in a game with arbitrary payoff matrix (aij)of order m*n is defined as: where p and q denote the mixed strategies for players A and B respectively

18 Maximin-Minimax Xriterion
Consider a m*n game without any saddle point, i.e. strategies are mixed. Let p1, p2, ….,pm be the probabilities with which player A will play his moves A1, A2, ….,Am respectively; and let q1, q2, …., qn be the probabilities with which player A will play his moves B1, B2, …., Bn respectively. Also, p1+p2+ ….+pm=1 and q1+ q2+ ….+qn =1 Pi >=0 and qj >=0 The expected payoff function for player A is :

19 For player A (maximin-minimax criterion)

20 For player B (maximin-minimax criterion)
The relationship holds good in general and when pi and qj correspond to the optimal strategies the relation holds in ‘equality’ sense and the expected value for both the players becomes equal to the optimum expected value of the game.

21 For any 2x2 two-person zero-sum game without any saddle point having the payoff matrix for player
the optimum mixed strategies and determined by

22

23 Example-1 For the game with the following payoff matrix, determine the optimum strategies and the value of the game:

24

25 Example-2 Consider a modified form of matching biased coins game problem. The matching player is paid Rs. 8 if the two coins turn both heads and Rs. 1 if the coins turns both tails. The non-matching player is paid Rs. 3 when the two coins do not match. Given the choice of being the matching or non-matching player, which one would you choose and what would be your strategy?

26 The payoff matrix for the matching player is given by
The payoff matrix does not posses any saddle point. The players will used mixed strategies. Optimum mixed strategies for matching player and non-matching player are:

27 The expected value of the game is :

28 Graphic Solution of 2xn and mx2 games
Consider the following 2xn game: It is assumed that the game does not have a saddle point. Let the optimum mixed strategy for A be given by

29 The expected payoff of A when he plays SA against B’s pure strategies B1, B2,…Bn is given by:

30 According to maxmin criterion for mixed strategy games, player A should select the value of p1 & p2 so as to maximize his min. expected payoffs. This may be done by plotting the expected payoff lines Ej(p1)=(a1j-a2j) p1 + a2j (j=1,2,…,n) The highest point on the lower envelope of these lines will give max. of the min. expected payoffs to player to player A as also the max. value of pi. The two lines passing through maximin point identify the two critical moves of B, which combined with two of A, yield a 2x2 matrix that can

31 This may be done by plotting the expected payoff lines Ej(p1)=(a1j-a2j) p1 + a2j (j=1,2,…,n)
The highest point on the lower envelope of these lines will give max. of the min. expected payoffs to player to player A as also the max. value of pi. The two lines passing through maximin point identify the two critical moves of B, which combined with two of A, yield a 2x2 matrix that can be used to determine the optimum strategies of the two players, for the original game, using the results of mixed strategies (without saddle point).

32 Solve the following game graphically:
Similarly, in mx2 games, the upper envelope of the straight lines corresponding to B’s expected payoffs will give expected payoff to player B and the lowest point on this then gives the minimum expected payoff (minimax value) and the optimum value of q1. EXAMPLE: Solve the following game graphically:

33 Then A’s expected payoffs against B’s pure moves are given by
Since maximin.# minimax. (no saddle point), so players have to choose mixed strategies, Let the player A plays the mixed strategy SA against B Then A’s expected payoffs against B’s pure moves are given by

34 These expected payoff equations are plotted as functions of p1 as shown in figure which shows the payoffs of each column represented as points on two vertical axis 1 and 2, unit distance apart. Thus line B1 joins the first payoff element 2 in the first column represented by +2 on the axis 2, and the second payoff element 1 in the first column represented by +1 on axis 1. Similarly, lines B2, B3, b4 joins the corresponding representation of payoff elements in the 2nd, 3rd and 4th columns.

35 Since the player A wishes to maximize his minimum expected payoff we consider the highest point of intersection H on the lover envelope of the A’s expected payoff equations. This point H represents the maximin expected value of the game for A. The lines B2 & B4, passing through H, define the two relevant moves B2 & B4 that alone B needs to play. The solution of 2x4 game, boils down to the simpler game with 2x2 payoff matrix:

36

37

38 Dominance Property It is observer that one of the pure strategies of either player is always inferior to at least one of the remaining ones. The superior strategies are said to dominate the inferior ones. Clearly, a player would have no incentive to use inferior strategies which are dominated by the superior ones. In such cases of dominance, we can reduce the size of the payoff matrix by deleting those strategies which are dominated by the others.

39 Dominance Property… Thus if each element in one row, say kth of the payoff matrix is less than or equal to the corresponding elements in some other row, say rth, then player A will never choose kth strategy. The value of the game and the non-zero choice of probabilities remain unchanged even after the deletion of kth row from the payoff matrix. In such a case the kth strategy is said to be dominated by the rth one. General rules for dominance are:

40 Dominance Property… If all the elements of a row, say kth, are less than or equal to the corresponding elements of any other row, say rth, then kth row is dominated by rth row. If all the elements of a column, say kth are greater then or equal to the corresponding elements of any other column, say, rth, then kth column is dominated by the rth column. Dominated rows or columns may be deleted to reduce the size of the matrix, as the optimal strategies will remain unaffected.

41 Dominance Property… The modified dominance property: The dominance property is not always based on the superiority of pure strategies only. A given strategy can also be said to be dominated if it is inferior to an average of two or more other pure strategies only. More generally, if some convex linear combination of some rows dominates the ith row, then ith row will be deleted. Similar arguments follow for columns.

42 Example Two firms are competing for business under the condition so that one firm’s gain is another firm’s loss. Firm A’s payoff matrix is


Download ppt "Game theory."

Similar presentations


Ads by Google