derivative of (cos(7x)^x)
1) Let's differentiate: ddx(cos(7x)x)
To differentiate on intervals where cos(7x) > 0, write cos(7x)x = ex·ln(cos(7x))
ⅰ ddx(cos(7x)x) = ddx(x·ln(cos(7x)))·ex·ln(cos(7x))
ddx(x·ln(cos(7x)))·ex·ln(cos(7x))
We differentiate u1 = x and v2 = ln(cos(7x)) using: ddx(u1·v2) = ddx(u1)·v2 + u1·ddx(v2)
2) Let's perform the differentiation u1: ddx(x)
ⓘ The derivative of x is 1: ddx(x) = 1
1
3) Let's perform the differentiation v2: ddx(ln(cos(7x)))
We differentiate using: ddx(ln(f)) = ddx(f)·1f (where f = cos(7x))
ⓘ The derivative of ln(x) is 1/x: ddx(ln(cos(7x))) = ddx(cos(7x))·1cos(7x)
ddx(cos(7x))·1cos(7x)
We differentiate using: ddx(cos(f)) = -ddx(f)·sin(f) (where f = 7x)
ⓘ Multiplying a fraction by a term multiplies its numerator: ddx(cos(7x))·1cos(7x) = ddx(cos(7x))·1cos(7x) = ddx(cos(7x))cos(7x)■The derivative of cos(x) is -sin(x): ddx(cos(7x)) = -ddx(7x)·sin(7x)
-ddx(7x)·sin(7x)cos(7x)
ⓘ A constant factor stays in front of the derivative, (k*u)' = k*u': ddx(7x) = 7
-7·sin(7x)cos(7x)
ⓘ sin(x)/cos(x) = tan(x): -7·sin(7x)cos(7x) = -7·tan(7x)
-7·tan(7x)
4) Let's evaluate the resulting derivative (u1·v2)': 1·ln(cos(7x)) + x·(-7·tan(7x))
ⓘ The minus sign is placed in front of the product: x·(-7)·tan(7x) = -7x·tan(7x)
ln(cos(7x)) -7x·tan(7x)
5) Then you can continue the derivation:
ⅰ ddx(x·ln(cos(7x))) = ln(cos(7x)) -7x·tan(7x)
(ln(cos(7x)) -7x·tan(7x))·cos(7x)x
ⓘ Expand by multiplying each term inside the parentheses: (ln(cos(7x)) -7x·tan(7x))·cos(7x)x = ln(cos(7x))·cos(7x)x -7x·tan(7x)·cos(7x)x
ln(cos(7x))·cos(7x)x -7x·tan(7x)·cos(7x)x
cos(7x)x·ln(cos(7x)) -7x·cos(7x)x·tan(7x)
cos(7x)x·(ln(cos(7x)) -7x·tan(7x))
▶Derivative:   cos(7x)x·(ln(cos(7x)) -7x·tan(7x))