Derivative w/ respect to theta

In summary, if you want to differentiate sin(x) where x is in degrees, you would have to write sin(x)= sin(180u/\pi) and use the chain rule: (sin(x))'= (180/\pi)cos(180u/\pi)= (180/\pi)cos(x).
  • #1
jonesyxd
3
0
Hi all,

The following is part of a part, of an assignment for my MATLAB course for uni.

For most of the ODE solvers in MATLAB you also have to be able to solve the question numerically - and this is the component of the question I'm doing here..


The equilibrium equation of an arch type structure is the function below..

P = 4 x K x L[cos(alpha -theta ) - cos(alpha)] x tan(alpha -theta );
GIVEN L=1m, alpha=30degrees, K=100kN/m

Substituting in unknowns we get..

P = 400[cos(30 - theta) - cos(30)] x tan(30 - theta)

Now I have a function of P(force) and theta(angle in degs), for the question though I have to solve for the roots using 'Newtons Method'(need the derivative of the function) and this is where my questions comes in..

To find the derivative of this function with respect to theta, do I first need to convert theta to radians? ie, alpha = Pi / 6, Theta = Pi / 180(theta) ?? ..should I be taking the derivative of the above function? or the one below

P = 400[cos(Pi/6 - Pi/180(theta)) - cos(Pi/6)] x tan(Pi/6 - Pi/180(theta))

Thanks for reading!
 
Physics news on Phys.org
  • #2
Formally you should convert it to radians.
 
  • #3
What do you mean 'formally'?

If they are not in radians when I get to the chain rule, this will happen

derivative of cos(30 - theta) = -sin(30 - theta) * (-1) = sin(30 - theta)

but if I convert to rads..

derivative of cos(∏/6 - ∏/180(theta)) = -sin(∏/6 - ∏/180(theta)) * (-∏/180) = ∏/180 sin(∏/6 - ∏/180(theta))

Or am I way off here?
 
  • #4
I mean that arguments of trigonometric function are in radians. But the only difference is that derivative is mulitplied by ∏/180.
 
  • #5
jonesyxd said:
What do you mean 'formally'?

If they are not in radians when I get to the chain rule, this will happen

derivative of cos(30 - theta) = -sin(30 - theta) * (-1) = sin(30 - theta)

but if I convert to rads..

derivative of cos(∏/6 - ∏/180(theta)) = -sin(∏/6 - ∏/180(theta)) * (-∏/180) = ∏/180 sin(∏/6 - ∏/180(theta))

Or am I way off here?
Way off! If you look at the derivation of the derivatives of the trig functions in any Calculus book, you will use the fact that [itex]\lim_{x\to 0} sin(x)/x= 1[/itex]. That is only true if x is measured in radians.

To differentiate sin(x) where x is in degrees, you would have to write [itex]sin(x)= sin(180u/\pi)[/itex] and use the chain rule: [itex](sin(x))'= (180/\pi)cos(180u/\pi)= (180/\pi)cos(x)[/itex].
 
  • #6
HallsofIvy said:
To differentiate sin(x) where x is in degrees, you would have to write [itex]sin(x)= sin(180u/\pi)[/itex] and use the chain rule: [itex](sin(x))'= (180/\pi)cos(180u/\pi)= (180/\pi)cos(x)[/itex].

I really don't consider myself good at calculus at all, but isn't that what i did?


to find derivative of cos(30 - x) when x and '30' are both in degrees..

= cos(∏/6 - ∏/180(x)) now to find derivative..

=-sin(∏/6 - ∏/180(x)) * (-∏/180)

=∏/180*sin(∏/6 - ∏/180(x))

?
 
  • #7
That may be what you intended but it was not what you said. You said:
jonesyxd said:
What do you mean 'formally'?

If they are not in radians when I get to the chain rule, this will happen

derivative of cos(30 - theta) = -sin(30 - theta) * (-1) = sin(30 - theta)
and this is completely wrong.

but if I convert to rads..

derivative of cos(∏/6 - ∏/180(theta)) = -sin(∏/6 - ∏/180(theta)) * (-∏/180) = ∏/180 sin(∏/6 - ∏/180(theta))

Or am I way off here?
You appeared to be thinking that sine and cosine, in different units, were different functions and so would have different derivatives. That is not at all true.

Indeed, in many Pre-Calculus and Calculus texts, the sine and cosine are defined so that the variables are measured around the circumference of a unit circle rather than as angles. The advantage of that is that the variables do NOT have any units at all, they are just numbers- like all other functions. But engineers, who design calculators still think in terms of angle so we have to talk about "radians" which, on a unit circle, are the same as the distance on the circumference.
 

What is a derivative with respect to theta?

A derivative with respect to theta is a mathematical concept in which theta (θ) is the independent variable and the rate of change of a function with respect to theta is calculated. It represents the slope of the tangent line to the graph of the function at a specific point.

What is the notation for representing a derivative with respect to theta?

The notation commonly used for representing a derivative with respect to theta is d/dθ. This means the derivative of a function f(θ) with respect to the variable θ.

What is the relationship between a derivative with respect to theta and a partial derivative?

A derivative with respect to theta is a special case of a partial derivative, where the function only has one independent variable, which is theta. In other words, a derivative with respect to theta is a partial derivative with respect to a specific variable.

What is the chain rule for finding derivatives with respect to theta?

The chain rule for finding derivatives with respect to theta states that the derivative of a composite function f(g(θ)) is equal to the product of the derivative of the outer function f'(g(θ)) and the derivative of the inner function g'(θ). In other words, it is the derivative of the outer function evaluated at the inner function multiplied by the derivative of the inner function.

What are some real-world applications of derivatives with respect to theta?

Derivatives with respect to theta have various real-world applications, such as in physics for calculating the rate of change of physical quantities with respect to an angle, in engineering for finding the optimal angle for a specific design, and in economics for determining the rate of change of economic variables with respect to an angle.

Similar threads

Replies
4
Views
142
Replies
1
Views
793
  • Introductory Physics Homework Help
Replies
6
Views
520
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
474
Replies
2
Views
2K
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
984
Replies
2
Views
1K
  • Differential Equations
Replies
4
Views
2K
Back
Top