Are Variables and Constants Distinguishable in Differentiation?

Click For Summary

Homework Help Overview

The discussion revolves around the differentiation of functions with respect to variables and constants, specifically focusing on the role of parameters in calculus expressions. The original poster explores how the interpretation of a parameter, such as 'r', as either a constant or a variable affects the differentiation process.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants discuss the implications of treating 'r' as a constant versus a variable, and how this affects the differentiation of the function f(x) = r^3 x^2. Questions arise about the meaning of 'r is a function of x' and the distinction between f(x) and f(r,x).

Discussion Status

The conversation is ongoing, with participants examining different interpretations of the variable 'r' and its implications for differentiation. Some guidance is provided regarding the use of notation and the importance of context in determining whether a parameter is treated as a constant or a variable.

Contextual Notes

There is a mention of a potential lack of thorough coverage of this topic in the original poster's calculus textbook, which may contribute to the confusion regarding the treatment of 'r'.

opticaltempest
Messages
135
Reaction score
0
Before we differentiate, we must know whether a variable in that expression represents a constant or variable, correct?

For example, if we have the function,

[tex]f(x) = r^3 x^2[/tex]

[tex]f'(x) = \frac{d}{{dx}}\left[ {r^3 x^2 } \right][/tex]​

(1) Now if [tex]r[/tex] represents a variable then,

[tex]f'(x) = r^3 \cdot \frac{d}{{dx}}\left[ {x^2 } \right] + \frac{d}{{dx}}\left[ {r^3 } \right] \cdot x^2[/tex]

[tex]f'(x) = 2r^3 x + 3r^2 x^2[/tex]​

But if we know [tex]r[/tex] to be a constant then,

[tex]f'(x) = 2r^3 x[/tex]​

So it seems like it is very important to know exactly what the variable represents in a function. Am I correct? In my current calculus textbook, I don't think this topic was covered thoroughly enough.

EDIT: On line labeled (1) the word "constant" was replaced by the intented word, "variable". My mistake...
 
Last edited:
Physics news on Phys.org
Now if [tex]r[/tex] represents a function of x then,

[tex]f'(x) = r^3 \cdot \frac{d}{{dx}}\left[ {x^2 } \right] + \frac{d}{{dx}}\left[ {r^3 } \right] \cdot x^2[/tex]

which, by the chain rule, is

[tex]f'(x) = 2r^3 x + 3r^2 r^{\prime} x^2[/tex]​

But if we know [tex]r[/tex] to be a constant then, [tex]r^{\prime}=0[/tex]

[tex]f'(x) = 2r^3 x[/tex]​
 
Could you elaborate more on what is meant by "r is a function of x"?

Is there a difference in me saying f(x) vs f(r,x) ?

Since I said f(x) can I think of it like,

"r doesn't allow for any inputs, only x allows inputs. Therefore the value of r will depend upon
what value of x you put in." ?

By me saying f(x)=r*x does it mean that r MUST be some defined constant since it cannot have an input?
 
Last edited:
If r represents a variable, indpendent of x, then it would make no sense to write f(x)= r3x2- it would have to be f(x,r)= r3x2.

If you suspect that r is a function of x (for example that r= cos(x) so that f(x)= r3x2= cos3(x)x2 and so f'(x)= -3x2sin2(x)+ 2xcos3(x)), then you can "cover all bets" by writing f'(x)= 3r2x2r'(x)+ 2r3x. In that case, if it happens that r is a constant, r'(x)= 0 giving you f'(x)= 2r3x which is correct.

Generally, whether or not a letter represents a variable or a constant should be clear from the context.
 
Last edited by a moderator:
Translation: if something isn't what we supposed it was then its behaviour may change? Answer: Yes. That has nothing to do with maths though.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K