How to Compute a Definite Integral with Symmetry: The Case of $f(-x)=f(x)$

Click For Summary
SUMMARY

The discussion focuses on computing the definite integral $$\int_{-a}^{a}\frac{1}{1+2^{f(x)}}\,dx$$ under the condition that the function satisfies the symmetry property $f(-x)=f(x)$. It is established that the integral can be evaluated effectively when the function does not introduce vertical asymptotes. Additionally, a correction is made to clarify that the intended function should be odd, satisfying $f(-x)=-f(x)$. This distinction is crucial for accurately solving the integral.

PREREQUISITES
  • Understanding of definite integrals in calculus
  • Familiarity with properties of even and odd functions
  • Knowledge of vertical asymptotes in rational functions
  • Basic proficiency in mathematical notation and manipulation
NEXT STEPS
  • Explore the properties of odd and even functions in calculus
  • Learn techniques for evaluating definite integrals with symmetry
  • Investigate the implications of vertical asymptotes on integrals
  • Study advanced integration techniques, such as substitution and integration by parts
USEFUL FOR

Students and educators in mathematics, particularly those studying calculus, as well as anyone interested in advanced integral computation techniques and function properties.

MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Suppose $f(-x)=f(x)$, then compute the following definite integral:

$$\int_{-a}^{a}\frac{1}{1+2^{f(x)}}\,dx$$ where $0<a\in\mathbb{R}$.
 
Physics news on Phys.org
$$\int_{-a}^{a} \frac{d x}{1+2^{f(x)}} = \int_{0}^{a} \frac{dx}{1+2^{f(x)}} + \int_{-a}^{0} \frac{dx}{1+2^{f(x)}} = \int_{0}^{a} \frac{dx}{1+2^{f(x)}} + \int_{0}^{a} \frac{dx}{1+2^{f(x)}} = 2\int_{0}^{a} \frac{dx}{1+2^{f(x)}}$$

Note : Although not related to the original problem that was meant, it is not worthless to note that the calculations above works only if $\frac{1}{1+2^{f(x)}}$ has no vertical asymptotes.
 
Last edited:
mathbalarka said:
$$\int_{-a}^{a} \frac{d x}{1+2^{f(x)}} = \int_{0}^{a} \frac{dx}{1+2^{f(x)}} + \int_{-a}^{0} \frac{dx}{1+2^{f(x)}} = \int_{0}^{a} \frac{dx}{1+2^{f(x)}} + \int_{0}^{a} \frac{dx}{1+2^{f(x)}} = 2\int_{0}^{a} \frac{dx}{1+2^{f(x)}}$$

Haha...that is quite correct (well done!)...but I messed up and actually meant for $f$ to be odd, i.e.:

$$f(-x)=-f(x)$$

(Bug)
 
$$\int_{-a}^{a} \frac{dx}{1+2^{f(x)}} = \int_{0}^{a} \frac{dx}{1+2^{f(x)}} + \int_{-a}^{0} \frac{dx}{1+2^{f(x)}} = \int_{0}^{a} \frac{dx}{1+2^{f(x)}} - \int_{a}^{0} \frac{dx}{1+2^{f(-x)}} = \int_{0}^{a} \frac{dx}{1+2^{f(x)}} + \int_{0}^{a} \frac{dx}{1+2^{-f(x)}} \\ = \int_{0}^{a} \left ( \frac{1}{1+2^{f(x)}} + \frac{1}{1+2^{-f(x)}} \right ) dx = \int_{0}^{a} \frac{2 + 2^{f(x)} + 2^{-f(x)}}{2 + 2^{f(x)} + 2^{-f(x)}} dx = a$$
 
mathbalarka said:
$$\int_{-a}^{a} \frac{dx}{1+2^{f(x)}} = \int_{0}^{a} \frac{dx}{1+2^{f(x)}} + \int_{-a}^{0} \frac{dx}{1+2^{f(x)}} = \int_{0}^{a} \frac{dx}{1+2^{f(x)}} - \int_{a}^{0} \frac{dx}{1+2^{f(-x)}} = \int_{0}^{a} \frac{dx}{1+2^{f(x)}} + \int_{0}^{a} \frac{dx}{1+2^{-f(x)}} \\ = \int_{0}^{a} \left ( \frac{1}{1+2^{f(x)}} + \frac{1}{1+2^{-f(x)}} \right ) dx = \int_{0}^{a} \frac{2 + 2^{f(x)} + 2^{-f(x)}}{2 + 2^{f(x)} + 2^{-f(x)}} dx = a$$

That's correct! :D

Here's my solution:

$$I=\int_{-a}^{a}\frac{1}{1+2^{f(x)}}\,dx$$

$$I=\int_{-a}^{a}\frac{1}{1+2^{f(x)}}-\frac{1}{2}+\frac{1}{2}\,dx$$

$$I=\frac{1}{2}\int_{-a}^{a}\frac{1-2^{f(x)}}{1+2^{f(x)}}+\frac{1}{2}\int_{-a}^{a}\,dx$$

The first integrand is odd, and the second even, hence:

$$I=0+\int_0^a\,dx=a$$
 
Great thread! (Heidy) :D
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 31 ·
2
Replies
31
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K