← Back to learning objective

Finding the general antiderivative of a sum involving e^x and 1/x

Find the general antiderivative F(x)F(x) of f(x)=7ex−4x.f(x) = 7e^x - \frac{4}{x}.

Hint

Apply the antiderivative rules to each term separately: recall that the antiderivative of exe^x is exe^x, and the antiderivative of 1/x1/x is ln⁡∣x∣\ln|x|. Don't forget the arbitrary constant at the end.

Step-by-step solution

Split the integral using linearity: ∫(7ex−4x)dx=7∫ex dx−4∫1x dx\int \left(7e^x - \frac{4}{x}\right)dx = 7\int e^x\,dx - 4\int \frac{1}{x}\,dx. This lets us antidifferentiate each term separately using known rules.

Since ∫ex dx=ex\int e^x\,dx = e^x and ∫1x dx=ln⁡∣x∣\int \frac{1}{x}\,dx = \ln|x|, we get 7ex−4ln⁡∣x∣7e^x - 4\ln|x|. Adding the arbitrary constant of integration gives the general antiderivative F(x)=7ex−4ln⁡∣x∣+CF(x) = 7e^x - 4\ln|x| + C.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap