Given g(x)=xf(x), show g'(x)=f(x)+xf'(x).

  • Context: Undergrad 
  • Thread starter Thread starter MooCow
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the differentiation of the function g(x) defined as g(x) = x f(x), with the goal of showing that g'(x) = f(x) + x f'(x). Participants explore the application of the derivative definition and various methods to arrive at the result, including the product rule and the chain rule.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant attempts to apply the definition of the derivative directly but expresses uncertainty about the correctness of their approach.
  • Another participant suggests a different formulation for the derivative, indicating a potential misunderstanding of the initial approach.
  • Some participants mention the chain rule as a relevant concept but express concern about its appropriateness given the context of the problem.
  • There is a suggestion to separate terms in the derivative expression to facilitate the application of the product rule.
  • One participant proposes adding and subtracting terms in the numerator to help form the derivative of f(x), indicating a method to manipulate the expression.
  • Another participant confirms that the method discussed is indeed a way to prove the chain rule, although they note it may not be the most straightforward approach.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method to show that g'(x) = f(x) + x f'(x). There are competing views on the appropriateness of using the chain rule and differing opinions on the clarity of the proposed methods.

Contextual Notes

Some participants express limitations in their understanding of the chain rule and product rule, indicating that their current knowledge may not encompass all necessary techniques for solving the problem effectively.

MooCow
Messages
5
Reaction score
0
Problem:
Assume that f has a derivative everywhere. Set g(x)=xf(x). Using the definition of the derivative, show that g has a derivative and that g'(x)=f(x)+xf'(x).

What I know:
I know the definition of the derivative is [f(x+h)-f(x)]/h. I don't know how to plug it in and solve it though. I tried just plugging it straight in like

g'(x)=[x(f(x+h))-xf(x)]/h

I pulled the x out and the rest was [f(x+h)-f(x)]/h (the actual definition) and assumed it was xf'(x). I don't think that's right though.

Any help would be great and appreciated. Thanks in advance:]
 
Physics news on Phys.org
MooCow said:
I tried just plugging it straight in like

g'(x)=[x(f(x+h))-xf(x)]/h

What you want is this:

g'(x)=[(x+h)(f(x+h))-xf(x)]/h
 
What you are asking is called the "chain rule" You should be able to find all kinds of good stuff on google. Essentially, g(x) is defined everywhere, simply meaning that it is continuous (no breaks or sharp point)

To find the derivative of g(x) which is g'(x) you take the first component (i.e. x) and multiply it by the derivative of the second component (i.e. f'(x)). Then you take the second component (i.e. f(x)) and multiply it by the derivative of the first component (i.e. x' = 1). All this should lead you to your solution of g'(x)=f(x) + xf'(x)

Here is a break down step by step
g(x)=xf(x)
Step1
x*f'(x) ==> first component * derivative of the second component

Step 2
f(x) * 1 ==> second component * derivative of the first component

Step 3
Now add those two together
xf'(x)+f(x) to arrive at g'(x)=xf'(x)+f(x)

Yet another way to remember it
first times the derivative of the second + second times the derivative of the first.

Hope this helps!
 
dachikid said:
What you are asking is called the "chain rule"

I think it would be cheating to use the chain rule in the above problem.
 
John Creighto said:
I think it would be cheating to use the chain rule in the above problem.

Yea it would be. Technically I haven't learned that yet so it wouldn't be appropriate to use future processes.

However, even after obtaining the equation you gave me earlier, I still don't know what to do. I don't think I can pull out an (x+h) but that's the only thing I can think of doing...
 
MooCow said:
Yea it would be. Technically I haven't learned that yet so it wouldn't be appropriate to use future processes.

However, even after obtaining the equation you gave me earlier, I still don't know what to do. I don't think I can pull out an (x+h) but that's the only thing I can think of doing...

When someone mentioned the chain rule above it was a hit.

You don't pull out an (x+h). In one term you pull out an x, the other therm is just f(x). The above problem is a special case of the product rule of differentiation. What you are looking to do is to separate the definition for the derivative of f(x) from the rest of the terms in your expression. You can separate these terms via product or sum.
 
In the numerator of
g'(x)=\lim_{h\to 0}\frac{(x+h)\,f(x+h)-xf(x)}{h}

add and subtract the term (x+h)\,f(x) and try to form the term

f'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}
 
Rainbow Child said:
In the numerator of
g'(x)=\lim_{h\to 0}\frac{(x+h)\,f(x+h)-xf(x)}{h}

add and subtract the term (x+h)\,f(x) and try to form the term

f'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}

I don't know. That might work. There is a more obvious way to solve it though.

g'(x)=\lim_{h\to 0}\frac{x\,f(x+h)-xf(x)}{h}+\frac{h\,f(x+h)}{h}

The rest is left as an exercise.
 
It does work, because that's the way you prove the chain rule :smile:
 
  • #10
Rainbow Child said:
It does work, because that's the way you prove the chain rule :smile:

I thought that was the case but it is certainly not the most obvious method.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
5
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K