Partial Derivatives Explained: Real-Life Examples and Solutions

In summary, Daniel is asking about what C^2 means, and whether it's a commonly used notation. JA says that C^2 is just a notation for the total derivative, and that it's easier to show a function is differentiable by definition. Dexter says that C^1 and its variations (if there are any) have a generally accepted meaning. He also says that in practice it is much easier to establish that a function is C^1 than to show it is differentiable by definition.
  • #1
omgitsroy326
30
0
To me a derivative and a partial derivatice is the same thing. You just take it with respect to another vairable ... move some things around and solve...


Can someone give me an example explainin what's happening... The difference between the two. I can solve it and i just absorb it , but any real life example that can be thought of ??
 
Physics news on Phys.org
  • #2
A one-dimensional derivative and a partial derivative are related, but they aren't the same. To calculate a derivative, you must first choose a direction along which you're going to find the rate of change. In one dimension, you have two choices, the positive direction and the negative direction, and it's really pretty irrelevant which one you choose, since the derivative of one is just the opposite of the other.

But when you get into higher dimensions, you have many choices of direction, and which path you pick is not irrelevant. Your derivative depends on the direction you take, and the distinction among the directions is not just a negative sign. A partial derivative is just a derivative choosing to go along one of the coordinate axes, i.e. along the vector (1,0) or (0,1) for the two dimensional Cartesian case. However, you could have picked a different direction, say going along the line y = x, i.e. (1,1).

However, the one dimensional derivative is more closely related in dimensions higher than 1 to the total derivative than the partial derivative.

--J
 
  • #3
Justin Lazear said:
A one-dimensional derivative and a partial derivative are related, but they aren't the same. To calculate a derivative, you must first choose a direction along which you're going to find the rate of change. In one dimension, you have two choices, the positive direction and the negative direction, and it's really pretty irrelevant which one you choose, since the derivative of one is just the opposite of the other.

I know,i'm being picky,but there are gazzillions of functions that are not [itex] C^{2} \mbox{on} \ I\subseteq \mathbb{R} [/itex]

Daniel.
 
  • #4
Well, supposedly, if he understands a 1D derivative, he should already understand when it exists.

--J
 
  • #5
Partial derivatives should not be confused with one-dimensional derivatives.

Rather, a one-dimensional analogue to the partial derivative can, for example, be the limit of the difference quotient on a particular convergent sequence.

For example, let [tex]x_{n}=\frac{1}{n}[/tex]
Then, the partial derivative of a function f with respect to this sequence at [tex]x_{0}\in\mathbb{R}[/tex] can be defined as:
[tex]\frac{\partial{f}}{\partial{x}_{n}}\mid_{x=x_{0}}=\lim_{n\to\infty}\frac{f(x_{0}+x_{n})-f(x_{0})}{x_{n}}[/tex]

With this informal definition of a one-dimensional partial derivative, we see that f is differentiable in the normal sense at [tex]x_{0}[/tex] if all one-dimensional partial derivatives at [tex]x_{0}[/tex] exist, and are equal to each other.

Note that in higher dimensions, it is not sufficient that all partial derivatives exist in order to guarantee differentiability (or even, continuity!) of the function at the point.
Just because a function behaves nicely along line segments (i.e existing partial derivatives) is not enough.
 
Last edited:
  • #6
Sorry to ask in this thread but I would just like to know what is meant bt C^2, and any other variations of it. I ask this because in the lecture notes for a subject I'm taking(it has introductory multivariable calculus in it), the 'term' C^1 is used - and I thought it was just some personally adopted notation by the person who prepared the notes. After reading dextercioby's post, C^1 and its variations(if there are any) seem to actually have a generally accepted meaning. If that is the case, can someone please explain to me what C^(1,2 etc mean)? Just a brief description would be great.

Just one more thing, in my notes there is a little paragraph which says some things, in particular, it says "In practice it is much easier to establish that a function is C^1 than to show it is differentiable by definition. To show that a function if C^1 you only need to calculate the partial derivatives and to show that they are continuous which often can be done by inspection."

I highlighted the points I am unsure of. When it says show that the partial derivatives are continuous, does it mean for the entire domain(not sure if this is the right word to use for functions of two variables) of the function the PDs are continuous, or just for a particular point? The other thing I'm not sure of is how you can show that a function is continuous "by inspection." Does that just mean the required equation/s that need to be set up can easily be deduced? From my understanding of continuity, the limit at a point needs to exist for a function to be continuous. But to show that the limit exists e-d arguments would be needed so wouldn't that be more difficult to show?
 
Last edited:
  • #7
[itex]C^1[/itex] functions are functions which have continuous first order partial derivatives; and [itex]C^2[/itex] functions have continuous second order partial derivatives. For example, you can differentiate [itex]f(x) = \sin(x)[/itex] as many times as you like and it will remain a continuous function for all values of [itex]x[/itex]. So we say that [itex]\sin(x) \in C^{\infty}[/itex], that is, [itex]\sin(x)[/itex] is a member of the infinitely differentiable continuous functions.

