Académique Documents
Professionnel Documents
Culture Documents
1. Linear Programming
9 In order to find the solution numerically, use the command NMaximize and input
the given constraints:
b) Solve the following linear programming problem graphically and numerically:
max 3 x + 4 y
s.t.
2 x + y 10
x+ y 7
x + 2 y 12
x, y 0
2. Single-Variable Differentiation
Note: for the natural logarithm function use the syntax Log[x]
3. Limits
3 + 2x
lim
x > 1 x 1
1/ z + 2
1) lim
z > 2 z
x + 7x 8
2
2) lim
x >1 x 1
sin x
3) lim
x >0 x
3
27 + x 3
4) lim
x >0 x
2 + 3x
5) lim
x > x 1
n
1
6) lim 1 +
n >
n
4. Single-variable optimization
For finding extreme values of the given function we need several steps in Mathematica:
f ( x) = x 2 e x
b) Find the intervals where the function f given by f ( x ) = ln( x 1) increases and the
intervals where f decreases.
Finally, we need Mathematica for solving the inequality f ( x ) > 0 and f ( x ) < 0 using the
command InequalitySolve[expression, argument]:
Note: Check the intersection between the obtained interval and the domain!
In this example D( f ) = 1,+ so the function increases on the whole domain (this can be
seen from the plot of f !)
5. Economical Applications
a) A firm is producing some commodity and wants to maximize its profits. The total revenue
function generated in a certain period by producing and selling Q units is given by
R (Q ) = 4Q. The associated total cost function is given by T (Q ) = Q + 1. For which
production level Q the profit of the firm is maximized? Find the maximal profit value for the
firm.
b) The total cost function for some firm is given by T (Q) = Q 3 6Q 2 + 12Q, where Q stays
for production. Find the average cost function and the marginal cost function. Discuss when
the marginal cost and the average cost are equal.