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

  • #1
chwala
Gold Member
2,697
360
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: 33
  • symbolab.png
    symbolab.png
    8.8 KB · Views: 29
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

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

What is the integral of the function ##\dfrac{1}{ax+b}##?

The integral of the function ##\dfrac{1}{ax+b}## is given by ##\int \dfrac{1}{ax+b} \, dx = \dfrac{1}{a} \ln|ax+b| + C##, where ##a## and ##b## are constants, and ##C## is the constant of integration.

Why do we use the natural logarithm in the integral of ##\dfrac{1}{ax+b}##?

The natural logarithm arises in the integral of ##\dfrac{1}{ax+b}## because the derivative of ##\ln|ax+b|## is ##\dfrac{1}{ax+b} \cdot a##. To match the original integrand, we need to divide by ##a##, resulting in the integral ##\dfrac{1}{a} \ln|ax+b| + C##.

How do you handle the absolute value in the integral of ##\dfrac{1}{ax+b}##?

The absolute value in ##\ln|ax+b|## ensures that the logarithm is defined for both positive and negative values of ##ax+b##, as the natural logarithm is only defined for positive arguments. This accounts for the fact that ##ax+b## can cross zero, changing its sign.

What happens if ##a## or ##b## is zero in the function ##\dfrac{1}{ax+b}##?

If ##a = 0##, the function simplifies to ##\dfrac{1}{b}##, which is a constant. The integral of a constant ##\dfrac{1}{b}## with respect to ##x## is ##\dfrac{1}{b}x + C##. If ##b = 0##, the function becomes ##\dfrac{1}{ax}##, which integrates to ##\dfrac{1}{a} \ln|x| + C##.

Can you use substitution to integrate ##\dfrac{1}{ax+b}##?

Yes, substitution is a common method to integrate ##\dfrac{1}{ax+b}##. Let ##u = ax + b##, then ##du = a \, dx##, or ##dx = \dfrac{du}{a}##. Substituting these into the integral, we get ##\int \dfrac{1}{u} \cdot \dfrac{du}{a} = \dfrac{1}{a} \int \dfrac{1}{u} \, du = \dfrac{1}{

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
619
  • Calculus and Beyond Homework Help
Replies
1
Views
319
  • Calculus and Beyond Homework Help
Replies
2
Views
553
  • Calculus and Beyond Homework Help
Replies
14
Views
647
  • Calculus and Beyond Homework Help
Replies
6
Views
345
  • 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
683
  • Calculus and Beyond Homework Help
Replies
3
Views
949
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
Back
Top