MHB How to Write an Answer for Integration with Logarithms?

  • Thread starter Thread starter jiasyuen
  • Start date Start date
  • Tags Tags
    Integration
Click For Summary
The discussion centers on the correct form of the integral $$\int \frac{e^x}{3e^x-1}dx$$, specifically whether to include absolute value symbols in the logarithmic answer. Participants argue that the expression can be written as $$\frac{1}{3}\ln(3e^x-1)+c$$ if the condition $$3e^x-1>0$$ holds for the domain of integration. However, including absolute values, as in $$\frac{1}{3}\ln|3e^x-1|+c$$, is generally safer to account for potential negative values. The consensus suggests that while the absolute value can be omitted under certain conditions, it is often better to include it for clarity. Ultimately, the choice depends on the specific context of the integral's application.
jiasyuen
Messages
25
Reaction score
0
For example, $$\int \frac{e^x}{3e^x-1}dx$$,

Should I write my answer in this $$\frac{1}{3}\ln (3e^x-1)+c$$ or $$\frac{1}{3}\ln \left | 3e^x-1 \right |+c$$ ?
 
Physics news on Phys.org
jiasyuen said:
For example, $$\int \frac{e^x}{3e^x-1}dx$$,

Should I write my answer in this $$\frac{1}{3}\ln (3e^x-1)+c$$ or $$\frac{1}{3}\ln \left | 3e^x-1 \right |+c$$ ?

$\displaystyle \int \frac{e^{x}}{3\ e^{x} - 1}\ d x = \frac{1}{3}\ \int \frac{e^{x}}{e^{x} - \frac{1}{3}}\ d x = \frac{1}{3}\ \ln |e^{x} - \frac{1}{3}| + c $

Kind regards

$\chi$ $\sigma$
 
jiasyuen said:
For example, $$\int \frac{e^x}{3e^x-1}dx$$,

Should I write my answer in this $$\frac{1}{3}\ln (3e^x-1)+c$$ or $$\frac{1}{3}\ln \left | 3e^x-1 \right |+c$$ ?

You can remove the absolute value symbols as long as:

$$3e^x-1>0$$

for all values of $x$ in the integrand's domain...what do you conclude?
 
In my opinion it is possible to write...

$\displaystyle \int \frac{f^{\ '} (x)}{f(x)}\ d x = \ln f(x) + c\ (1)$

... no matter if in a given interval is $f(x) > 0$ or $f(x) < 0$ [but not $f(x)=0$...] , taking into account that for $f(x)<0$ is $\ln f(x) = \ln |f(x)| + i\ \pi$...

Kind regards

chi sigma
 
There are probably loads of proofs of this online, but I do not want to cheat. Here is my attempt: Convexity says that $$f(\lambda a + (1-\lambda)b) \leq \lambda f(a) + (1-\lambda) f(b)$$ $$f(b + \lambda(a-b)) \leq f(b) + \lambda (f(a) - f(b))$$ We know from the intermediate value theorem that there exists a ##c \in (b,a)## such that $$\frac{f(a) - f(b)}{a-b} = f'(c).$$ Hence $$f(b + \lambda(a-b)) \leq f(b) + \lambda (a - b) f'(c))$$ $$\frac{f(b + \lambda(a-b)) - f(b)}{\lambda(a-b)}...

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K