How would you calculate the integral of 3x/((x-a)(x-b))dx when a cannot be equal to b?
have you tried partial fractions
I did partial fraction and got A = -3a/b-a and B = -3b/a-b, but when it comes to integrating everything together I get -3a(ln(x-a))/b-a -3b(ln(x-b))/a-b. My online homework says it's wrong but i think I did everything correctly. Unless the formatting if off?
\[\text{ your work looks fine } \\ A \ln |x-a|+B \ln|x-b|+C \text{ where } A=\frac{3a}{b-a} \text{ and } B=\frac{-3b}{a-b}\]
like when you put in did you put parenthesis around the denominators?
3a*ln|x-a|/(b-a)-3b*ln|x-b|/(a-b)
Yes, I put parenthesis around the denominators, but even then I still keep getting it wrong.
We could try to write as one term also it might also help to out the | | around the thing that is in the ln
I'll try changing the format of my answer and see if it works.
\[\frac{-3a}{a-b} \ln|x-a|+\frac{-3b}{a-b} \ln|x-b|+C \\ \frac{-3}{a-b}[a \ln |x-a|+b \ln|x-b|]+C \\ \frac{-3}{a-b}[ \ln|(x-a)^a|+\ln|(x-b)^b|+C \\ \frac{-3}{a-b}\ln|(x-a)^a(x-b)^b|+C\]
they it say anything special about how you should write it or simplify it
does it (not they)
It only says to calculate for a when it isn't equal to b. I keep getting it marked incorrectly.
can you show me how you enter it
and are you doing ln( ) or ln| |
It doesn't give me the option to do ln | |, it has to be ln ( ). My online homework is set up that way.
3a(ln(x-a))/(b-a) - 3b(ln(x-a))/(a-b)
and you did put the +C
yes
i notice when you wrote what you just wrote you put x-a in that second ln
if that isn't it i give up
should be 3a(ln(x-a))/(b-a) - 3b(ln(x-b))/(a-b)+C
Oh. Typo. But yea I just plugged it in again and nothing. Thank you so much for the help though. I'll see how to get around this mess.
\[\frac{A}{x-a}+\frac{B}{x-b}=\frac{3x}{(x-a)(x-b)} \\ A(x-b)+B(x-a)=3x \\ (A+B)x+(-Ab-Ba)=3x \\ A+B=3 \text{ and } -Ab-Ba=0 \\ A=3-B \\ -(3-B)b-Ba=0 \\ -3b+Bb-Ba=0 \\ B(b-a)=3b \\ B=\frac{3b}{b-a}=\frac{-3b}{a-b} \\ A=3-B=3+\frac{3b}{a-b}=\frac{3(a-b)+3b}{a-b}=\frac{3a}{a-b}\]
maybe we wrote A wrong
I just got a different A
Sorry for all the typos. I meant to put positive A.
But when it comes to integrating 3a/a-b * 1/x-a, you move 3a/a-b to the front of the integral correct?
\[\frac{3a}{a-b} \ln|x-a|-\frac{3b}{a-b} \ln|x-b|+C\]
It's still incorrect. Appreciate the help. I'm trying to see what the problem may be.
http://www.wolframalpha.com/input/?i=integrate%283x%2F%28%28x-a%29%28x-b%29%29%2Cx%29 this confirms my last answer there
i don't know what else could be the problem
I'm not sure either. But thank you!
sorry couldn't be more help good luck
Join our real-time social learning platform and learn together with your friends!