Integral of 1/(1-x) is -ln(abs(1-x)). why negative?

  • Thread starter Thread starter sparkle123
  • Start date Start date
  • Tags Tags
    Integral Negative
Click For Summary
SUMMARY

The integral of 1/(1-x) is -ln(abs(1-x)), confirmed through substitution u=1-x, leading to ln(abs(u))=ln(abs(1-x)). The differential equation dy/dx=6x^2-x^2y, with initial conditions f(-1)=2 and y''(-1)=-12, requires careful handling of absolute values. The removal of absolute values in the solution y=6-4e^(-1/3(x^3+1)) is justified by the nature of the function and the initial conditions provided.

PREREQUISITES
  • Understanding of integral calculus, specifically logarithmic integrals
  • Familiarity with differential equations and initial value problems
  • Knowledge of substitution methods in integration
  • Experience with exponential functions and their properties
NEXT STEPS
  • Study the properties of logarithmic functions in calculus
  • Learn about solving first-order differential equations using separation of variables
  • Explore the implications of initial conditions on differential equation solutions
  • Investigate the behavior of exponential functions in relation to their derivatives
USEFUL FOR

Students and professionals in mathematics, particularly those focusing on calculus and differential equations, as well as educators seeking to clarify concepts related to integrals and initial value problems.

sparkle123
Messages
172
Reaction score
0
Why is int(1/(1-x))=-ln(abs(1-x))?
If you substitute u=1-x
then
int(u)=ln(abs(u))=ln(abs(1-x))

Also, in this question you're trying to find the particular solution y=f(x) to the given differential euqation with initial conditions
f(-1)=2
dy/dx=6x^2-x^2y
d^2y/dx^2=-12.

So i get to:
ln(abs( 6 − y)) = − 1/3 x^3 − (1/3 − ln 4)
Why does the solution say I can remove absolute values to get:
y=6-4e^(-1/3(x^3+1)) ?

Thanks!
 
Physics news on Phys.org
If you let u = (1-x), then du = - dx .
 
Thanks SammyS!
Could someone please help me with the second part?
 
sparkle123 said:
Also, in this question you're trying to find the particular solution y=f(x) to the given differential euqation with initial conditions
f(-1)=2
dy/dx=6x^2-x^2y
d^2y/dx^2=-12.
I don't understand the 2nd and 3rd equations above. The first is your initial condition. Is the 2nd your differential equation? The 3rd doesn't follow from the 2nd.

Also, does x^2y mean (x2)y or x2y?
sparkle123 said:
So i get to:
ln(abs( 6 − y)) = − 1/3 x^3 − (1/3 − ln 4)
Why does the solution say I can remove absolute values to get:
y=6-4e^(-1/3(x^3+1)) ?
 
f(-1)=2
dy/dx=6x^2-x^2y
d^2y/dx^2=-12
are given conditions

I meant dy/dx=6x^2-(x^2)y

Essentially my question is why can you remove the absolute value signs.

Thanks! :D
 
sparkle123 said:
f(-1)=2
dy/dx=6x^2-x^2y
d^2y/dx^2=-12
are given conditions

I meant dy/dx=6x^2-(x^2)y

Essentially my question is why can you remove the absolute value signs.

Thanks! :D
What you have written about the 2nd derivative is very confusing, in part because it is incorrect.
The differential equation is dy/dx = 6x2 - x2y
The initial conditions are y(-1) = 2 and y''(-1) = -12.

The second derivative is NOT -12, but the value of the second derivative at x = -1 is -12.

By separating variables, I was able to rewrite the diff. eqn. as dy/(6 - y) = x2dx. Integrating each side, I got -ln|6 - y| = (1/3)x3 + C, which is equivalent to
ln|6 - y| = (-1/3)x3 + C2

From the first initial condition I found that C2 = -1/3 + ln4, so
ln|6 - y| = (-1/3)x3 -1/3 + ln4 = (-1/3)(x3 + 1) + ln4

Exponentiation results in
|6 - y| = e^{-1/3(x^3 + 1) + ln4} = e^{ln4}e^{-1/3(x^3 + 1)}

Removing the absolute value signs, we have either
6 - y = e^{ln4}e^{-1/3(x^3 + 1)}

or
-(6 - y) = e^{ln4}e^{-1/3(x^3 + 1)}

Solving for y in each of these equations is relatively straightforward, and I leave that to you. One of these functions is such that y''(-1) = -12. The one for which this is true is your solution.
 
Oh! Thanks Mark44!
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
7
Views
2K
Replies
4
Views
2K
Replies
2
Views
2K
Replies
14
Views
10K