Integration of functions of form ##\dfrac{1}{ax+b}##

  • #1
chwala
Gold Member
2,650
351
Homework Statement
How do we deal with the integration of $$\int \dfrac{1}{6x-2} dx?$$
Relevant Equations
Natural logs integration
This is a bit confusing...conflicting report from attached wolfram and symbolab. Which approach is correct?
 

Attachments

  • wolfram.png
    wolfram.png
    6.5 KB · Views: 21
  • symbolab.png
    symbolab.png
    8.8 KB · Views: 19
Last edited:
Physics news on Phys.org
  • #2
Symbolab seems correct to me and it is according to the standard definition of the function ##f(x)=ln(x)## which is defined only for real positive numbers ##x>0## and has derivative ##f'(x)=\frac{1}{x}##

Wolfram says in small letters "assuming a complex valued logarithm", which probably means it considers the analytic continuation of the function ##f(x)## so that it is defined also on negative real numbers. and that's why it doesn't put the (3x-1) into absolute value bars. So wolfram is probably correct too.

On why it has (3x-1) and not (6x-2) this isnt big problem, since it is ##\ln(6x-2)=\ln2+\ln(3x-1)##so it is a matter of constant, indefinite integrals can differ by a (additive) constant and be the same thing.
 
Last edited:
  • Like
Likes WWGD and chwala
  • #3
Delta2 said:
Symbolab seems correct to me and it is according to the standard definition of the function ##f(x)=ln(x)## which is defined only for real positive numbers ##x>0## and has derivative ##f'(x)=\frac{1}{x}##

Wolfram says in small letters "assuming a complex valued logarithm", which probably means it considers the analytic continuation of the function ##f(x)## so that it is defined also on negative real numbers. and that's why it doesn't put the (6x-2) into absolute value bars. So wolfram is probably correct too.
For wolfram the approach is as follows;

$$\int \dfrac{1}{6x-2} dx= \int \dfrac{1}{2(3x-1)} dx = \dfrac{1}{2}\int \dfrac{1}{(3x-1)} dx$$

Letting ##u =3x-1##

...

will lead to,

$$\dfrac{1}{2}\int \dfrac{1}{(3x-1)} dx = \dfrac{1}{6} \ln |3x-1|+c$$

Which seems to be correct.
 
Last edited:
  • Like
Likes Delta2
  • #4
Read again my update post #2 on why it doesn't matter the (3x-1) versus (6x-2) argument.
 
  • Like
Likes PhDeezNutz
  • #5
Delta2 said:
Read again my update post #2 on why it doesn't matter the (3x-1) versus (6x-2) argument.
Noted; so both responses are mathematically correct? Cheers man.
 
  • Like
Likes Delta2
  • #6
chwala said:
For wolfram the approach is as follows;

$$\int \dfrac{1}{6x-2} dx= \int \dfrac{1}{2(3x-1)} dx = \dfrac{1}{2}\int \dfrac{1}{(3x-1)} dx$$

Letting ##u =3x-1## will realize,

$$\dfrac{1}{2}\int \dfrac{1}{(3x-1)} dx = \dfrac{1}{6} \ln |3x-1|+c$$

Which seems to be correct.
That is correct, just note that wolfram uses the log function and doesn't put the argument into absolute bars and it seems to take the log function as the analytic continuation in negative numbers of the ln function (which is defined only in positive numbers).
 
  • Like
Likes chwala
  • #7
chwala said:
Noted; so both responses are mathematically correct? Cheers man.
Both are correct but the wolfram answer is for calculus on $$\mathbb{C}$$ (the set of complex numbers) while Symbolab is for calculus on $$\mathbb{R}$$ (the set of real numbers).

The two answers are the same thing for ##6x-2>0\iff x>1/3## but for ##x<1/3## they are not the same thing.
 
  • Informative
Likes chwala
  • #8
chwala said:
Noted; so both responses are mathematically correct? Cheers man.
Yes, almost. ##\log |6x-2| +C = \log |3x-1| +\underbrace{\log 2 + C}_{=C'}.## The absolute value function should be included in both cases since I assume you were looking for the real logarithm and not for the complex one.
 
  • Like
Likes chwala and Delta2
  • #9
chwala said:
Homework Statement: How do we deal with the integration of $$\int \dfrac{1}{6x-2} dx?$$
Relevant Equations: Natural logs integration

This is a bit confusing...conflicting report from attached wolfram and symbolab. Which approach is correct?
For ##a\neq 0##,
[tex]
\int \frac{1}{ax+b}dx = \frac{1}{a}\int \frac{1}{ax+b}d(ax+b) = \frac{1}{a}\ln |ax+b| + C.
[/tex]
 
  • Like
Likes chwala
  • #11
fresh_42 said:
It's not in English but the formulas don't care.
Yes the language of mathematics can be universal!
 
  • Like
Likes chwala and fresh_42

1. How do you integrate functions of the form ##\dfrac{1}{ax+b}##?

To integrate functions of the form ##\dfrac{1}{ax+b}##, you can use the method of substitution. Let ##u = ax + b##, then ##du = a dx##. Rewrite the integral in terms of ##u## and ##du##, and then integrate with respect to ##u##. Finally, substitute back in terms of ##x## to get the final result.

2. Can you provide an example of integrating a function of the form ##\dfrac{1}{ax+b}##?

Sure! Let's consider the integral ##\int \dfrac{1}{3x+2} dx##. We can let ##u = 3x + 2##, then ##du = 3 dx##. Rewrite the integral in terms of ##u## and ##du##: ##\int \dfrac{1}{u} \dfrac{du}{3}##. Integrating with respect to ##u## gives us ##\dfrac{1}{3} \ln|u| + C##. Finally, substitute back in terms of ##x## to get the final result: ##\dfrac{1}{3} \ln|3x+2| + C##.

3. Are there any special cases to consider when integrating functions of the form ##\dfrac{1}{ax+b}##?

Yes, there are special cases to consider. If ##a = 0##, then the integral simplifies to ##\int \dfrac{1}{b} dx = \dfrac{1}{b} x + C##. If ##b = 0##, then the integral becomes ##\int \dfrac{1}{ax} dx = \dfrac{1}{a} \ln|ax| + C##.

4. Can functions of the form ##\dfrac{1}{ax+b}## be integrated using partial fractions?

Yes, functions of the form ##\dfrac{1}{ax+b}## can be integrated using partial fractions, but this method is typically not necessary since the integration can be done more efficiently using the method of substitution. However, if you prefer to use partial fractions, you can decompose ##\dfrac{1}{ax+b}## into partial fractions and then integrate each term separately.

5. What are some applications of integrating functions of the form ##\dfrac{1}{ax+b}## in real-world problems?

Integrating functions of the form ##\dfrac{1}{ax+b}## is commonly used in various areas of

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
493
  • Calculus and Beyond Homework Help
Replies
1
Views
88
  • Calculus and Beyond Homework Help
Replies
2
Views
392
  • Calculus and Beyond Homework Help
Replies
14
Views
255
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
448
  • Calculus and Beyond Homework Help
Replies
3
Views
849
  • Calculus and Beyond Homework Help
Replies
8
Views
986
  • Calculus and Beyond Homework Help
Replies
9
Views
167
Back
Top