Question
Question: How do you find the derivative of \(y={{(3x+1)}^{2}}\)?...
How do you find the derivative of y=(3x+1)2?
Solution
We will differentiate the given expression using chain rule. Firstly, we will consider 3x+1 as one function and differentiate the power to which the function 3x+1 is raised. Next, we will differentiate the function 3x+1, where 3x, which has x component, and 1, which is a constant are differentiated separately and we get derivatives of the above function.
Complete step by step solution:
According to the given question, we have to differentiate the function y with respect to x, that is, we have to find the value of dxdy.
Chain rule states that if a function is written as f(g(x)), then it derivative with respect to x can be given as,
dxd(f(g(x)))=f′(g(x)).g′(x)
Applying the chain rule in the expression we get,
y=(3x+1)2
⇒dxd(y)=dxd((3x+1)2)
RHS part will get differentiated similar to the differentiation of x2, (that is, dxd(x2)=2x)
So, we get,
⇒dxdy=2(3x+1).dxd(3x+1)
Now, we will differentiate the base that is, 3x+1, 3x and 1 will be differentiated separately and so we get,
⇒dxdy=2(3x+1).(dxd(3x)+dxd(1))
We know that, derivative of x with respect to x Is 1 whereas derivative of a constant (such as 1) will be zero, we get,
⇒dxdy=2(3x+1).(3dxd(x)+0)
⇒dxdy=2(3x+1).(3)
Multiplying the terms, we get,
⇒dxdy=6(3x+1)=18x+6
Therefore, dxdy=18x+6.
Note: The chain rule proceeds progressively from the outermost function to the fundamental variable. The derivative of the above function can also be done by opening the parenthesis using the formula, (a+b)2=a2+2ab+b2 and then differentiating the each term with respect to x, so we have,
y=(3x+1)2
Applying the formula, we get
y=(3x)2+2(3x)(1)+12
We get our expression as,
⇒y=9x2+6x+1
Now, we will differentiate this expression with respect to x, then we get,
dxd(y)=dxd(9x2+6x+1)
⇒dxd(y)=dxd(9x2)+dxd(6x)+dxd(1)
As derivative of a constant is zero, we get,
⇒dxdy=9dxd(x2)+6dxd(x)+0
⇒dxdy=9(2x)+6
Rearranging we get the final expression as,
⇒dxdy=18x+6
Therefore, dxdy=18x+6