Calculating direction derivative to a line in 2D

Click For Summary

Homework Help Overview

The discussion revolves around calculating the directional derivative of a function defined in the x-z plane, parameterized by specific equations for x(s) and z(s). Participants are exploring the implications of the parameterization and the normal vector to the surface.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants discuss defining the function and its normal vector, with some questioning the physical meaning of the parameter s. There are attempts to clarify whether the answer should be expressed in terms of x and z or s, and a misunderstanding about the nature of the function f is noted.

Discussion Status

The discussion is active, with participants providing insights and raising questions about the setup and definitions involved. Some guidance has been offered regarding the interpretation of the parameter s and the need for clarity on the nature of the function f.

Contextual Notes

There is uncertainty regarding the expected form of the answer and the interpretation of the parameter s, which is described as arclength. Participants are also navigating the distinction between a curve and a function in the context of the problem.

member 428835

Homework Statement


Compute ##\partial_n f## where ##n## is normal to ##f##, and ##f## lies in the ##x-z## plane and is parameterized by $$x(s) = \frac{1}{c} \sin (c s);\\
z(s) = \frac{1}{c} (1-\cos (c s))
$$

Homework Equations


##\partial_n f = \nabla f \cdot \hat n##

The Attempt at a Solution


I was thinking of defining vector ##\hat f \equiv x(s) \hat i + z(s) \hat k##. Then tangent would be ##\hat f '(s)##. Now rotate this by ##90^\circ##. We know $$
\begin{bmatrix}
\cos\theta & -\sin \theta\\
\sin\theta & \cos \theta\\
\end{bmatrix}$$
is the rotational matrix where ##\theta = 90^\circ##. Thus the unit normal ##\hat n## to the surface would be $$\hat n = \frac{z'(s) \hat i - x'(s) \hat k}{\sqrt{z'(s)^2+x'(s)^2}}$$
Once we have ##\hat n##, we should be able to construct ##\partial_n f## via ##\nabla f \cdot \hat n##, where I assume ##\nabla f = x'(s) \hat i + z'(s) \hat k##. Then $$
\partial_n f = \frac{z'(s)x'(s) - x'(s)z'(s) }{\sqrt{z'(s)^2+x'(s)^2}} = 0
$$
I think I went wrong in computing ##\nabla f##. Can someone help?
 
Physics news on Phys.org
joshmccraney said:
Then tangent would be ##\hat f '(s)##.
Why? s is only a parameter. It has no physical meaning in the shape of the curve.

By the way, it is not clear to me whether the answer is expected in terms of x and z or in terms of s.
 
haruspex said:
Why? s is only a parameter. It has no physical meaning in the shape of the curve.
I'm not sure, but I know this is correct. I should specify that ##s## is said to be the arclength.
haruspex said:
By the way, it is not clear to me whether the answer is expected in terms of x and z or in terms of s.
I'd like the answer as a function of ##s##, as I'll have to integrate w.r.t ##s##.
 
I think I may have misunderstood the question...
Is f a curve in the XZ plane or a function of x and z?
 
What is ##f##?
 
Oh shoot, thank you both for responding! Okay, by asking the question you've given me the answer! I need to compute ##\int_s \partial_n\phi(x,z)## along a curve in the ##x-z## plane, where ##x = x(s)## and ##z=z(s)##. Since I have an explicit formula for ##\phi(x,z)##, all I need is ##\nabla \phi \cdot \hat n##, where ##\hat n## is above in post 1.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
Replies
2
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
20
Views
2K