# math

posted by .

So I need to solve this differential equation

dy/dx = 1/(x+2)

so i solved it like this

dy = 1/(x+2)dx

then i took the integral of both sides

y= ⌠1/(x+2)dx

then performed a u sub

u = x+2

du = 1dx

y = ⌠du/u

y = ln abs(u)+c

y = ln abs(x+2)+c

but the sanswer is supposed to be

y = ln abs ((x+2)/2) + c

Where did I mess up? and where did the 2 in the denominatior of the (x+2) come from?

• math -

Not sure where the 2 came from, but since

ln(u/2) = ln(u) - ln(2)

just fold the ln(2) into the C.

• math -

okay thank you!

• math -

## Similar Questions

1. ### Algebra

Solve each literal equations for the indicated variable D = C - s/n ( for s) s/n = D - C Next, multiply both sides of the above equation by n, to get the equation for s. i don't understand could you type it how it looks This is an …
2. ### math

how do you write an equation and state what the variable n represnts. 54 -n- =24 If you're writing an equation where you need to state what the variable is, then you need to end up with an equation where n is the only thing on one …
3. ### MATH PLEASE CHECK IT!!2

m-2/m-5*m+5/m-2=-1 If your problem is this: (m - 2)/(m - 5) * (m + 5)/(m - 2) = -1 (m - 2) cancels out in both the numerator and denominator on the left-hand side since you are multiplying. That leaves us with this: (m + 5)/(m - 5) …
4. ### math

2x+4(1-x)=11+5x 2x+4-4x=11+5x 6x+4=11+5x 6x=7+5x x=7 i think this is it x = 7 is not correct. Here's how the problem should work out: Use the distributive property to get rid of the parentheses and you will end up with this: 2x + 4 …
5. ### Calculus

3 ⌠ 2⌡ (2x^2+5) / x^2 dx =? I got 1.66 but it was wrong.
6. ### Math

I need to solve this set of differential equations {y'+(t/2)1, y(0)=1} and then find the limiting value as t approaches infinity. I'm not sure where to start. I found the answer to the differential equation to be: y(t)=e^-t^2/4[e^(r^2/4)dr …
7. ### math

How do I find the derivative of ⌠lnx ⌡π cos(e^(t))dt The question above is asking for the derivative of the integral cos(e^(t)) from pi to lnx
8. ### Calculus

dy/dx = 4ye^(5x) a) Separate the differential equation, then integrate both sides. b) Write the general solution as a function y(x). For the second part, I got y(x)=e^((5e^(5x))/(5)) + C but I don't understand how to separate differential …
9. ### Calc

Give a 4-term left Riemann sum approximation for the integral below. 16 ⌠ 3*((x+2)^(1/2)) ⌡ 12
10. ### Calculus

Hello, I would greatly appreciate any help that I can have with the following calculus question below. It has to do with separable differential equations. I'm also going to explain what I've done so far, so please bear with me (but …

More Similar Questions