How to differentiate absolute value of multivariable function?

Click For Summary
SUMMARY

This discussion focuses on differentiating the absolute value of the multivariable function $$|\sin(x+y)|$$. The correct derivative with respect to x is established as $$\frac{ \partial}{ \partial x}| \sin(x+y)|= \frac{ \sin(x+y)}{| \sin(x+y)|} \, \cos(x+y)$$, utilizing the chain rule. Participants also explore trigonometric identities, specifically $$\sin(x+y) = \sin(x) \cos(y) + \cos(x) \sin(y)$$ and its implications for simplification. The conversation highlights the importance of correctly applying differentiation rules and trigonometric identities in multivariable calculus.

PREREQUISITES
  • Understanding of multivariable calculus
  • Familiarity with differentiation rules, particularly the chain rule
  • Knowledge of trigonometric identities
  • Ability to manipulate absolute values in calculus
NEXT STEPS
  • Study the application of the chain rule in multivariable functions
  • Learn about differentiating absolute value functions in calculus
  • Explore trigonometric identities and their derivatives
  • Practice problems involving the differentiation of multivariable functions
USEFUL FOR

Students and professionals in mathematics, particularly those studying calculus, multivariable functions, and trigonometry. This discussion is beneficial for anyone looking to enhance their understanding of differentiation techniques in complex functions.

Petrus
Messages
702
Reaction score
0
Hello MHB,
I am working with finding max and min value and I always hesitate when I got absolute value so the one I strugle is to derivate $$|\sin(x+y)|$$
if we do it respect to x is this correct?
$$f_x(x,y)=\frac{\sin(2x)}{2\sqrt{\sin^2(x+y)}}$$$$|\pi\rangle$$
 
Physics news on Phys.org
Hmm. I think you're missing some stuff. One thing is certain:
$$ \frac{d}{dx} |x|= \frac{x}{|x|} = \frac{|x|}{x}= \text{signum}(x).$$
Using the chain rule, therefore, you'd have
$$ \frac{ \partial}{ \partial x}| \sin(x+y)|= \frac{ \sin(x+y)}{| \sin(x+y)|} \, \cos(x+y).$$
You could probably simplify this a bit using some trig identities, but I don't think it would come down to what you got. Also note that $|x|= \sqrt{x^{2}}$, which does agree with your denominator.
 
Hey Petrus,

Check the argument of the sine function in the numerator...
 
Hello,
Thanks for the fast responed!:)
hmm.. I prob can't use the hanf angle formulas what I did and get it wrong, hm.. I don't see what to do the inner deferentiate, What do you mean Mark?

Regards,
$$|\pi\rangle$$
 
Where did $y$ go in the numerator?
 
MarkFL said:
Where did $y$ go in the numerator?
Now I understand but I did not think clearly cause now when I think, I don't know what to do with numberator, we got two rules
$$\sin(x+y)=\sin(x) \cos(y)+ \cos(x) \sin(y)$$
and $$\sin^2(x)=\frac{1+ \cos(2x)}{2}$$
so I am back to spot one... How shall I do this..?

Regards,
$$|\pi\rangle$$
 
From $\sin(x+y) = \sin(x) \cos(y)+ \cos(x) \sin(y)$, set $x=y$ and obtain $\sin(2x)= \sin(x) \cos(x)+ \cos(x) \sin(x) = 2 \sin(x) \cos(x)$. Therefore,
$$\sin(x) \cos(x)= \frac{ \sin(2x)}{2}.$$
So what would $\sin(x+y) \cos(x+y)$ be?
 
Ackbach said:
From $\sin(x+y) = \sin(x) \cos(y)+ \cos(x) \sin(y)$, set $x=y$ and obtain $\sin(2x)= \sin(x) \cos(x)+ \cos(x) \sin(x) = 2 \sin(x) \cos(x)$. Therefore,
$$\sin(x) \cos(x)= \frac{ \sin(2x)}{2}.$$
So what would $\sin(x+y) \cos(x+y)$ be?
Hello Ackbach,
$$\sin(x+y)=2 \sin(x) \cos(x)$$
$$\cos(x+y)= \cos(x) \cos(y)- \sin(y) \sin(x)$$ set $$x=y$$ and obtain
$$\cos(2x)= \cos^2(x)- \sin^2(x)$$
so $$\sin(x) \cos(x)= \frac{ \sin(2x)}{2}(\cos^2(x)- \sin^2(x)) $$

Regards
$$|\pi\rangle$$
 
In your original post, you are essentially positing:

$$2\sin(x+y)\cos(x+y)=\sin(2x)$$

Do you see the problem with this?
 
  • #10
Petrus said:
Hello Ackbach,
$$\sin(x+y)=2 \sin(x) \cos(x)$$
$$\cos(x+y)= \cos(x) \cos(y)- \sin(y) \sin(x)$$ set $$x=y$$ and obtain
$$\cos(2x)= \cos^2(x)- \sin^2(x)$$
so $$\sin(x) \cos(x)= \frac{ \sin(2x)}{2}(\cos^2(x)- \sin^2(x)) $$

Regards
$$|\pi\rangle$$

I don't think you're seeing the pattern here. What would $\sin(z) \cos(z)$ be? What would $ \sin( \xi) \cos( \xi)$ be? What would $ \sin( \aleph) \cos( \aleph)$ be? So what must $\sin(x+y) \cos(x+y)$ be?
 
  • #11
Hello,
I think I see now $$\sin(x)\cos(x)=\frac{\sin(2x)}{2} <=>\sin(x+y)\cos(x+y)=\frac{\sin(2(x+y))}{2} $$

Well it is really late and I am tired so I can't think clear right now, I need to sleep so hopefully tomorow I understand a lot better!

Regards,
$$|\pi\rangle$$
 
  • #12
Petrus said:
Hello,
I think I see now $$\sin(x)\cos(x)=\frac{\sin(2x)}{2} <=>\sin(x+y)\cos(x+y)=\frac{\sin(2(x+y))}{2} $$

Well it is really late and I am tired so I can't think clear right now, I need to sleep so hopefully tomorow I understand a lot better!

Regards,
$$|\pi\rangle$$

You got it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K