Ok, so
Given the alternate definition of deritative:
[tex]f^{\prime}(a)=\lim _{x\to a}(\frac{f(x)-f(a)}{x-a})[/tex]We want to find the deritative of the function:
[tex]f(x)=3x^2+x[/tex]For this, we could start by replacing:
[tex]f^{\prime}(a)=\lim _{x\to a}(\frac{3x^2+x-(3a^2+a)}{x-a})[/tex]Now, we could distribute the sign outside the bracket:
[tex]f^{\prime}(a)=\lim _{x\to a}(\frac{3x^2+x-(3a^2+a)}{x-a})=\lim _{x\to a}(\frac{3x^2+x-3a^2-a)}{x-a})[/tex]And, as you can see, this expression can be even more simplified if we factor. We have to ask for a way to eliminate the indeterminacy caused by the denominator:
[tex]f^{\prime}(a)=\lim _{x\to a}(\frac{3(x^2-a^2)+(x-a)}{x-a})[/tex]Now, remember that:
[tex]x^2-a^2=(x+a)(x-a)[/tex]So, our expression will be:
[tex]f^{\prime}(a)=\lim _{x\to a}(\frac{3(x^2-a^2)+(x-a)}{x-a})=\lim _{x\to a}(\frac{3(x-a^{})(x+a)+(x-a)}{x-a})[/tex]We could group some terms:
[tex]f^{\prime}(a)=\lim _{x\to a}(\frac{3(x-a^{})(x+a)+(x-a)}{x-a})=\lim _{x\to a}(\frac{(x-a)\lbrack3(x+a)+1\rbrack}{x-a})[/tex]As you can see, the term (x-a) can be cancelled. And, our limit will be:
[tex]\begin{gathered} f^{\prime}(a)=\lim _{x\to a}(3(x+a)+1)=(3(a+a)+1) \\ f^{\prime}(a)=3(2a)+1 \\ f^{\prime}(a)=6a+1 \end{gathered}[/tex]Therefore, f'(a)=6a+1