This kind of notation is similar to saying that [itex]\textbf{x} = (x,y) \in \mathbb{R}^2[/itex] which says that the vector [itex]\textbf{x}[/itex] is a vector in a 2 dimensional vector space.

To prove that a function is differentiable is somewhat different that it is to prove that it is continuous. All you need to do to prove that a function is continuous at some point is to show

[tex]\lim_{x\rightarrow x_0} f(x)[/tex]

exists and equals [itex]f(x_0)[/itex]. Often proving that a limit exists can be an easy task. However, if you tried to prove that a function is differentiable, then you'd have to prove that

[tex]\lim_{h\rightarrow 0}\frac{f(a+h)-f(a)}{h}[/tex]

exists. Further, sometimes we already know that a function is continuous. When this happens we say that a function is continuous by inspection. This generally occurs when we want to prove that say [itex]f(x) = x[/itex] is continuous - the continuity of this function is widely accepted and the proof may be omitted. However, you can't generally say that [itex]f(x) = \sin(1/x)[/itex] is continuous by inspection over the interval [itex][-1,1][/itex] because this is (1) not continuous at 0, and (2) the function isn't "general" enough to say that you can by inspection.

When you say that the partial derivatives are continuous, it generally means for the entire domain of the function - you are right. For instance,

[tex]\frac{\partial}{\partial x}\sin x[/tex]

is continuous on its domain. To be specific, its domain is the real line: [itex]-\infty < x < \infty[/itex] or the interval [itex](-\infty,\infty)[/itex]. But if a function has continuous partial derivatives, then it must be continuous at every point on its domain.

Sometimes, you can get special restrictions such as "continuous everywhere except for at finitely many points". These sorts of functions are called piecewise continuous. Which form a special subset of continuous functions, and can be included in theories such as Fourier Theorem, which includes continuous functions and piecewise continuous functions.
 
Last edited:
  • #8
Thanks for the thorough explanation Oxymoron.

Can I ask just one more thing. With functions of two variables, if we want to show that they are differentiable then we apply the definition(there seem to be slight variations depending on the source of the definition) and take the limit. How would you for example, take the limit if you have a piecewise function such as f(x,y) = 1, if x = y = 0 and zero otherwise as (x,y) -> (0,0). I mean to prove that its not differentiable at (x,y) = (0,0) all I need to do is show that it the limit as (x,y) -> (0,0) is not equal to f(0,0) = 1. I can see why the limit won't be equal to f(0,0) = 1 but I'm unsure about how to set up the limit correctly.

[tex]
\mathop {\mathop {\lim }\limits_{\left( {x,y} \right) \to \left( {0,0} \right)} }\limits_{y = x} f(x,y) = 0 \ne f(0,0) = 1
[/tex]

To show that the limit is not equal to f(0,0) all I need to show is that the limit along a single line is not equal to f(0,0) right? So is what I just did ok? At first I thought about simply writing the limit(as above) but without the y = x bit.
 

What are partial derivatives?

Partial derivatives are a type of derivative in calculus that measures the rate of change of a function with respect to one of its variables while holding all other variables constant. In other words, it calculates how much a function changes when only one of its independent variables changes.

Why are partial derivatives important?

Partial derivatives are important because they allow us to analyze how a function changes in a specific direction. This is useful in many fields, including physics, economics, and engineering, as it helps us understand the behavior of complex systems and make predictions based on their variables.

What are some real-life examples of partial derivatives?

One example of a partial derivative in real life is calculating the marginal cost of producing a product. This involves finding the derivative of the cost function with respect to the quantity produced, while holding all other factors constant. Another example is calculating the rate of change of temperature over time in a specific location, taking into account factors like humidity and wind speed.

How are partial derivatives calculated?

To calculate a partial derivative, we use the same rules as regular derivatives, but we treat all other variables as constants. This means that we differentiate the function with respect to the variable we are interested in while treating all other variables as if they are just numbers.

What is the difference between partial derivatives and total derivatives?

The main difference between partial derivatives and total derivatives is that partial derivatives only consider one independent variable at a time, while total derivatives take into account all the independent variables in a function. In other words, a total derivative is the sum of all the partial derivatives of a function with respect to each of its variables.

Similar threads

  • Introductory Physics Homework Help
Replies
2
Views
927
  • Introductory Physics Homework Help
Replies
5
Views
1K
  • Special and General Relativity
Replies
5
Views
2K
  • Introductory Physics Homework Help
Replies
1
Views
640
Replies
9
Views
714
  • Classical Physics
Replies
18
Views
1K
  • Advanced Physics Homework Help
Replies
10
Views
580
Replies
4
Views
2K
  • Introductory Physics Homework Help
Replies
25
Views
2K
  • Introductory Physics Homework Help
Replies
9
Views
1K
Back
Top