First Order Partial Derivatives of a Function

In summary: Let's go back to the beginning. We havef(x, y) = \ln \left|\frac{x + \sqrt{x^2 + y^2}}{x - \sqrt{x^2 + y^2}}\right| The first step is to apply the chain rule to each part of the fraction:\frac{\partial f}{\partial x} = \frac{1}{\frac{x + \sqrt{x^2 + y^2}}{x - \sqrt{x^2 + y^2}}}\cdot \frac{\partial}{\partial x}\left(\frac{x + \sqrt{x^2 + y^2}}{x - \sqrt{x^2 + y^
  • #1
Joeda
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 I've got:

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

Do I then multiply out the In by what's in the brackets? Cause that doesn't 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:
Physics news on Phys.org
  • #2
Joeda said:
[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
Thanks Voko I will give that a try.
Yes sorry the second minus sign is a typo.
 
  • #4
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
Joeda said:
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
ok I am 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
[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
Joeda said:
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 I've 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 what's in the brackets? Cause that doesn't 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
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
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
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, isn't 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
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
voko I am lost now.
 
  • #14
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
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
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
Joeda said:
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
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
Joeda said:
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
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
Joeda said:
[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
Wow I can't 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
voko said:
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 can't but just wanted to clarify.
 
  • #24
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
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]
 
  • #26
Joeda said:
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]

That should be written as [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]

Now, do you see that both terms in square brackets are equal so that you could use that as a common factor?
 
  • #27
No, wait. How did you get (-x) in the second term? That does not seem correct.
 
  • #28
voko said:
That should be written as [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]

Now, do you see that both terms in square brackets are equal so that you could use that as a common factor?

So we get

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

That doesn't look right as we had (x) and (-x) in the above equation.
 
  • #29
As I had

[tex] f(x)= 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)= 1+(x^2+y^2)^{-1/2}(x) [/tex]

and

[tex] f(x)= 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)= 1-(x^2+y^2)^{-1/2}(-x) [/tex]

As [tex] -\frac{1}{2} * 2x = -x [/tex]
 
  • #30
Joeda said:
[tex] f(x)= 1-\frac{1}{2}(x^2+y^2)^{-1/2}(2x) [/tex]
[tex] f(x)= 1-(x^2+y^2)^{-1/2}(-x) [/tex]

As [tex] -\frac{1}{2} * 2x = -x [/tex]

But you got two minus signs where you only had one. That's not correct. There should not be (-x), it should just be (x).
 
  • #31
ok once again thanks Voko you have been brilliant!

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

So this is written correctly then?
 
  • #32
Again, the second term is incorrect. You cannot go from (-a)(b) to -(-ab), but that's what you insist on doing. (-a)(b) = -(ab).
 

1. What is a first order partial derivative?

A first order partial derivative is a mathematical concept used to calculate how a function changes in response to changes in one of its variables, while holding all other variables constant. It measures the rate of change of the function with respect to one variable.

2. How do you calculate a first order partial derivative?

To calculate a first order partial derivative, you need to take the derivative of the function with respect to the variable of interest, while treating all other variables as constants. This can be done using the standard rules of differentiation, such as the power rule or the product rule.

3. Why are first order partial derivatives important?

First order partial derivatives are important because they allow us to understand how a function changes in response to changes in its variables. They are used in many fields of science, such as physics, engineering, and economics, to model and analyze real-world phenomena.

4. Can a first order partial derivative be negative?

Yes, a first order partial derivative can be negative. This means that the function is decreasing in response to an increase in the variable of interest. Conversely, a positive first order partial derivative indicates that the function is increasing in response to an increase in the variable.

5. How are first order partial derivatives different from total derivatives?

A first order partial derivative only measures the change in a function with respect to one variable, while holding all other variables constant. On the other hand, a total derivative takes into account the changes in all variables, not just one. In other words, a total derivative is the sum of all the first order partial derivatives.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
548
  • Calculus and Beyond Homework Help
Replies
3
Views
770
  • Calculus and Beyond Homework Help
Replies
8
Views
468
  • Calculus and Beyond Homework Help
Replies
4
Views
690
  • Calculus and Beyond Homework Help
Replies
3
Views
272
Replies
9
Views
714
  • Calculus and Beyond Homework Help
Replies
6
Views
852
Replies
4
Views
646
  • Calculus and Beyond Homework Help
Replies
23
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
561
Back
Top