Partial derivative of a square root

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 7K views
peesha
Messages
6
Reaction score
0
Hi,

I'm using partial derivatives to calculate propagation of error. However, a bit rusty on my calculus.

I'm trying to figure out the partial derivative with respect to L of the equation:

2pi*sqrt(L/g)

(Yep, period of a pendulum). "g" is assumed to have no error. I know I can use the chain rule...

so, 2pi*(L/g)^(1/2) --> 2pi*1/2*(L/g)^(-1/2) , or pi*(L/g)^(-1/2).

I am doing this correctly? Or did I just take the derivative (and not the partial derivative)?

Thanks!
 
Physics news on Phys.org
peesha said:
Hi,

I'm using partial derivatives to calculate propagation of error. However, a bit rusty on my calculus.

I'm trying to figure out the partial derivative with respect to L of the equation:

2pi*sqrt(L/g)

(Yep, period of a pendulum). "g" is assumed to have no error. I know I can use the chain rule...

so, 2pi*(L/g)^(1/2) --> 2pi*1/2*(L/g)^(-1/2) , or pi*(L/g)^(-1/2).

I am doing this correctly? Or did I just take the derivative (and not the partial derivative)?

Thanks!
Partial derivative of what w.r.t. L? You haven't provided an equation, just an expression.
 
2pi*sqrt(L/g) = T, which is a function of L.
 
Using the chain rule, I can bring down the 1/2 and subtract 1 from the exponent, so

dL/dT = 1/2*2π*(L/g)-1/2 or dL/dT = π*(L/g)-1/2

Though, now it seems that I'm not treating "g" as a constant.
 
peesha said:
Using the chain rule, I can bring down the 1/2 and subtract 1 from the exponent, so

dL/dT = 1/2*2π*(L/g)-1/2 or dL/dT = π*(L/g)-1/2

Though, now it seems that I'm not treating "g" as a constant.

Well, factor g out of the square root before taking the derivative.

Technically, you are not using the chain rule. You are using the power rule.
 
peesha said:
Using the chain rule, I can bring down the 1/2 and subtract 1 from the exponent, so

dL/dT = 1/2*2π*(L/g)-1/2 or dL/dT = π*(L/g)-1/2

Though, now it seems that I'm not treating "g" as a constant.
Don't you mean dT/dL? As SteamKing said, you can rewrite the original expression with g outside the square root before you differentiate it. If you don't, you will have to use the chain rule. It tells us that there's an extra factor that you didn't include in the quote above.