Temperature as a function of 3 variables....

Click For Summary
SUMMARY

The discussion focuses on calculating the temperature function T(x,y,z) = 10 + xy + xz + yz at a specific point P_0 = (3,2,1) and determining the directional derivatives and gradient. The temperature at P_0 is calculated to be 21. The instantaneous rate of change of temperature as the falcon flies towards P_1 = (2,4,4) is found to be D_u T(P_0) = 20/√14. The optimal direction for the falcon to experience the maximum temperature increase is along the gradient vector, while the direction where temperature remains constant is derived from the equations 3x + 4y + 5z = 0 and x² + y² + z² = 1.

PREREQUISITES
  • Understanding of multivariable calculus concepts such as gradients and directional derivatives.
  • Familiarity with the temperature function and its partial derivatives.
  • Proficiency in solving systems of equations involving multiple variables.
  • Knowledge of vector normalization techniques.
NEXT STEPS
  • Study the properties of gradients in multivariable functions.
  • Learn how to compute directional derivatives in various contexts.
  • Explore the implications of level curves and their relationship to gradients.
  • Investigate applications of temperature functions in physics and engineering.
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are dealing with multivariable functions, particularly those interested in optimization and directional analysis in three-dimensional space.

TheSodesa
Messages
224
Reaction score
7
Mod note: moved from non-HW forum section
Apparently doing math homework on Physics Forums helps me think more clearly. The d-part of this question gave me a headache, and I already wrote all of this LaTeX code on the homework side of this site, so I figured I'd post it even though I solved it.


Parts a-c might have small mistakes as well, but duck it, I'm done with this question.

1. Homework Statement

Let T(x,y,z) = 10+xy+xz+yz. A falcon is at the point P_0 = (x_0, y_0, z_0) = (3,2,1).

a) What is the temperature at the point P_0.
b) What is the instantaneous rate of change of temperature experienced by the falcon as it flies towards the point P_1 = (2,4,4)
c) In what direction should the falcon fly in if it wanted to experience the largest (positive) rate of change in temperature?
d) Give a direction in which the temperature does not change (there are infinitely many).

Homework Equations



The Gradient: \nabla T(P)= (\frac{\partial T}{\partial x},\frac{\partial T}{\partial y},\frac{\partial T}{\partial z})

Directional derivative: D_u T(P) = \nabla T(P) \cdot \hat{u}

The Attempt at a Solution



To start with, \nabla T(P_0)= (\frac{\partial T}{\partial x_0},\frac{\partial T}{\partial y_0},\frac{\partial T}{\partial z_0}) = (y_0+z_0, x_0+z_0, x_0+y_0) = (3, 4, 5)

a) Simply plug in the values of x,y and z to get T(P_0) = 21


b) Here
<br /> \vec{u} = P_1 - P_0 = (2,4,4) - (3,2,1) = (-1,2,3)<br />
and
<br /> \hat{u} = \frac{\vec{u}}{||\vec{u}||} = \frac{(-1, 2, 3)}{\sqrt{1^2 + 2^2 + 3^3}} = \frac{(-1, 2, 3)}{ \sqrt{14} }<br />

Therefore the directional derivative:

<br /> D_u T(P_0) = \nabla T(P_0) \cdot \hat{u} = (3, 4, 5) \cdot \frac{(-1, 2, 3) }{ \sqrt{14} } = \frac{20}{\sqrt{14}}<br />

c) In the direction of the gradient.


Here ##\hat{u} = \frac{\nabla T(P_0)}{||\nabla T(P_0)||} = \frac{1}{5 \sqrt{2}}(3,4,5)##.

Therefore

<br /> D_u T(P_0) = \nabla T(P_0) \cdot \hat{u} = (3,4,5) \cdot (\frac{3}{5 \sqrt{2}},\frac{4}{5 \sqrt{2}},\frac{5}{5 \sqrt{2}}) = \frac{9}{5 \sqrt{2}} + \frac{16}{5 \sqrt{2}} + \frac{25}{5 \sqrt{2}} =\frac{10}{\sqrt{2}}<br />

