Cho hàm số f(x)=3x+sinxf(x) = 3^{x} + \sin xf(x)=3x+sinx. Một nguyên hàm của f(x) trên R\mathbb{R}R là
F(x)=3xln3+cosxF(x) = 3^{x}\ln 3 + \cos xF(x)=3xln3+cosx.
F(x)=3xln3−sinxF(x) = \dfrac{3^{x}}{\ln 3} - \sin xF(x)=ln33x−sinx.
F(x)=3xln3−cosxF(x) = \dfrac{3^{x}}{\ln 3} - \cos xF(x)=ln33x−cosx.
F(x)=3x+sinxF(x) = 3^{x} + \sin xF(x)=3x+sinx.
∫f(x)dx=∫(3x+sinx)dx=3xln3−cosx+C\int {f\left( x \right)dx} = \int {\left( {{3^x} + \sin x} \right)dx} = \frac{{{3^x}}}{{\ln 3}} - \cos x + C∫f(x)dx=∫(3x+sinx)dx=ln33x−cosx+C.
Vậy một nguyên hàm của f(x) trên R\mathbb{R}R là F(x)=3xln3−cosxF\left( x \right) = \frac{{{3^x}}}{{\ln 3}} - \cos xF(x)=ln33x−cosx.