• Support PF! Buy your school textbooks, materials and every day products Here!

First Order Partial Derivatives of a Function

  • Thread starter Joeda
  • Start date
  • #1
18
0
Find the first order partial derivatives of the function x = f(x,y) at the point (4,3) where:
[tex]f(x,y)=ln|(x+√(x^2+y^2))/(x-√(x^2+y^2))|[/tex]

I understand the method of partial derivatives and implementing the given point values once the partial derivatives are found, however I am having trouble trying to simplify the equation so that the partial derivatives can be found.

I have used the log rule to simplify the function but I think it can be simplified further but am stuck. So far Ive got:

[tex]In(x+√(x^2+y^2)-In(x-√(x^2-y^2)[/tex]

Do I then multiply out the In by whats in the brackets? Cause that doesnt look right when I work through the problem. Looking at similar problems I am guessing the equation being simplified would be
[tex] f(x,y) =x+√(x^2+y^2) [/tex]
but how do I get there?
 
Last edited:

Answers and Replies

  • #2
6,054
390
[tex]\ln (x+\sqrt(x^2+y^2)-\ln(x-\sqrt(x^2-y^2)[/tex]
I do not see how you got the minus in the second radical. It was not in the original expression.

What you could do is divide the numerator and denominator of the original expression under log by x before you convert that to a difference of logs.

Or you could just bite the bullet and compute partial derivatives of what you already have (after you fix the minus sign).
 
  • #3
18
0
Thanks Voko I will give that a try.
Yes sorry the second minus sign is a typo.
 
  • #4
18
0
ok hows this look?

Dividing both numerator and denominator by x

[tex] f(x,y)= In|(√(x^2+y^2))/(√(x^2+y^2))| [/tex]

Simplifying using Log Rules

[tex] f(x,y)= In|(√(x^2+y^2))|-In|(√(x^2+y^2))| [/tex]

[tex] f(x,y)= (1/2)In|((x^2+y^2))|-(1/2)In|((x^2+y^2))| [/tex]

[tex] f(x) = (1/2)(1/(x^2+y^2)-(1/2)(1/(x^2+y^2) [/tex]

[tex] f(x) = (1/2)(1/(x^2+y^2)(2x)-(1/2)(1/(x^2+y^2)(2x) [/tex]

[tex] f(x) = (x/(x^2+y^2)-(x/(x^2+y^2) [/tex] (wouldnt this just equal zero?)

[tex] f(y) = (1/2)(1/(x^2+y^2)(2y)-(1/2)(1/(x^2+y^2)(2y) [/tex]

[tex] f(y) = (y/(x^2+y^2)-(y/(x^2+y^2) [/tex] (wouldnt this just equal zero?)
 
  • #5
Dick
Science Advisor
Homework Helper
26,258
618
ok hows this look?

Dividing both numerator and denominator by x

[tex] f(x,y)= In|(√(x^2+y^2))/(√(x^2+y^2))| [/tex]

Simplifying using Log Rules

[tex] f(x,y)= In|(√(x^2+y^2))|-In|(√(x^2+y^2))| [/tex]

[tex] f(x,y)= (1/2)In|((x^2+y^2))|-(1/2)In|((x^2+y^2))| [/tex]

[tex] f(x) = (1/2)(1/(x^2+y^2)-(1/2)(1/(x^2+y^2) [/tex]

[tex] f(x) = (1/2)(1/(x^2+y^2)(2x)-(1/2)(1/(x^2+y^2)(2x) [/tex]

[tex] f(x) = (x/(x^2+y^2)-(x/(x^2+y^2) [/tex] (wouldnt this just equal zero?)

[tex] f(y) = (1/2)(1/(x^2+y^2)(2y)-(1/2)(1/(x^2+y^2)(2y) [/tex]

[tex] f(y) = (y/(x^2+y^2)-(y/(x^2+y^2) [/tex] (wouldnt this just equal zero?)
Doesn't look too good yet. Dividing numerator and denominator by x doesn't make the x just disappear. And even if you did it correctly it doesn't help much. Just change it into the difference of logs and differentiate each part.
 
Last edited:
  • #6
18
0
ok Im really starting to get confused here. How about this?

[tex] f(x,y)=In|x+√(x^2+y^2)|-In|x-√(x^2+y^2)| [/tex]

[tex] f(x,y)=(1/2)In|x+(x^2+y^2)|-(1/2)In|x-(x^2+y^2)| [/tex]

[tex] f(x)=(1/x)(1/2)(1/(x+x^2+y^2))(1+2x+y^2)-(1/x)(1/2)(1/(x-x^2+y^2))(1-2x+y^2) [/tex]

[tex] f(x)=(1/x)+(0.5+x+0.5y^2)/(x+x^2+y^2)-(1/x)(0.5-x-0.5y^2/(x-x^2+y^2) [/tex]
 
  • #7
6,054
390
[tex]\frac {x + \sqrt{x^2 + y^2}} {x} = \frac {x}{x} + \frac {\sqrt{x^2 + y^2}} {\sqrt {x^2}} = 1 + \sqrt {\frac {x^2} {x^2} + \frac {y^2} {x^2}} = 1 + \sqrt {1 + \frac {y^2}{x^2}}[/tex]
 
  • #8
HallsofIvy
Science Advisor
Homework Helper
41,777
911
Find the first order partial derivatives of the function x = f(x,y) at the point (4,3) where:
[tex]f(x,y)=ln|(x+√(x^2+y^2))/(x-√(x^2+y^2))|[/tex]

I understand the method of partial derivatives and implementing the given point values once the partial derivatives are found, however I am having trouble trying to simplify the equation so that the partial derivatives can be found.

I have used the log rule to simplify the function but I think it can be simplified further but am stuck. So far Ive got:

[tex]In(x+√(x^2+y^2)-In(x-√(x^2-y^2)[/tex]
That should be "ln" not "In":
[tex]ln(x+\sqrt{x^2+ y^2}- ln(x- \sqrt{x^2+ y^2}[/tex]
It cannot be simplified further because there is no good "ln(a+ b)" identity.

Do I then multiply out the In by whats in the brackets? Cause that doesnt look right when I work through the problem. Looking at similar problems I am guessing the equation being simplified would be
[tex] f(x,y) =x+√(x^2+y^2) [/tex]
but how do I get there?
I wouldn't multiply. The derivative of ln(x), with respect to x, is 1/x so you will have
[tex]\frac{1}{x+ \sqrt{x^2+ y^2}}[/tex]
times the derivative of the quantity [itex]x+ (x^2+ y^2)^{1/2}[/itex] with respect to either x or y plus
[tex]\frac{1}{x-\sqrt{x^2+ y^2}}[/tex]
times the derivative of [itex]x- (x^2+ y^2)^{1/2}[/itex].
 
  • #9
18
0
Thanks everyone for all your help. So...

[tex] f(x,y)=ln|\frac{x+\sqrt{x^2+y^2}}{x-\sqrt{x^2+y^2}}| [/tex]

[tex] f(x,y)=ln|(x+\sqrt{x^2+y^2})| - ln|(x-\sqrt{x^2+y^2})| [/tex]

[tex] f(x)=\frac{1}{x+\sqrt{x^2+y^2}} . \frac{3}{2}(2x+y^2)^{-1/2} - \frac{1}{x-\sqrt{x^2+y^2}} . \frac{1}{2}(2x+y^2)^{-1/2} [/tex]
 
Last edited:
  • #10
6,054
390
That's not correct. [tex]\frac \partial {\partial x} \ln f(x, y) = \frac 1 {f(x, y)} \frac {\partial f} {\partial x}[/tex] You got [itex]\frac 1 {f(x, y)}[/itex] right, but [itex]\frac {\partial f} {\partial x}[/itex] is wrong.
 
  • #11
18
0
Is the power outside of the brackets not required to be derived?
Also if x & y are inside brackets when taking the partial derivative of x, isnt the derivative of x taken and y is just a constant?
ie. [tex] f(x) = {(x^2+y^2)} [/tex]
[tex] = 2x + y^2 [/tex]
whereas if it was
[tex] f(x) = {x^2+y^2} [/tex]
[tex] = 2x [/tex]
 
  • #12
6,054
390
When you have [tex]f(x, y) = [g(x, y)]^a[/tex] then [tex]\frac \partial {\partial x} f(x, y) = a[g(x, y)]^{a - 1}\frac \partial {\partial x} g(x, y)[/tex]
 
  • #13
18
0
voko I am lost now.
 
  • #14
18
0
So does
[tex] x+(x^2+y^2)^{1/2} [/tex]
equal
[tex] x+\frac{1}{2}(x^2+y^2)^{-1/2}(2x) [/tex] ?????
 
  • #15
6,054
390
They are not equal, but your question was probably is the latter the derivative of the former? Also not, but pretty close. What is the derivative of x with respect to x?
 
  • #16
18
0
Derivative of x with respect to x is 1. So its

[tex] 1+\frac{1}{2}(x^2+y^2)^{-1/2}(2x) [/tex]
[tex] \frac{3}{2}(x^2+y^2)^{-1/2}(2x) [/tex]



Please tell me this is correct!!!!!!!
 
Last edited:
  • #17
6,054
390
Derivative of x with respect to x is 1. So its

[tex] \frac{3}{2}(x^2+y^2)^{-1/2}(2x) [/tex]

Please tell me this is correct!!!!!!!
Unfortunately, no. Where did 3 come from? This part was correct in the previous message.

So then for the question above, (2nd part) the Derivative with respect to y for

[tex] f(y)= x-(x^2+y^2)^{1/2} [/tex] is

[tex] = x-\frac{1}{2}(x^2+y^2)^{-1/2}(2y) [/tex]
What is the derivative of x with respect to y?
 
  • #18
18
0
Well the 3 came from the derivative of x with respect to x = 1
1+1\2=3/2

The derivative of x with respect to y is zero?
 
  • #19
6,054
390
Well the 3 came from the derivative of x with respect to x = 1
1+1\2=3/2
NO, NO, NO! You have [itex]a + b c[/itex]. This is not equal to [itex](a + b)c[/itex].

The derivative of x with respect to y is zero?
Correct.
 
  • #20
18
0
Sorry Sir once again I am lost :)

If I have [tex] (x+y^2)^3 [/tex]
using the chain rule I get
[tex] \frac{df}{dx}=3(x+y^2)^{2} [/tex] as derivative of x = 1 so this could be written as
[tex] \frac{df}{dx}=3(x+y^2)^{2} *(1) [/tex]
and
[tex] \frac{df}{dy}=3(x+y^2)^{2}*(2y) [/tex]
[tex] \frac{df}{dy}=6y(x+y^2)^{2} [/tex]

So then shouldnt:

[tex] x+(x^2+y^2)^{1/2} [/tex]
[tex] f(x) = 1+ \frac{1}{2}(x^2+y^2)^{-1/2}(2x) [/tex]
[tex] f(x) = \frac{3}{2}(x^2+y^2)^{-1/2}(2x) [/tex]
 
  • #21
6,054
390
[tex] x+(x^2+y^2)^{1/2} [/tex]
[tex] f(x) = 1+ \frac{1}{2}(x^2+y^2)^{-1/2}(2x) [/tex]
Correct.

[tex] f(x) = \frac{3}{2}(x^2+y^2)^{-1/2}(2x) [/tex]
Incorrect. This is a very basic mistake, which has nothing to do with derivatives. This is just algebra, not calculus. Let [itex]a = 1[/itex], [itex]b = \frac 1 2[/itex] and [itex]c = (x^2+y^2)^{-1/2}(2x)[/itex].

Then the first expression is [itex]a = bc[/itex] and the second is [itex](a + b)c[/itex]. These are not equal, because [itex](a + b)c = ac + bc \ne a + bc[/itex], except when [itex]c = 1[/itex], which is definitely not the case here. The correct expression is [tex] 1+ \frac{1}{2}(x^2+y^2)^{-1/2}(2x) = 1+ (x^2+y^2)^{-1/2}x [/tex]
 
  • #22
18
0
Wow I cant believe I didnt see that!!
Amazing how you can get caught up in the more difficult aspects of a question and miss the basics!
Thankyou Voko for your patience its very much appreciated.
 
  • #23
18
0
The correct expression is [tex] 1+ \frac{1}{2}(x^2+y^2)^{-1/2}(2x) = 1+ (x^2+y^2)^{-1/2}x [/tex]
So can this expression be simplified further by multiplying the x term outside the brackets by the terms inside the brackets, or should I leave these terms as is and just plug in my values for x & y?
I would think you cant but just wanted to clarify.
 
  • #24
6,054
390
After you differentiate the entire log, you should have two very similar terms for each derivative. Those could be combined into something a bit more compact.
 
  • #25
18
0
So I get
[tex] f(x)=\frac{1}{x+\sqrt{x^2+y^2}} . 1+(x^2+y^2)^{-1/2}(x) - \frac{1}{x-\sqrt{x^2+y^2}} . 1-(x^2+y^2)^{-1/2}(-x) [/tex]
 

Related Threads for: First Order Partial Derivatives of a Function

Replies
3
Views
12K
  • Last Post
Replies
1
Views
666
Replies
1
Views
2K
  • Last Post
Replies
3
Views
1K
Replies
2
Views
635
Replies
4
Views
567
  • Last Post
Replies
1
Views
915
  • Last Post
Replies
2
Views
1K
Top