Solution:
Key idea: Use the log laws mlogen=logenm and elogeN=N (for N>0) to turn each exponential into a plain power. Then use ∫xndx=n+1xn+1 (n=−1) and ∫akxdx=klogeaakx. We take x>0 (so logex exists) and a>0, a=1. C is the constant of integration.
Step 1 — Simplify the first term.
We move the multiplier 3a inside the logarithm as a power, and then e and loge cancel.
e3alogex=elogex3a
e3alogex=x3a
Step 2 — Simplify the second term.
In the same way the multiplier 3x becomes a power of a.
e3xlogea=elogea3x
e3xlogea=a3x
Step 3 — Integrate the power of x.
We use the power rule with n=3a (assuming 3a=−1, which holds since a>0).
∫x3adx=3a+1x3a+1
Step 4 — Integrate the power of a.
We use the ax form and divide by 3, the coefficient of x.
∫a3xdx=3logeaa3x
Step 5 — Add the results.
The two integrals are added and one constant C is written.
∫(x3a+a3x)dx=3a+1x3a+1+3logeaa3x+C
Therefore, ∫(e3alogex+e3xlogea)dx=3a+1x3a+1+3logeaa3x+C (x>0, a>0, a=1).