d) This is where I ran into trouble. I knew that in the direction of the level curve (if such a thing exists in 4D), the directional derivative is equal to 0. Using this fact and the fact that ##||\hat{u}|| = 1##, I get two seemingly messy equations, that I was initially unable to solve:

If we mark ##\hat{u} = (x,y,z)##
<br /> D_u T(P_0) = \nabla T(P_0) \cdot \hat{u} = 3x+4y+5z = 0<br />
and
<br /> \sqrt{x^2+y^2+z^2} = 1 \iff x^2 + y^2 + z^2 = 1<br />
More clearly:

\begin{cases}
3x+4y+5z = 0 \ || \ solve \ for \ z\\
x^2 + y^2 + z^2 = 1
\end{cases}

\begin{cases}
z = \frac{1}{5}(-3x - 4y) \\
x^2 + y^2 + z^2 = 1 \ || \ Substitute \ z \ here
\end{cases}

\begin{cases}
z = \frac{1}{5}(-3x - 4y) \\
x^2 + y^2 + (\frac{1}{5}(-3x - 4y))^2 = 1 \ || \ Multiply\ (-3x - 4y))^2
\end{cases}

\begin{cases}
z = \frac{1}{5}(-3x - 4y) \\
x^2 + y^2 + \frac{1}{25}(9x^2 + 24xy + 16y^2) = 1 \ || \ \cdot 25
\end{cases}

\begin{cases}
z = \frac{1}{5}(-3x - 4y) \\
25x^2 + 25y^2 + (9x^2 + 24xy + 16y^2) = 25
\end{cases}

\begin{cases}
z = \frac{1}{5}(-3x - 4y) \\
34x^2 + 24xy + 41y^2 = 25 \iff 34x^2 + 24xy + 41y^2 -25 = 0 \ || \ Solve \ for \ x
\end{cases}

x = \frac {-24y \pm \sqrt{(24y)^2 - 4(34)(41y^2 - 25)}}{2(34)}
x = \frac {-24y \pm \sqrt{-200(25y^2-17)}}{68}

Now to make things simple, let the discriminant be equal to zero:
<br /> -200(25y^2-17)=0 \iff 5000y^2 = 3400 \iff y= \pm \sqrt{\frac{3400}{5000}} = \pm \frac{\sqrt{17}}{5}<br />

Again, to make things simple, plug positive y into x:
\begin{array}{ll}
x &= \frac {-24y \pm \sqrt{-200(25y^2-17)}}{68}\\
x &= \frac {-24(\frac{\sqrt{17}}{5}) \pm \sqrt{0}}{68} \ || \ Remember \ the \ discriminant \ was \ zero \\
x &= \frac {-24(\frac{\sqrt{17}}{5})}{68} = \frac{-6}{5 \sqrt{17}}
\end{array}

Then by pugging x and y into z:
\begin{array}{ll}
z &= \frac{1}{5}(-3x - 4y)\\
&= \frac{1}{5}(-3({\frac{-6}{5 \sqrt{17}}) - 4(\frac{\sqrt{17}}{5}})\\
&= \frac{-2}{\sqrt{17}}
\end{array}

Therefore
\begin{cases}
x = \frac{-6}{5 \sqrt{17}}\\
y = \frac{\sqrt{17}}{5}\\
z = \frac{-2}{\sqrt{17}}
\end{cases}
and the direction we want to head in is

\hat{u} = (x,y,z) = (\frac{-6}{5 \sqrt{17}},\frac{\sqrt{17}}{5},\frac{-2}{\sqrt{17}})
 
Last edited by a moderator:
Physics news on Phys.org

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
6
Views
2K
  • · Replies 27 ·
Replies
27
Views
3K
Replies
2
Views
2K
Replies
20
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
1
Views
1K
  • · Replies 21 ·
Replies
21
Views
3K