Skip to main content
Mathematics LibreTexts

6.1: Evaluating and Graphing Functions of Several Variables

  • Page ID
    83945
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    When we were evaluating functions of a single variable we had to replace the variable with a cell reference. We do the same for functions of several variables. We simply have to use several cell references.

    Example 6.1.1: Bank Balances.

    Find the amount of money I will have in the bank in 10 years if I deposit $1000 and the bank pays 5% interest, compounded quarterly. Set the problem up in Excel so that I can use the worksheet for similar problems with different numbers.

    Solution

    We use the formula for future value of a single deposit.

    \[ FutureAmount=InitialDeposit*\left(1+ \frac{rate}{ppy}\right)^{years*ppy} \nonumber \]

    Rather than typing the numbers into the formula, we place them in separate cells, so we can easily change the values for any of the 4 variables.

    clipboard_e681ce87333dbf8c530a2ff7142eeebd9.png
    clipboard_e6d962b378e9155ea0adfc5a753dfcdf8.png

    At the end of 10 years, we have $1,643.62 in the bank. By simply changing values in the worksheet, I find that compounding the interest annually reduces the final amount on 10 years to $1.628.89, while compounding weekly increases the final amount to $1,648.33.

    In this example we have as many as four variables. We could vary: the initial deposit, the rate, the number of periods per year and the interest rate. In previous chapters we have a variable (say q) and the function (such as profit) that depends on \(q\text{.}\) Such a function might be written as something like \(profit(q)= -3 q^2+500q-1000\text{.}\)

    If we simplify the notation a little bit in this example so that we have

    \[ FA(d,r,p,y)=d*\left(1+\frac{r}{p}\right)^{(y*p)} \nonumber \]

    Where FA is the future amount, and this is a function of four variables d (deposit), r (interest rate), p (number of payments), and y (number of years).

    Example 6.1.2: Demand Price from 2 Points.

    Find the revenue for 500 widgets if I know that the demand price for 100 widgets is $20, the demand price for 200 widgets is $18.75, and that the demand price is a linear function. Set the problem up in Excel so that I can use the worksheet for similar problems with different numbers.

    Solution

    To make our worksheet easier to read, we use named cells. We first have to find an equation for the demand price formula. We compute a slope and intercept for this line from the points (100, 20) and (200, 18.75). Once we have this function, we find that the demand price is $15 when quantity is 500. We then compute revenue as price times quantity.

    clipboard_e90a131cd92d428d1cc082c6c0adf4ac1.png
    clipboard_ebf384f694f52e9bbe600b583f4b9b82e.png

    In this problem, revenue is a function of 5 variables: Demand1, Demand2, Price1, Price2, and NewDemand.

    The next task to consider is making a table of values for a function of several variables. Since our screens have 2 dimensions, we first look at the case when we allow two values to change. When we made a table for a single variable, we had to use both absolute and relative cell reference to distinguish between constant values used for all entries and variables that changed in each case. With functions of two variables our table will have rows where one variable is held constant and columns where the other is held constant. We note that quick filling a formula with the reference $A5 will keep the column, A constant but allow the row to change. Similarly with the reference A$5 the column can change, but the row is constant.

    Example 6.1.3: Building a Table with Two Variables.

    I want to produce a table that shows how much I need to put in the bank to have $100,000 at some point in the future. I will assume that interest is compounded annually. I want interest rate and number of years to be treated as variables with interest rate ranging from 5% to 6% and the length of time to vary from 5 to 40 years.

    Solution

    We use the formula for present value of a single deposit. Since the interest is compounded annually, the formula simplifies.

    \[ PresentAmount=\frac{FutureAmount}{(1+rate)^{years}} \nonumber \]

    As we build the table, the future amount will be a constant, so it needs to be given as an absolute reference. The number of years will be down the left side of the table and will be constant across a row, so its reference should have a dollar sign before the letter. The interest rate will be listed across the top of the table, so its reference should have a dollar sign before the number.

    clipboard_e227a26ee47a36e530229eeef36b89c6e.png

    This lets us build the table we desire. From the complete table, we see that we can have $100,000 in the bank in 40 years by making a deposit of $9,722.22 at 6% interest. In contrast if we only earn 5% interest and can only keep the money in the bank for 15 years, we need to start with $48,101.71.

    clipboard_ec7a4bb004e9966ffff0e00c65da6f763.png

    Similarly, we might want to produce a table that shows the monthly payment on a mortgage where both the annual interest rate and the number of years are treated as variables. Such a chart would be useful in deciding how big a mortgage a person can afford with different kinds of mortgages.

     

    Example 6.1.4: Mortgage Payments.

    I want to produce a table that shows the monthly payment on a $100,000 mortgage with a range of interest rates and lengths of the mortgage.

    Solution

    We use the PMT command to find the monthly payment.

    clipboard_e453225d8d3e6226b5feea6235df519e2.png

    We can see that the monthly payment is $421.60 for a 30-year fixed rate mortgage at 3% compounded monthly. For a 10-year mortgage at 6% the payment increases to $1,110.21.

    clipboard_ef6accaa39c2b15ef0523946ec68448cf.png

    After we build a table for a function we would also like to see a graph of the function. Excel’s abilities to graph surfaces in not one of the program’s strong points. Nevertheless, it is useful to be “able to see the big picture” by looking at a graph. We will also note how to draw a graph of a surface with Wolfram Alpha.

    When we looked at models of price, quantity, cost, revenue, and profit, we made the simplifying assumption that a company only produces one product. We want to consider what happens with two products.

    Example 6.1.5: Table and Graph.

    I have a company that produces 2 products, widgets and gizmos. The two demand functions are:

    \[ PriceGizmos=10-QuantityGizmos/50 \nonumber \]

    \[ PriceWidgets=20-QuantityWidgets/40 \nonumber \]

    Produce a table and a graph for revenue as a function of the quantity of gizmos and widgets produced.

    Solution

    We need to start by producing a formula for revenue. To shorten the equations we will abbreviate the terms or use initials. We need formulas for revenue for each of our products:

    \[ RevG=PriceG*QG=\left(10-\frac{QG}{50}\right)QG=10QG-\frac{QG^2}{50}. \nonumber \]

    \[ RevW=PriceW*QW=\left(20-\frac{QW}{40}\right)QW=20QW-\frac{QW^2}{40}. \nonumber \]

    Putting the equations together gives an equation for revenue.

    \[ Rev=RevG+RevW=10QG-\frac{QG^2}{50}+20QW-\frac{QW^2}{40}. \nonumber \]

    Next we build a build a table for the function as we have done above.

    clipboard_e5f99c7c195919d509d958ab0ca03e250.png

    Finally, we would like to see a graph of the function. We notice that the 3D plots in Excel have a number of drawbacks. The plots do not label the input variables. These first plots also don’t tell us what values of the variables correspond to particular points on the graph. Some of these drawbacks can be overcome, but only with more work than we wish to expend in this course. We will only add one non-intuitive option to make the graphs work better.

    clipboard_e2b829a33b0c8f398b471e0f8b611e5c4.png

    We will move the names of the variables out of the upper left corner of the chart and into the row above and to the side of the data. We leave the corner cell blank. This will let us see the values of the variables in the graphs. In the table, we select the data we would like to graph. In this example we select from cells B4 through M12. Finally we select a chart to insert. The charts we are interested in are surface charts. The types of interest are 3-D Surface, Wireframe 3-D, and contour. Each of these chart types highlights some useful information.

    The 3-D Surface gives a fast picture. It is useful in seeing local minimums and maximums.

    clipboard_e5bb3a3fb5deaacdf6ccbb9001a396816.png

    The Wireframe 3-D chart emphasizes that we can build a reasonable picture from the curves obtained by treating either x or y as a constant. It lets us understand a function of 2 variables by putting together a collection of several functions of one variable. This point of view will be useful when we try to take derivatives.

    clipboard_e8852f6e4f3f419e63b7f1b94b119da4f.png

    The Contour chart emphasizes the level curves. The rate of change will be fastest in a direction perpendicular to the level curves.

    clipboard_e323e043235884b908a074dd3f35ea7a5.png

    Another alternative for seeing a graph is to use Wolfram Alpha. Unfortunately variable names in Alpha seem to be limited to a single letter, or a letter followed by a digit. Thus we change the formula to one using the names g and w.

    clipboard_ed953591a145afb48322b593e32738bcc.png

    The techniques of this section let us look at functions of two variables. In the next section we explore techniques for understanding functions of several variables by treating some of the variables as constants.

    Exercises: Evaluating and Graphing Functions of Several Variables Problems

    For exercises 1-9, set up an Excel notebook, and evaluate the given function of several variables at the indicated values. The workbook should be set up so that the input values can be changed and the formula will re-compute with the new values.

    Exercise 1

    Evaluate the function \(f(x,y)=x^2+3xy+4y^2\text{,}\) when \(x=4\text{,}\) and \(y=-2\text{.}\)

    Answer

    Setting this up so that the values of \(x\) and \(y\) can be easily changed we define \(x\) and \(y\) in separate cells and then enter the function that computes \(f(x,y)\)

    clipboard_edbd2d0ea267afe83462023734e258349.png
    Excel commands and general setup
    clipboard_e79a98c4a837c1e54202cf5483546b157.png

    Excel output

    Exercise 2

    Evaluate the function \(f(x,y,z)=x^2+3xy+4y^3+5xyz\text{,}\) when \(x=3\text{,}\) \(y=5\text{,}\) and \(z=7\text{.}\)

    Exercise 3

    Express cost as a function of quantity, initial cost, and per-unit cost, when the initial cost is $2,000, the per-unit cost is $25, and the quantity is 75.

    Answer

    The function we would have is

    \[ Cost=Initial\ cost+per\ unit\ cost*quantity \nonumber \]

    We can set this up as a general Excel worksheet that allows us to vary all three givens.

    clipboard_edb6f7f8c356c4c4055415865f62e852c.png

    Excel commands and general setup

    clipboard_e480cbb5d4a1af2756cae41c9bf8ec110.png

    Excel output

     
    Exercise 4

    Express revenue as a function of two quantity demand-price pairs and quantity, assuming that demand price is a linear function, where the quantity demand-price pairs are \((0, \$20)\) and \((100, \$18)\) and the quantity is 300. (You may find it useful to have intermediate computations that find the coefficients of the demand price function, and the demand price.)

    Example 5

    Express revenue as a function of two quantity demand-price pairs and quantity, assuming that demand price is an exponential function, where the quantity price pairs are \((0, \$20)\) and \((100, \$18)\) and the quantity is 300. (You may find it useful to have intermediate computations that find the coefficients of the demand price function, and the demand price.)

    Solution

    To get the price equation we can solve the system of equations we get by evaluating the exponential function \(P=P_0 e^{kq}\) at the two given points:

    \[ (0,20) \text{ gives us } 20=P_0 e^{(k*0)} \nonumber \]

    \[ (100,18) \text{ gives us } 18=P_0 e^{(k*100)} \nonumber \]

    Then \(P_0=20\) (from the first equation) , and \(18=P_0 e^{(k*100)}\) implies \(18=20 e^{(k*100)}\) so that \(e^{(k*100)}=18/20\)

    Hence \(100*k=\ln(18/20)\text{.}\) Solving for \(k\text{:}\)

    \[ k=1/100\ln(18/20)\approx -0.0011 \nonumber \]

    Alternatively we can use Excel. Remember that if we have only two points we need to add one of the pairs twice so that Excel can graph the points correctly in a scatter plot.

    clipboard_ea27be31b474e6424a748632124b7892e.png

    In Excel we have the Price equation as

    \[ P=20 e^{(-0.001 q)} \nonumber \]

    The difference between the symbolic and numerical answers is a matter of how many decimals / significant digits we choose to keep.

    The simplest answer would be to treat Price as a function of quantity. But this is a section about multivariable functions. So what if we wanted a more general setting where we were given the following:

    • Two points \((0,P_0)\) and \((q_1,P_1)\)
    • A quantity \(Q\)

    The Price function would be

    \[ P=P_0 e^{\left(\frac{1}{q_1} \ln\left(\frac{P_1}{P_0}\right) q\right)} \nonumber \]

    In Excel we could set up a table that would allow us to change \(P_0\text{,}\) \(P_1\text{,}\) \(q_1\) and \(q\)

    \[ revenue(P_0,P_1,q_1,q)=q*P_0 e^{\left(\frac{1}{q_1} \ln\left(\frac{P_1}{P_0}\right) q\right)} \nonumber \]

    clipboard_e93407eabe995d9e653694154a99b33a4.png

    Excel commands and general setup

    clipboard_e8268b98daecef849f17f6bf8660b84f0.png

    Excel output

    Exercise 6:

    Express profit as a function of two quantity demand-price pairs, quantity, initial cost, and per-unit cost, assuming that demand price is a linear function, where the quantity demand-price pairs are \((100, \$30)\) and \((200, \$28)\text{,}\) the quantity is 300, the initial cost is $3000, and the per-unit cost is $8. (You may find it useful to have intermediate computations that find the cost and revenue.)

    Exercise 7:

    Express the future value of a deposit as a function of the initial deposit, the annual interest rate, the number of years the deposit is held, and the number of times per year that the interest is compounded, where the deposit of $10,000 is held for 20 years at 3% interest, compounded monthly.

    Answer

    \[ FutureAmount=InitialDeposit*\left(1+\frac{rate}{ppy}\right)^{years*ppy} \nonumber \]

    clipboard_e11a252ce663e4875cfcb57e43aac765a.png

    Excel commands and general setup

    clipboard_e27a52e4b164e06df92b2c8bc2f2e7129.png

    Excel output

    For the rate, you should either make sure the cell is formatted as a percentage. Or you can just enter the decimal 0.03. The display formula allows you to check that the number is formatted correctly. We do want Excel to use the value of 0.03 in the formula, not 3.

    Exercise 8:

    Express the future value of a regular series of deposits as a function of the periodic deposit amount, the annual interest rate, the number of years the deposits accumulate, and the number of times per year that the deposits are made, where the deposit of $200 is deposited weekly for 20 years at 3% interest, compounded weekly.

    Exercise 9:

    Express the current value of a bond as a function of the final value, the annual interest rate, and the number of years the bond is held, where the final value of the bond is $10,000, held for 15 years at 3.5% interest, compounded monthly.

    Answer

    \[ InitialDeposit=FutureAmount*\left(1+\frac{rate}{ppy}\right)^{-years*ppy} \nonumber \]

    clipboard_e4849dfa19e453cc0260fb963505ec6fc.png

    Excel commands and general setup

    clipboard_eef32c0bc996845797c11ec92f3eb9ffd.png

    Excel output

    So, to have $10,000 after 15 years we need to invest $5,920.08 now.

    For exercises 10-17, set up an Excel notebook to produce a table for the given function as a function of the two specified variables and the other parameters. The workbook should be set up so that the input values can be changed and the formula will recompute with the new values.

    Exercise 10:

    Create a table for the function \(f(x,y)=3x^2+xy+5y^2\text{,}\) with \(x\) ranging from –10 to 10, and \(y\) ranging from -5 to 15.

    Exercise 11:

    Create a table for the function \(f(x,y,z)=xyz+x^2 y-y^2+5z\text{,}\) with \(x\) ranging from –10 to 10, and \(y\) ranging from -5 to 15, with \(z=2\text{.}\)

    Answer

    We need different types of absolute references. If the \(x\) values are entered in column A, and the \(y\) values are entered in row 4, and \(z\) is stored in Cell B2:

    • When using \(x\text{,}\) we want to fix the column reference.
    • When using \(y\text{,}\) we want to fix the row reference.
    • When using z we want to fix the cell reference.
    clipboard_eb5657628f2af904f089f26e7885326d2.png

    In table form we get:

    clipboard_efc0a6bd2cfe4ca9f44bf05c2078d0de6.png

    We can always check our work by double clicking a value in the table. This will highlight the calls called upon to compute the entry. Note that this will check if you are calling on the right \(x\text{,}\) \(y\) and \(z\text{.}\) To check that the formula is correct we recommend the Show Formula feature.

    Exercise 12:

    Create a table that expresses cost as a function of quantity, and per-unit cost, with initial cost as a parameter, when the initial cost is $3,000, the per-unit cost ranges from $20 to $40 by $2, and the quantity ranges from 50 to 100 by 5.

    Exercise 13:

    Create a table that expresses the future value of a deposit as a function of the annual interest rate and the number of years the deposit is held, with the amount of the initial deposit and the number of times per year that the interest is compounded being treated as parameters, where the interest on a deposit of $10,000 is compounded quarterly, and the deposit is held for 20 to 40 years at interest rates ranging from 3% to 5%.

    Answer

    We will enter the deposit and the times the interest is compounded (ppy) as fixed parameters. The years run from 20 to 40, and the interest rate from 3% to 5%. We have enough space on one sheet to do the years in increments of 1. The interest is done in increments of 0.25%. This is something not uncommon in the banking world.

    clipboard_e40ac140208458c472b741ff781c19cdc.png
    clipboard_e4a02b1d28f386f915f474250be6281bc.png

    How much detail should you give? Imagine working at a bank. What would be a good spreadsheet to share with a colleague, boss, or costumer? It should be adequately labeled and it should be easy to read.

    Exercise 14:

    Create a table that expresses the future value of a regular series of deposits as a function of the annual interest rate and the number of years the deposit accumulate, with the amount of the deposits and the number of times per year that the interest is compounded being treated as parameters, where a deposit of $2,000 is made monthly, and the deposits accumulate for 20 to 40 years at interest rates ranging from 3% to 5%.

    Exercise 15:

    Create a table that expresses the current value of a bond as a function of the number of years the bond is held and the interest rate, where the final value of the bond is $10,000, the number of years the bond is held runs from 5 to 40 and the interest rate runs from 2% to 6%.

    Answer

    The entries in the cell look like this

    clipboard_e9df87fbcfb4c5934691586d8bfc755ae.png
    clipboard_e9b9e6ec2567a7556aaa4fd7b0ca9f625.png

    e can easily read off what our initial investment needs to be if we want to earn $10,000.

    Exercise 16:

    Create a table that expresses revenue as a function of the quantity of widgets and gizmos sold as both quantities range from 0 to 1000, where the demand price functions are:

    \[ PriceGizmo=50-\frac{QuantityGizmo}{40}-\frac{QuantiyWidget}{300} \nonumber \]

    \[ PriceWidget=40-\frac{QuantityGizmo}{400}-\frac{QuantiyWidget}{50} \nonumber \]

    Exercise 17:

    Create a table that expresses revenue as a function of the quantity of widgets and gizmos sold as both quantities range from 0 to 1000, where the demand price functions are:

    \[ PriceGizmo=60(0.9)^{QuantityGizmo/100}-\frac{QuantiyWidget}{200} \nonumber \]

    \[ PriceWidget=40(0.85)^{QuantityWidget/100}-\frac{QuantityGizmo}{100} \nonumber \]

    Answer

    Let \(x\) be Gizmo, and \(x\) be Widget, then

    \[ PriceX=60(0.9)^{\frac{x}{100}}-\frac{y}{200} \nonumber \]

    \[ PriceY =40(0.85)^{\frac{y}{100}}-\frac{x}{100} \nonumber \]

    \[ Revenue=x PriceX+y Pricey \nonumber \]

    \[ revenue=x 60(0.9)^{\frac{x}{100}}-\frac{y}{200}+y 40(0.85)^{\frac{y}{100}}-\frac{x}{100} \nonumber \]

    clipboard_eb370d1241f5f24dd760c897575c03526.png
    clipboard_edf28de78db4bb391da3997bf7c2c30d9.png
    • For exercises 18-25, use either Excel or WolframAlpha to produce a graph of the function described in exercises 10-17 respectively.

    This page titled 6.1: Evaluating and Graphing Functions of Several Variables is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Mike May, S.J. & Anneke Bart via source content that was edited to the style and standards of the LibreTexts platform.