Question
Question: Differentiate the function with respect to x. \(sin(ax + b)\)...
Differentiate the function with respect to x.
sin(ax+b)
Solution
Hint: Differentiation is a method to find the slope of functions on a graph. In complex functions, the chain rule is used for differentiation. Mathematically, it is given by-
dxdy=dtdy×dxdt...(1)
Complete step-by-step answer:
Let the function be-
y=sin(ax+b)...(2)
We can clearly see that (ax+b) is a function within the sine function itself. So let us assume that-
t=ax+b …(3)
So, we can differentiate equation (2) with respect to t as-
y=sin(ax+b)=sintdtdy=cost
Also differentiating equation (3) with respect to x as-
t=ax+bdxdt=a
Applying these values in equation (1) we can get-
dxdy=dtdy×dxdtdxdy=cost×adxdy=acost
We can substitute the value of t from equation (3) as-
dxdy=acos(ax+b)
This is the required answer.
Note: In such types of questions, we should not differentiate directly as it will always result in a wrong answer. The chain rule can be applied for any number of functions. The general form of the chain rule is-
dxdy=dt1dy×dt2dt1×dt3dt2×...×dtndtn−1×dxdtn