YouTube2Text

Intro to Multivariable Functions | Calculus 3 Lesson 39 — Transcript

by JK Math · 9,992 words · 1,400 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Welcome back. Let's learn about
  2. 0:01multi-variable functions.
  3. 0:06All right. So, so far in math through
  4. 0:08algebra, precalculus, calc one, calc
  5. 0:10two, and even calc three, we have pretty
  6. 0:13much exclusively worked with functions
  7. 0:15of a single independent variable, right?
  8. 0:18Functions that are defined using one
  9. 0:21independent variable that we typically
  10. 0:23represent with X, but we have used other
  11. 0:25variables in the past. However, there
  12. 0:28are many quantities, some of which you
  13. 0:30are familiar with, that are represented
  14. 0:32by functions of two or more independent
  15. 0:35variables. And we call these functions
  16. 0:37functions of several variables, or more
  17. 0:39simply, multi-variable functions. They
  18. 0:42are functions that are defined with two
  19. 0:44or more independent variables. Okay. So,
  20. 0:47for example, if you think about the
  21. 0:49volume of a cone, more specifically the
  22. 0:51volume of a right circular cone, we
  23. 0:54represent the volume with this formula.
  24. 0:56The volume is equal to pi r squared
  25. 0:58times h, where r is the radius and h is
  26. 1:01the height. This can be viewed as a
  27. 1:03multi-variable function. In particular,
  28. 1:05a function of two independent variables.
  29. 1:08Those variables being the radius r and
  30. 1:11the height h. Depending on the value of
  31. 1:14the radius and the height, the output
  32. 1:16value for the volume will be different.
  33. 1:18All right. The output of the volume
  34. 1:20depends on the values of those two
  35. 1:23independent variables. Or for another
  36. 1:25example, consider the volume of a
  37. 1:27rectangular solid, where volume is equal
  38. 1:29to l times w times h, where l is the
  39. 1:32length, w is the width, and h is the
  40. 1:34height. We could view the volume here as
  41. 1:37a function of three independent
  42. 1:39variables. Those variables being the
  43. 1:41length l, the width w, and the height h.
  44. 1:44Depending on the value of each of those
  45. 1:47variables, the volume of the rectangular
  46. 1:49solid will change. The volume depends on
  47. 1:52the values of those independent
  48. 1:54variables. Okay. And of course, these
  49. 1:56are just two examples of many different
  50. 1:59examples that we could pull from of
  51. 2:01multivariable functions in practicality.
  52. 2:03But, we're not quite ready to look at
  53. 2:05the applications of multivariable
  54. 2:06functions at this point. We still have
  55. 2:08to fully introduce them here. And so,
  56. 2:10let's begin by looking at notation.
  57. 2:13And we actually use a very similar
  58. 2:15notation to single variable functions
  59. 2:17for multivariable functions. When we
  60. 2:19have a function of a single variable, we
  61. 2:21represent it with f of x. x is the
  62. 2:23independent variable, so we put it
  63. 2:25inside those parentheses. Same thing
  64. 2:27with multivariable functions. We denote
  65. 2:29a multivariable function of two
  66. 2:31independent variables like this: f of x,
  67. 2:34{comma} y. We put both of the
  68. 2:36independent variables, in this case x
  69. 2:38and y, inside the parentheses for the
  70. 2:41function. Now, the way that I would
  71. 2:42actually read this is f of xy or f of x
  72. 2:46and y, but just saying f of xy is going
  73. 2:48to be the easiest. Or, if you have a
  74. 2:50function of three independent variables,
  75. 2:52the notation will look like this. You'll
  76. 2:54have all three of those independent
  77. 2:56variables, x, y, and z, separated by
  78. 2:58commas inside the parentheses for the
  79. 3:01function. And you would read this as f
  80. 3:03of xyz. All right? Now, remember,
  81. 3:06functions are not just composed by
  82. 3:08independent variables. They also include
  83. 3:10a dependent variable. And so, for
  84. 3:12example, when we had a function of a
  85. 3:14single variable, such as f of x equals x
  86. 3:16squared, another way that we could write
  87. 3:18that using the dependent variable, which
  88. 3:21in this case would have been y, we could
  89. 3:22write the function as y equals x
  90. 3:25squared. All right? We set the dependent
  91. 3:27variable equal to the function in terms
  92. 3:30of the independent variable. We can do a
  93. 3:32very similar thing for multivariable
  94. 3:34functions, except the dependent variable
  95. 3:37will look a little bit different. For
  96. 3:39example, let's say that we have a
  97. 3:40function of two variables, f of xy,
  98. 3:43that's equal to x squared plus y
  99. 3:44squared. In this case, the independent
  100. 3:47variables are x and y. So, y will not be
  101. 3:50our dependent variable here, like it was
  102. 3:53for our single variable function. In
  103. 3:54this case, we will use a different
  104. 3:56letter. Typically, we use Z. Z will be
  105. 3:59the dependent variable. So, the way that
  106. 4:01we could rewrite this multivariable
  107. 4:03function would be Z is equal to x
  108. 4:06squared plus y squared. We set the
  109. 4:08dependent variable equal to the function
  110. 4:11in terms of the two independent
  111. 4:14variables. Okay? Or if we have a
  112. 4:16function of three independent variables,
  113. 4:18f of x y z is equal to x squared plus y
  114. 4:21squared plus z squared, we could also
  115. 4:23rewrite this function using a dependent
  116. 4:25variable, but we have to use a different
  117. 4:27variable once again, because now for
  118. 4:29this function, x, y, and z are
  119. 4:32independent variables. And typically for
  120. 4:34multivariable functions with three
  121. 4:36independent variables, we will use W as
  122. 4:39the dependent variable. So, we could
  123. 4:41rewrite this as W is equal to x squared
  124. 4:45plus y squared
  125. 4:47plus z squared. All right? The dependent
  126. 4:49variable is equal to a function in terms
  127. 4:51of the three independent variables. All
  128. 4:54right? So, really, the notation for
  129. 4:56multivariable functions is not all that
  130. 4:58different from a function of a single
  131. 5:00variable. But it is important to realize
  132. 5:02that in each case, the independent
  133. 5:04variables will always be listed inside
  134. 5:07the parentheses for the function. So,
  135. 5:09you can very quickly identify how many
  136. 5:12independent variables there are for your
  137. 5:14multivariable functions. Okay? So, the
  138. 5:17number of independent variables can
  139. 5:19change, but what won't change is the
  140. 5:21number of dependent variables. There
  141. 5:23will still only be one dependent
  142. 5:26variable for all of these functions.
  143. 5:28Okay? So, that's a nice little
  144. 5:30introduction to multivariable functions,
  145. 5:33but let's take a closer look. Let's
  146. 5:34compare and contrast multivariable
  147. 5:36functions to functions of a single
  148. 5:38variable, because just like functions of
  149. 5:40a single variable, multivariable
  150. 5:42functions also can be represented by
  151. 5:44graphs and have a domain and range for
  152. 5:48the independent and dependent variables.
  153. 5:51And so, here's a nice chart to help us
  154. 5:52keep everything straight. In this
  155. 5:54column, we have our single variable
  156. 5:56function, y = f of x. In this column, we
  157. 5:59have a function of two independent
  158. 6:00variables, z = f of x y. And then in
  159. 6:03this column, we have a function of three
  160. 6:05independent variables, w = f of x y z.
  161. 6:09For this single variable function, the
  162. 6:11independent variable is x. For this
  163. 6:13multivariable function, the independent
  164. 6:15variables are x and y. And for this
  165. 6:17multivariable function, the independent
  166. 6:18variables are x, y, and z. Once again,
  167. 6:21you can always identify those
  168. 6:22independent variables by looking inside
  169. 6:24the parentheses for your function
  170. 6:26notation. And then just as we got done
  171. 6:28discussing, the dependent variable in
  172. 6:30each case is y for the single variable
  173. 6:32function, z for a function of two
  174. 6:34independent variables, and w for a
  175. 6:36function of three independent variables.
  176. 6:39But now, let's talk about the graphs.
  177. 6:41What do the graphs look like for each of
  178. 6:43these types of functions? Well, you
  179. 6:44should be pretty familiar with the graph
  180. 6:46of a single variable function. The graph
  181. 6:48of y = f of x is represented in a
  182. 6:51two-dimensional plane. We have an axis
  183. 6:54for the independent variable x and an
  184. 6:56axis for the dependent variable y. And
  185. 6:58so, what happens is you input different
  186. 7:00values of the independent variable x
  187. 7:03into the function to get out different
  188. 7:05output values of the dependent variable
  189. 7:07y. So, you put in a value of x, and you
  190. 7:09get out a corresponding y value. And so,
  191. 7:12from that you can get a collection of
  192. 7:14points for your function that then make
  193. 7:16up a curve. That's what we get from a
  194. 7:18single variable function. But for a
  195. 7:20function of two independent variables,
  196. 7:23we're no longer working with curves or
  197. 7:25lines. The graph of the function will be
  198. 7:27in three dimensions. You'll have an axis
  199. 7:30for each independent variable, x and y.
  200. 7:33And then you also have an axis for the
  201. 7:35dependent variable z. And so, in this
  202. 7:37case, you input values of x and y into
  203. 7:40the function and get out an output of Z.
  204. 7:43So, all of your input values represent a
  205. 7:46point somewhere in the XY plane that
  206. 7:49then when plugged into the function
  207. 7:51corresponds to a height along the Z
  208. 7:53axis. And so, from plugging in different
  209. 7:56values of X and Y into the function and
  210. 7:58getting out a Z value, you get different
  211. 8:00points within the 3D coordinate system
  212. 8:03that together make up a surface. All
  213. 8:06right. So, functions of two independent
  214. 8:08variables give you three-dimensional
  215. 8:10graphs of surfaces. But, what about
  216. 8:12functions of three independent
  217. 8:14variables? Well, the graph of these
  218. 8:16types of functions will be in four
  219. 8:18dimensions, which we have no idea how to
  220. 8:20graph, which is why I have a question
  221. 8:22mark here. I have no way of showing you
  222. 8:23what that looks like, but if we could
  223. 8:25actually graph in four dimensions, we
  224. 8:27would have an axis for each of the
  225. 8:29independent variables X, Y, and Z, as
  226. 8:32well as an axis for the dependent
  227. 8:33variable W. And you would be able to
  228. 8:36form some type of four-dimensional shape
  229. 8:39by plugging in different values of X, Y,
  230. 8:41and Z together into the function and
  231. 8:43getting out one output for W to get a
  232. 8:46four-dimensional point, I guess. And all
  233. 8:49of those four-dimensional points
  234. 8:50together would form some type of
  235. 8:52four-dimensional shape. Again, we don't
  236. 8:54know what that looks like, but the same
  237. 8:56type of process is going on here that
  238. 8:58happens when we graph single variable
  239. 9:00functions and functions of two
  240. 9:02independent variables. Okay. So, those
  241. 9:04are the graphs of each of those types of
  242. 9:06functions. But, what about the domains?
  243. 9:08What do the graphs of the domains look
  244. 9:10like for each type of function? Well,
  245. 9:12remember, the domain corresponds to the
  246. 9:15independent variable. The domain
  247. 9:17represents the set of possible input
  248. 9:19values for your function. So, for a
  249. 9:21single variable function, which only has
  250. 9:23one independent variable, you would
  251. 9:26graph the domain in one dimension. One
  252. 9:28dimension for one independent variable.
  253. 9:31Looking at this graph here and thinking
  254. 9:32about the domain, the different possible
  255. 9:34values of X that can be input into the
  256. 9:37function would be values of X towards
  257. 9:39infinity but not including zero because
  258. 9:42this line is not touching the Y axis or
  259. 9:45where X equals zero. It's getting close,
  260. 9:47but it won't really touch that. So, we
  261. 9:49would represent that domain like this.
  262. 9:51We have our number line representing our
  263. 9:53different values of X and we have that
  264. 9:55open parentheses at zero or you could
  265. 9:56draw an open circle at that point and
  266. 9:59then an arrow pointing in the positive X
  267. 10:01direction. All right, so this would
  268. 10:03represent all the different values of X
  269. 10:05that are possible inputs for this
  270. 10:07function. Now, for a function of two
  271. 10:09independent variables, the domain will
  272. 10:11no longer be in one dimension but two
  273. 10:13dimensions because we have two
  274. 10:15independent variables. We have to
  275. 10:17account for the different input values
  276. 10:19of both X and Y. And so, the domain will
  277. 10:22be plotted in the XY plane. It will
  278. 10:25represent all the different combinations
  279. 10:27of X and Y that can be plugged into the
  280. 10:29function and get out a corresponding Z
  281. 10:32value or height. All right, so looking
  282. 10:34at this surface here, clearly the domain
  283. 10:38or the different possible input values
  284. 10:40of X and Y will be limited to the points
  285. 10:42within this circle. All right, any
  286. 10:45coordinates of X and Y within this
  287. 10:47circle can be plugged into this function
  288. 10:49to get a corresponding Z value. All
  289. 10:52right, anything outside of that circle,
  290. 10:54as you can see in this graph, does not
  291. 10:56result in a point that is part of this
  292. 10:59surface. Okay? And then for a function
  293. 11:01of three independent variables, the
  294. 11:03domain would actually be represented in
  295. 11:05three dimensions. You need to take into
  296. 11:07account all three of the independent
  297. 11:09variables. And so, an example of what a
  298. 11:11domain might look like for a
  299. 11:13four-dimensional surface or shape
  300. 11:16represented by this function would be a
  301. 11:18sphere. Within this sphere in three
  302. 11:21dimensions would be a set of values for
  303. 11:23X, Y, and Z that could be plugged into
  304. 11:26the function that will result in a value
  305. 11:28of W. And then all of those different
  306. 11:30values of W from those different sets of
  307. 11:33points would form a four-dimensional
  308. 11:36shape. All right, so that's what the
  309. 11:38graph of the domain will look like for
  310. 11:40each of these types of functions, but
  311. 11:42the main points you want to take away
  312. 11:43here are this. Firstly, the graph of the
  313. 11:46function will have one dimension more
  314. 11:49than the number of independent
  315. 11:50variables, right? A function of a single
  316. 11:52variable had a two-dimensional graph, a
  317. 11:54function of two independent variables
  318. 11:56had a three-dimensional graph, and a
  319. 11:58function of three independent variables
  320. 12:00would have a four-dimensional graph. So,
  321. 12:02the graph of the function will always
  322. 12:04have one more dimension than the number
  323. 12:06of independent variables, and you also
  324. 12:08want to remember that the domain of a
  325. 12:10function will have the same number of
  326. 12:12dimensions as the number of independent
  327. 12:15variables. All right, a single variable
  328. 12:17function has a domain in one dimension,
  329. 12:20a function of two independent variables
  330. 12:22has a domain of two dimensions, and a
  331. 12:24function of three independent variables
  332. 12:26has a domain of three dimensions, okay?
  333. 12:30In other words, as I've already
  334. 12:31mentioned, you'll need an axis for each
  335. 12:33independent variable, okay? And we're
  336. 12:35going to come back to the domain of
  337. 12:37multivariable functions later in this
  338. 12:39lesson. That's how we're going to end by
  339. 12:41looking at how to find the domain of a
  340. 12:43multivariable function, but first,
  341. 12:45there's a couple things about
  342. 12:46multivariable functions that you need to
  343. 12:48be aware of.
  344. 12:49And the first thing is regarding the
  345. 12:51definition of multivariable functions.
  346. 12:53Just like single-variable functions,
  347. 12:55multivariable functions, whether it's f
  348. 12:58of xy or f of xyz, they require that
  349. 13:01each input of xy or xyz corresponds to a
  350. 13:06unique value for the dependent variable
  351. 13:09or a single output, all right? And so,
  352. 13:12what do I mean by that? Well, consider
  353. 13:14this. You should be familiar with this
  354. 13:17equation from earlier in calculus 3. We
  355. 13:19know that x squared plus y squared plus
  356. 13:21z squared equals 9 represents a sphere
  357. 13:24in the 3D coordinate system,
  358. 13:26specifically a sphere with a radius of
  359. 13:29three, because x squared plus y squared
  360. 13:30plus z squared is equal to the radius
  361. 13:32squared, and the square root of nine is
  362. 13:34three. But, we cannot say that for this
  363. 13:37equation of this surface that z would be
  364. 13:40a function of x and y because there are
  365. 13:43inputs for x and y that result in
  366. 13:45multiple values for z. And so, for
  367. 13:48example, if you consider the x and y
  368. 13:50values of zero and zero, that would be
  369. 13:53at the origin of the xy plane, those two
  370. 13:55coordinates of zero zero for x and y
  371. 13:58correspond to two different points on
  372. 14:00this sphere, right? They correspond to
  373. 14:02this point up here where the z
  374. 14:04coordinate is three, and it also
  375. 14:06corresponds to this point down here
  376. 14:08where the z coordinate is negative
  377. 14:09three. In other words, there are two
  378. 14:11different outputs for a single input of
  379. 14:14zero zero for x and y. Zero zero results
  380. 14:18in z equal to plus or minus three, the
  381. 14:21points at the top and bottom of the
  382. 14:23sphere. And so, what that means is that
  383. 14:25this entire sphere could not be
  384. 14:27represented by a single multivariable
  385. 14:30function, okay? Because just like single
  386. 14:32variable functions, a multivariable
  387. 14:34function requires that each input only
  388. 14:37corresponds to a single output. If there
  389. 14:40are two outputs for one input, that is
  390. 14:43not a function. And so, the way that we
  391. 14:44would get around that is by representing
  392. 14:46the sphere with two different
  393. 14:48multivariable functions. And so, here's
  394. 14:50what that looks like. What we would want
  395. 14:52to do is solve for z in this equation.
  396. 14:55And to do that, we would need to
  397. 14:56subtract x squared and y squared from
  398. 14:58both sides of the equation. So, that
  399. 15:00would give us this. We would have z
  400. 15:02squared is equal to nine minus x squared
  401. 15:06minus y squared. And then, to finish
  402. 15:08solving for z, you would need to take
  403. 15:09the square root of both sides of the
  404. 15:11equation. So, you would get z is equal
  405. 15:14to the square root of nine minus x
  406. 15:16squared
  407. 15:17minus y squared. Or really, what you'd
  408. 15:19get here is Z plus or minus the square
  409. 15:23root of that expression. Okay? We would
  410. 15:26split that up into two functions. You
  411. 15:28would have Z equals the square root of 9
  412. 15:31minus X squared minus Y squared and Z
  413. 15:34equals the negative square root of 9
  414. 15:37minus X squared minus Y squared. Okay?
  415. 15:40You'd get these two different functions
  416. 15:42that together would represent the entire
  417. 15:45sphere. This equation, the positive one,
  418. 15:47would represent the top half of the
  419. 15:49sphere or the part of the sphere above
  420. 15:51the XY plane. And then this equation
  421. 15:53where you have the negative in front of
  422. 15:55the square root, that would represent
  423. 15:56the bottom half of the sphere or the
  424. 15:58part of the sphere below the XY plane.
  425. 16:01Okay? So really it's the same idea with
  426. 16:04how we treated circles with single
  427. 16:06variable functions. A circle is not a
  428. 16:08single variable function because there
  429. 16:09would be multiple outputs for Y that
  430. 16:12correspond to a value of X. Right? If
  431. 16:14you think about X equals 1 for whatever
  432. 16:16this circle would be, that value of X
  433. 16:18corresponds to this Y coordinate and
  434. 16:20this Y coordinate. So the entire circle
  435. 16:23would not be a function of a single
  436. 16:24variable. All right? That's where we get
  437. 16:26that idea of the vertical line test. If
  438. 16:29you can draw a vertical line through
  439. 16:31your curve and hit the curve twice, like
  440. 16:34we would for this circle many times,
  441. 16:36then that curve, or in this case the
  442. 16:37circle, is not a function. All right?
  443. 16:40That's the same idea that we're applying
  444. 16:41here for multi-variable functions, but
  445. 16:44of course we're now working with
  446. 16:45surfaces rather than curves. Okay? So
  447. 16:48it's the same idea, but just extended to
  448. 16:50another dimension. All right? But
  449. 16:52assuming that you can represent a
  450. 16:54surface with a multi-variable function,
  451. 16:56you can plug in any set of values for
  452. 16:58the independent variables on the domain
  453. 17:01and get back one value for the dependent
  454. 17:03variable. And so let's take a quick look
  455. 17:05at how we evaluate multi-variable
  456. 17:07functions.
  457. 17:09Here I have an example where we want to
  458. 17:10evaluate these different functions. Now
  459. 17:13we're going to start with a single
  460. 17:14variable function just to sort of review
  461. 17:16what we're doing here, but if we have a
  462. 17:18function f of x equals x squared and we
  463. 17:20want to evaluate it at x equals 4, what
  464. 17:23we do is we plug 4 in for x in the
  465. 17:26function. All right, so we would get f
  466. 17:28of 4 is equal to x squared, which would
  467. 17:31be
  468. 17:324 squared, which is equal to 16. All
  469. 17:35right, so that's how we evaluated a
  470. 17:37single variable function. But what if we
  471. 17:39have a function of two independent
  472. 17:41variables? In this case, f of x y equals
  473. 17:43x times y. Specifically, we want to
  474. 17:46evaluate it at 3 {comma} -2. What this
  475. 17:49means is 3 is the value of x and -2 is
  476. 17:52the value of y. That's what we are going
  477. 17:54to plug in to this multi-variable
  478. 17:57function. It will look like this. We'll
  479. 17:59have f of 3 {comma} -2. All right, we're
  480. 18:03plugging in those two values for x and y
  481. 18:05in the multi-variable function. And that
  482. 18:07will be equal to x times y, where x is 3
  483. 18:11and y is -2. So we'll have 3
  484. 18:14times -2 equals -6. All right, so really
  485. 18:19it's not all that different from
  486. 18:20plugging values into a single variable
  487. 18:22function. The only difference is that
  488. 18:24there's a second value or a second
  489. 18:26independent variable to take into
  490. 18:28account. Just make sure you plug in the
  491. 18:30right numbers for the right variables
  492. 18:33based on how they are listed. All right,
  493. 18:34and so for our last example here, we
  494. 18:36have a function with three independent
  495. 18:38variables. f of x y z is equal to x plus
  496. 18:41y divided by z, and we want to evaluate
  497. 18:44it at this ordered triple, 6 9 -3. So 6
  498. 18:49is the x value, 9 is the y value, and -3
  499. 18:53is the z value. So make sure to put
  500. 18:55those into the right places in the
  501. 18:57function. All right, so we'll have f of
  502. 19:006 {comma} 9 {comma} -3, and that will be
  503. 19:03equal to x plus y, so we'll have 6 plus
  504. 19:069 in the numerator, so 6 plus 9, and
  505. 19:10we're dividing by z, which is -3. So,
  506. 19:13write down -3. Then, 6 + 9 is 15 / -3 is
  507. 19:18-5. So, we get -5 as the value on that
  508. 19:22function for that particular set of
  509. 19:25values for X, Y, and Z. Okay? So, really
  510. 19:28not too bad. Evaluating multivariable
  511. 19:30functions is very similar to evaluating
  512. 19:33a single variable function.
  513. 19:36Now, something else that you need to
  514. 19:37know about multivariable functions is
  515. 19:39that just like single functions, you can
  516. 19:42create combinations of multivariable
  517. 19:44functions. Right? If you recall from
  518. 19:46precalculus, or sometimes you learn this
  519. 19:48in algebra, but you can combine two
  520. 19:51functions f(x) and g(x) using the
  521. 19:53different operations of addition,
  522. 19:55subtraction, multiplication, and
  523. 19:57division. Remember that a function f +
  524. 19:59g(x) is equal to the addition of those
  525. 20:02two functions, f and g. Same thing for
  526. 20:05subtraction. f - g(x) is equal to f(x) -
  527. 20:09g(x). You can also multiply two
  528. 20:11functions. f * g(x) is equal to f(x) *
  529. 20:14g(x). And then for division, f / g(x) is
  530. 20:18equal to f(x) / g(x) provided that g(x)
  531. 20:21of course is not zero, because then this
  532. 20:23would be undefined. All right? But, you
  533. 20:26can add, subtract, multiply, and divide
  534. 20:29functions to create a new function with
  535. 20:31single variable functions. And you can
  536. 20:33do the same exact thing for
  537. 20:35multivariable functions. You can add two
  538. 20:38multivariable functions f and g and
  539. 20:40create a new multivariable function f +
  540. 20:42g of xy. Right? You can add f(xy) and
  541. 20:46g(xy). You can also subtract them to
  542. 20:48create a new equation. You can also
  543. 20:50multiply them, and you can also divide
  544. 20:53them to create a new function provided
  545. 20:55that the bottom function is not zero.
  546. 20:58All right? g(xy) cannot be zero,
  547. 21:00otherwise this would be undefined. All
  548. 21:02right? We're not going to look at any
  549. 21:03examples of this in this video. I'll
  550. 21:05have some examples in the examples video
  551. 21:08for this topic of combining
  552. 21:09multivariable functions, but I think
  553. 21:11it's a fairly straightforward idea. You
  554. 21:13are allowed to add, subtract, multiply,
  555. 21:16and divide multivariable functions,
  556. 21:19assuming that they have the same number
  557. 21:21of independent variables.
  558. 21:23But something that is a little bit
  559. 21:24different is composite functions. Unlike
  560. 21:27with single variable functions, you will
  561. 21:29not be able to form the composite of two
  562. 21:32multivariable functions. In other words,
  563. 21:34you will not be able to plug a
  564. 21:36multivariable function into another
  565. 21:39multivariable function. Instead, what
  566. 21:40you can do is create a composite
  567. 21:43function where the function you're
  568. 21:44plugging into F is a single variable
  569. 21:47function. All right, now what do I mean
  570. 21:49by that? Well, first of all, remember
  571. 21:50that this is what a composite function
  572. 21:53is for two functions f of x and g of x.
  573. 21:55These are single variable functions. You
  574. 21:57can take the composite of those two
  575. 21:59functions by plugging g of x into f of
  576. 22:02x. You can't really do this for two
  577. 22:05multivariable functions. Instead, this
  578. 22:07is what you can do. F will still be f of
  579. 22:10x, a single variable function, but now g
  580. 22:13will be a multivariable function, g of x
  581. 22:15y. You can take the composite f of g of
  582. 22:19x y by plugging that multivariable
  583. 22:21function of g into the single variable
  584. 22:24function. All right, you would replace
  585. 22:26each x in the function with this
  586. 22:28multivariable function. All right, so
  587. 22:30hopefully you can see if we didn't have
  588. 22:32f of x here, but rather f of x y, it's a
  589. 22:36little confusing on what you would do if
  590. 22:38you wanted to take the composite of
  591. 22:40these two functions. Where do you plug g
  592. 22:42of x y into this function? Do you plug
  593. 22:44it in for x? Do you plug it in for y? I
  594. 22:46suppose you could plug it in for both x
  595. 22:48and y, but that's not really the type of
  596. 22:50composite function we're talking about
  597. 22:52here. Okay? So it just doesn't make
  598. 22:54sense for two multivariable functions,
  599. 22:57but it does make sense if you have one
  600. 22:59single variable function and one
  601. 23:01multivariable function like we have
  602. 23:03right here.
  603. 23:05Okay, now let's talk a little bit more
  604. 23:07about the domain as well as the range of
  605. 23:10multivariable functions. Specifically,
  606. 23:13how do we find the domain and range of a
  607. 23:15multivariable function? And well, the
  608. 23:18good news is it's not all that different
  609. 23:20from how we did it for single variable
  610. 23:22functions. But before I show you, as a
  611. 23:24quick review, remember that the domain
  612. 23:26of a function is a set of all possible
  613. 23:29input values, meaning the possible
  614. 23:31values for the independent variables,
  615. 23:34and the range is a set of all possible
  616. 23:36output values, or the possible values
  617. 23:38for the dependent variable. Okay, you
  618. 23:40typically thought of domain as being the
  619. 23:42values of X and range being the values
  620. 23:44of Y. You have to sort of alter your
  621. 23:46thinking about that here because now
  622. 23:48with multivariable functions, Y can also
  623. 23:51be an independent variable, and your
  624. 23:52dependent variable will be Z, or if you
  625. 23:55have three independent variables, the
  626. 23:56dependent variable will be W. Okay, so
  627. 23:59you have to change your thinking about
  628. 24:00that a little bit, but otherwise,
  629. 24:02everything is pretty much the same. When
  630. 24:05you want to determine the domain of a
  631. 24:07multivariable function, such as f(x,y) =
  632. 24:10x² + y², you want to be thinking about
  633. 24:13are there any values for the independent
  634. 24:15variables that when I plug them in
  635. 24:17causes a problem. So this would be
  636. 24:18things like having a denominator of
  637. 24:20zero, or having a negative number
  638. 24:22underneath a square root or inside a
  639. 24:24logarithm. Things like that. You still
  640. 24:27want to be on the lookout for the same
  641. 24:28things. And so thinking about that for
  642. 24:30this function, well, there's no
  643. 24:32restrictions, right? You can plug
  644. 24:34anything in for X and anything in for Y.
  645. 24:36You're just going to be squaring those
  646. 24:37values and adding them together. So
  647. 24:39really, the domain here, or the set of
  648. 24:41all possible input values for the
  649. 24:44independent variables, will be
  650. 24:46everything. All real numbers. Okay, so
  651. 24:48there's no restrictions here, and so
  652. 24:50here's how we will write out the domain.
  653. 24:52You may be really used to using interval
  654. 24:54notation for your single variable
  655. 24:56functions, but unfortunately, interval
  656. 24:58notation is not as helpful for
  657. 25:00multivariable functions because it's
  658. 25:02hard to clearly distinguish the two
  659. 25:04independent variables in this case, X
  660. 25:06and Y. So, what we do instead is use set
  661. 25:08notation, which maybe you haven't used
  662. 25:11for a little while, but that's okay. We
  663. 25:12use set notation here because it clearly
  664. 25:15shows the two independent variables and
  665. 25:17what the possible values are for each of
  666. 25:20them. All right, we'll write it like
  667. 25:21this. We'll say that the domain is
  668. 25:24represented by the set of all points X
  669. 25:27{comma} Y such that That's what this bar
  670. 25:30means. It means such that X belongs to
  671. 25:34the set of all real numbers, and Y
  672. 25:37belongs to the set of all real numbers.
  673. 25:41Okay, if you haven't seen this notation
  674. 25:42before, or maybe it's been a while, this
  675. 25:45little curved E is the Greek letter
  676. 25:47epsilon, and it just means that whatever
  677. 25:49is before it belongs to the set that
  678. 25:51comes after it. And this fancy R
  679. 25:54represents the set of all real numbers.
  680. 25:57All right, this is how we represent the
  681. 25:59domain for a multivariable function,
  682. 26:01particularly the case where any value of
  683. 26:03X or Y will do. Now, there is another
  684. 26:06way that you could write this. Instead
  685. 26:07of writing out X and Y individually
  686. 26:09here, you could also write the domain
  687. 26:12like this. You could say that the domain
  688. 26:14is a set of all values X Y such that
  689. 26:19X Y belongs to R squared. And what R
  690. 26:23squared is is not just the set of all
  691. 26:26real numbers, but rather the set of all
  692. 26:28ordered pairs of real numbers. All
  693. 26:31right, in other words, it's all the
  694. 26:32points in a plane. That's what R squared
  695. 26:35represents. So, this is a little more
  696. 26:37compact or easier way to write the same
  697. 26:40domain, but it's ultimately up to you
  698. 26:43how you want to write it. Okay? So, I
  699. 26:45would probably go with this one because
  700. 26:47it's a little bit easier to write, but
  701. 26:48if you prefer this way, that's fine,
  702. 26:50too. Okay? So, that's the domain for our
  703. 26:53multivariable function, but what about
  704. 26:55the range? What is the set of all
  705. 26:56possible output values or the possible
  706. 26:59values for the dependent variable of
  707. 27:02this function, which in this case we
  708. 27:03would say is Z. Since it's a function of
  709. 27:05two independent variables, you could
  710. 27:07rewrite this as Z is equal to x squared
  711. 27:09plus y squared. What would be the
  712. 27:11possible values of Z here? Well,
  713. 27:13remember we can plug in anything we'd
  714. 27:15like for x and y. There are no
  715. 27:17restrictions. The domain is all real
  716. 27:20numbers for both x and y, but both x and
  717. 27:22y are being squared here. So, even if
  718. 27:25you put in a negative number for x or y,
  719. 27:28they are going to be squared to be made
  720. 27:30positive, and then you're adding those
  721. 27:32two numbers together. So, there's no
  722. 27:34possible way that the output here will
  723. 27:36be negative. But other than that, we can
  724. 27:38get any value for Z. All right. So, just
  725. 27:41by looking at the function here, we can
  726. 27:42see that all the outputs will be
  727. 27:44positive. So, that means that the range
  728. 27:46will be all positive values for Z,
  729. 27:48including zero because x and y could be
  730. 27:50zero, and zero squared plus zero squared
  731. 27:53is zero. Okay. So, here's how we'd write
  732. 27:55that. The range is represented by the
  733. 27:58set of all values of Z such that Z is
  734. 28:01greater than or equal to zero.
  735. 28:04All right. All values greater than or
  736. 28:06equal to zero are positive values of Z.
  737. 28:09Now, if you wanted to, I guess you could
  738. 28:12use interval notation for the range of
  739. 28:14your dependent variable, but since we
  740. 28:15use set notation for the domain, I like
  741. 28:17to use it for the range as well. All
  742. 28:20right. So, that's my final answer here.
  743. 28:22This would be the range for our
  744. 28:23multivariable function right here. Okay?
  745. 28:27And this answer for our domain should
  746. 28:28make sense because if you remember back
  747. 28:30to the beginning of this lesson, we said
  748. 28:32that for a function with two independent
  749. 28:34variables, the domain will be in two
  750. 28:37dimensions. One dimension for each of
  751. 28:39those independent variables, and that's
  752. 28:41exactly what we have here. The domain
  753. 28:43only accounts for two independent
  754. 28:45variables, and we're looking at all
  755. 28:47values of X and Y contained within R
  756. 28:49squared, which is the plane containing
  757. 28:52all ordered pairs of real numbers. All
  758. 28:54right, it's in two dimensions. So, this
  759. 28:56function would represent a surface or a
  760. 28:583D graph, but its domain is in 2D. Okay?
  761. 29:02Let's take a look at some more examples
  762. 29:04of determining the domain and range of
  763. 29:06multivariable functions. Hey there, real
  764. 29:09quick, before we get to the next part of
  765. 29:11this lesson, if you find my tutorial
  766. 29:13videos here at JK Math to be helpful,
  767. 29:15then I'd like to invite you to join my
  768. 29:17membership site JK Math Plus, where you
  769. 29:19get access to many perks, including
  770. 29:21bonus content and my exclusive
  771. 29:24community. The bonus content includes
  772. 29:26dark mode versions of my videos, extra
  773. 29:28example problems, and more, while the
  774. 29:30community is a private space online
  775. 29:33where you can post questions, have
  776. 29:34discussions, and study together with me
  777. 29:37and other members. To learn how to join
  778. 29:39and see a full list of everything you
  779. 29:41get access to as a member, you can head
  780. 29:43over to jkmath addicts.com/plus.
  781. 29:47I'll have a link for that in the
  782. 29:48description of this video. So, if you
  783. 29:50are interested in becoming a member,
  784. 29:52feel free to check that out. It's a
  785. 29:53great way to support me and the
  786. 29:55tutorials I make, as well as a great way
  787. 29:57for you to learn math better. But for
  788. 29:59now, let's get back to the lesson. Next
  789. 30:02up, we have the function g of xy is
  790. 30:04equal to 2xy / x - y. All right, now
  791. 30:09first of all, this is a multivariable
  792. 30:11function of two independent variables,
  793. 30:14so this does represent a surface in
  794. 30:15three dimensions, and the domain refers
  795. 30:18to the values of X and Y, which will be
  796. 30:20in two dimensions. But what you want to
  797. 30:22look for here are any values of X or Y
  798. 30:24that are going to result in an undefined
  799. 30:26value. And if you look at this function
  800. 30:28here, it is a rational function. We have
  801. 30:30some expression divided by another, and
  802. 30:33so that denominator cannot be zero,
  803. 30:35because if it is zero, you are dividing
  804. 30:37by zero, and that's an undefined value.
  805. 30:39All right, so what you want to do is set
  806. 30:41that denominator equal to zero, or
  807. 30:43really what you want to do is write x -
  808. 30:45y
  809. 30:46does not equal zero, right? We do not
  810. 30:48want that denominator to be equal to
  811. 30:50zero. And so, what values of x and y are
  812. 30:53going to make that happen? Well, if we
  813. 30:55just add y to the other side of the
  814. 30:57equation, you can see that x cannot be
  815. 30:59equal to y, which makes sense. If x
  816. 31:02equals y, then you'll have that number
  817. 31:04minus itself, which would be zero. So,
  818. 31:06that denominator would be zero and cause
  819. 31:08a problem because you can't divide by
  820. 31:09zero. And so, this is clearly the
  821. 31:11restriction we have for the domain of
  822. 31:13this function. So, here's how we'd write
  823. 31:15that out. The domain of this function
  824. 31:18would be the set of all values of x and
  825. 31:20y such that x does not equal y. That's
  826. 31:24it. Everything else is valid. You can
  827. 31:27plug in anything you'd like for x and y.
  828. 31:29The numerator is going to be fine, and
  829. 31:31the denominator is going to be fine as
  830. 31:33long as x does not equal y. Okay, so
  831. 31:36that's the domain. But now, what about
  832. 31:38the range? What are the possible output
  833. 31:40values for z? Because x and y are the
  834. 31:43independent variables, which means that
  835. 31:45our dependent variable would be z. You
  836. 31:47could rewrite this to be z equals this
  837. 31:50function. And looking at what we have
  838. 31:51here, we could get anything. There's no
  839. 31:53squares in this expression, which would
  840. 31:55limit us to positive outputs, right?
  841. 31:58It's not x squared y squared in the top
  842. 32:00here, and there's no x squared and y
  843. 32:01squared in the denominator. It's just xy
  844. 32:04and x - y. And so, any value of z is
  845. 32:07going to be possible here. The range
  846. 32:08would just be the set of all values of z
  847. 32:12such that z belongs to the real numbers.
  848. 32:15Okay? You could also write it like this.
  849. 32:18You could say it's from negative
  850. 32:19infinity to infinity, or just write all
  851. 32:22real numbers. It doesn't matter. That
  852. 32:24would be the range for this
  853. 32:26multivariable function.
  854. 32:28Next step, we have this multivariable
  855. 32:30function, h of xy is equal to the square
  856. 32:32root of 9 - x squared - y squared. Once
  857. 32:35again, we do have two independent
  858. 32:37variables, so this does represent a
  859. 32:39surface in 3D with a domain in 2D. And
  860. 32:42if we want to determine the domain,
  861. 32:44notice that we do have a square root
  862. 32:46here, and you cannot take the square
  863. 32:48root of a negative number. That will
  864. 32:50give you an imaginary number, which we
  865. 32:52are not working with here. We are only
  866. 32:53interested in real numbers. So, what you
  867. 32:56want to do is set the inside of the
  868. 32:58square root to be greater than or equal
  869. 33:01to zero. Because it could be equal to
  870. 33:03zero. The square root of zero is fine.
  871. 33:04That's just equal to zero. So, we'll
  872. 33:06have 9 minus
  873. 33:08x squared minus y squared greater than
  874. 33:11or equal to zero. All right. Now, we can
  875. 33:13make that a little bit nicer. If you add
  876. 33:15x squared and y squared to both sides of
  877. 33:17the equation, you'll get 9 greater than
  878. 33:20or equal to x squared
  879. 33:22plus y squared. But really, the way that
  880. 33:24I would write that is by flipping the
  881. 33:26two sides. So, we would have x squared
  882. 33:29plus y squared must be less than or
  883. 33:31equal to 9. All right. So, this would be
  884. 33:34our restriction for the domain. We can
  885. 33:36use any values of x and y as long as the
  886. 33:39sum of their squares is less than or
  887. 33:41equal to 9. All right. So, we would
  888. 33:43write that like this. The domain is the
  889. 33:46set of all values x y such that x
  890. 33:49squared plus y squared
  891. 33:52is less than or equal to 9. All right.
  892. 33:54That would be the domain
  893. 33:56for this multivariable function. But
  894. 33:58what about the range? Well, if you think
  895. 34:00about it logically, if the sum of x
  896. 34:02squared plus y squared has to be less
  897. 34:04than or equal to 9, then that means the
  898. 34:06biggest number you're going to be
  899. 34:07subtracting from 9 underneath the square
  900. 34:10root will be 9. So, you'll get 9 minus
  901. 34:139, which would be zero. And so, you'd
  902. 34:15have the square root of zero, which
  903. 34:17would have to be the smallest value,
  904. 34:19right? You're not going to output any
  905. 34:20negative values for this function
  906. 34:22because you're taking the square root of
  907. 34:24a value, which will always output a
  908. 34:26positive value. So, for sure we know one
  909. 34:29thing. We know that for the range,
  910. 34:31the values of Z must be greater than or
  911. 34:34equal to zero. We know that the smallest
  912. 34:37value of Z will be zero, but is there an
  913. 34:39upper bound? Is there a value that Z
  914. 34:41cannot be bigger than? Well, actually,
  915. 34:44yes, there is. You might be tempted to
  916. 34:46say that Z can be anything bigger than
  917. 34:47zero, but there is actually an upper
  918. 34:49bound or an upper limit to the value of
  919. 34:52Z. Because if you think about it, x
  920. 34:54squared plus y squared, that is always
  921. 34:56going to be positive, right? It's always
  922. 34:59greater than or equal to zero. We could
  923. 35:01have added that in for our domain here.
  924. 35:03We're looking at values of x and y such
  925. 35:05that the sum of their squares is between
  926. 35:07zero and nine. Technically, we could
  927. 35:09have added that in there. It's not
  928. 35:11necessary, but it is true. But, what
  929. 35:13this tells us is that the smallest value
  930. 35:15that we could be subtracting from nine
  931. 35:17underneath the square root is zero.
  932. 35:20We're not going to get anything smaller
  933. 35:21than that. You're not going to be
  934. 35:22subtracting any negative numbers because
  935. 35:24x squared plus y squared will be a
  936. 35:26positive value. So, nine minus zero
  937. 35:30would be nine, and the square root of
  938. 35:31nine is three. That is the biggest
  939. 35:34possible value that you could get for Z
  940. 35:37on this multivariable function. All
  941. 35:38right, so we know that Z has to be
  942. 35:40between zero
  943. 35:42and three. Okay, I hope that makes
  944. 35:44sense. Each of these two bounds for Z
  945. 35:46correspond to the upper and lower bounds
  946. 35:48of our input values. The biggest value
  947. 35:50that can result from our input of x and
  948. 35:52y is nine, and nine minus nine is zero.
  949. 35:55So, the square root of zero is zero.
  950. 35:57That's your lower bound. And then, the
  951. 35:59smallest value that can result from our
  952. 36:01inputs of x and y would be zero. And so,
  953. 36:03nine minus zero is nine, and the square
  954. 36:06root of nine is three. That would be
  955. 36:08your biggest value for Z. Okay, so that
  956. 36:11would be the range of this multivariable
  957. 36:13function. And so, now we're done. We
  958. 36:15have now found both the domain and the
  959. 36:17range. And so, hopefully these last few
  960. 36:18examples give you a good feel for how we
  961. 36:21find the domain and range of a
  962. 36:23multivariable function. But, now we I to
  963. 36:25focus a little bit more on the domain,
  964. 36:27specifically how do we graph the domain
  965. 36:30for a multivariable function?
  966. 36:32This is something that can be helpful
  967. 36:34from time to time, especially later on
  968. 36:36in calculus three. So, you do want to
  969. 36:38become familiar with graphing the domain
  970. 36:40of a multivariable function. And
  971. 36:42remember what we talked about earlier at
  972. 36:44the beginning of this lesson that when
  973. 36:45you graph the domain of any function,
  974. 36:48you need an axis for each independent
  975. 36:51variable. Okay, so back to a single
  976. 36:53variable function for a second. If we
  977. 36:54have f of x is equal to 1 / the square
  978. 36:57root of x - 1, the domain would just be
  979. 37:00for the values of x that can be input
  980. 37:03into the function. And so, looking at
  981. 37:05this here, the denominator, you have the
  982. 37:06square root of x - 1. There's a couple
  983. 37:09things that you have to be aware of
  984. 37:10here. For one thing, the denominator
  985. 37:11cannot be zero. So, this inside of the
  986. 37:14square root cannot be zero, and it also
  987. 37:16has to be positive, right? x - 1 has to
  988. 37:18be positive so that you're not taking
  989. 37:20the square root of a negative number.
  990. 37:22So, what you would set up here is x - 1
  991. 37:25has to be greater than zero. It can't be
  992. 37:27equal to zero, and it has to be
  993. 37:29positive. And so, from that you would
  994. 37:30find that x needs to be bigger than 1,
  995. 37:33or x will be greater than 1 is the
  996. 37:35domain of this function. All right? And
  997. 37:38there's only one independent variable.
  998. 37:40So, if we're going to graph this domain,
  999. 37:42we just need one axis, an axis for x.
  1000. 37:46Okay? So, here's our axis. This will be
  1001. 37:48the x axis.
  1002. 37:50The domain is all values of x bigger
  1003. 37:52than 1. So, if I label this right here
  1004. 37:54as x equals 1, you could graph the
  1005. 37:56domain by drawing an open circle at that
  1006. 37:58value and then pointing an arrow in the
  1007. 38:01positive x direction. Okay? Some people
  1008. 38:03like to draw an open bracket there
  1009. 38:05instead. It's really up to you, but
  1010. 38:07that's how you would graph the domain of
  1011. 38:101 to infinity, which is the domain in
  1012. 38:12this case for this single variable
  1013. 38:14function. But this is nothing new. How
  1014. 38:16do we do this for a multivariable
  1015. 38:18function? If we take a look at this
  1016. 38:19function here, f of x y, it's equal to 2
  1017. 38:22x + 3y / x ^ 2 - y ^ 2. For this
  1018. 38:26function, the numerator is fine. You can
  1019. 38:28plug anything you'd like in for x and y,
  1020. 38:30but in the denominator, we can't have
  1021. 38:32zero. All right? x ^ 2 - y ^ 2 cannot be
  1022. 38:35equal to zero. So, if we write that down
  1023. 38:37here,
  1024. 38:38x ^ 2 - y ^ 2 cannot be equal to zero.
  1025. 38:42And so, if you add y ^ 2 to both sides
  1026. 38:44of the equation, this is what would be
  1027. 38:46true here. y ^ 2 cannot be equal to x ^
  1028. 38:502, which really means that y can't be
  1029. 38:52equal to x, right? You could take the
  1030. 38:54square root of both sides of the
  1031. 38:55equation, and y cannot be equal to x,
  1032. 38:58but really that would be plus or minus
  1033. 39:00x. I suppose you could do it the other
  1034. 39:02way around. You could say that x can't
  1035. 39:04be equal to plus or minus y, but I like
  1036. 39:06to write it this way because it's easier
  1037. 39:08when we go to graph our domain. We're
  1038. 39:10more used to working with equations of y
  1039. 39:12equals something in terms of x, okay?
  1040. 39:15Because remember, this is a
  1041. 39:16multivariable function with two
  1042. 39:18independent variables. So, when we graph
  1043. 39:20the domain, we're going to need an axis
  1044. 39:22for each of those independent variables,
  1045. 39:24which means we'll have two axes, and so
  1046. 39:26we're in two dimensions, okay? So,
  1047. 39:29here's our 2D coordinate system or our
  1048. 39:31xy-plane. This is the y-axis, and this
  1049. 39:34is the x-axis. The domain that we found
  1050. 39:37here
  1051. 39:38is a set of all points xy such that y is
  1052. 39:42not equal to plus or minus x, all right?
  1053. 39:44And you could write it like that, or you
  1054. 39:46could write it like this: y cannot be
  1055. 39:48equal to x and y cannot be equal to
  1056. 39:52negative x. I'll write it like that cuz
  1057. 39:54technically you would get two equations
  1058. 39:56from this or two different statements
  1059. 39:58involving that does not equal sign. But
  1060. 40:00if we're going to graph that domain,
  1061. 40:01what we're saying is that we can use any
  1062. 40:03values of x and y as long as y doesn't
  1063. 40:06equal x and y doesn't equal negative x,
  1064. 40:09which we could represent with two lines,
  1065. 40:11right? We can graph y equals x and y
  1066. 40:14equals negative x and just not include
  1067. 40:16those lines in the domain. So, here's
  1068. 40:18how I do that. Y = X is just a line that
  1069. 40:21cuts through the origin of the XY plane
  1070. 40:23that has a slope of 1, right? This would
  1071. 40:25be Y = X. I'm drawing it as a dotted
  1072. 40:28line because we're not going to be
  1073. 40:29including it in the domain. And then Y =
  1074. 40:32-X would just be the opposite of that.
  1075. 40:34It's a line that cuts through the origin
  1076. 40:36with a slope of -1. All right, that's Y
  1077. 40:38=
  1078. 40:39-X. And so then, to finalize the graph
  1079. 40:42of the domain, I just like to shade in
  1080. 40:44all the points that would be included,
  1081. 40:46which is everything that is not these
  1082. 40:48two lines. And so I would shade it in
  1083. 40:50like this, just shade in the little
  1084. 40:51triangular areas here. And I just like
  1085. 40:54to leave a little space between the line
  1086. 40:56and the shaded region to really indicate
  1087. 40:59that we're not including those two lines
  1088. 41:02where we have points that Y = X and Y =
  1089. 41:05-X. Okay? So, that's how I would
  1090. 41:08represent the domain here. I suppose you
  1091. 41:10could shade in the whole coordinate
  1092. 41:11plane, and then since you have those
  1093. 41:13dotted lines, that means that those
  1094. 41:15points are not included. But I do like
  1095. 41:16to really emphasize the fact that we're
  1096. 41:18not including those points. So, I tend
  1097. 41:21not to overlap the shading, okay? But
  1098. 41:24when you graph your domains in two
  1099. 41:25dimensions, typically what you want to
  1100. 41:27do is shade in all of the points that
  1101. 41:30are included in that domain. And this
  1102. 41:32domain here does make sense. If you were
  1103. 41:34to actually look at this surface, and
  1104. 41:36I'll provide a 3D render for you here,
  1105. 41:38and you look at that surface from the
  1106. 41:39top down, so that you're looking at the
  1107. 41:41XY plane, you can see that any points
  1108. 41:44where Y = X or Y = -X are not included.
  1109. 41:49Those values of X and Y do not
  1110. 41:50correspond to any values of Z on the
  1111. 41:53surface, all right? The surface is only
  1112. 41:55formed by values of X and Y within the
  1113. 41:58domain, those four different triangular
  1114. 42:01regions, okay? So, hopefully that helps
  1115. 42:03you with the visual aspect of what we're
  1116. 42:05doing here with the domain. But that's
  1117. 42:07it for this example or this
  1118. 42:09demonstration. Let's take a look at
  1119. 42:11another example.
  1120. 42:13Here we want to find and graph the
  1121. 42:15domain of this multivariable function.
  1122. 42:17We have f of x y is equal to the natural
  1123. 42:19log of y minus x divided by the square
  1124. 42:22root of x minus y plus two. All right,
  1125. 42:25so once again this is a multivariable
  1126. 42:27function with two independent variables.
  1127. 42:29So it does represent a three-dimensional
  1128. 42:31surface with a two-dimensional domain.
  1129. 42:35So now let's first figure out the domain
  1130. 42:36here. Are there any restrictions on x
  1131. 42:38and y? Well, yeah. to be some
  1132. 42:41restrictions here because not only do we
  1133. 42:42have a denominator that cannot be equal
  1134. 42:45to zero, we also have a natural log
  1135. 42:47function in the numerator where the
  1136. 42:49input has to be positive, right? You
  1137. 42:51can't input a negative number into a
  1138. 42:53logarithmic function. So we have a
  1139. 42:55couple things to keep in mind here.
  1140. 42:57Let's start with the logarithm. Y minus
  1141. 42:59x has to be greater than zero, okay?
  1142. 43:02Because the natural log of zero is
  1143. 43:03undefined as well as for any negative
  1144. 43:05numbers. So we're going to have y minus
  1145. 43:08x is greater than zero. And so if you
  1146. 43:10add x to both sides, you'll have y is
  1147. 43:13greater than x. That is one condition or
  1148. 43:16one restriction that we must have for
  1149. 43:19this multivariable function. Y must be
  1150. 43:21bigger than x. And then let's work on
  1151. 43:23the denominator here. This cannot be
  1152. 43:25equal to zero and you cannot have a
  1153. 43:27negative number because you can't take
  1154. 43:29the square root of a negative value,
  1155. 43:31okay? So that inside part of the square
  1156. 43:34root here, x minus y plus two, that
  1157. 43:37needs to be greater than zero as well.
  1158. 43:39It cannot equal zero because you have
  1159. 43:41zero in the denominator and it has to be
  1160. 43:42positive so you're taking the square
  1161. 43:44root of a positive value, okay? Now once
  1162. 43:47again, just like with our previous
  1163. 43:49example, to help you graph the domain, I
  1164. 43:51like to write the different restrictions
  1165. 43:53as a statement of y in terms of x, okay?
  1166. 43:57It's just going to make the domain
  1167. 43:58easier to graph. So in this case, adding
  1168. 44:00y to both sides of the equation, you'll
  1169. 44:02get x plus two is greater than y. But
  1170. 44:05then I'm going to flip the sides so it
  1171. 44:07looks like this. We'll have Y is less
  1172. 44:09than
  1173. 44:10X + 2. And so, now we have our two
  1174. 44:12restrictions here. The way I would write
  1175. 44:14the domain is like this. The domain is
  1176. 44:17the set of all points X {comma} Y such
  1177. 44:20that Y is greater than X and Y is less
  1178. 44:24than X + 2.
  1179. 44:26Okay? So, that's the domain here.
  1180. 44:28But, now let's graph it. What does this
  1181. 44:30actually look like as a graph? And so,
  1182. 44:33remember it will be in two dimensions.
  1183. 44:35So, we need a Y axis and an X axis. And
  1184. 44:38our two restrictions are Y must be
  1185. 44:40greater than X and Y must be less than X
  1186. 44:43+ 2. So, if you remember how to graph
  1187. 44:44inequalities, this should be a pretty
  1188. 44:46straightforward process. Y must be
  1189. 44:49greater than X. That's based on the
  1190. 44:51equation Y equals X, but Y must be
  1191. 44:53bigger than X. So, if we graph Y equals
  1192. 44:56X, but again, it's going to be a dotted
  1193. 44:58line because we're not including Y
  1194. 45:00equals X. Right? This is not Y greater
  1195. 45:03than or equal to X. It's just Y greater
  1196. 45:06than X. So, this would be Y equals X.
  1197. 45:10And the inequality says that we're
  1198. 45:11looking at all values of Y greater than
  1199. 45:13X. So, that means we would shade in the
  1200. 45:15region above that line. But, I'm not
  1201. 45:18going to do that quite yet. Let's also
  1202. 45:20graph this inequality. Y is less than X
  1203. 45:23+ 2. If you graph that line, Y equals X
  1204. 45:26+ 2, again, it will be a dotted line
  1205. 45:29because we're not including X + 2. We're
  1206. 45:32just looking at Y less than that value.
  1207. 45:34That would also be a line like Y equals
  1208. 45:36X, but the Y intercept is at 2. So, if
  1209. 45:38this is Y equals 1 and this is Y equals
  1210. 45:412, our line would look something like
  1211. 45:43this.
  1212. 45:45All right? That would be Y equals X + 2.
  1213. 45:49And what this inequality is saying is Y
  1214. 45:51must be less than X + 2. So, that would
  1215. 45:53be the region below this line. So, what
  1216. 45:57we're looking at here for the domain are
  1217. 45:59the values of X and Y between these two
  1218. 46:01lines. Right? Y greater than X is the
  1219. 46:04region above this line and Y less than X
  1220. 46:07+ 2 is the region below this line. So,
  1221. 46:10the shared space or the overlapping of
  1222. 46:13those two inequalities is this region
  1223. 46:16right in here. So, we want to shade that
  1224. 46:18in. That would be the domain
  1225. 46:21of this function. Okay? Any coordinates
  1226. 46:23of X and Y within this region are able
  1227. 46:27to be plugged into this function and get
  1228. 46:29an output for Z. And once again, here's
  1229. 46:31a 3D render of this multivariable
  1230. 46:33function. You can see for that surface,
  1231. 46:36if you were to look from the top down,
  1232. 46:38that the points within the XY plane that
  1233. 46:41give you outputs of Z are in that
  1234. 46:43region. There is a thin strip within the
  1235. 46:46XY plane where the domain is contained.
  1236. 46:49Okay? Let's take a look at one more
  1237. 46:51example of finding and graphing the
  1238. 46:53domain of a multivariable function.
  1239. 46:55All right. So, for this multivariable
  1240. 46:57function, we have f of XYZ is equal to
  1241. 47:00the square root of 25 - x squared - y
  1242. 47:04squared - z squared. Okay. So, this is a
  1243. 47:07little bit different than our previous
  1244. 47:08examples because this is a multivariable
  1245. 47:11function with three independent
  1246. 47:13variables, meaning that it would be
  1247. 47:15graphed in four dimensions. So, there's
  1248. 47:17no way that I can show you what that
  1249. 47:18looks like. We don't really know how to
  1250. 47:20graph in four dimensions. It just
  1251. 47:21doesn't make sense to us in a
  1252. 47:23three-dimensional world, but we can
  1253. 47:25still graph the domain because the
  1254. 47:26domain will be in three dimensions, one
  1255. 47:29dimension less than the actual graph of
  1256. 47:31the function. Okay? We'll have an axis
  1257. 47:34for each independent variable X, Y, and
  1258. 47:36Z, which translates to three dimensions.
  1259. 47:39And so, thinking about the domain of
  1260. 47:41this function, we do have a square root,
  1261. 47:43so whatever's underneath that square
  1262. 47:45root does need to be bigger than zero or
  1263. 47:47equal to zero in this case. This is not
  1264. 47:49in a denominator, so it can be equal to
  1265. 47:51zero. You can have the square root of
  1266. 47:53zero and that's fine. But, 25
  1267. 47:56x squared - y squared - z squared must
  1268. 48:00be greater than or equal to zero. All
  1269. 48:02right. And so, adding x², y², and z² to
  1270. 48:05both sides of the equation, you get
  1271. 48:07this: x² + y² + z² must be less than or
  1272. 48:13equal to 25. That's what this results
  1273. 48:16in. And hopefully, you recognize this to
  1274. 48:18be a sphere, right? If you ignore this
  1275. 48:20inequality for a second, if it was an
  1276. 48:22equal sign, that would be the equation
  1277. 48:24of a sphere. x² + y² + z² equals a
  1278. 48:27radius squared. In this case, 5² is 25,
  1279. 48:30so the radius would be 5. That's what
  1280. 48:32we're looking at here. The domain of
  1281. 48:34this multivariable function, which by
  1282. 48:36the way, would include all three of
  1283. 48:37those independent variables. So, you're
  1284. 48:39looking at the set of x, y, z such that
  1285. 48:44x² + y²
  1286. 48:46+ z² is less than or equal to 25. Okay,
  1287. 48:49that would be the domain using set
  1288. 48:51notation here. But, let's actually graph
  1289. 48:53it. It's just going to be all the points
  1290. 48:55contained within a sphere. Here's what
  1291. 48:57that looks like. This would be the
  1292. 48:58z-axis, the y-axis, and then the x-axis.
  1293. 49:02And then, what we've just found for the
  1294. 49:04domain is that it's going to be all the
  1295. 49:06points contained within a sphere. And I
  1296. 49:09say contained within because x² + y² +
  1297. 49:12z² is less than or equal to 25. All
  1298. 49:15right, you're looking at all the values
  1299. 49:17where the sum of the squares is less
  1300. 49:19than or equal to 25 or the radius
  1301. 49:21squared. So, we're only working with x,
  1302. 49:23y, and z values smaller than that radius
  1303. 49:26of 5. Okay, you're going to be inside
  1304. 49:28the sphere. So, this doesn't have to be
  1305. 49:30a perfect sketch. I'm just going to draw
  1306. 49:32my sphere like this.
  1307. 49:35The most important thing to write down
  1308. 49:37here is that it comes out to a value of
  1309. 49:395 in each direction. Okay. So, you can
  1310. 49:43label that
  1311. 49:45and shade in that surface, but that will
  1312. 49:47represent the domain of this
  1313. 49:49multivariable function. That's really
  1314. 49:52all there is to the graph. Whatever
  1315. 49:54four-dimensional shape that this
  1316. 49:55function represents, all the input
  1317. 49:57values for X, Y, and Z that result in
  1318. 50:00some four-dimensional output value,
  1319. 50:02they're contained within this sphere.
  1320. 50:05Okay? So, this was the last example for
  1321. 50:07this video involving the domain of a
  1322. 50:10multivariable function. But, to close
  1323. 50:12out this lesson, I want to talk about
  1324. 50:14one more thing regarding multivariable
  1325. 50:16functions.
  1326. 50:17And that is how to graph multivariable
  1327. 50:19functions, which is actually something
  1328. 50:21that we've sort of already done
  1329. 50:23previously in calculus three. So, I'm
  1330. 50:25not going to spend a whole lot of time
  1331. 50:27on this, and you'll see why in just a
  1332. 50:28second. But, the general process for
  1333. 50:30graphing multivariable functions is
  1334. 50:33this. For a function f(x, y), which
  1335. 50:35represents a surface, by the way, a
  1336. 50:37three-dimensional surface, the first
  1337. 50:39thing you want to do is just write it
  1338. 50:40using the dependent variable, so set
  1339. 50:43f(x, y) equal to z, and then you want to
  1340. 50:45try to see if you can get that function
  1341. 50:47or that equation in a form of a surface
  1342. 50:49that you recognize. So, this could be a
  1343. 50:51plane, a cylinder, or a quadric surface,
  1344. 50:54right? Those are three things you've
  1345. 50:56already learned how to graph in previous
  1346. 50:58lessons of calculus three. So, I'm not
  1347. 51:00going to go over those processes again
  1348. 51:02here. If you want to review how to graph
  1349. 51:04planes, cylinders, and quadric surfaces,
  1350. 51:06feel free to go back to those videos,
  1351. 51:08but I'm not going to repeat myself here.
  1352. 51:10Okay? So, if you can get that equation
  1353. 51:12in a form of a surface that you
  1354. 51:13recognize how to graph, then do so. But,
  1355. 51:16if you can't, if it's just a very
  1356. 51:18complicated multivariable function that
  1357. 51:20you can't identify to be any type of
  1358. 51:22special surface, don't even bother
  1359. 51:24trying to graph it by hand. You want to
  1360. 51:26use a 3D graphing calculator of some
  1361. 51:29kind. There's a lot of different ones
  1362. 51:31online that are pretty good, but you can
  1363. 51:32also get a handheld graphing calculator
  1364. 51:35that does 3D graphs as well. Okay? And
  1365. 51:37then a little note here. Obviously, if
  1366. 51:39there are more than two independent
  1367. 51:41variables, meaning that you have three
  1368. 51:43or four, you're going to have a a that's
  1369. 51:45in a higher dimension than three
  1370. 51:47dimensions, which means you can't graph
  1371. 51:49it, okay? We can't graph
  1372. 51:50four-dimensional shapes. We have no idea
  1373. 51:52how to do that, let alone five
  1374. 51:54dimensions or six dimensions, whatever.
  1375. 51:56We can't graph anything above three
  1376. 51:58dimensions, so don't bother. You can
  1377. 52:01only graph multivariable functions that
  1378. 52:03deal with two independent variables,
  1379. 52:05okay? So, this is the process I would
  1380. 52:07use, but really there's nothing new
  1381. 52:09here. You've already seen how to graph
  1382. 52:11planes, cylinders, and quadric surfaces,
  1383. 52:13so I'm not going to show you any
  1384. 52:14examples in this video. Now, there is
  1385. 52:17actually another way to graph or
  1386. 52:19visualize multivariable functions, but
  1387. 52:22I'm going to leave that for the next
  1388. 52:24lesson, okay? So, that is it for this
  1389. 52:26lesson on the introduction to
  1390. 52:28multivariable functions. If you do want
  1391. 52:30to get some practice working with
  1392. 52:31multivariable functions and finding
  1393. 52:33their domain and range, feel free to
  1394. 52:35check out the examples video for this
  1395. 52:37topic that I'll have linked here on the
  1396. 52:39screen. If you have any questions,
  1397. 52:40please let me know in the comments, but
  1398. 52:42if you don't have any questions, this is
  1399. 52:44all I had for now, so I will see you
  1400. 52:46next time.

About this transcript

This page contains the full transcript of Intro to Multivariable Functions | Calculus 3 Lesson 39 by JK Math, generated from the public captions YouTube serves with the video. The transcript has 9,992 words across 1,400 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.