For the function to be continuous at x=0, we need:
x→0limf(x)=f(0)
From the definition, f(0)=k.
So we need to find:
x→0limx3x+4tanx
Splitting the fraction by dividing each term in the numerator by x separately:
=x→0lim[x3x+x4tanx]
=x→0lim3+x→0lim4⋅xtanx
We can split the limit like this because each individual limit exists and is finite.
Using the standard result x→0limxtanx=1 :
This comes from the fact that xtanx=xsinx⋅cosx1, and since x→0limxsinx=1 and x→0limcosx1=1, the result follows.
Substituting back:
=3+4⋅1
=3+4=7
Applying the continuity condition:
x→0limf(x)=f(0)
7=k
k=7