Enter a problem...
Calculus Examples
ex-e-xex+e-x
Step 1
Write ex-e-xex+e-x as a function.
f(x)=ex-e-xex+e-x
Step 2
The function F(x) can be found by finding the indefinite integral of the derivative f(x).
F(x)=∫f(x)dx
Step 3
Set up the integral to solve.
F(x)=∫ex-e-xex+e-xdx
Step 4
Step 4.1
Let u2=ex+e-x. Find du2dx.
Step 4.1.1
Differentiate ex+e-x.
ddx[ex+e-x]
Step 4.1.2
By the Sum Rule, the derivative of ex+e-x with respect to x is ddx[ex]+ddx[e-x].
ddx[ex]+ddx[e-x]
Step 4.1.3
Differentiate using the Exponential Rule which states that ddx[ax] is axln(a) where a=e.
ex+ddx[e-x]
Step 4.1.4
Evaluate ddx[e-x].
Step 4.1.4.1
Differentiate using the chain rule, which states that ddx[f(g(x))] is f′(g(x))g′(x) where f(x)=ex and g(x)=-x.
Step 4.1.4.1.1
To apply the Chain Rule, set u1 as -x.
ex+ddu1[eu1]ddx[-x]
Step 4.1.4.1.2
Differentiate using the Exponential Rule which states that ddu1[au1] is au1ln(a) where a=e.
ex+eu1ddx[-x]
Step 4.1.4.1.3
Replace all occurrences of u1 with -x.
ex+e-xddx[-x]
ex+e-xddx[-x]
Step 4.1.4.2
Since -1 is constant with respect to x, the derivative of -x with respect to x is -ddx[x].
ex+e-x(-ddx[x])
Step 4.1.4.3
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
ex+e-x(-1⋅1)
Step 4.1.4.4
Multiply -1 by 1.
ex+e-x⋅-1
Step 4.1.4.5
Move -1 to the left of e-x.
ex-1⋅e-x
Step 4.1.4.6
Rewrite -1e-x as -e-x.
ex-e-x
ex-e-x
ex-e-x
Step 4.2
Rewrite the problem using u2 and du2.
∫1u2du2
∫1u2du2
Step 5
The integral of 1u2 with respect to u2 is ln(|u2|).
ln(|u2|)+C
Step 6
Replace all occurrences of u2 with ex+e-x.
ln(|ex+e-x|)+C
Step 7
The answer is the antiderivative of the function f(x)=ex-e-xex+e-x.
F(x)=ln(|ex+e-x|)+C