So far, we have studied functions that relate values of an output variable to values of a single input variable. But it is not uncommon for an output variable to depend on two or more inputs. Many familiar formulas describe functions of several variables.
For example, the perimeter of a rectangle depends on its length and width. The volume of a cylinder depends on its radius and height. The distance you travel depends on your speed and the time you spent traveling. Each of these formulas can be written with function notation.
\begin{equation*}
\begin{aligned}[t]
\amp P = f(l,w) = 2l + 2w \amp\amp \text{Perimeter is a function of length and width.}\\
\amp V = f(r, h) = \pi r^2h \amp\amp \text{Volume is a function of radius and height.}\\
\amp d = f(r, t) = rt \amp\amp \text{Distance is a function of rate and time.}
\end{aligned}
\end{equation*}
The maximum height that the water stream from a fire hose can reach depends on the water pressure and the diameter of the nozzle, and is given by the function
where \(P\) is the nozzle pressure in psi, and \(n\) is measured in \(\dfrac{1}{8}\)-inch increments over the standard nozzle diameter of \(\dfrac{3}{4}\) inch.
The \(1\frac{1}{8}\)-inch nozzle is three \(\frac{1}{8}\) increments over the standard nozzle diameter of \(\frac{3}{4} \) inch. We solve for \(P\) when \(H=91\) and \(n=3\text{:}\)\(P=80\) psi
Just as for functions of a single variable, we can use tables to describe functions of two variables, \(z = f (x, y)\text{.}\) The row and column headings show the values of the two input variables, and the table entries show the values of the output variable.
Windchill is a function of two variables, temperature and wind speed, or \(W = f(s, t)\text{.}\) The table shows the windchill factor for various combinations of temperature and wind speed.
We look in the row for \(20\) mph and the column for \(15\degree\text{.}\) The associated windchill factor is \(-17\text{,}\) so \(f(20, 15) = -17\text{.}\)
We look in the row for \(s = 10\) until we find the windchill factor of \(W = -15\text{.}\) The column heading for that entry is \(5\text{,}\) so \(t = 5\text{.}\) When the wind speed is \(10\) mph and the windchill factor is \(-15\text{,}\) the temperature is \(5\degree\)F.
In the \(t = 30\degree\)F column, we find the windchill factor of \(1\) in the \(25\)-mph row, so \(s = 25\text{.}\) The wind speed is \(25\) mph when the temperature is \(30\degree\)F and the windchill factor is \(1\text{.}\)
A retirement plan requires employees to put aside a fixed amount of money each year until retirement. The amount accumulated, \(A\text{,}\) includes 8% annual interest on employeeβs annual contribution, \(c\text{.}\)\(A\) is a function of \(c\) and the number of years, \(t\text{,}\) that the employee makes contributions, so \(~A = f(c, t)\text{.}\)
Rectangular beams of a given length can support a load, \(L\text{,}\) that depends on both the width and the depth of the beam, so that \(L = f(w, d)\text{.}\) The table shows some of the values.
In the row for \(2\) cm and the column for \(5\) cm, we find that \(f(2, 5) = 500\text{.}\) A beam of width \(2\) cm and depth \(5\) cm can support a maximum load of \(500\) kilograms.
Using the row for width \(3\) cm, we make a new table showing the relationship between load and depth. The increase in load for each increase of \(1\) cm in depth is not a constant, so the graph shown below is not a straight line.
The curve does pass through the origin, so perhaps the data describe direct variation with a power of depth. If we try the equation \(L = kd^2\) and use the point \((1, 30)\text{,}\) we find that \(~30 = k \cdot 1^2\text{,}\) so \(k = 30\text{.}\) You can check that the equation \(L = 30d^2\) does fit the rest of the data points.
For the table in the previous example, consider the column corresponding to a beam depth of \(3\) cm. Graph \(L\) as a function of \(w\) when the depth is constant at \(d = 3\text{.}\)
In Practice 3, you should find that the load varies directly with width when the depth is \(3\) centimeters. In fact, the load varies directly with width for any fixed depth.
In ExampleΒ 3.110, we saw that the load varies with the square of depth when the width is \(3\) centimeters, and this relationship also holds for any value of \(w\text{.}\) Consequently, we can find a constant \(k\) such that
\begin{equation*}
\text{load} = k \cdot \text{width} \cdot \text{depth}^2
\end{equation*}
This relationship between variables is an example of joint variation.
The cost, \(C\text{,}\) of tiling a rectangular floor depends on the dimensions (length and width) of the floor, so \(~C = f(w, l)\text{.}\) The table shows the costs in dollars for some dimensions.
It is possible to make graphs in three dimensions for functions of two variables, but we will not do that here. Instead, we will represent such functions graphically by holding one of the two variables constant.
GPS satellites orbit at an altitude of \(20,200\) kilometers and a speed of 232 kilometers per minute. The period of a GPS satellite is 11 hours and 58 minutes. Find the constant of variation in your formula for \(T\text{.}\) (The radius of the Earth is 6360 km.)
Satellites in polar orbits are used to measure ozone concentrations in the atmosphere. One such satellite orbits at an altitude of 833 km and has a period of 101.2 minutes. What is the speed of this satellite?
We first convert the period to minutes, then we substitute values into our formula and solve for \(k\) to find that \(k\approx 6.3\text{.}\) (Actually, \(k=2\pi\text{.}\))
The airplane has \(12\) first-class seats and \(24\) coach seats. What is the maximum revenue the airline can collect? Write your answer with function notation.
A manufacturing firm calculates its profit (or loss) by subtracting the cost of production from its revenue. The firm can produce 100 items per week, with fixed costs (overhead) of $\(500\text{.}\)
Write a function for the firmβs weekly profit, \(P\text{,}\) if they charge a price of \(p\) dollars per item and it costs them \(c\) dollars to produce each item.
Archaeologists can calculate the size of a pot from just a fragment, or sherd, of the original. If \(L\) and \(h\) are the dimensions of an arc of a circle, as shown in the figure, then the radius of the entire circle is given by the function
A pottery sherd has dimensions \(L = 4\) inches and \(h = \dfrac{3}{2}\) inch. What was the radius of the whole pot? Write your answer with function notation.
Show that the formula gives the correct value for \(r\) when the sherd is actually a semicircle. Hint: What are the values of \(L\) and \(h \) in this case?
The surface area of a cylinder is a function of its diameter and height,
\begin{equation*}
S = f (d, h) = \pi dh + \frac{\pi}{2}d^2
\end{equation*}
What is the surface area of a cylindrical oatmeal container with diameter \(4\) inches and height \(7\) inches? Write your answer with function notation.
How does the surface area of the cylinder in part (b) compare with the surface area of a sphere of the same diameter? Sketch both surfaces with the same center.
The Dubois formula is used to estimate the surface area, \(S\text{,}\) of a person in terms of his or her weight and height. A good estimate of surface area is critical to some forms of cancer treatment. In square centimeters, \(S\) is given by
\begin{equation*}
S = f (w, h) = 71.84w^{0.425}h^{0.725}
\end{equation*}
where \(w\) is in kilograms and \(h\) is in centimeters.
Use the Dubois formula to estimate the surface area of a person who weighs \(60\) kg and is \(160\) cm tall.
In the 1970s, McNeill Alexander proposed a relationship between an animalβs running speed, \(v\text{,}\) its hip height, \(h\text{,}\) and its stride length, \(s\text{.}\) If stride and hip height are measured in meters, the running speed is given in meters per second by
\begin{equation*}
v = f (h, s) = 0.78s^{1.67}h^{-1.17}
\end{equation*}
What is the speed of a racehorse whose hip height is \(1.6\) meters and stride length is \(7\) meters?
A pronghorn antelope has the same stride length as a cheetah and its hip height is \(12\%\) greater than the cheetahβs. How does its running speed compare to a cheetahβs?
If you walk for exercise, the number of calories, \(C\text{,}\) you burn per mile depends on your walking speed, \(s\text{,}\) and your weight, \(w\text{.}\)
The BMI (body mass index) is used to determine whether a person is a healthy weight, overweight, or obese. \(B\) is a function of height, \(h\text{,}\) and weight, \(w\text{.}\)
A person is deemed overweight if his or her BMI is at least \(25\) but less than \(30\text{.}\) Write this fact in function notation. (A person is obese if the BMI is over \(30\text{.}\))
An amortization table shows the monthly payments for a loan or mortgage. The table below gives monthly payments for a loan of $\(100,000\text{.}\) The monthly payment, \(P\text{,}\) is a function of the annual interest rate, \(r\text{,}\) and the length of the loan, \(t\text{,}\) in years.
You would like to borrow $\(100,000\) for \(20\) years. What interest rate, to the nearest percent, can you accept if your monthly payments must be no more than $\(800\text{?}\) What interest rate can you accept if the loan is for \(30\) years? If \(P = f (r, t)\text{,}\) use function notation to write both of these questions as inequalities.
Suppose you borrow $\(100,000\) for \(10\) years at \(10\%\) interest. Which would cause a greater reduction in your monthly payment: Reducing the interest rate by \(5\%\) or increasing the length of the loan by \(5\) years?
Warmer air can hold more moisture than cooler air. Relative humidity is the amount of moisture in the air, as a fraction of the saturation level at the current temperature. A common measure of humidity is the dewpoint: the temperature at which the current humidity would saturate the air, so that dew forms. The table gives dewpoints, \(D\text{,}\) in \(\degree\)F, as a function of temperature, \(T\text{,}\) and relative humidity, \(H\text{,}\)\(D = f (T, H)\text{.}\)
Does the dewpoint rise or fall with temperature? (Hint: Consider any column in the table, and notice how dewpoint changes with increasing temperature.)
Suppose that the temperature is \(70\degree\)F and the relative humidity is \(70\%\text{.}\) Which would cause a larger change in dewpoint: a rise in temperature to \(80\degree\)F or an increase in humidity to \(80\%\text{?}\)
The table shows automobile fuel efficiency, \(E\text{,}\) as a function of gasoline used, \(g\text{,}\) and miles driven, \(m\text{.}\) Values of \(E\) are rounded to tenths where necessary.
The table shows the productivity, \(P\text{,}\) of a manufacturing plant as a function of the number of items produced, \(I\text{,}\) and the hours of labor used, \(w\text{.}\) Values of \(P\) are rounded to tenths where necessary.
The water gushing out of a fire hose exerts a backward force that the firefighter must control. This force, called the nozzle reaction, \(R\text{,}\) is a function of the diameter, \(d\text{,}\) of the nozzle and the water pressure, \(P\text{,}\) at the nozzle.
The resistance, \(R\text{,}\) of a wire depends on its length, \(L\text{,}\) and diameter, \(d\text{.}\) The table shows the resistance of copper wires of gauges from \(10\) to \(20\text{.}\) The diameters of the wires are given in mils, where \(1 \text{ mil} = 0.001 \text{ inch}\text{.}\)
Household current uses 12-gauge wire, with a diameter of 0.081 inches. Use your formula to calculate the resistance of a 100-foot length of 12-gauge wire, and verify with the table.
Acceleration, \(a\text{,}\) varies directly with distance, \(d\text{,}\) and inversely with a power of time, \(t\text{.}\) Use the information in the table to write \(a\) as a function of \(d\) and \(t\text{.}\)
The rate of water flow, \(F\text{,}\) through a fire hose is a function of the diameter, \(d\text{,}\) of the nozzle and the nozzle pressure, \(p\text{.}\)
Plot \(F\) as a function of \(p\) for \(d = 1\text{,}\)\(1.25\text{,}\)\(1.5\text{,}\) and \(1.75\text{.}\) Which basic function do your graphs resemble?
Railroad engineers use a transition curve between straight sections of track and bends, which are designed as arcs of circles. The length, \(L\text{,}\) of the transition curve varies directly with the cube of the trainβs speed, \(v\text{,}\) and inversely with the radius, \(R\text{,}\) of the circular arc.
On a section of track where the speed limit is \(50\) mph, a circular bend has a radius of \(2000\) feet, and the transition curve is \(200\) feet long. Find the constant of variation and write a formula for \(L\) as a function of \(v\) and \(R\text{.}\)
The planets are composed of three broad categories of materials: rocky materials, icy materials (including water), and the materials that dominate the sun, namely hydrogen and helium. The density of rock varies from \(3000\) to \(8000 \text{ kg}/\text{m}^3\text{.}\) Which of the planets could be composed mainly of rock?
Ammonia has many uses in industry and agriculture, including the production of fertilizers. It is produced in the laboratory from nitrogen and hydrogen, but the process requires high pressure and temperature for significant yield. The graph illustrates the relationship. (Source: Hunt and Sykes, 1984)
The graph shows the heat index, which combines air temperature and relative humidity to determine an apparent temperature, or what the temperature actually feels like. (Source: Ahrens, 1998)