# Thread:

1. ## Directional derivatives

Find a vector u for which Duf(1,1) =0

Thank you.
Attached Thumbnails

2. Originally Posted by al1850
Find a vector u for which Duf(1,1) =0

Thank you.

You ned to find a unit vector such that ${\rm{u}}.[(\nabla f (1,1)]=0$

RonL

3. Originally Posted by CaptainBlack
You ned to find a unit vector such that ${\rm{u}}.[(\nabla f (1,1)]=0$

RonL
But how?

4. well first for the definition of directional derivative:

directional derivative of a scalar function, $f=f(x,y)$ in the direction of a unit vector, $\overrightarrow{u}=(u_1 , u_2)$ at a point $(x_0,y_0)$is given by:
$D \overrightarrow {u} f(x_0,y_0) = \bigtriangledown f(x_0 , y_0) \cdot \overrightarrow {u} = u_1 \frac {\partial f}{\partial x} + u_2\frac {\partial f}{\partial y} <br />$

$<br /> f(x,y) = \frac{1}{x^2+y^2+1}<br />$
$<br /> \bigtriangledown f(x , y) = \frac {\partial f}{\partial x} +\frac {\partial f}{\partial y}<br />$
$<br /> = -\frac{2x}{(x^2+y^2+1)^2}\overrightarrow{i}-\frac{2y}{(x^2+y^2+1)^2}\overrightarrow{j}<br />$

at f(1,1):
$<br /> = -\frac{2}{(1^2+1^2+1)^2}\overrightarrow{i}-\frac{2}{(1^2+1^2+1)^2}\overrightarrow{j}<br />$
$<br /> = -\frac{2}{9}\overrightarrow{i}--\frac{2}{9}\overrightarrow{j}<br />$

therefore from;
$<br /> D \overrightarrow {u} f(x,y) <br />$

$<br /> D \overrightarrow {u} f(1,1) <br />$
$<br /> = (-\frac{2}{9}\overrightarrow{i}-\frac{2}{9}\overrightarrow{j})\cdot (\overrightarrow{u}) = 0<br />$
$<br /> = (-\frac{2}{9}\overrightarrow{i}-\frac{2}{9}\overrightarrow{j})\cdot (u_1\overrightarrow{i}+u_2\overrightarrow{j}) = 0<br />$

$<br /> -\frac{2}{9}u_1-\frac{2}{9} u_2 = 0<br />$

now to obtain a zero $u_1$ and $u_2$ must be equal in magnitude but opposite in sign:
$<br /> \overrightarrow{u} = (n,-n)<br />$

n can take any value.

Unit vector of $\overrightarrow{u}$
= $\frac{\overrightarrow{u}}{|\overrightarrow{u}|}$
= $\frac{u_1 \overrightarrow{i}+u_2\overrightarrow{j}}{|\sqrt{{ u_1}^2+{u_2}^2}|}$
= $\frac{u_1 \overrightarrow{i}+u_2\overrightarrow{j}}{|\sqrt{n ^2+(-n)^2}|}$
= $\frac{n \overrightarrow{i}-n\overrightarrow{j}}{|\sqrt{2}n|}$
= $\frac{n }{|\sqrt{2}n|}\overrightarrow{i}-\frac{n }{|\sqrt{2}n|}\overrightarrow{j}$
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 25, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.8897212743759155, "perplexity_flag": "middle"}