Derivative with respect to something else

  • Thread starter __redzone
  • Start date
  • Tags
    Derivative
In summary, the physicist would take the derivative with respect to x, y, or time, and then use the first approach to do it.
  • #1
__redzone
3
0
I have a problem that I'm stuck on. In my calculus class we've only learned to take the derivative with respect to x, y, or time. The question is;

y = x^2 + x. The derivate of y with respect to 1/(1-x) is .. ? If someone could help me get started, specifically how to get started it'd be appreciated. Thanks.
 
Physics news on Phys.org
  • #2
This is how a physicist would do it:

[tex]\frac{d}{d(\frac{1}{1-x})}=\frac{dx}{d(\frac{1}{1-x})}\frac{d}{dx}=\frac{1}{\frac{d(\frac{1}{1-x})}{dx}}\frac{d}{dx}=\frac{1}{\frac{1}{(1-x)^2}}\frac{d}{dx}=(1-x)^2\frac{d}{dx}[/tex]

The interpretation of this is that to take the derivative with respect to 1/(1-x) is the same as taking the derivative with respect to x and then multiplying the result with (1-x)^2.

This is another way to do it:

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

Let g be the function that satisfies

[tex]f(x)=g\big(\frac{1}{1-x}\big)=g(h(x))[/tex]

The definition of h(x) is of course just h(x)=1/(1-x).

What we're looking for is

[tex]g'(h(x))[/tex].

Note that [tex]f=g\circ h[/tex].

[tex]f'(x)=(g\circ h)'(x)=g'(h(x))h'(x)[/tex]

[tex]g'(h(x))=\frac{f'(x)}{h'(x)}=(1-x)^2 f'(x)[/tex]

The second approach has the advantage that it's much easier to explain every step.
 
Last edited:
  • #3
I decided to give some thought to what I was actually doing when I did the first calculation, and I came to the conclusion that this is what the first calculation actually says:

[tex]g'(h(x))=(f\circ h^{-1})'(h(x))[/tex]

[tex]=f'(h^{-1}(h(x)))h^{-1}'(h(x))=h^{-1}'(h(x))f'(x)[/tex]

[tex]=\frac{1}{h'(h^{-1}(h(x)))}f'(x)=\frac{1}{h'(x)}f'(x)[/tex]

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

[tex]=(1-x)^2 f'(x)[/tex]
 
Last edited:
  • #4
Im not the best at this, but i would let what you want with respect to, equal u, and then find what y equals in terms of u.
 
  • #5
Gib Z said:
Im not the best at this, but i would let what you want with respect to, equal u, and then find what y equals in terms of u.


This is what I would do to, and just to clarify, this is usually referred to as "making a subsitution". Making the substitiution [itex]u = \frac{1}{1-x}[/itex] and then finding [itex]\frac{dy}{du}[/itex] will solve the problem. It also makes it quite a lot easier to write y in terms of u since we can rearrange the expression defining u:

[tex]\frac{1}{1-x} = u[/tex]
[tex]{1-x} = \frac{1}{u}[/tex]
[tex]{-1+x} = \frac{-1}{u}[/tex]
[tex]x = \frac{-1}{u} + 1[/tex] or,
[tex]x = 1 - \frac{1}{u}[/tex]

Which can then be substituted back into the original

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

Which, barring any mathematical errors on my part, should allow you to find the derivative [itex]\frac{dy}{du}[/itex] as required. Once found just substitute back the original expression we had for u: [itex]u = \frac{1}{1-x}[/itex]

This is of course identical to using h(x) in place of u and g(x) from the above posts would be the new function for y in terms of u which is given above. The only reason I chose to use the u is that it is tidier to write and makes it "more obvious" what you should do at each stage, since it takes the form of a variable, rather than the less familiar form of a function. Personally I get confused when I see something like [itex]f'(g(x))[/itex] : is it the derivative of f with respect to x, or with respect to g(x)?
 
  • #6
Jheriko said:
Personally I get confused when I see something like [itex]f'(g(x))[/itex] : is it the derivative of f with respect to x, or with respect to g(x)?
It doesn't really make sense to say that the derivative of a function [itex]f:\mathbb{R}\rightarrow\mathbb{R}[/itex] is with respect to a variable with a specified name. There's only one variable, and it doesn't matter if we call it x, y, t or even g(x).

It only makes sense to specify what the derivative is with respect to when we haven't already specified what function we're taking the derivative of. For example, it wouldn't make sense to talk about "the derivative of f(g(x))", because f(g(x)) isn't a function, it's a number. But if we say that the derivative is with respect to x, we make it clear that the function we're taking the derivative of is the map [itex]x\mapsto f(g(x))[/itex] (also known as [itex]f\circ g[/itex]). If we say that the derivative is with respect to g(x), we're specifying that the function we're taking the derivative of is the map [itex]y\mapsto f(y)[/itex] (also known as f).

f'(g(x)) is the derivative of f, evaluated at g(x). Another way of saying that is that f'(g(x)) is the derivative of f(g(x)) with respect to g(x), evaluated at g(x).

But I guess I'm nitpicking here. Your post is very good. A lot of people probably think your explanation is much easier to understand than mine, and my advice to the thread starter is to try to understand both methods.
 
Last edited:

FAQ: Derivative with respect to something else

What is a derivative with respect to something else?

A derivative with respect to something else refers to the rate of change of a function or variable with respect to another variable. It measures how much a function changes as the other variable changes.

Why is it important to calculate derivatives with respect to something else?

Calculating derivatives with respect to something else is important because it allows us to understand the relationship between two variables and how one variable affects the other. It also helps us to optimize and optimize functions, and is a crucial tool in fields such as physics, engineering, and economics.

What is the difference between a partial derivative and a total derivative?

A partial derivative is the derivative of a function with respect to one of its variables, while holding all other variables constant. A total derivative, on the other hand, is the derivative of a function with respect to all of its variables simultaneously. In other words, a partial derivative only considers the effect of one variable on the function, while a total derivative takes into account the effects of all variables.

How do you calculate a derivative with respect to something else?

To calculate a derivative with respect to something else, you can use the rules of differentiation, such as the power rule, product rule, and chain rule. You can also use tables of derivatives or software programs to help you calculate the derivative.

Can you give an example of a real-life application of a derivative with respect to something else?

One example of a real-life application of a derivative with respect to something else is in economics, where it is used to calculate marginal cost and marginal revenue. Marginal cost is the derivative of total cost with respect to quantity, while marginal revenue is the derivative of total revenue with respect to quantity. These values help businesses determine the most efficient production level and pricing strategy.

Similar threads

Replies
1
Views
981
Replies
2
Views
2K
Replies
5
Views
2K
Replies
15
Views
1K
Replies
1
Views
2K
Replies
5
Views
1K
Replies
6
Views
2K
Back
Top